UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

168 lines (167 loc) 7.44 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface GameliftScriptConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script#id GameliftScript#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script#name GameliftScript#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script#tags GameliftScript#tags} */ readonly tags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script#tags_all GameliftScript#tags_all} */ readonly tagsAll?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script#version GameliftScript#version} */ readonly version?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script#zip_file GameliftScript#zip_file} */ readonly zipFile?: string; /** * storage_location block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script#storage_location GameliftScript#storage_location} */ readonly storageLocation?: GameliftScriptStorageLocation; } export interface GameliftScriptStorageLocation { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script#bucket GameliftScript#bucket} */ readonly bucket: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script#key GameliftScript#key} */ readonly key: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script#object_version GameliftScript#object_version} */ readonly objectVersion?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script#role_arn GameliftScript#role_arn} */ readonly roleArn: string; } export declare function gameliftScriptStorageLocationToTerraform(struct?: GameliftScriptStorageLocationOutputReference | GameliftScriptStorageLocation): any; export declare function gameliftScriptStorageLocationToHclTerraform(struct?: GameliftScriptStorageLocationOutputReference | GameliftScriptStorageLocation): any; export declare class GameliftScriptStorageLocationOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): GameliftScriptStorageLocation | undefined; set internalValue(value: GameliftScriptStorageLocation | undefined); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string | undefined; private _key?; get key(): string; set key(value: string); get keyInput(): string | undefined; private _objectVersion?; get objectVersion(): string; set objectVersion(value: string); resetObjectVersion(): void; get objectVersionInput(): string | undefined; private _roleArn?; get roleArn(): string; set roleArn(value: string); get roleArnInput(): string | undefined; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script aws_gamelift_script} */ export declare class GameliftScript extends cdktf.TerraformResource { static readonly tfResourceType = "aws_gamelift_script"; /** * Generates CDKTF code for importing a GameliftScript resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the GameliftScript to import * @param importFromId The id of the existing GameliftScript that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the GameliftScript to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/gamelift_script aws_gamelift_script} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options GameliftScriptConfig */ constructor(scope: Construct, id: string, config: GameliftScriptConfig); get arn(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _name?; get name(): string; set name(value: string); get nameInput(): string | undefined; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; } | undefined; private _tagsAll?; get tagsAll(): { [key: string]: string; }; set tagsAll(value: { [key: string]: string; }); resetTagsAll(): void; get tagsAllInput(): { [key: string]: string; } | undefined; private _version?; get version(): string; set version(value: string); resetVersion(): void; get versionInput(): string | undefined; private _zipFile?; get zipFile(): string; set zipFile(value: string); resetZipFile(): void; get zipFileInput(): string | undefined; private _storageLocation; get storageLocation(): GameliftScriptStorageLocationOutputReference; putStorageLocation(value: GameliftScriptStorageLocation): void; resetStorageLocation(): void; get storageLocationInput(): GameliftScriptStorageLocation | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }