UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

937 lines 248 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataAwsEcsService = exports.DataAwsEcsServiceTaskSetsList = exports.DataAwsEcsServiceTaskSetsOutputReference = exports.DataAwsEcsServiceServiceRegistriesList = exports.DataAwsEcsServiceServiceRegistriesOutputReference = exports.DataAwsEcsServicePlacementConstraintsList = exports.DataAwsEcsServicePlacementConstraintsOutputReference = exports.DataAwsEcsServiceOrderedPlacementStrategyList = exports.DataAwsEcsServiceOrderedPlacementStrategyOutputReference = exports.DataAwsEcsServiceNetworkConfigurationList = exports.DataAwsEcsServiceNetworkConfigurationOutputReference = exports.DataAwsEcsServiceLoadBalancerList = exports.DataAwsEcsServiceLoadBalancerOutputReference = exports.DataAwsEcsServiceLoadBalancerAdvancedConfigurationList = exports.DataAwsEcsServiceLoadBalancerAdvancedConfigurationOutputReference = exports.DataAwsEcsServiceEventsList = exports.DataAwsEcsServiceEventsOutputReference = exports.DataAwsEcsServiceDeploymentsList = exports.DataAwsEcsServiceDeploymentsOutputReference = exports.DataAwsEcsServiceDeploymentControllerList = exports.DataAwsEcsServiceDeploymentControllerOutputReference = exports.DataAwsEcsServiceDeploymentConfigurationList = exports.DataAwsEcsServiceDeploymentConfigurationOutputReference = exports.DataAwsEcsServiceDeploymentConfigurationLinearConfigurationList = exports.DataAwsEcsServiceDeploymentConfigurationLinearConfigurationOutputReference = exports.DataAwsEcsServiceDeploymentConfigurationLifecycleHookList = exports.DataAwsEcsServiceDeploymentConfigurationLifecycleHookOutputReference = exports.DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerList = exports.DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerOutputReference = exports.DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationList = exports.DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationOutputReference = exports.DataAwsEcsServiceDeploymentConfigurationAlarmsList = exports.DataAwsEcsServiceDeploymentConfigurationAlarmsOutputReference = exports.DataAwsEcsServiceCapacityProviderStrategyList = exports.DataAwsEcsServiceCapacityProviderStrategyOutputReference = void 0; exports.dataAwsEcsServiceCapacityProviderStrategyToTerraform = dataAwsEcsServiceCapacityProviderStrategyToTerraform; exports.dataAwsEcsServiceCapacityProviderStrategyToHclTerraform = dataAwsEcsServiceCapacityProviderStrategyToHclTerraform; exports.dataAwsEcsServiceDeploymentConfigurationAlarmsToTerraform = dataAwsEcsServiceDeploymentConfigurationAlarmsToTerraform; exports.dataAwsEcsServiceDeploymentConfigurationAlarmsToHclTerraform = dataAwsEcsServiceDeploymentConfigurationAlarmsToHclTerraform; exports.dataAwsEcsServiceDeploymentConfigurationCanaryConfigurationToTerraform = dataAwsEcsServiceDeploymentConfigurationCanaryConfigurationToTerraform; exports.dataAwsEcsServiceDeploymentConfigurationCanaryConfigurationToHclTerraform = dataAwsEcsServiceDeploymentConfigurationCanaryConfigurationToHclTerraform; exports.dataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerToTerraform = dataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerToTerraform; exports.dataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerToHclTerraform = dataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerToHclTerraform; exports.dataAwsEcsServiceDeploymentConfigurationLifecycleHookToTerraform = dataAwsEcsServiceDeploymentConfigurationLifecycleHookToTerraform; exports.dataAwsEcsServiceDeploymentConfigurationLifecycleHookToHclTerraform = dataAwsEcsServiceDeploymentConfigurationLifecycleHookToHclTerraform; exports.dataAwsEcsServiceDeploymentConfigurationLinearConfigurationToTerraform = dataAwsEcsServiceDeploymentConfigurationLinearConfigurationToTerraform; exports.dataAwsEcsServiceDeploymentConfigurationLinearConfigurationToHclTerraform = dataAwsEcsServiceDeploymentConfigurationLinearConfigurationToHclTerraform; exports.dataAwsEcsServiceDeploymentConfigurationToTerraform = dataAwsEcsServiceDeploymentConfigurationToTerraform; exports.dataAwsEcsServiceDeploymentConfigurationToHclTerraform = dataAwsEcsServiceDeploymentConfigurationToHclTerraform; exports.dataAwsEcsServiceDeploymentControllerToTerraform = dataAwsEcsServiceDeploymentControllerToTerraform; exports.dataAwsEcsServiceDeploymentControllerToHclTerraform = dataAwsEcsServiceDeploymentControllerToHclTerraform; exports.dataAwsEcsServiceDeploymentsToTerraform = dataAwsEcsServiceDeploymentsToTerraform; exports.dataAwsEcsServiceDeploymentsToHclTerraform = dataAwsEcsServiceDeploymentsToHclTerraform; exports.dataAwsEcsServiceEventsToTerraform = dataAwsEcsServiceEventsToTerraform; exports.dataAwsEcsServiceEventsToHclTerraform = dataAwsEcsServiceEventsToHclTerraform; exports.dataAwsEcsServiceLoadBalancerAdvancedConfigurationToTerraform = dataAwsEcsServiceLoadBalancerAdvancedConfigurationToTerraform; exports.dataAwsEcsServiceLoadBalancerAdvancedConfigurationToHclTerraform = dataAwsEcsServiceLoadBalancerAdvancedConfigurationToHclTerraform; exports.dataAwsEcsServiceLoadBalancerToTerraform = dataAwsEcsServiceLoadBalancerToTerraform; exports.dataAwsEcsServiceLoadBalancerToHclTerraform = dataAwsEcsServiceLoadBalancerToHclTerraform; exports.dataAwsEcsServiceNetworkConfigurationToTerraform = dataAwsEcsServiceNetworkConfigurationToTerraform; exports.dataAwsEcsServiceNetworkConfigurationToHclTerraform = dataAwsEcsServiceNetworkConfigurationToHclTerraform; exports.dataAwsEcsServiceOrderedPlacementStrategyToTerraform = dataAwsEcsServiceOrderedPlacementStrategyToTerraform; exports.dataAwsEcsServiceOrderedPlacementStrategyToHclTerraform = dataAwsEcsServiceOrderedPlacementStrategyToHclTerraform; exports.dataAwsEcsServicePlacementConstraintsToTerraform = dataAwsEcsServicePlacementConstraintsToTerraform; exports.dataAwsEcsServicePlacementConstraintsToHclTerraform = dataAwsEcsServicePlacementConstraintsToHclTerraform; exports.dataAwsEcsServiceServiceRegistriesToTerraform = dataAwsEcsServiceServiceRegistriesToTerraform; exports.dataAwsEcsServiceServiceRegistriesToHclTerraform = dataAwsEcsServiceServiceRegistriesToHclTerraform; exports.dataAwsEcsServiceTaskSetsToTerraform = dataAwsEcsServiceTaskSetsToTerraform; exports.dataAwsEcsServiceTaskSetsToHclTerraform = dataAwsEcsServiceTaskSetsToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataAwsEcsServiceCapacityProviderStrategyToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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 {}; } function dataAwsEcsServiceCapacityProviderStrategyToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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"); } const attrs = {}; return attrs; } class DataAwsEcsServiceCapacityProviderStrategyOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // base - computed: true, optional: false, required: false get base() { return this.getNumberAttribute('base'); } // capacity_provider - computed: true, optional: false, required: false get capacityProvider() { return this.getStringAttribute('capacity_provider'); } // weight - computed: true, optional: false, required: false get weight() { return this.getNumberAttribute('weight'); } } exports.DataAwsEcsServiceCapacityProviderStrategyOutputReference = DataAwsEcsServiceCapacityProviderStrategyOutputReference; _a = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceCapacityProviderStrategyOutputReference[_a] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceCapacityProviderStrategyOutputReference", version: "21.22.1" }; class DataAwsEcsServiceCapacityProviderStrategyList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsEcsServiceCapacityProviderStrategyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsEcsServiceCapacityProviderStrategyList = DataAwsEcsServiceCapacityProviderStrategyList; _b = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceCapacityProviderStrategyList[_b] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceCapacityProviderStrategyList", version: "21.22.1" }; function dataAwsEcsServiceDeploymentConfigurationAlarmsToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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 {}; } function dataAwsEcsServiceDeploymentConfigurationAlarmsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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"); } const attrs = {}; return attrs; } class DataAwsEcsServiceDeploymentConfigurationAlarmsOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // alarm_names - computed: true, optional: false, required: false get alarmNames() { return this.getListAttribute('alarm_names'); } // enable - computed: true, optional: false, required: false get enable() { return this.getBooleanAttribute('enable'); } // rollback - computed: true, optional: false, required: false get rollback() { return this.getBooleanAttribute('rollback'); } } exports.DataAwsEcsServiceDeploymentConfigurationAlarmsOutputReference = DataAwsEcsServiceDeploymentConfigurationAlarmsOutputReference; _c = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentConfigurationAlarmsOutputReference[_c] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentConfigurationAlarmsOutputReference", version: "21.22.1" }; class DataAwsEcsServiceDeploymentConfigurationAlarmsList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsEcsServiceDeploymentConfigurationAlarmsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsEcsServiceDeploymentConfigurationAlarmsList = DataAwsEcsServiceDeploymentConfigurationAlarmsList; _d = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentConfigurationAlarmsList[_d] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentConfigurationAlarmsList", version: "21.22.1" }; function dataAwsEcsServiceDeploymentConfigurationCanaryConfigurationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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 {}; } function dataAwsEcsServiceDeploymentConfigurationCanaryConfigurationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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"); } const attrs = {}; return attrs; } class DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // canary_bake_time_in_minutes - computed: true, optional: false, required: false get canaryBakeTimeInMinutes() { return this.getStringAttribute('canary_bake_time_in_minutes'); } // canary_percent - computed: true, optional: false, required: false get canaryPercent() { return this.getNumberAttribute('canary_percent'); } } exports.DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationOutputReference = DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationOutputReference; _e = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationOutputReference[_e] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationOutputReference", version: "21.22.1" }; class DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationList = DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationList; _f = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationList[_f] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationList", version: "21.22.1" }; function dataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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 {}; } function dataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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"); } const attrs = {}; return attrs; } class DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // enable - computed: true, optional: false, required: false get enable() { return this.getBooleanAttribute('enable'); } // rollback - computed: true, optional: false, required: false get rollback() { return this.getBooleanAttribute('rollback'); } } exports.DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerOutputReference = DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerOutputReference; _g = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerOutputReference[_g] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerOutputReference", version: "21.22.1" }; class DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerList = DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerList; _h = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerList[_h] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerList", version: "21.22.1" }; function dataAwsEcsServiceDeploymentConfigurationLifecycleHookToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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 {}; } function dataAwsEcsServiceDeploymentConfigurationLifecycleHookToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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"); } const attrs = {}; return attrs; } class DataAwsEcsServiceDeploymentConfigurationLifecycleHookOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // hook_details - computed: true, optional: false, required: false get hookDetails() { return this.getStringAttribute('hook_details'); } // hook_target_arn - computed: true, optional: false, required: false get hookTargetArn() { return this.getStringAttribute('hook_target_arn'); } // lifecycle_stages - computed: true, optional: false, required: false get lifecycleStages() { return this.getListAttribute('lifecycle_stages'); } // role_arn - computed: true, optional: false, required: false get roleArn() { return this.getStringAttribute('role_arn'); } } exports.DataAwsEcsServiceDeploymentConfigurationLifecycleHookOutputReference = DataAwsEcsServiceDeploymentConfigurationLifecycleHookOutputReference; _j = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentConfigurationLifecycleHookOutputReference[_j] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentConfigurationLifecycleHookOutputReference", version: "21.22.1" }; class DataAwsEcsServiceDeploymentConfigurationLifecycleHookList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsEcsServiceDeploymentConfigurationLifecycleHookOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsEcsServiceDeploymentConfigurationLifecycleHookList = DataAwsEcsServiceDeploymentConfigurationLifecycleHookList; _k = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentConfigurationLifecycleHookList[_k] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentConfigurationLifecycleHookList", version: "21.22.1" }; function dataAwsEcsServiceDeploymentConfigurationLinearConfigurationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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 {}; } function dataAwsEcsServiceDeploymentConfigurationLinearConfigurationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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"); } const attrs = {}; return attrs; } class DataAwsEcsServiceDeploymentConfigurationLinearConfigurationOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // step_bake_time_in_minutes - computed: true, optional: false, required: false get stepBakeTimeInMinutes() { return this.getStringAttribute('step_bake_time_in_minutes'); } // step_percent - computed: true, optional: false, required: false get stepPercent() { return this.getNumberAttribute('step_percent'); } } exports.DataAwsEcsServiceDeploymentConfigurationLinearConfigurationOutputReference = DataAwsEcsServiceDeploymentConfigurationLinearConfigurationOutputReference; _l = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentConfigurationLinearConfigurationOutputReference[_l] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentConfigurationLinearConfigurationOutputReference", version: "21.22.1" }; class DataAwsEcsServiceDeploymentConfigurationLinearConfigurationList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsEcsServiceDeploymentConfigurationLinearConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsEcsServiceDeploymentConfigurationLinearConfigurationList = DataAwsEcsServiceDeploymentConfigurationLinearConfigurationList; _m = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentConfigurationLinearConfigurationList[_m] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentConfigurationLinearConfigurationList", version: "21.22.1" }; function dataAwsEcsServiceDeploymentConfigurationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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 {}; } function dataAwsEcsServiceDeploymentConfigurationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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"); } const attrs = {}; return attrs; } class DataAwsEcsServiceDeploymentConfigurationOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // alarms - computed: true, optional: false, required: false this._alarms = new DataAwsEcsServiceDeploymentConfigurationAlarmsList(this, "alarms", false); // canary_configuration - computed: true, optional: false, required: false this._canaryConfiguration = new DataAwsEcsServiceDeploymentConfigurationCanaryConfigurationList(this, "canary_configuration", false); // deployment_circuit_breaker - computed: true, optional: false, required: false this._deploymentCircuitBreaker = new DataAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerList(this, "deployment_circuit_breaker", false); // lifecycle_hook - computed: true, optional: false, required: false this._lifecycleHook = new DataAwsEcsServiceDeploymentConfigurationLifecycleHookList(this, "lifecycle_hook", true); // linear_configuration - computed: true, optional: false, required: false this._linearConfiguration = new DataAwsEcsServiceDeploymentConfigurationLinearConfigurationList(this, "linear_configuration", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } get alarms() { return this._alarms; } // bake_time_in_minutes - computed: true, optional: false, required: false get bakeTimeInMinutes() { return this.getStringAttribute('bake_time_in_minutes'); } get canaryConfiguration() { return this._canaryConfiguration; } get deploymentCircuitBreaker() { return this._deploymentCircuitBreaker; } get lifecycleHook() { return this._lifecycleHook; } get linearConfiguration() { return this._linearConfiguration; } // maximum_percent - computed: true, optional: false, required: false get maximumPercent() { return this.getNumberAttribute('maximum_percent'); } // minimum_healthy_percent - computed: true, optional: false, required: false get minimumHealthyPercent() { return this.getNumberAttribute('minimum_healthy_percent'); } // strategy - computed: true, optional: false, required: false get strategy() { return this.getStringAttribute('strategy'); } } exports.DataAwsEcsServiceDeploymentConfigurationOutputReference = DataAwsEcsServiceDeploymentConfigurationOutputReference; _o = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentConfigurationOutputReference[_o] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentConfigurationOutputReference", version: "21.22.1" }; class DataAwsEcsServiceDeploymentConfigurationList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsEcsServiceDeploymentConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsEcsServiceDeploymentConfigurationList = DataAwsEcsServiceDeploymentConfigurationList; _p = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentConfigurationList[_p] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentConfigurationList", version: "21.22.1" }; function dataAwsEcsServiceDeploymentControllerToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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 {}; } function dataAwsEcsServiceDeploymentControllerToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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"); } const attrs = {}; return attrs; } class DataAwsEcsServiceDeploymentControllerOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.DataAwsEcsServiceDeploymentControllerOutputReference = DataAwsEcsServiceDeploymentControllerOutputReference; _q = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentControllerOutputReference[_q] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentControllerOutputReference", version: "21.22.1" }; class DataAwsEcsServiceDeploymentControllerList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsEcsServiceDeploymentControllerOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsEcsServiceDeploymentControllerList = DataAwsEcsServiceDeploymentControllerList; _r = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentControllerList[_r] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentControllerList", version: "21.22.1" }; function dataAwsEcsServiceDeploymentsToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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 {}; } function dataAwsEcsServiceDeploymentsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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"); } const attrs = {}; return attrs; } class DataAwsEcsServiceDeploymentsOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // created_at - computed: true, optional: false, required: false get createdAt() { return this.getStringAttribute('created_at'); } // desired_count - computed: true, optional: false, required: false get desiredCount() { return this.getNumberAttribute('desired_count'); } // id - computed: true, optional: false, required: false get id() { return this.getStringAttribute('id'); } // pending_count - computed: true, optional: false, required: false get pendingCount() { return this.getNumberAttribute('pending_count'); } // running_count - computed: true, optional: false, required: false get runningCount() { return this.getNumberAttribute('running_count'); } // status - computed: true, optional: false, required: false get status() { return this.getStringAttribute('status'); } // task_definition - computed: true, optional: false, required: false get taskDefinition() { return this.getStringAttribute('task_definition'); } // updated_at - computed: true, optional: false, required: false get updatedAt() { return this.getStringAttribute('updated_at'); } } exports.DataAwsEcsServiceDeploymentsOutputReference = DataAwsEcsServiceDeploymentsOutputReference; _s = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentsOutputReference[_s] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentsOutputReference", version: "21.22.1" }; class DataAwsEcsServiceDeploymentsList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsEcsServiceDeploymentsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsEcsServiceDeploymentsList = DataAwsEcsServiceDeploymentsList; _t = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceDeploymentsList[_t] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceDeploymentsList", version: "21.22.1" }; function dataAwsEcsServiceEventsToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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 {}; } function dataAwsEcsServiceEventsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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"); } const attrs = {}; return attrs; } class DataAwsEcsServiceEventsOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // created_at - computed: true, optional: false, required: false get createdAt() { return this.getStringAttribute('created_at'); } // id - computed: true, optional: false, required: false get id() { return this.getStringAttribute('id'); } // message - computed: true, optional: false, required: false get message() { return this.getStringAttribute('message'); } } exports.DataAwsEcsServiceEventsOutputReference = DataAwsEcsServiceEventsOutputReference; _u = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceEventsOutputReference[_u] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceEventsOutputReference", version: "21.22.1" }; class DataAwsEcsServiceEventsList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsEcsServiceEventsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsEcsServiceEventsList = DataAwsEcsServiceEventsList; _v = JSII_RTTI_SYMBOL_1; DataAwsEcsServiceEventsList[_v] = { fqn: "@cdktf/provider-aws.dataAwsEcsService.DataAwsEcsServiceEventsList", version: "21.22.1" }; function dataAwsEcsServiceLoadBalancerAdvancedConfigurationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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 {}; } function dataAwsEcsServiceLoadBalancerAdvancedConfigurationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(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"); } const attrs = {}; return attrs; } class DataAwsEcsServiceLoadBalancerAdvancedConfigurationOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // alternate_target_group_arn - computed: true, optional: false, required: false get alternateTargetGroupArn() { return this.getStringAttribute('alternate_target_group_arn'); } // production_listener_rule - computed: true, optional: false, required: false get productionListenerRule() { return this.getStringAttribute('production_listener_rule'); } // role_arn - computed: true, optional: false, required: false get roleArn() { return this.