Class FargateCluster

All Implemented Interfaces:
IResource, IConnectable, ICluster,, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-17T05:10:10.794Z") @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.


 FargateCluster cluster = FargateCluster.Builder.create(this, "MyCluster")
  • Constructor Details

    • FargateCluster

      protected FargateCluster( objRef)
    • FargateCluster

      protected FargateCluster( initializationMode)
    • FargateCluster

      @Stability(Stable) public FargateCluster(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull FargateClusterProps props)
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • getDefaultProfile

      @Stability(Stable) @NotNull public FargateProfile getDefaultProfile()
      Fargate Profile that was created with the cluster.