Class PlacementGroupProps.Jsii$Proxy
- All Implemented Interfaces:
PlacementGroupProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
PlacementGroupProps
PlacementGroupProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.PlacementGroupProps
PlacementGroupProps.Builder, PlacementGroupProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(PlacementGroupProps.Builder builder) Constructor that initializes the object based on literal property values passed by thePlacementGroupProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal NumberThe number of partitions.final Stringthe name of this placement group.Places instances on distinct hardware.final PlacementGroupStrategyWhich strategy to use when launching instances.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by thePlacementGroupProps.Builder.
-
-
Method Details
-
getPartitions
Description copied from interface:PlacementGroupPropsThe number of partitions.Valid only when Strategy is set to partition.
Default: 0
- Specified by:
getPartitionsin interfacePlacementGroupProps
-
getPlacementGroupName
Description copied from interface:PlacementGroupPropsthe name of this placement group.Default: - generated by CFN
- Specified by:
getPlacementGroupNamein interfacePlacementGroupProps
-
getSpreadLevel
Description copied from interface:PlacementGroupPropsPlaces instances on distinct hardware.Spread placement groups are recommended for applications that have a small number of critical instances that should be kept separate from each other. Launching instances in a spread level placement group reduces the risk of simultaneous failures that might occur when instances share the same equipment. Spread level placement groups provide access to distinct hardware, and are therefore suitable for mixing instance types or launching instances over time. If you start or launch an instance in a spread placement group and there is insufficient unique hardware to fulfill the request, the request fails. Amazon EC2 makes more distinct hardware available over time, so you can try your request again later. Placement groups can spread instances across racks or hosts. You can use host level spread placement groups only with AWS Outposts.
Default: - no spread level
- Specified by:
getSpreadLevelin interfacePlacementGroupProps
-
getStrategy
Description copied from interface:PlacementGroupPropsWhich strategy to use when launching instances.Default: - `PlacementGroupStrategy.PARTITION` if `partitions` is defined, `CLUSTER` otherwise
- Specified by:
getStrategyin interfacePlacementGroupProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-