Class FargateCluster
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.eks.Cluster
software.amazon.awscdk.services.eks.FargateCluster
- All Implemented Interfaces:
IResource,IConnectable,ICluster,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:38.260Z")
@Stability(Stable)
public class FargateCluster
extends Cluster
Defines an EKS cluster that runs entirely on AWS Fargate.
The cluster is created with a default Fargate Profile that matches the
"default" and "kube-system" namespaces. You can add additional profiles using
addFargateProfile.
Example:
import software.amazon.awscdk.cdk.lambdalayer.kubectl.v33.KubectlV33Layer;
FargateCluster cluster = FargateCluster.Builder.create(this, "MyCluster")
.version(KubernetesVersion.V1_33)
.kubectlLayer(new KubectlV33Layer(this, "kubectl"))
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.eks.ICluster
ICluster.Jsii$Default, ICluster.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFargateCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedFargateCluster(software.amazon.jsii.JsiiObjectRef objRef) FargateCluster(software.constructs.Construct scope, String id, FargateClusterProps props) -
Method Summary
Modifier and TypeMethodDescriptionFargate Profile that was created with the cluster.Methods inherited from class software.amazon.awscdk.services.eks.Cluster
addAutoScalingGroupCapacity, addCdk8sChart, addCdk8sChart, addFargateProfile, addHelmChart, addManifest, addNodegroupCapacity, addNodegroupCapacity, addServiceAccount, addServiceAccount, connectAutoScalingGroupCapacity, fromClusterAttributes, getAdminRole, getAlbController, getAuthenticationMode, getAwsAuth, getAwscliLayer, getClusterArn, getClusterCertificateAuthorityData, getClusterEncryptionConfigKeyArn, getClusterEndpoint, getClusterHandlerSecurityGroup, getClusterName, getClusterOpenIdConnectIssuer, getClusterOpenIdConnectIssuerUrl, getClusterSecurityGroup, getClusterSecurityGroupId, getConnections, getDefaultCapacity, getDefaultNodegroup, getEksPodIdentityAgent, getIngressLoadBalancerAddress, getIngressLoadBalancerAddress, getIpFamily, getKubectlEnvironment, getKubectlLambdaRole, getKubectlLayer, getKubectlMemory, getKubectlPrivateSubnets, getKubectlRole, getKubectlSecurityGroup, getOnEventLayer, getOpenIdConnectProvider, getPrune, getRole, getServiceLoadBalancerAddress, getServiceLoadBalancerAddress, getVpc, grantAccessMethods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.services.eks.ICluster
getKubectlProviderMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
FargateCluster
protected FargateCluster(software.amazon.jsii.JsiiObjectRef objRef) -
FargateCluster
protected FargateCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
FargateCluster
@Stability(Stable) public FargateCluster(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull FargateClusterProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
getDefaultProfile
Fargate Profile that was created with the cluster.
-