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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.PlacementGroupProps
PlacementGroupProps.Builder, PlacementGroupProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(PlacementGroupProps.Builder builder) Constructor that initializes the object based on literal property values passed by thePlacementGroupProps.Builder
.protected
Jsii$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.JsonNode
final boolean
final Number
The number of partitions.final String
the name of this placement group.Places instances on distinct hardware.final PlacementGroupStrategy
Which strategy to use when launching instances.final int
hashCode()
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:PlacementGroupProps
The number of partitions.Valid only when Strategy is set to partition.
Default: 0
- Specified by:
getPartitions
in interfacePlacementGroupProps
-
getPlacementGroupName
Description copied from interface:PlacementGroupProps
the name of this placement group.Default: - generated by CFN
- Specified by:
getPlacementGroupName
in interfacePlacementGroupProps
-
getSpreadLevel
Description copied from interface:PlacementGroupProps
Places 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:
getSpreadLevel
in interfacePlacementGroupProps
-
getStrategy
Description copied from interface:PlacementGroupProps
Which strategy to use when launching instances.Default: - `PlacementGroupStrategy.PARTITION` if `partitions` is defined, `CLUSTER` otherwise
- Specified by:
getStrategy
in interfacePlacementGroupProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-