@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
93 lines (92 loc) • 5.61 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource Type definition for AWS::GameLift::Build
*/
export declare class Build extends pulumi.CustomResource {
/**
* Get an existing Build resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Build;
/**
* Returns true if the given object is an instance of Build. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Build;
/**
* The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift build ARN, the resource ID matches the BuildId value.
*/
readonly buildArn: pulumi.Output<string>;
/**
* A unique identifier for a build to be deployed on the new fleet. If you are deploying the fleet with a custom game build, you must specify this property. The build must have been successfully uploaded to Amazon GameLift and be in a READY status. This fleet setting cannot be changed once the fleet is created.
*/
readonly buildId: pulumi.Output<string>;
/**
* A descriptive label that is associated with a build. Build names do not need to be unique.
*/
readonly name: pulumi.Output<string | undefined>;
/**
* The operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build. If your game build contains multiple executables, they all must run on the same operating system. If an operating system is not specified when creating a build, Amazon GameLift uses the default value (WINDOWS_2012). This value cannot be changed later.
*/
readonly operatingSystem: pulumi.Output<enums.gamelift.BuildOperatingSystem | undefined>;
/**
* A server SDK version you used when integrating your game server build with Amazon GameLift. By default Amazon GameLift sets this value to 4.0.2.
*/
readonly serverSdkVersion: pulumi.Output<string | undefined>;
/**
* Information indicating where your game build files are stored. Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region.
*/
readonly storageLocation: pulumi.Output<outputs.gamelift.BuildStorageLocation | undefined>;
/**
* An array of key-value pairs to apply to this resource.
*/
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
/**
* Version information that is associated with this build. Version strings do not need to be unique.
*/
readonly version: pulumi.Output<string | undefined>;
/**
* Create a Build resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: BuildArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Build resource.
*/
export interface BuildArgs {
/**
* A descriptive label that is associated with a build. Build names do not need to be unique.
*/
name?: pulumi.Input<string>;
/**
* The operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build. If your game build contains multiple executables, they all must run on the same operating system. If an operating system is not specified when creating a build, Amazon GameLift uses the default value (WINDOWS_2012). This value cannot be changed later.
*/
operatingSystem?: pulumi.Input<enums.gamelift.BuildOperatingSystem>;
/**
* A server SDK version you used when integrating your game server build with Amazon GameLift. By default Amazon GameLift sets this value to 4.0.2.
*/
serverSdkVersion?: pulumi.Input<string>;
/**
* Information indicating where your game build files are stored. Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region.
*/
storageLocation?: pulumi.Input<inputs.gamelift.BuildStorageLocationArgs>;
/**
* An array of key-value pairs to apply to this resource.
*/
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
/**
* Version information that is associated with this build. Version strings do not need to be unique.
*/
version?: pulumi.Input<string>;
}