@aws-cdk_aws-gamelift-alpha.ScriptAttributes

interface ScriptAttributes ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.GameLift.Alpha.ScriptAttributes
Gogithub.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#ScriptAttributes
Javasoftware.amazon.awscdk.services.gamelift.alpha.ScriptAttributes
Pythonaws_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

NameTypeDescription
scriptArn๐Ÿ”นstringThe ARN of the realtime server script.
role?๐Ÿ”นIRoleThe 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.