Class CfnContainerFleetPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.gamelift.CfnContainerFleetPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-19T12:55:20.627Z")
@Stability(Stable)
public class CfnContainerFleetPropsMixin
extends Mixin
implements software.constructs.IMixin
Describes an Amazon GameLift Servers managed container fleet.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.gamelift.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnContainerFleetPropsMixin cfnContainerFleetPropsMixin = CfnContainerFleetPropsMixin.Builder.create(CfnContainerFleetMixinProps.builder()
.billingType("billingType")
.deploymentConfiguration(DeploymentConfigurationProperty.builder()
.impairmentStrategy("impairmentStrategy")
.minimumHealthyPercentage(123)
.protectionStrategy("protectionStrategy")
.build())
.description("description")
.fleetRoleArn("fleetRoleArn")
.gameServerContainerGroupDefinitionName("gameServerContainerGroupDefinitionName")
.gameServerContainerGroupsPerInstance(123)
.gameSessionCreationLimitPolicy(GameSessionCreationLimitPolicyProperty.builder()
.newGameSessionsPerCreator(123)
.policyPeriodInMinutes(123)
.build())
.instanceConnectionPortRange(ConnectionPortRangeProperty.builder()
.fromPort(123)
.toPort(123)
.build())
.instanceInboundPermissions(List.of(IpPermissionProperty.builder()
.fromPort(123)
.ipRange("ipRange")
.protocol("protocol")
.toPort(123)
.build()))
.instanceType("instanceType")
.locations(List.of(LocationConfigurationProperty.builder()
.location("location")
.locationCapacity(LocationCapacityProperty.builder()
.desiredEc2Instances(123)
.managedCapacityConfiguration(ManagedCapacityConfigurationProperty.builder()
.scaleInAfterInactivityMinutes(123)
.zeroCapacityStrategy("zeroCapacityStrategy")
.build())
.maxSize(123)
.minSize(123)
.build())
.playerGatewayStatus("playerGatewayStatus")
.stoppedActions(List.of("stoppedActions"))
.build()))
.logConfiguration(LogConfigurationProperty.builder()
.logDestination("logDestination")
.logGroupArn("logGroupArn")
.s3BucketName("s3BucketName")
.build())
.metricGroups(List.of("metricGroups"))
.newGameSessionProtectionPolicy("newGameSessionProtectionPolicy")
.perInstanceContainerGroupDefinitionName("perInstanceContainerGroupDefinitionName")
.playerGatewayMode("playerGatewayMode")
.scalingPolicies(List.of(ScalingPolicyProperty.builder()
.comparisonOperator("comparisonOperator")
.evaluationPeriods(123)
.metricName("metricName")
.name("name")
.policyType("policyType")
.scalingAdjustment(123)
.scalingAdjustmentType("scalingAdjustmentType")
.targetConfiguration(TargetConfigurationProperty.builder()
.targetValue(123)
.build())
.threshold(123)
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnContainerFleetPropsMixin.static interfaceThe set of port numbers to open on each instance in a container fleet.static interfaceSet of rules for processing a deployment for a container fleet update.static interfaceInformation about the most recent deployment for the container fleet.static interfaceA policy that puts limits on the number of game sessions that a player can create within a specified span of time.static interfaceA range of IP addresses and port settings that allow inbound traffic to connect to processes on an instance in a fleet.static interfaceCurrent resource capacity settings in a specified fleet or location.static interfaceA remote location where a multi-location fleet can deploy game servers for game hosting.static interfaceA method for collecting container logs for the fleet.static interfaceConfiguration options for Amazon GameLift Servers managed capacity behavior.static interfaceRule that controls how a fleet is scaled.static interfaceSettings for a target-based scaling policy.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::GameLift::ContainerFleet.Create a mixin to apply properties toAWS::GameLift::ContainerFleet.protectedCfnContainerFleetPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnContainerFleetPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnContainerFleetMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnContainerFleetPropsMixin
protected CfnContainerFleetPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnContainerFleetPropsMixin
protected CfnContainerFleetPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnContainerFleetPropsMixin
@Stability(Stable) public CfnContainerFleetPropsMixin(@NotNull CfnContainerFleetMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::GameLift::ContainerFleet.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnContainerFleetPropsMixin
Create a mixin to apply properties toAWS::GameLift::ContainerFleet.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-