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:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> 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 to AWS::GameLift::ContainerFleet.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnContainerFleetPropsMixin

      @Stability(Stable) public CfnContainerFleetPropsMixin(@NotNull CfnContainerFleetMixinProps props)
      Create a mixin to apply properties to AWS::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.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnContainerFleetMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()