Skip to content
v2.278.0

FargateProfileReference Struct ​

A reference to a FargateProfile resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as interfaces_eks } from 'aws-cdk-lib/interfaces';
const fargateProfileReference: interfaces_eks.FargateProfileReference = {
  clusterName: 'clusterName',
  fargateProfileArn: 'fargateProfileArn',
  fargateProfileName: 'fargateProfileName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_eks as interfaces_eks

fargate_profile_reference = interfaces_eks.FargateProfileReference(
    cluster_name="clusterName",
    fargate_profile_arn="fargateProfileArn",
    fargate_profile_name="fargateProfileName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.eks.*;

FargateProfileReference fargateProfileReference = FargateProfileReference.builder()
        .clusterName("clusterName")
        .fargateProfileArn("fargateProfileArn")
        .fargateProfileName("fargateProfileName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.EKS;

var fargateProfileReference = new FargateProfileReference {
    ClusterName = "clusterName",
    FargateProfileArn = "fargateProfileArn",
    FargateProfileName = "fargateProfileName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

fargateProfileReference := &FargateProfileReference{
	ClusterName: jsii.String("clusterName"),
	FargateProfileArn: jsii.String("fargateProfileArn"),
	FargateProfileName: jsii.String("fargateProfileName"),
}

Properties ​

clusterNamestringcluster_namestrclusterNameStringClusterNamestringClusterName*string required #
The ClusterName of the FargateProfile resource.
fargateProfileArnstringfargate_profile_arnstrfargateProfileArnStringFargateProfileArnstringFargateProfileArn*string required #
The ARN of the FargateProfile resource.
fargateProfileNamestringfargate_profile_namestrfargateProfileNameStringFargateProfileNamestringFargateProfileName*string required #
The FargateProfileName of the FargateProfile resource.