ScriptAttributes
- class aws_cdk.aws_gamelift_alpha.ScriptAttributes(*, script_arn, role=None)
Bases:
object
(experimental) Represents a Script content defined outside of this stack.
- Parameters:
script_arn (
str
) – (experimental) The ARN of the realtime server script.role (
Optional
[IRole
]) – (experimental) The IAM role assumed by GameLift to access server script in S3. Default: - undefined
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_gamelift_alpha as gamelift_alpha from aws_cdk import aws_iam as iam # role: iam.Role script_attributes = gamelift_alpha.ScriptAttributes( script_arn="scriptArn", # the properties below are optional role=role )
Attributes
- role
(experimental) The IAM role assumed by GameLift to access server script in S3.
- Default:
undefined
- Stability:
experimental
- script_arn
(experimental) The ARN of the realtime server script.
- Stability:
experimental