@Stability(value=Experimental) @Internal public static final class ClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ClusterProps
ClusterPropssoftware.amazon.jsii.JsiiObject.InitializationModeClusterProps.Builder, ClusterProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AddCapacityOptions capacity,
String clusterName,
Boolean containerInsights,
CloudMapNamespaceOptions defaultCloudMapNamespace,
Boolean enableFargateCapacityProviders,
IVpc vpc)
Constructor that initializes the object based on literal property values passed by the
ClusterProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
AddCapacityOptions |
getCapacity()
(experimental) The ec2 capacity to add to the cluster.
|
String |
getClusterName()
(experimental) The name for the cluster.
|
Boolean |
getContainerInsights()
(experimental) If true CloudWatch Container Insights will be enabled for the cluster.
|
CloudMapNamespaceOptions |
getDefaultCloudMapNamespace()
(experimental) The service discovery namespace created in this cluster.
|
Boolean |
getEnableFargateCapacityProviders()
(experimental) Whether to enable Fargate Capacity Providers.
|
IVpc |
getVpc()
(experimental) The VPC where your ECS instances will be running or your ENIs will be deployed.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(AddCapacityOptions capacity, String clusterName, Boolean containerInsights, CloudMapNamespaceOptions defaultCloudMapNamespace, Boolean enableFargateCapacityProviders, IVpc vpc)
ClusterProps.Builder.public final AddCapacityOptions getCapacity()
ClusterPropsDefault: - no EC2 capacity will be added, you can use `addCapacity` to add capacity later.
getCapacity in interface ClusterPropspublic final String getClusterName()
ClusterPropsDefault: CloudFormation-generated name
getClusterName in interface ClusterPropspublic final Boolean getContainerInsights()
ClusterPropsDefault: - Container Insights will be disabled for this cluser.
getContainerInsights in interface ClusterPropspublic final CloudMapNamespaceOptions getDefaultCloudMapNamespace()
ClusterPropsDefault: - no service discovery namespace created, you can use `addDefaultCloudMapNamespace` to add a default service discovery namespace later.
getDefaultCloudMapNamespace in interface ClusterPropspublic final Boolean getEnableFargateCapacityProviders()
ClusterPropsDefault: false
getEnableFargateCapacityProviders in interface ClusterPropspublic final IVpc getVpc()
ClusterPropsDefault: - creates a new VPC with two AZs
getVpc in interface ClusterProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.