Class CfnBuild
The AWS::GameLift::Build
resource creates a game server build that is installed and run on instances in an Amazon GameLift fleet.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBuild : CfnResource, IInspectable
Syntax (vb)
Public Class CfnBuild
Inherits CfnResource
Implements IInspectable
Remarks
This resource points to an Amazon S3 location that contains a zip file with all of the components of the game server build.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html
CloudformationResource: AWS::GameLift::Build
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.AWS.GameLift;
var cfnBuild = new CfnBuild(this, "MyCfnBuild", new CfnBuildProps {
Name = "name",
OperatingSystem = "operatingSystem",
ServerSdkVersion = "serverSdkVersion",
StorageLocation = new StorageLocationProperty {
Bucket = "bucket",
Key = "key",
RoleArn = "roleArn",
// the properties below are optional
ObjectVersion = "objectVersion"
},
Version = "version"
});
Synopsis
Constructors
Cfn |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Cfn |
Used by jsii to construct an instance of this class from DeputyProps |
Cfn |
Properties
Attr |
A unique identifier for the build. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
Cfn |
|
Name | A descriptive label that is associated with a build. |
Operating |
The operating system that your game server binaries run on. |
Server |
A server SDK version you used when integrating your game server build with Amazon GameLift. |
Storage |
Information indicating where your game build files are stored. |
Version | Version information that is associated with this build. |
Methods
Inspect(Tree |
Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnBuild(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnBuild(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
CfnBuild(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnBuild(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
CfnBuild(Construct, String, ICfnBuildProps)
public CfnBuild(Construct scope, string id, ICfnBuildProps props = null)
Parameters
- scope Constructs.
Construct Scope in which this resource is defined.
- id System.
String Construct identifier for this resource (unique in its scope).
- props ICfn
Build Props Resource properties.
Properties
AttrBuildId
A unique identifier for the build.
public virtual string AttrBuildId { get; }
Property Value
System.
Remarks
CloudformationAttribute: BuildId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.
Overrides
Name
A descriptive label that is associated with a build.
public virtual string Name { get; set; }
Property Value
System.
OperatingSystem
The operating system that your game server binaries run on.
public virtual string OperatingSystem { get; set; }
Property Value
System.
ServerSdkVersion
A server SDK version you used when integrating your game server build with Amazon GameLift.
public virtual string ServerSdkVersion { get; set; }
Property Value
System.
StorageLocation
Information indicating where your game build files are stored.
public virtual object StorageLocation { get; set; }
Property Value
System.
Version
Version information that is associated with this build.
public virtual string Version { get; set; }
Property Value
System.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector Tree
Inspector tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.
Collections. <System.Generic. IDictionary String , System.Object >
Returns
System.