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-25T14:21:25.734Z")
@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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forGameServerGroupAttributes
static final class
An implementation forGameServerGroupAttributes
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
(experimental) The ARN of the generated AutoScaling group.default String
(experimental) The ARN of the game server group.default String
(experimental) The name of the game server group.default IRole
getRole()
(experimental) The IAM role that allows Amazon GameLift to access your Amazon EC2 Auto Scaling groups.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutoScalingGroupArn
(experimental) The ARN of the generated AutoScaling group.Default: the imported game server group does not have autoscaling group information
-
getGameServerGroupArn
(experimental) The ARN of the game server group.At least one of
gameServerGroupArn
andgameServerGroupName
must be provided.Default: derived from `gameServerGroupName`.
-
getGameServerGroupName
(experimental) The name of the game server group.At least one of
gameServerGroupArn
andgameServerGroupName
must be provided.Default: derived from `gameServerGroupArn`.
-
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
- Returns:
- a
GameServerGroupAttributes.Builder
ofGameServerGroupAttributes
-