@Stability(value=Stable) @Internal public static final class ClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ClusterProps
ClusterProps
software.amazon.jsii.JsiiObject.InitializationMode
ClusterProps.Builder, ClusterProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(AddCapacityOptions capacity,
List<String> capacityProviders,
String clusterName,
Boolean containerInsights,
CloudMapNamespaceOptions defaultCloudMapNamespace,
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()
The ec2 capacity to add to the cluster.
|
List<String> |
getCapacityProviders()
The capacity providers to add to the cluster.
|
String |
getClusterName()
The name for the cluster.
|
Boolean |
getContainerInsights()
If true CloudWatch Container Insights will be enabled for the cluster.
|
CloudMapNamespaceOptions |
getDefaultCloudMapNamespace()
The service discovery namespace created in this cluster.
|
IVpc |
getVpc()
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, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(AddCapacityOptions capacity, List<String> capacityProviders, String clusterName, Boolean containerInsights, CloudMapNamespaceOptions defaultCloudMapNamespace, IVpc vpc)
ClusterProps.Builder
.public final AddCapacityOptions getCapacity()
ClusterProps
Default: - no EC2 capacity will be added, you can use `addCapacity` to add capacity later.
getCapacity
in interface ClusterProps
public final List<String> getCapacityProviders()
ClusterProps
Default: - None. Currently only FARGATE and FARGATE_SPOT are supported.
getCapacityProviders
in interface ClusterProps
public final String getClusterName()
ClusterProps
Default: CloudFormation-generated name
getClusterName
in interface ClusterProps
public final Boolean getContainerInsights()
ClusterProps
Default: - Container Insights will be disabled for this cluser.
getContainerInsights
in interface ClusterProps
public final CloudMapNamespaceOptions getDefaultCloudMapNamespace()
ClusterProps
Default: - no service discovery namespace created, you can use `addDefaultCloudMapNamespace` to add a default service discovery namespace later.
getDefaultCloudMapNamespace
in interface ClusterProps
public final IVpc getVpc()
ClusterProps
Default: - 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.JsiiSerializable
Copyright © 2021. All rights reserved.