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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsConfigurationProperty
CfnFleet.ContainerGroupsConfigurationProperty.Builder, CfnFleet.ContainerGroupsConfigurationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnFleet.ContainerGroupsConfigurationProperty.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 Object
A 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 Object
The number of container groups per instance.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 theCfnFleet.ContainerGroupsConfigurationProperty.Builder
.
-
-
Method Details
-
getConnectionPortRange
Description copied from interface:CfnFleet.ContainerGroupsConfigurationProperty
A 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
EC2InboundPermissions
property to control external access to connection ports. Set this property to the connection port numbers that you want to open access to. SeeIpPermission
for more details.- Specified by:
getConnectionPortRange
in interfaceCfnFleet.ContainerGroupsConfigurationProperty
- See Also:
-
getContainerGroupDefinitionNames
Description copied from interface:CfnFleet.ContainerGroupsConfigurationProperty
The list of container group definition names to deploy to a new container fleet.- Specified by:
getContainerGroupDefinitionNames
in interfaceCfnFleet.ContainerGroupsConfigurationProperty
- See Also:
-
getContainerGroupsPerInstance
Description copied from interface:CfnFleet.ContainerGroupsConfigurationProperty
The number of container groups per instance.- Specified by:
getContainerGroupsPerInstance
in interfaceCfnFleet.ContainerGroupsConfigurationProperty
- See Also:
-
$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()
-