Class CfnFleet.ContainerGroupsConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnFleet.ContainerGroupsConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnFleet.ContainerGroupsConfigurationProperty
CfnFleet.ContainerGroupsConfigurationProperty-
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.gamelift.CfnFleet.ContainerGroupsConfigurationProperty
CfnFleet.ContainerGroupsConfigurationProperty.Builder, CfnFleet.ContainerGroupsConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnFleet.ContainerGroupsConfigurationProperty.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 ObjectA set of ports to allow inbound traffic, including game clients, to connect to processes running in the container fleet.The list of container group definition names to deploy to a new container fleet.final ObjectThe number of container groups per instance.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 theCfnFleet.ContainerGroupsConfigurationProperty.Builder.
-
-
Method Details
-
getConnectionPortRange
Description copied from interface:CfnFleet.ContainerGroupsConfigurationPropertyA set of ports to allow inbound traffic, including game clients, to connect to processes running in the container fleet.Connection ports are dynamically mapped to container ports, which are assigned to individual processes running in a container. The connection port range must have enough ports to map to all container ports across a fleet instance. To calculate the minimum connection ports needed, use the following formula:
[Total number of container ports as defined for containers in the replica container group] * [Desired or calculated number of replica container groups per instance] + [Total number of container ports as defined for containers in the daemon container group]
As a best practice, double the minimum number of connection ports.
Use the fleet's
EC2InboundPermissionsproperty to control external access to connection ports. Set this property to the connection port numbers that you want to open access to. SeeIpPermissionfor more details.- Specified by:
getConnectionPortRangein interfaceCfnFleet.ContainerGroupsConfigurationProperty- See Also:
-
getContainerGroupDefinitionNames
Description copied from interface:CfnFleet.ContainerGroupsConfigurationPropertyThe list of container group definition names to deploy to a new container fleet.- Specified by:
getContainerGroupDefinitionNamesin interfaceCfnFleet.ContainerGroupsConfigurationProperty- See Also:
-
getContainerGroupsPerInstance
Description copied from interface:CfnFleet.ContainerGroupsConfigurationPropertyThe number of container groups per instance.- Specified by:
getContainerGroupsPerInstancein interfaceCfnFleet.ContainerGroupsConfigurationProperty- See Also:
-
$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()
-