Interface GameServerGroupAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
GameServerGroupAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:53.231Z") @Stability(Experimental) public interface GameServerGroupAttributes extends software.amazon.jsii.JsiiSerializable
(experimental) Represents a GameServerGroup content defined outside of this stack.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.gamelift.alpha.*;
 import software.amazon.awscdk.services.iam.*;
 Role role;
 GameServerGroupAttributes gameServerGroupAttributes = GameServerGroupAttributes.builder()
         .autoScalingGroupArn("autoScalingGroupArn")
         // the properties below are optional
         .gameServerGroupArn("gameServerGroupArn")
         .gameServerGroupName("gameServerGroupName")
         .role(role)
         .build();
 
  • Method Details

    • getAutoScalingGroupArn

      @Stability(Experimental) @NotNull String getAutoScalingGroupArn()
      (experimental) The ARN of the generated AutoScaling group.

      Default: the imported game server group does not have autoscaling group information

    • getGameServerGroupArn

      @Stability(Experimental) @Nullable default String getGameServerGroupArn()
      (experimental) The ARN of the game server group.

      At least one of gameServerGroupArn and gameServerGroupName must be provided.

      Default: derived from `gameServerGroupName`.

    • getGameServerGroupName

      @Stability(Experimental) @Nullable default String getGameServerGroupName()
      (experimental) The name of the game server group.

      At least one of gameServerGroupArn and gameServerGroupName must be provided.

      Default: derived from `gameServerGroupArn`.

    • getRole

      @Stability(Experimental) @Nullable default IRole getRole()
      (experimental) The IAM role that allows Amazon GameLift to access your Amazon EC2 Auto Scaling groups.

      Default: the imported game server group cannot be granted access to other resources as an `iam.IGrantable`.

    • builder

      @Stability(Experimental) static GameServerGroupAttributes.Builder builder()
      Returns:
      a GameServerGroupAttributes.Builder of GameServerGroupAttributes