// generated from terraform resource schema import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; /** * AWS GameLift */ export interface GameliftFleetConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#build_id GameliftFleet#build_id} */ readonly buildId: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#description GameliftFleet#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#ec2_instance_type GameliftFleet#ec2_instance_type} */ readonly ec2InstanceType: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#fleet_type GameliftFleet#fleet_type} */ readonly fleetType?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#instance_role_arn GameliftFleet#instance_role_arn} */ readonly instanceRoleArn?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#metric_groups GameliftFleet#metric_groups} */ readonly metricGroups?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#name GameliftFleet#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#new_game_session_protection_policy GameliftFleet#new_game_session_protection_policy} */ readonly newGameSessionProtectionPolicy?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#tags GameliftFleet#tags} */ readonly tags?: { [key: string]: string } | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#tags_all GameliftFleet#tags_all} */ readonly tagsAll?: { [key: string]: string } | cdktf.IResolvable; /** * ec2_inbound_permission block * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#ec2_inbound_permission GameliftFleet#ec2_inbound_permission} */ readonly ec2InboundPermission?: GameliftFleetEc2InboundPermission[]; /** * resource_creation_limit_policy block * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#resource_creation_limit_policy GameliftFleet#resource_creation_limit_policy} */ readonly resourceCreationLimitPolicy?: GameliftFleetResourceCreationLimitPolicy; /** * runtime_configuration block * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#runtime_configuration GameliftFleet#runtime_configuration} */ readonly runtimeConfiguration?: GameliftFleetRuntimeConfiguration; /** * timeouts block * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#timeouts GameliftFleet#timeouts} */ readonly timeouts?: GameliftFleetTimeouts; } export interface GameliftFleetEc2InboundPermission { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#from_port GameliftFleet#from_port} */ readonly fromPort: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#ip_range GameliftFleet#ip_range} */ readonly ipRange: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#protocol GameliftFleet#protocol} */ readonly protocol: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#to_port GameliftFleet#to_port} */ readonly toPort: number; } export function gameliftFleetEc2InboundPermissionToTerraform(struct?: GameliftFleetEc2InboundPermission): any { if (!cdktf.canInspect(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return { from_port: cdktf.numberToTerraform(struct!.fromPort), ip_range: cdktf.stringToTerraform(struct!.ipRange), protocol: cdktf.stringToTerraform(struct!.protocol), to_port: cdktf.numberToTerraform(struct!.toPort), } } export interface GameliftFleetResourceCreationLimitPolicy { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#new_game_sessions_per_creator GameliftFleet#new_game_sessions_per_creator} */ readonly newGameSessionsPerCreator?: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#policy_period_in_minutes GameliftFleet#policy_period_in_minutes} */ readonly policyPeriodInMinutes?: number; } export function gameliftFleetResourceCreationLimitPolicyToTerraform(struct?: GameliftFleetResourceCreationLimitPolicyOutputReference | GameliftFleetResourceCreationLimitPolicy): any { if (!cdktf.canInspect(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return { new_game_sessions_per_creator: cdktf.numberToTerraform(struct!.newGameSessionsPerCreator), policy_period_in_minutes: cdktf.numberToTerraform(struct!.policyPeriodInMinutes), } } export class GameliftFleetResourceCreationLimitPolicyOutputReference extends cdktf.ComplexObject { private isEmptyObject = false; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param isSingleItem True if this is a block, false if it's a list */ public constructor(terraformResource: cdktf.ITerraformResource, terraformAttribute: string, isSingleItem: boolean) { super(terraformResource, terraformAttribute, isSingleItem); } public get internalValue(): GameliftFleetResourceCreationLimitPolicy | undefined { let hasAnyValues = this.isEmptyObject; const internalValueResult: any = {}; if (this._newGameSessionsPerCreator !== undefined) { hasAnyValues = true; internalValueResult.newGameSessionsPerCreator = this._newGameSessionsPerCreator; } if (this._policyPeriodInMinutes !== undefined) { hasAnyValues = true; internalValueResult.policyPeriodInMinutes = this._policyPeriodInMinutes; } return hasAnyValues ? internalValueResult : undefined; } public set internalValue(value: GameliftFleetResourceCreationLimitPolicy | undefined) { if (value === undefined) { this.isEmptyObject = false; this._newGameSessionsPerCreator = undefined; this._policyPeriodInMinutes = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._newGameSessionsPerCreator = value.newGameSessionsPerCreator; this._policyPeriodInMinutes = value.policyPeriodInMinutes; } } // new_game_sessions_per_creator - computed: false, optional: true, required: false private _newGameSessionsPerCreator?: number; public get newGameSessionsPerCreator() { return this.getNumberAttribute('new_game_sessions_per_creator'); } public set newGameSessionsPerCreator(value: number) { this._newGameSessionsPerCreator = value; } public resetNewGameSessionsPerCreator() { this._newGameSessionsPerCreator = undefined; } // Temporarily expose input value. Use with caution. public get newGameSessionsPerCreatorInput() { return this._newGameSessionsPerCreator; } // policy_period_in_minutes - computed: false, optional: true, required: false private _policyPeriodInMinutes?: number; public get policyPeriodInMinutes() { return this.getNumberAttribute('policy_period_in_minutes'); } public set policyPeriodInMinutes(value: number) { this._policyPeriodInMinutes = value; } public resetPolicyPeriodInMinutes() { this._policyPeriodInMinutes = undefined; } // Temporarily expose input value. Use with caution. public get policyPeriodInMinutesInput() { return this._policyPeriodInMinutes; } } export interface GameliftFleetRuntimeConfigurationServerProcess { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#concurrent_executions GameliftFleet#concurrent_executions} */ readonly concurrentExecutions: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#launch_path GameliftFleet#launch_path} */ readonly launchPath: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#parameters GameliftFleet#parameters} */ readonly parameters?: string; } export function gameliftFleetRuntimeConfigurationServerProcessToTerraform(struct?: GameliftFleetRuntimeConfigurationServerProcess): any { if (!cdktf.canInspect(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return { concurrent_executions: cdktf.numberToTerraform(struct!.concurrentExecutions), launch_path: cdktf.stringToTerraform(struct!.launchPath), parameters: cdktf.stringToTerraform(struct!.parameters), } } export interface GameliftFleetRuntimeConfiguration { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#game_session_activation_timeout_seconds GameliftFleet#game_session_activation_timeout_seconds} */ readonly gameSessionActivationTimeoutSeconds?: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#max_concurrent_game_session_activations GameliftFleet#max_concurrent_game_session_activations} */ readonly maxConcurrentGameSessionActivations?: number; /** * server_process block * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#server_process GameliftFleet#server_process} */ readonly serverProcess?: GameliftFleetRuntimeConfigurationServerProcess[]; } export function gameliftFleetRuntimeConfigurationToTerraform(struct?: GameliftFleetRuntimeConfigurationOutputReference | GameliftFleetRuntimeConfiguration): any { if (!cdktf.canInspect(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return { game_session_activation_timeout_seconds: cdktf.numberToTerraform(struct!.gameSessionActivationTimeoutSeconds), max_concurrent_game_session_activations: cdktf.numberToTerraform(struct!.maxConcurrentGameSessionActivations), server_process: cdktf.listMapper(gameliftFleetRuntimeConfigurationServerProcessToTerraform)(struct!.serverProcess), } } export class GameliftFleetRuntimeConfigurationOutputReference extends cdktf.ComplexObject { private isEmptyObject = false; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param isSingleItem True if this is a block, false if it's a list */ public constructor(terraformResource: cdktf.ITerraformResource, terraformAttribute: string, isSingleItem: boolean) { super(terraformResource, terraformAttribute, isSingleItem); } public get internalValue(): GameliftFleetRuntimeConfiguration | undefined { let hasAnyValues = this.isEmptyObject; const internalValueResult: any = {}; if (this._gameSessionActivationTimeoutSeconds !== undefined) { hasAnyValues = true; internalValueResult.gameSessionActivationTimeoutSeconds = this._gameSessionActivationTimeoutSeconds; } if (this._maxConcurrentGameSessionActivations !== undefined) { hasAnyValues = true; internalValueResult.maxConcurrentGameSessionActivations = this._maxConcurrentGameSessionActivations; } if (this._serverProcess !== undefined) { hasAnyValues = true; internalValueResult.serverProcess = this._serverProcess; } return hasAnyValues ? internalValueResult : undefined; } public set internalValue(value: GameliftFleetRuntimeConfiguration | undefined) { if (value === undefined) { this.isEmptyObject = false; this._gameSessionActivationTimeoutSeconds = undefined; this._maxConcurrentGameSessionActivations = undefined; this._serverProcess = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._gameSessionActivationTimeoutSeconds = value.gameSessionActivationTimeoutSeconds; this._maxConcurrentGameSessionActivations = value.maxConcurrentGameSessionActivations; this._serverProcess = value.serverProcess; } } // game_session_activation_timeout_seconds - computed: false, optional: true, required: false private _gameSessionActivationTimeoutSeconds?: number; public get gameSessionActivationTimeoutSeconds() { return this.getNumberAttribute('game_session_activation_timeout_seconds'); } public set gameSessionActivationTimeoutSeconds(value: number) { this._gameSessionActivationTimeoutSeconds = value; } public resetGameSessionActivationTimeoutSeconds() { this._gameSessionActivationTimeoutSeconds = undefined; } // Temporarily expose input value. Use with caution. public get gameSessionActivationTimeoutSecondsInput() { return this._gameSessionActivationTimeoutSeconds; } // max_concurrent_game_session_activations - computed: false, optional: true, required: false private _maxConcurrentGameSessionActivations?: number; public get maxConcurrentGameSessionActivations() { return this.getNumberAttribute('max_concurrent_game_session_activations'); } public set maxConcurrentGameSessionActivations(value: number) { this._maxConcurrentGameSessionActivations = value; } public resetMaxConcurrentGameSessionActivations() { this._maxConcurrentGameSessionActivations = undefined; } // Temporarily expose input value. Use with caution. public get maxConcurrentGameSessionActivationsInput() { return this._maxConcurrentGameSessionActivations; } // server_process - computed: false, optional: true, required: false private _serverProcess?: GameliftFleetRuntimeConfigurationServerProcess[]; public get serverProcess() { // Getting the computed value is not yet implemented return this.interpolationForAttribute('server_process') as any; } public set serverProcess(value: GameliftFleetRuntimeConfigurationServerProcess[]) { this._serverProcess = value; } public resetServerProcess() { this._serverProcess = undefined; } // Temporarily expose input value. Use with caution. public get serverProcessInput() { return this._serverProcess; } } export interface GameliftFleetTimeouts { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#create GameliftFleet#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html#delete GameliftFleet#delete} */ readonly delete?: string; } export function gameliftFleetTimeoutsToTerraform(struct?: GameliftFleetTimeoutsOutputReference | GameliftFleetTimeouts): any { if (!cdktf.canInspect(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return { create: cdktf.stringToTerraform(struct!.create), delete: cdktf.stringToTerraform(struct!.delete), } } export class GameliftFleetTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject = false; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param isSingleItem True if this is a block, false if it's a list */ public constructor(terraformResource: cdktf.ITerraformResource, terraformAttribute: string, isSingleItem: boolean) { super(terraformResource, terraformAttribute, isSingleItem); } public get internalValue(): GameliftFleetTimeouts | undefined { let hasAnyValues = this.isEmptyObject; const internalValueResult: any = {}; if (this._create !== undefined) { hasAnyValues = true; internalValueResult.create = this._create; } if (this._delete !== undefined) { hasAnyValues = true; internalValueResult.delete = this._delete; } return hasAnyValues ? internalValueResult : undefined; } public set internalValue(value: GameliftFleetTimeouts | undefined) { if (value === undefined) { this.isEmptyObject = false; this._create = undefined; this._delete = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._create = value.create; this._delete = value.delete; } } // create - computed: false, optional: true, required: false private _create?: string; public get create() { return this.getStringAttribute('create'); } public set create(value: string) { this._create = value; } public resetCreate() { this._create = undefined; } // Temporarily expose input value. Use with caution. public get createInput() { return this._create; } // delete - computed: false, optional: true, required: false private _delete?: string; public get delete() { return this.getStringAttribute('delete'); } public set delete(value: string) { this._delete = value; } public resetDelete() { this._delete = undefined; } // Temporarily expose input value. Use with caution. public get deleteInput() { return this._delete; } } /** * Represents a {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html aws_gamelift_fleet} */ export class GameliftFleet extends cdktf.TerraformResource { // ================= // STATIC PROPERTIES // ================= public static readonly tfResourceType: string = "aws_gamelift_fleet"; // =========== // INITIALIZER // =========== /** * Create a new {@link https://www.terraform.io/docs/providers/aws/r/gamelift_fleet.html aws_gamelift_fleet} 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 GameliftFleetConfig */ public constructor(scope: Construct, id: string, config: GameliftFleetConfig) { super(scope, id, { terraformResourceType: 'aws_gamelift_fleet', terraformGeneratorMetadata: { providerName: 'aws' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle }); this._buildId = config.buildId; this._description = config.description; this._ec2InstanceType = config.ec2InstanceType; this._fleetType = config.fleetType; this._instanceRoleArn = config.instanceRoleArn; this._metricGroups = config.metricGroups; this._name = config.name; this._newGameSessionProtectionPolicy = config.newGameSessionProtectionPolicy; this._tags = config.tags; this._tagsAll = config.tagsAll; this._ec2InboundPermission = config.ec2InboundPermission; this._resourceCreationLimitPolicy.internalValue = config.resourceCreationLimitPolicy; this._runtimeConfiguration.internalValue = config.runtimeConfiguration; this._timeouts.internalValue = config.timeouts; } // ========== // ATTRIBUTES // ========== // arn - computed: true, optional: false, required: false public get arn() { return this.getStringAttribute('arn'); } // build_id - computed: false, optional: false, required: true private _buildId?: string; public get buildId() { return this.getStringAttribute('build_id'); } public set buildId(value: string) { this._buildId = value; } // Temporarily expose input value. Use with caution. public get buildIdInput() { return this._buildId; } // description - computed: false, optional: true, required: false private _description?: string; public get description() { return this.getStringAttribute('description'); } public set description(value: string) { this._description = value; } public resetDescription() { this._description = undefined; } // Temporarily expose input value. Use with caution. public get descriptionInput() { return this._description; } // ec2_instance_type - computed: false, optional: false, required: true private _ec2InstanceType?: string; public get ec2InstanceType() { return this.getStringAttribute('ec2_instance_type'); } public set ec2InstanceType(value: string) { this._ec2InstanceType = value; } // Temporarily expose input value. Use with caution. public get ec2InstanceTypeInput() { return this._ec2InstanceType; } // fleet_type - computed: false, optional: true, required: false private _fleetType?: string; public get fleetType() { return this.getStringAttribute('fleet_type'); } public set fleetType(value: string) { this._fleetType = value; } public resetFleetType() { this._fleetType = undefined; } // Temporarily expose input value. Use with caution. public get fleetTypeInput() { return this._fleetType; } // id - computed: true, optional: true, required: false public get id() { return this.getStringAttribute('id'); } // instance_role_arn - computed: false, optional: true, required: false private _instanceRoleArn?: string; public get instanceRoleArn() { return this.getStringAttribute('instance_role_arn'); } public set instanceRoleArn(value: string) { this._instanceRoleArn = value; } public resetInstanceRoleArn() { this._instanceRoleArn = undefined; } // Temporarily expose input value. Use with caution. public get instanceRoleArnInput() { return this._instanceRoleArn; } // log_paths - computed: true, optional: false, required: false public get logPaths() { return this.getListAttribute('log_paths'); } // metric_groups - computed: true, optional: true, required: false private _metricGroups?: string[]; public get metricGroups() { return this.getListAttribute('metric_groups'); } public set metricGroups(value: string[]) { this._metricGroups = value; } public resetMetricGroups() { this._metricGroups = undefined; } // Temporarily expose input value. Use with caution. public get metricGroupsInput() { return this._metricGroups; } // name - computed: false, optional: false, required: true private _name?: string; public get name() { return this.getStringAttribute('name'); } public set name(value: string) { this._name = value; } // Temporarily expose input value. Use with caution. public get nameInput() { return this._name; } // new_game_session_protection_policy - computed: false, optional: true, required: false private _newGameSessionProtectionPolicy?: string; public get newGameSessionProtectionPolicy() { return this.getStringAttribute('new_game_session_protection_policy'); } public set newGameSessionProtectionPolicy(value: string) { this._newGameSessionProtectionPolicy = value; } public resetNewGameSessionProtectionPolicy() { this._newGameSessionProtectionPolicy = undefined; } // Temporarily expose input value. Use with caution. public get newGameSessionProtectionPolicyInput() { return this._newGameSessionProtectionPolicy; } // operating_system - computed: true, optional: false, required: false public get operatingSystem() { return this.getStringAttribute('operating_system'); } // tags - computed: false, optional: true, required: false private _tags?: { [key: string]: string } | cdktf.IResolvable; public get tags() { // Getting the computed value is not yet implemented return this.interpolationForAttribute('tags') as any; } public set tags(value: { [key: string]: string } | cdktf.IResolvable) { this._tags = value; } public resetTags() { this._tags = undefined; } // Temporarily expose input value. Use with caution. public get tagsInput() { return this._tags; } // tags_all - computed: true, optional: true, required: false private _tagsAll?: { [key: string]: string } | cdktf.IResolvable; public get tagsAll() { // Getting the computed value is not yet implemented return this.interpolationForAttribute('tags_all') as any; } public set tagsAll(value: { [key: string]: string } | cdktf.IResolvable) { this._tagsAll = value; } public resetTagsAll() { this._tagsAll = undefined; } // Temporarily expose input value. Use with caution. public get tagsAllInput() { return this._tagsAll; } // ec2_inbound_permission - computed: false, optional: true, required: false private _ec2InboundPermission?: GameliftFleetEc2InboundPermission[]; public get ec2InboundPermission() { // Getting the computed value is not yet implemented return this.interpolationForAttribute('ec2_inbound_permission') as any; } public set ec2InboundPermission(value: GameliftFleetEc2InboundPermission[]) { this._ec2InboundPermission = value; } public resetEc2InboundPermission() { this._ec2InboundPermission = undefined; } // Temporarily expose input value. Use with caution. public get ec2InboundPermissionInput() { return this._ec2InboundPermission; } // resource_creation_limit_policy - computed: false, optional: true, required: false private _resourceCreationLimitPolicy = new GameliftFleetResourceCreationLimitPolicyOutputReference(this as any, "resource_creation_limit_policy", true); public get resourceCreationLimitPolicy() { return this._resourceCreationLimitPolicy; } public putResourceCreationLimitPolicy(value: GameliftFleetResourceCreationLimitPolicy) { this._resourceCreationLimitPolicy.internalValue = value; } public resetResourceCreationLimitPolicy() { this._resourceCreationLimitPolicy.internalValue = undefined; } // Temporarily expose input value. Use with caution. public get resourceCreationLimitPolicyInput() { return this._resourceCreationLimitPolicy.internalValue; } // runtime_configuration - computed: false, optional: true, required: false private _runtimeConfiguration = new GameliftFleetRuntimeConfigurationOutputReference(this as any, "runtime_configuration", true); public get runtimeConfiguration() { return this._runtimeConfiguration; } public putRuntimeConfiguration(value: GameliftFleetRuntimeConfiguration) { this._runtimeConfiguration.internalValue = value; } public resetRuntimeConfiguration() { this._runtimeConfiguration.internalValue = undefined; } // Temporarily expose input value. Use with caution. public get runtimeConfigurationInput() { return this._runtimeConfiguration.internalValue; } // timeouts - computed: false, optional: true, required: false private _timeouts = new GameliftFleetTimeoutsOutputReference(this as any, "timeouts", true); public get timeouts() { return this._timeouts; } public putTimeouts(value: GameliftFleetTimeouts) { this._timeouts.internalValue = value; } public resetTimeouts() { this._timeouts.internalValue = undefined; } // Temporarily expose input value. Use with caution. public get timeoutsInput() { return this._timeouts.internalValue; } // ========= // SYNTHESIS // ========= protected synthesizeAttributes(): { [name: string]: any } { return { build_id: cdktf.stringToTerraform(this._buildId), description: cdktf.stringToTerraform(this._description), ec2_instance_type: cdktf.stringToTerraform(this._ec2InstanceType), fleet_type: cdktf.stringToTerraform(this._fleetType), instance_role_arn: cdktf.stringToTerraform(this._instanceRoleArn), metric_groups: cdktf.listMapper(cdktf.stringToTerraform)(this._metricGroups), name: cdktf.stringToTerraform(this._name), new_game_session_protection_policy: cdktf.stringToTerraform(this._newGameSessionProtectionPolicy), tags: cdktf.hashMapper(cdktf.anyToTerraform)(this._tags), tags_all: cdktf.hashMapper(cdktf.anyToTerraform)(this._tagsAll), ec2_inbound_permission: cdktf.listMapper(gameliftFleetEc2InboundPermissionToTerraform)(this._ec2InboundPermission), resource_creation_limit_policy: gameliftFleetResourceCreationLimitPolicyToTerraform(this._resourceCreationLimitPolicy.internalValue), runtime_configuration: gameliftFleetRuntimeConfigurationToTerraform(this._runtimeConfiguration.internalValue), timeouts: gameliftFleetTimeoutsToTerraform(this._timeouts.internalValue), }; } }