interface CfnScriptMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GameLift.Mixins.CfnScriptMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgamelift/mixins#CfnScriptMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.gamelift.mixins.CfnScriptMixinProps |
Python | aws_cdk.mixins_preview.aws_gamelift.mixins.CfnScriptMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_gamelift » mixins » CfnScriptMixinProps |
Properties for CfnScriptPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as gamelift_mixins } from '@aws-cdk/mixins-preview/aws-gamelift';
const cfnScriptMixinProps: gamelift_mixins.CfnScriptMixinProps = {
name: 'name',
storageLocation: {
bucket: 'bucket',
key: 'key',
objectVersion: 'objectVersion',
roleArn: 'roleArn',
},
tags: [{
key: 'key',
value: 'value',
}],
version: 'version',
};
Properties
| Name | Type | Description |
|---|---|---|
| name? | string | A descriptive label that is associated with a script. |
| storage | IResolvable | S3 | The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. |
| tags? | Cfn[] | A list of labels to assign to the new script resource. |
| version? | string | The version that is associated with a build or script. |
name?
Type:
string
(optional)
A descriptive label that is associated with a script.
Script names do not need to be unique.
storageLocation?
Type:
IResolvable | S3
(optional)
The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored.
The storage location must specify the Amazon S3 bucket name, the zip file name (the "key"), and a role ARN that allows Amazon GameLift Servers to access the Amazon S3 storage location. The S3 bucket must be in the same Region where you want to create a new script. By default, Amazon GameLift Servers uploads the latest version of the zip file; if you have S3 object versioning turned on, you can use the ObjectVersion parameter to specify an earlier version.
tags?
Type:
Cfn[]
(optional)
A list of labels to assign to the new script resource.
Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference . Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
version?
Type:
string
(optional)
The version that is associated with a build or script.
Version strings do not need to be unique.

.NET
Go
Java
Python
TypeScript