Class FargateCluster
Defines an EKS cluster that runs entirely on AWS Fargate.
Inherited Members
Namespace: Amazon.CDK.AWS.EKS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FargateCluster : Cluster, ICluster, IResource, IConnectable
Syntax (vb)
Public Class FargateCluster
Inherits Cluster
Implements ICluster, IResource, IConnectable
Remarks
The cluster is created with a default Fargate Profile that matches the
"default" and "kube-system" namespaces. You can add additional profiles using
addFargateProfile
.
ExampleMetadata: infused
Examples
var cluster = new FargateCluster(this, "MyCluster", new FargateClusterProps {
Version = KubernetesVersion.V1_29
});
Synopsis
Constructors
FargateCluster(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
FargateCluster(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
FargateCluster(Construct, String, IFargateClusterProps) |
Properties
DefaultProfile | Fargate Profile that was created with the cluster. |
Constructors
FargateCluster(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected FargateCluster(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
FargateCluster(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected FargateCluster(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
FargateCluster(Construct, String, IFargateClusterProps)
public FargateCluster(Construct scope, string id, IFargateClusterProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IFargateClusterProps
Properties
DefaultProfile
Fargate Profile that was created with the cluster.
public virtual FargateProfile DefaultProfile { get; }
Property Value
Implements
Constructs.IConstruct
Constructs.IDependable