Class CfnContainerFleetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContainerFleetPropsMixin>
- Enclosing class:
CfnContainerFleetPropsMixin
CfnContainerFleetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbillingType(String billingType) Indicates whether the fleet uses On-Demand or Spot instances for this fleet.build()create()create(CfnPropertyMixinOptions options) deploymentConfiguration(CfnContainerFleetPropsMixin.DeploymentConfigurationProperty deploymentConfiguration) Set of rules for processing a deployment for a container fleet update.deploymentConfiguration(IResolvable deploymentConfiguration) Set of rules for processing a deployment for a container fleet update.description(String description) A meaningful description of the container fleet.fleetRoleArn(String fleetRoleArn) The unique identifier for an AWS Identity and Access Management (IAM) role with permissions to run your containers on resources that are managed by Amazon GameLift Servers.gameServerContainerGroupDefinitionName(String gameServerContainerGroupDefinitionName) The name of the fleet's game server container group definition, which describes how to deploy containers with your game server build and support software onto each fleet instance.gameServerContainerGroupsPerInstance(Number gameServerContainerGroupsPerInstance) The number of times to replicate the game server container group on each fleet instance.gameSessionCreationLimitPolicy(CfnContainerFleetPropsMixin.GameSessionCreationLimitPolicyProperty gameSessionCreationLimitPolicy) A policy that limits the number of game sessions that each individual player can create on instances in this fleet.gameSessionCreationLimitPolicy(IResolvable gameSessionCreationLimitPolicy) A policy that limits the number of game sessions that each individual player can create on instances in this fleet.instanceConnectionPortRange(CfnContainerFleetPropsMixin.ConnectionPortRangeProperty instanceConnectionPortRange) The set of port numbers to open on each instance in a container fleet.instanceConnectionPortRange(IResolvable instanceConnectionPortRange) The set of port numbers to open on each instance in a container fleet.instanceInboundPermissions(List<? extends Object> instanceInboundPermissions) The IP address ranges and port settings that allow inbound traffic to access game server processes and other processes on this fleet.instanceInboundPermissions(IResolvable instanceInboundPermissions) The IP address ranges and port settings that allow inbound traffic to access game server processes and other processes on this fleet.instanceType(String instanceType) The Amazon EC2 instance type to use for all instances in the fleet.locations(IResolvable locations) logConfiguration(CfnContainerFleetPropsMixin.LogConfigurationProperty logConfiguration) The method that is used to collect container logs for the fleet.logConfiguration(IResolvable logConfiguration) The method that is used to collect container logs for the fleet.metricGroups(List<String> metricGroups) The name of an AWS CloudWatch metric group to add this fleet to.newGameSessionProtectionPolicy(String newGameSessionProtectionPolicy) Determines whether Amazon GameLift Servers can shut down game sessions on the fleet that are actively running and hosting players.perInstanceContainerGroupDefinitionName(String perInstanceContainerGroupDefinitionName) The name of the fleet's per-instance container group definition.playerGatewayMode(String playerGatewayMode) The player gateway mode for the container fleet.scalingPolicies(List<? extends Object> scalingPolicies) A list of rules that control how a fleet is scaled.scalingPolicies(IResolvable scalingPolicies) A list of rules that control how a fleet is scaled.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnContainerFleetPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnContainerFleetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnContainerFleetPropsMixin.Builder.
-
billingType
Indicates whether the fleet uses On-Demand or Spot instances for this fleet.Learn more about when to use On-Demand versus Spot Instances . You can't update this fleet property.
By default, this property is set to
ON_DEMAND.- Parameters:
billingType- Indicates whether the fleet uses On-Demand or Spot instances for this fleet. This parameter is required.- Returns:
this- See Also:
-
deploymentConfiguration
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder deploymentConfiguration(IResolvable deploymentConfiguration) Set of rules for processing a deployment for a container fleet update.- Parameters:
deploymentConfiguration- Set of rules for processing a deployment for a container fleet update. This parameter is required.- Returns:
this- See Also:
-
deploymentConfiguration
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder deploymentConfiguration(CfnContainerFleetPropsMixin.DeploymentConfigurationProperty deploymentConfiguration) Set of rules for processing a deployment for a container fleet update.- Parameters:
deploymentConfiguration- Set of rules for processing a deployment for a container fleet update. This parameter is required.- Returns:
this- See Also:
-
description
A meaningful description of the container fleet.- Parameters:
description- A meaningful description of the container fleet. This parameter is required.- Returns:
this- See Also:
-
fleetRoleArn
The unique identifier for an AWS Identity and Access Management (IAM) role with permissions to run your containers on resources that are managed by Amazon GameLift Servers.See Set up an IAM service role . This fleet property can't be changed.
- Parameters:
fleetRoleArn- The unique identifier for an AWS Identity and Access Management (IAM) role with permissions to run your containers on resources that are managed by Amazon GameLift Servers. This parameter is required.- Returns:
this- See Also:
-
gameServerContainerGroupDefinitionName
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder gameServerContainerGroupDefinitionName(String gameServerContainerGroupDefinitionName) The name of the fleet's game server container group definition, which describes how to deploy containers with your game server build and support software onto each fleet instance.- Parameters:
gameServerContainerGroupDefinitionName- The name of the fleet's game server container group definition, which describes how to deploy containers with your game server build and support software onto each fleet instance. This parameter is required.- Returns:
this- See Also:
-
gameServerContainerGroupsPerInstance
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder gameServerContainerGroupsPerInstance(Number gameServerContainerGroupsPerInstance) The number of times to replicate the game server container group on each fleet instance.- Parameters:
gameServerContainerGroupsPerInstance- The number of times to replicate the game server container group on each fleet instance. This parameter is required.- Returns:
this- See Also:
-
gameSessionCreationLimitPolicy
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder gameSessionCreationLimitPolicy(IResolvable gameSessionCreationLimitPolicy) A policy that limits the number of game sessions that each individual player can create on instances in this fleet.The limit applies for a specified span of time.
- Parameters:
gameSessionCreationLimitPolicy- A policy that limits the number of game sessions that each individual player can create on instances in this fleet. This parameter is required.- Returns:
this- See Also:
-
gameSessionCreationLimitPolicy
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder gameSessionCreationLimitPolicy(CfnContainerFleetPropsMixin.GameSessionCreationLimitPolicyProperty gameSessionCreationLimitPolicy) A policy that limits the number of game sessions that each individual player can create on instances in this fleet.The limit applies for a specified span of time.
- Parameters:
gameSessionCreationLimitPolicy- A policy that limits the number of game sessions that each individual player can create on instances in this fleet. This parameter is required.- Returns:
this- See Also:
-
instanceConnectionPortRange
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder instanceConnectionPortRange(IResolvable instanceConnectionPortRange) The set of port numbers to open on each instance in a container fleet.Connection ports are used by inbound traffic to connect with processes that are running in containers on the fleet.
- Parameters:
instanceConnectionPortRange- The set of port numbers to open on each instance in a container fleet. This parameter is required.- Returns:
this- See Also:
-
instanceConnectionPortRange
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder instanceConnectionPortRange(CfnContainerFleetPropsMixin.ConnectionPortRangeProperty instanceConnectionPortRange) The set of port numbers to open on each instance in a container fleet.Connection ports are used by inbound traffic to connect with processes that are running in containers on the fleet.
- Parameters:
instanceConnectionPortRange- The set of port numbers to open on each instance in a container fleet. This parameter is required.- Returns:
this- See Also:
-
instanceInboundPermissions
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder instanceInboundPermissions(IResolvable instanceInboundPermissions) The IP address ranges and port settings that allow inbound traffic to access game server processes and other processes on this fleet.- Parameters:
instanceInboundPermissions- The IP address ranges and port settings that allow inbound traffic to access game server processes and other processes on this fleet. This parameter is required.- Returns:
this- See Also:
-
instanceInboundPermissions
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder instanceInboundPermissions(List<? extends Object> instanceInboundPermissions) The IP address ranges and port settings that allow inbound traffic to access game server processes and other processes on this fleet.- Parameters:
instanceInboundPermissions- The IP address ranges and port settings that allow inbound traffic to access game server processes and other processes on this fleet. This parameter is required.- Returns:
this- See Also:
-
instanceType
The Amazon EC2 instance type to use for all instances in the fleet.Instance type determines the computing resources and processing power that's available to host your game servers. This includes including CPU, memory, storage, and networking capacity. You can't update this fleet property.
- Parameters:
instanceType- The Amazon EC2 instance type to use for all instances in the fleet. This parameter is required.- Returns:
this- See Also:
-
locations
- Parameters:
locations- This parameter is required.- Returns:
this- See Also:
-
locations
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder locations(List<? extends Object> locations) - Parameters:
locations- This parameter is required.- Returns:
this- See Also:
-
logConfiguration
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder logConfiguration(IResolvable logConfiguration) The method that is used to collect container logs for the fleet.Amazon GameLift Servers saves all standard output for each container in logs, including game session logs.
CLOUDWATCH-- Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group.S3-- Store logs in an Amazon S3 bucket that you define.NONE-- Don't collect container logs.
- Parameters:
logConfiguration- The method that is used to collect container logs for the fleet. This parameter is required.- Returns:
this- See Also:
-
logConfiguration
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder logConfiguration(CfnContainerFleetPropsMixin.LogConfigurationProperty logConfiguration) The method that is used to collect container logs for the fleet.Amazon GameLift Servers saves all standard output for each container in logs, including game session logs.
CLOUDWATCH-- Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group.S3-- Store logs in an Amazon S3 bucket that you define.NONE-- Don't collect container logs.
- Parameters:
logConfiguration- The method that is used to collect container logs for the fleet. This parameter is required.- Returns:
this- See Also:
-
metricGroups
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder metricGroups(List<String> metricGroups) The name of an AWS CloudWatch metric group to add this fleet to.Metric groups aggregate metrics for multiple fleets.
- Parameters:
metricGroups- The name of an AWS CloudWatch metric group to add this fleet to. This parameter is required.- Returns:
this- See Also:
-
newGameSessionProtectionPolicy
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder newGameSessionProtectionPolicy(String newGameSessionProtectionPolicy) Determines whether Amazon GameLift Servers can shut down game sessions on the fleet that are actively running and hosting players.Amazon GameLift Servers might prompt an instance shutdown when scaling down fleet capacity or when retiring unhealthy instances. You can also set game session protection for individual game sessions using UpdateGameSession .
- NoProtection -- Game sessions can be shut down during active gameplay.
- FullProtection -- Game sessions in
ACTIVEstatus can't be shut down.
- Parameters:
newGameSessionProtectionPolicy- Determines whether Amazon GameLift Servers can shut down game sessions on the fleet that are actively running and hosting players. This parameter is required.- Returns:
this- See Also:
-
perInstanceContainerGroupDefinitionName
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder perInstanceContainerGroupDefinitionName(String perInstanceContainerGroupDefinitionName) The name of the fleet's per-instance container group definition.- Parameters:
perInstanceContainerGroupDefinitionName- The name of the fleet's per-instance container group definition. This parameter is required.- Returns:
this- See Also:
-
playerGatewayMode
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder playerGatewayMode(String playerGatewayMode) The player gateway mode for the container fleet.- Parameters:
playerGatewayMode- The player gateway mode for the container fleet. This parameter is required.- Returns:
this- See Also:
-
scalingPolicies
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder scalingPolicies(IResolvable scalingPolicies) A list of rules that control how a fleet is scaled.- Parameters:
scalingPolicies- A list of rules that control how a fleet is scaled. This parameter is required.- Returns:
this- See Also:
-
scalingPolicies
@Stability(Stable) public CfnContainerFleetPropsMixin.Builder scalingPolicies(List<? extends Object> scalingPolicies) A list of rules that control how a fleet is scaled.- Parameters:
scalingPolicies- A list of rules that control how a fleet is scaled. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContainerFleetPropsMixin>- Returns:
- a newly built instance of
CfnContainerFleetPropsMixin.
-