Show / Hide Table of Contents

Class CfnScriptMixinProps

Properties for CfnScriptPropsMixin.

Inheritance
object
CfnScriptMixinProps
Implements
ICfnScriptMixinProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.GameLift
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnScriptMixinProps : ICfnScriptMixinProps
Syntax (vb)
Public Class CfnScriptMixinProps Implements ICfnScriptMixinProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.GameLift;

             var cfnScriptMixinProps = new CfnScriptMixinProps {
                 Name = "name",
                 NodeJsVersion = "nodeJsVersion",
                 StorageLocation = new S3LocationProperty {
                     Bucket = "bucket",
                     Key = "key",
                     ObjectVersion = "objectVersion",
                     RoleArn = "roleArn"
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 Version = "version"
             };

Synopsis

Constructors

CfnScriptMixinProps()

Properties for CfnScriptPropsMixin.

Properties

Name

A descriptive label that is associated with a script.

NodeJsVersion

The Node.js version used for execution of the Realtime script.

StorageLocation

The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored.

Tags

A list of labels to assign to the new script resource.

Version

The version that is associated with a build or script.

Constructors

CfnScriptMixinProps()

Properties for CfnScriptPropsMixin.

public CfnScriptMixinProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.GameLift;

             var cfnScriptMixinProps = new CfnScriptMixinProps {
                 Name = "name",
                 NodeJsVersion = "nodeJsVersion",
                 StorageLocation = new S3LocationProperty {
                     Bucket = "bucket",
                     Key = "key",
                     ObjectVersion = "objectVersion",
                     RoleArn = "roleArn"
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 Version = "version"
             };

Properties

Name

A descriptive label that is associated with a script.

public string? Name { get; set; }
Property Value

string

Remarks

Script names do not need to be unique.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-name

NodeJsVersion

The Node.js version used for execution of the Realtime script.

public string? NodeJsVersion { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-nodejsversion

StorageLocation

The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored.

public object? StorageLocation { get; set; }
Property Value

object

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-storagelocation

Type union: either IResolvable or CfnScriptPropsMixin.IS3LocationProperty

Tags

A list of labels to assign to the new script resource.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-tags

Version

The version that is associated with a build or script.

public string? Version { get; set; }
Property Value

string

Remarks

Version strings do not need to be unique.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-version

Implements

ICfnScriptMixinProps
Back to top Generated by DocFX