Class ClusterProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.ClusterProps.Jsii$Proxy
All Implemented Interfaces:
ClusterProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ClusterProps

@Stability(Stable) @Internal public static final class ClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ClusterProps
An implementation for ClusterProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(ClusterProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ClusterProps.Builder.
  • Method Details

    • getCapacity

      public final AddCapacityOptions getCapacity()
      Description copied from interface: ClusterProps
      The ec2 capacity to add to the cluster.

      Default: - no EC2 capacity will be added, you can use `addCapacity` to add capacity later.

      Specified by:
      getCapacity in interface ClusterProps
    • getCapacityProviders

      public final List<String> getCapacityProviders()
      Description copied from interface: ClusterProps
      (deprecated) The capacity providers to add to the cluster.

      Default: - None. Currently only FARGATE and FARGATE_SPOT are supported.

      Specified by:
      getCapacityProviders in interface ClusterProps
    • getClusterName

      public final String getClusterName()
      Description copied from interface: ClusterProps
      The name for the cluster.

      Default: CloudFormation-generated name

      Specified by:
      getClusterName in interface ClusterProps
    • getContainerInsights

      public final Boolean getContainerInsights()
      Description copied from interface: ClusterProps
      If true CloudWatch Container Insights will be enabled for the cluster.

      Default: - Container Insights will be disabled for this cluser.

      Specified by:
      getContainerInsights in interface ClusterProps
    • getDefaultCloudMapNamespace

      public final CloudMapNamespaceOptions getDefaultCloudMapNamespace()
      Description copied from interface: ClusterProps
      The service discovery namespace created in this cluster.

      Default: - no service discovery namespace created, you can use `addDefaultCloudMapNamespace` to add a default service discovery namespace later.

      Specified by:
      getDefaultCloudMapNamespace in interface ClusterProps
    • getEnableFargateCapacityProviders

      public final Boolean getEnableFargateCapacityProviders()
      Description copied from interface: ClusterProps
      Whether to enable Fargate Capacity Providers.

      Default: false

      Specified by:
      getEnableFargateCapacityProviders in interface ClusterProps
    • getExecuteCommandConfiguration

      public final ExecuteCommandConfiguration getExecuteCommandConfiguration()
      Description copied from interface: ClusterProps
      The execute command configuration for the cluster.

      Default: - no configuration will be provided.

      Specified by:
      getExecuteCommandConfiguration in interface ClusterProps
    • getVpc

      public final IVpc getVpc()
      Description copied from interface: ClusterProps
      The VPC where your ECS instances will be running or your ENIs will be deployed.

      Default: - creates a new VPC with two AZs

      Specified by:
      getVpc in interface ClusterProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object