interface ScriptAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.GameLift.Alpha.ScriptAttributes |
Go | github.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#ScriptAttributes |
Java | software.amazon.awscdk.services.gamelift.alpha.ScriptAttributes |
Python | aws_cdk.aws_gamelift_alpha.ScriptAttributes |
TypeScript (source) | @aws-cdk/aws-gamelift-alpha » ScriptAttributes |
Represents a Script 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 * as gamelift_alpha from '@aws-cdk/aws-gamelift-alpha';
import { aws_iam as iam } from 'aws-cdk-lib';
declare const role: iam.Role;
const scriptAttributes: gamelift_alpha.ScriptAttributes = {
scriptArn: 'scriptArn',
// the properties below are optional
role: role,
};
Properties
Name | Type | Description |
---|---|---|
script | string | The ARN of the realtime server script. |
role? | IRole | The IAM role assumed by GameLift to access server script in S3. |
scriptArn
Type:
string
The ARN of the realtime server script.
role?
Type:
IRole
(optional, default: undefined)
The IAM role assumed by GameLift to access server script in S3.