UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

903 lines (902 loc) 104 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface EcsServiceConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#availability_zone_rebalancing EcsService#availability_zone_rebalancing} */ readonly availabilityZoneRebalancing?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#cluster EcsService#cluster} */ readonly cluster?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#deployment_maximum_percent EcsService#deployment_maximum_percent} */ readonly deploymentMaximumPercent?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#deployment_minimum_healthy_percent EcsService#deployment_minimum_healthy_percent} */ readonly deploymentMinimumHealthyPercent?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#desired_count EcsService#desired_count} */ readonly desiredCount?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#enable_ecs_managed_tags EcsService#enable_ecs_managed_tags} */ readonly enableEcsManagedTags?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#enable_execute_command EcsService#enable_execute_command} */ readonly enableExecuteCommand?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#force_delete EcsService#force_delete} */ readonly forceDelete?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#force_new_deployment EcsService#force_new_deployment} */ readonly forceNewDeployment?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#health_check_grace_period_seconds EcsService#health_check_grace_period_seconds} */ readonly healthCheckGracePeriodSeconds?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#iam_role EcsService#iam_role} */ readonly iamRole?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#id EcsService#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/6.25.0/docs/resources/ecs_service#launch_type EcsService#launch_type} */ readonly launchType?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#name EcsService#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#platform_version EcsService#platform_version} */ readonly platformVersion?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#propagate_tags EcsService#propagate_tags} */ readonly propagateTags?: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the [provider configuration](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#aws-configuration-reference). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#region EcsService#region} */ readonly region?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#scheduling_strategy EcsService#scheduling_strategy} */ readonly schedulingStrategy?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#sigint_rollback EcsService#sigint_rollback} */ readonly sigintRollback?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#tags EcsService#tags} */ readonly tags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#tags_all EcsService#tags_all} */ readonly tagsAll?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#task_definition EcsService#task_definition} */ readonly taskDefinition?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#triggers EcsService#triggers} */ readonly triggers?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#wait_for_steady_state EcsService#wait_for_steady_state} */ readonly waitForSteadyState?: boolean | cdktf.IResolvable; /** * alarms block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#alarms EcsService#alarms} */ readonly alarms?: EcsServiceAlarms; /** * capacity_provider_strategy block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#capacity_provider_strategy EcsService#capacity_provider_strategy} */ readonly capacityProviderStrategy?: EcsServiceCapacityProviderStrategy[] | cdktf.IResolvable; /** * deployment_circuit_breaker block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#deployment_circuit_breaker EcsService#deployment_circuit_breaker} */ readonly deploymentCircuitBreaker?: EcsServiceDeploymentCircuitBreaker; /** * deployment_configuration block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#deployment_configuration EcsService#deployment_configuration} */ readonly deploymentConfiguration?: EcsServiceDeploymentConfiguration; /** * deployment_controller block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#deployment_controller EcsService#deployment_controller} */ readonly deploymentController?: EcsServiceDeploymentController; /** * load_balancer block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#load_balancer EcsService#load_balancer} */ readonly loadBalancer?: EcsServiceLoadBalancer[] | cdktf.IResolvable; /** * network_configuration block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#network_configuration EcsService#network_configuration} */ readonly networkConfiguration?: EcsServiceNetworkConfiguration; /** * ordered_placement_strategy block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#ordered_placement_strategy EcsService#ordered_placement_strategy} */ readonly orderedPlacementStrategy?: EcsServiceOrderedPlacementStrategy[] | cdktf.IResolvable; /** * placement_constraints block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#placement_constraints EcsService#placement_constraints} */ readonly placementConstraints?: EcsServicePlacementConstraints[] | cdktf.IResolvable; /** * service_connect_configuration block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#service_connect_configuration EcsService#service_connect_configuration} */ readonly serviceConnectConfiguration?: EcsServiceServiceConnectConfiguration; /** * service_registries block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#service_registries EcsService#service_registries} */ readonly serviceRegistries?: EcsServiceServiceRegistries; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#timeouts EcsService#timeouts} */ readonly timeouts?: EcsServiceTimeouts; /** * volume_configuration block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#volume_configuration EcsService#volume_configuration} */ readonly volumeConfiguration?: EcsServiceVolumeConfiguration; /** * vpc_lattice_configurations block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#vpc_lattice_configurations EcsService#vpc_lattice_configurations} */ readonly vpcLatticeConfigurations?: EcsServiceVpcLatticeConfigurations[] | cdktf.IResolvable; } export interface EcsServiceAlarms { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#alarm_names EcsService#alarm_names} */ readonly alarmNames: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#enable EcsService#enable} */ readonly enable: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#rollback EcsService#rollback} */ readonly rollback: boolean | cdktf.IResolvable; } export declare function ecsServiceAlarmsToTerraform(struct?: EcsServiceAlarmsOutputReference | EcsServiceAlarms): any; export declare function ecsServiceAlarmsToHclTerraform(struct?: EcsServiceAlarmsOutputReference | EcsServiceAlarms): any; export declare class EcsServiceAlarmsOutputReference 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(): EcsServiceAlarms | undefined; set internalValue(value: EcsServiceAlarms | undefined); private _alarmNames?; get alarmNames(): string[]; set alarmNames(value: string[]); get alarmNamesInput(): string[] | undefined; private _enable?; get enable(): boolean | cdktf.IResolvable; set enable(value: boolean | cdktf.IResolvable); get enableInput(): boolean | cdktf.IResolvable | undefined; private _rollback?; get rollback(): boolean | cdktf.IResolvable; set rollback(value: boolean | cdktf.IResolvable); get rollbackInput(): boolean | cdktf.IResolvable | undefined; } export interface EcsServiceCapacityProviderStrategy { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#base EcsService#base} */ readonly base?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#capacity_provider EcsService#capacity_provider} */ readonly capacityProvider: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#weight EcsService#weight} */ readonly weight?: number; } export declare function ecsServiceCapacityProviderStrategyToTerraform(struct?: EcsServiceCapacityProviderStrategy | cdktf.IResolvable): any; export declare function ecsServiceCapacityProviderStrategyToHclTerraform(struct?: EcsServiceCapacityProviderStrategy | cdktf.IResolvable): any; export declare class EcsServiceCapacityProviderStrategyOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): EcsServiceCapacityProviderStrategy | cdktf.IResolvable | undefined; set internalValue(value: EcsServiceCapacityProviderStrategy | cdktf.IResolvable | undefined); private _base?; get base(): number; set base(value: number); resetBase(): void; get baseInput(): number | undefined; private _capacityProvider?; get capacityProvider(): string; set capacityProvider(value: string); get capacityProviderInput(): string | undefined; private _weight?; get weight(): number; set weight(value: number); resetWeight(): void; get weightInput(): number | undefined; } export declare class EcsServiceCapacityProviderStrategyList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: EcsServiceCapacityProviderStrategy[] | cdktf.IResolvable; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): EcsServiceCapacityProviderStrategyOutputReference; } export interface EcsServiceDeploymentCircuitBreaker { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#enable EcsService#enable} */ readonly enable: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#rollback EcsService#rollback} */ readonly rollback: boolean | cdktf.IResolvable; } export declare function ecsServiceDeploymentCircuitBreakerToTerraform(struct?: EcsServiceDeploymentCircuitBreakerOutputReference | EcsServiceDeploymentCircuitBreaker): any; export declare function ecsServiceDeploymentCircuitBreakerToHclTerraform(struct?: EcsServiceDeploymentCircuitBreakerOutputReference | EcsServiceDeploymentCircuitBreaker): any; export declare class EcsServiceDeploymentCircuitBreakerOutputReference 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(): EcsServiceDeploymentCircuitBreaker | undefined; set internalValue(value: EcsServiceDeploymentCircuitBreaker | undefined); private _enable?; get enable(): boolean | cdktf.IResolvable; set enable(value: boolean | cdktf.IResolvable); get enableInput(): boolean | cdktf.IResolvable | undefined; private _rollback?; get rollback(): boolean | cdktf.IResolvable; set rollback(value: boolean | cdktf.IResolvable); get rollbackInput(): boolean | cdktf.IResolvable | undefined; } export interface EcsServiceDeploymentConfigurationCanaryConfiguration { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#canary_bake_time_in_minutes EcsService#canary_bake_time_in_minutes} */ readonly canaryBakeTimeInMinutes?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#canary_percent EcsService#canary_percent} */ readonly canaryPercent?: number; } export declare function ecsServiceDeploymentConfigurationCanaryConfigurationToTerraform(struct?: EcsServiceDeploymentConfigurationCanaryConfigurationOutputReference | EcsServiceDeploymentConfigurationCanaryConfiguration): any; export declare function ecsServiceDeploymentConfigurationCanaryConfigurationToHclTerraform(struct?: EcsServiceDeploymentConfigurationCanaryConfigurationOutputReference | EcsServiceDeploymentConfigurationCanaryConfiguration): any; export declare class EcsServiceDeploymentConfigurationCanaryConfigurationOutputReference 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(): EcsServiceDeploymentConfigurationCanaryConfiguration | undefined; set internalValue(value: EcsServiceDeploymentConfigurationCanaryConfiguration | undefined); private _canaryBakeTimeInMinutes?; get canaryBakeTimeInMinutes(): string; set canaryBakeTimeInMinutes(value: string); resetCanaryBakeTimeInMinutes(): void; get canaryBakeTimeInMinutesInput(): string | undefined; private _canaryPercent?; get canaryPercent(): number; set canaryPercent(value: number); resetCanaryPercent(): void; get canaryPercentInput(): number | undefined; } export interface EcsServiceDeploymentConfigurationLifecycleHook { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#hook_details EcsService#hook_details} */ readonly hookDetails?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#hook_target_arn EcsService#hook_target_arn} */ readonly hookTargetArn: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#lifecycle_stages EcsService#lifecycle_stages} */ readonly lifecycleStages: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#role_arn EcsService#role_arn} */ readonly roleArn: string; } export declare function ecsServiceDeploymentConfigurationLifecycleHookToTerraform(struct?: EcsServiceDeploymentConfigurationLifecycleHook | cdktf.IResolvable): any; export declare function ecsServiceDeploymentConfigurationLifecycleHookToHclTerraform(struct?: EcsServiceDeploymentConfigurationLifecycleHook | cdktf.IResolvable): any; export declare class EcsServiceDeploymentConfigurationLifecycleHookOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): EcsServiceDeploymentConfigurationLifecycleHook | cdktf.IResolvable | undefined; set internalValue(value: EcsServiceDeploymentConfigurationLifecycleHook | cdktf.IResolvable | undefined); private _hookDetails?; get hookDetails(): string; set hookDetails(value: string); resetHookDetails(): void; get hookDetailsInput(): string | undefined; private _hookTargetArn?; get hookTargetArn(): string; set hookTargetArn(value: string); get hookTargetArnInput(): string | undefined; private _lifecycleStages?; get lifecycleStages(): string[]; set lifecycleStages(value: string[]); get lifecycleStagesInput(): string[] | undefined; private _roleArn?; get roleArn(): string; set roleArn(value: string); get roleArnInput(): string | undefined; } export declare class EcsServiceDeploymentConfigurationLifecycleHookList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: EcsServiceDeploymentConfigurationLifecycleHook[] | cdktf.IResolvable; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): EcsServiceDeploymentConfigurationLifecycleHookOutputReference; } export interface EcsServiceDeploymentConfigurationLinearConfiguration { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#step_bake_time_in_minutes EcsService#step_bake_time_in_minutes} */ readonly stepBakeTimeInMinutes?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#step_percent EcsService#step_percent} */ readonly stepPercent?: number; } export declare function ecsServiceDeploymentConfigurationLinearConfigurationToTerraform(struct?: EcsServiceDeploymentConfigurationLinearConfigurationOutputReference | EcsServiceDeploymentConfigurationLinearConfiguration): any; export declare function ecsServiceDeploymentConfigurationLinearConfigurationToHclTerraform(struct?: EcsServiceDeploymentConfigurationLinearConfigurationOutputReference | EcsServiceDeploymentConfigurationLinearConfiguration): any; export declare class EcsServiceDeploymentConfigurationLinearConfigurationOutputReference 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(): EcsServiceDeploymentConfigurationLinearConfiguration | undefined; set internalValue(value: EcsServiceDeploymentConfigurationLinearConfiguration | undefined); private _stepBakeTimeInMinutes?; get stepBakeTimeInMinutes(): string; set stepBakeTimeInMinutes(value: string); resetStepBakeTimeInMinutes(): void; get stepBakeTimeInMinutesInput(): string | undefined; private _stepPercent?; get stepPercent(): number; set stepPercent(value: number); resetStepPercent(): void; get stepPercentInput(): number | undefined; } export interface EcsServiceDeploymentConfiguration { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#bake_time_in_minutes EcsService#bake_time_in_minutes} */ readonly bakeTimeInMinutes?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#strategy EcsService#strategy} */ readonly strategy?: string; /** * canary_configuration block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#canary_configuration EcsService#canary_configuration} */ readonly canaryConfiguration?: EcsServiceDeploymentConfigurationCanaryConfiguration; /** * lifecycle_hook block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#lifecycle_hook EcsService#lifecycle_hook} */ readonly lifecycleHook?: EcsServiceDeploymentConfigurationLifecycleHook[] | cdktf.IResolvable; /** * linear_configuration block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#linear_configuration EcsService#linear_configuration} */ readonly linearConfiguration?: EcsServiceDeploymentConfigurationLinearConfiguration; } export declare function ecsServiceDeploymentConfigurationToTerraform(struct?: EcsServiceDeploymentConfigurationOutputReference | EcsServiceDeploymentConfiguration): any; export declare function ecsServiceDeploymentConfigurationToHclTerraform(struct?: EcsServiceDeploymentConfigurationOutputReference | EcsServiceDeploymentConfiguration): any; export declare class EcsServiceDeploymentConfigurationOutputReference 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(): EcsServiceDeploymentConfiguration | undefined; set internalValue(value: EcsServiceDeploymentConfiguration | undefined); private _bakeTimeInMinutes?; get bakeTimeInMinutes(): string; set bakeTimeInMinutes(value: string); resetBakeTimeInMinutes(): void; get bakeTimeInMinutesInput(): string | undefined; private _strategy?; get strategy(): string; set strategy(value: string); resetStrategy(): void; get strategyInput(): string | undefined; private _canaryConfiguration; get canaryConfiguration(): EcsServiceDeploymentConfigurationCanaryConfigurationOutputReference; putCanaryConfiguration(value: EcsServiceDeploymentConfigurationCanaryConfiguration): void; resetCanaryConfiguration(): void; get canaryConfigurationInput(): EcsServiceDeploymentConfigurationCanaryConfiguration | undefined; private _lifecycleHook; get lifecycleHook(): EcsServiceDeploymentConfigurationLifecycleHookList; putLifecycleHook(value: EcsServiceDeploymentConfigurationLifecycleHook[] | cdktf.IResolvable): void; resetLifecycleHook(): void; get lifecycleHookInput(): cdktf.IResolvable | EcsServiceDeploymentConfigurationLifecycleHook[] | undefined; private _linearConfiguration; get linearConfiguration(): EcsServiceDeploymentConfigurationLinearConfigurationOutputReference; putLinearConfiguration(value: EcsServiceDeploymentConfigurationLinearConfiguration): void; resetLinearConfiguration(): void; get linearConfigurationInput(): EcsServiceDeploymentConfigurationLinearConfiguration | undefined; } export interface EcsServiceDeploymentController { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#type EcsService#type} */ readonly type?: string; } export declare function ecsServiceDeploymentControllerToTerraform(struct?: EcsServiceDeploymentControllerOutputReference | EcsServiceDeploymentController): any; export declare function ecsServiceDeploymentControllerToHclTerraform(struct?: EcsServiceDeploymentControllerOutputReference | EcsServiceDeploymentController): any; export declare class EcsServiceDeploymentControllerOutputReference 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(): EcsServiceDeploymentController | undefined; set internalValue(value: EcsServiceDeploymentController | undefined); private _type?; get type(): string; set type(value: string); resetType(): void; get typeInput(): string | undefined; } export interface EcsServiceLoadBalancerAdvancedConfiguration { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#alternate_target_group_arn EcsService#alternate_target_group_arn} */ readonly alternateTargetGroupArn: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#production_listener_rule EcsService#production_listener_rule} */ readonly productionListenerRule: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#role_arn EcsService#role_arn} */ readonly roleArn: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#test_listener_rule EcsService#test_listener_rule} */ readonly testListenerRule?: string; } export declare function ecsServiceLoadBalancerAdvancedConfigurationToTerraform(struct?: EcsServiceLoadBalancerAdvancedConfigurationOutputReference | EcsServiceLoadBalancerAdvancedConfiguration): any; export declare function ecsServiceLoadBalancerAdvancedConfigurationToHclTerraform(struct?: EcsServiceLoadBalancerAdvancedConfigurationOutputReference | EcsServiceLoadBalancerAdvancedConfiguration): any; export declare class EcsServiceLoadBalancerAdvancedConfigurationOutputReference 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(): EcsServiceLoadBalancerAdvancedConfiguration | undefined; set internalValue(value: EcsServiceLoadBalancerAdvancedConfiguration | undefined); private _alternateTargetGroupArn?; get alternateTargetGroupArn(): string; set alternateTargetGroupArn(value: string); get alternateTargetGroupArnInput(): string | undefined; private _productionListenerRule?; get productionListenerRule(): string; set productionListenerRule(value: string); get productionListenerRuleInput(): string | undefined; private _roleArn?; get roleArn(): string; set roleArn(value: string); get roleArnInput(): string | undefined; private _testListenerRule?; get testListenerRule(): string; set testListenerRule(value: string); resetTestListenerRule(): void; get testListenerRuleInput(): string | undefined; } export interface EcsServiceLoadBalancer { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#container_name EcsService#container_name} */ readonly containerName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#container_port EcsService#container_port} */ readonly containerPort: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#elb_name EcsService#elb_name} */ readonly elbName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#target_group_arn EcsService#target_group_arn} */ readonly targetGroupArn?: string; /** * advanced_configuration block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#advanced_configuration EcsService#advanced_configuration} */ readonly advancedConfiguration?: EcsServiceLoadBalancerAdvancedConfiguration; } export declare function ecsServiceLoadBalancerToTerraform(struct?: EcsServiceLoadBalancer | cdktf.IResolvable): any; export declare function ecsServiceLoadBalancerToHclTerraform(struct?: EcsServiceLoadBalancer | cdktf.IResolvable): any; export declare class EcsServiceLoadBalancerOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): EcsServiceLoadBalancer | cdktf.IResolvable | undefined; set internalValue(value: EcsServiceLoadBalancer | cdktf.IResolvable | undefined); private _containerName?; get containerName(): string; set containerName(value: string); get containerNameInput(): string | undefined; private _containerPort?; get containerPort(): number; set containerPort(value: number); get containerPortInput(): number | undefined; private _elbName?; get elbName(): string; set elbName(value: string); resetElbName(): void; get elbNameInput(): string | undefined; private _targetGroupArn?; get targetGroupArn(): string; set targetGroupArn(value: string); resetTargetGroupArn(): void; get targetGroupArnInput(): string | undefined; private _advancedConfiguration; get advancedConfiguration(): EcsServiceLoadBalancerAdvancedConfigurationOutputReference; putAdvancedConfiguration(value: EcsServiceLoadBalancerAdvancedConfiguration): void; resetAdvancedConfiguration(): void; get advancedConfigurationInput(): EcsServiceLoadBalancerAdvancedConfiguration | undefined; } export declare class EcsServiceLoadBalancerList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: EcsServiceLoadBalancer[] | cdktf.IResolvable; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): EcsServiceLoadBalancerOutputReference; } export interface EcsServiceNetworkConfiguration { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#assign_public_ip EcsService#assign_public_ip} */ readonly assignPublicIp?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#security_groups EcsService#security_groups} */ readonly securityGroups?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#subnets EcsService#subnets} */ readonly subnets: string[]; } export declare function ecsServiceNetworkConfigurationToTerraform(struct?: EcsServiceNetworkConfigurationOutputReference | EcsServiceNetworkConfiguration): any; export declare function ecsServiceNetworkConfigurationToHclTerraform(struct?: EcsServiceNetworkConfigurationOutputReference | EcsServiceNetworkConfiguration): any; export declare class EcsServiceNetworkConfigurationOutputReference 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(): EcsServiceNetworkConfiguration | undefined; set internalValue(value: EcsServiceNetworkConfiguration | undefined); private _assignPublicIp?; get assignPublicIp(): boolean | cdktf.IResolvable; set assignPublicIp(value: boolean | cdktf.IResolvable); resetAssignPublicIp(): void; get assignPublicIpInput(): boolean | cdktf.IResolvable | undefined; private _securityGroups?; get securityGroups(): string[]; set securityGroups(value: string[]); resetSecurityGroups(): void; get securityGroupsInput(): string[] | undefined; private _subnets?; get subnets(): string[]; set subnets(value: string[]); get subnetsInput(): string[] | undefined; } export interface EcsServiceOrderedPlacementStrategy { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#field EcsService#field} */ readonly field?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#type EcsService#type} */ readonly type: string; } export declare function ecsServiceOrderedPlacementStrategyToTerraform(struct?: EcsServiceOrderedPlacementStrategy | cdktf.IResolvable): any; export declare function ecsServiceOrderedPlacementStrategyToHclTerraform(struct?: EcsServiceOrderedPlacementStrategy | cdktf.IResolvable): any; export declare class EcsServiceOrderedPlacementStrategyOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): EcsServiceOrderedPlacementStrategy | cdktf.IResolvable | undefined; set internalValue(value: EcsServiceOrderedPlacementStrategy | cdktf.IResolvable | undefined); private _field?; get field(): string; set field(value: string); resetField(): void; get fieldInput(): string | undefined; private _type?; get type(): string; set type(value: string); get typeInput(): string | undefined; } export declare class EcsServiceOrderedPlacementStrategyList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: EcsServiceOrderedPlacementStrategy[] | cdktf.IResolvable; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): EcsServiceOrderedPlacementStrategyOutputReference; } export interface EcsServicePlacementConstraints { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#expression EcsService#expression} */ readonly expression?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#type EcsService#type} */ readonly type: string; } export declare function ecsServicePlacementConstraintsToTerraform(struct?: EcsServicePlacementConstraints | cdktf.IResolvable): any; export declare function ecsServicePlacementConstraintsToHclTerraform(struct?: EcsServicePlacementConstraints | cdktf.IResolvable): any; export declare class EcsServicePlacementConstraintsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): EcsServicePlacementConstraints | cdktf.IResolvable | undefined; set internalValue(value: EcsServicePlacementConstraints | cdktf.IResolvable | undefined); private _expression?; get expression(): string; set expression(value: string); resetExpression(): void; get expressionInput(): string | undefined; private _type?; get type(): string; set type(value: string); get typeInput(): string | undefined; } export declare class EcsServicePlacementConstraintsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: EcsServicePlacementConstraints[] | cdktf.IResolvable; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): EcsServicePlacementConstraintsOutputReference; } export interface EcsServiceServiceConnectConfigurationLogConfigurationSecretOption { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#name EcsService#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#value_from EcsService#value_from} */ readonly valueFrom: string; } export declare function ecsServiceServiceConnectConfigurationLogConfigurationSecretOptionToTerraform(struct?: EcsServiceServiceConnectConfigurationLogConfigurationSecretOption | cdktf.IResolvable): any; export declare function ecsServiceServiceConnectConfigurationLogConfigurationSecretOptionToHclTerraform(struct?: EcsServiceServiceConnectConfigurationLogConfigurationSecretOption | cdktf.IResolvable): any; export declare class EcsServiceServiceConnectConfigurationLogConfigurationSecretOptionOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): EcsServiceServiceConnectConfigurationLogConfigurationSecretOption | cdktf.IResolvable | undefined; set internalValue(value: EcsServiceServiceConnectConfigurationLogConfigurationSecretOption | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); get nameInput(): string | undefined; private _valueFrom?; get valueFrom(): string; set valueFrom(value: string); get valueFromInput(): string | undefined; } export declare class EcsServiceServiceConnectConfigurationLogConfigurationSecretOptionList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: EcsServiceServiceConnectConfigurationLogConfigurationSecretOption[] | cdktf.IResolvable; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): EcsServiceServiceConnectConfigurationLogConfigurationSecretOptionOutputReference; } export interface EcsServiceServiceConnectConfigurationLogConfiguration { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#log_driver EcsService#log_driver} */ readonly logDriver: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#options EcsService#options} */ readonly options?: { [key: string]: string; }; /** * secret_option block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/ecs_service#secret_option EcsService#secret_option} */ readonly secretOption?: EcsServiceServiceConnectConfigurationLogConfigurationSecretOption[] | cdktf.IResolvable; } export declare function ecsServiceServiceConnectConfigurationLogConfigurationToTerraform(struct?: EcsServiceServiceConnectConfigurationLogConfigurationOutputReference | EcsServiceServiceConnectConfigurationLogConfiguration): any; export declare function ecsServiceServiceConnectConfigurationLogConfigurationToHclTerraform(struct?: EcsServiceServiceConnectConfigurationLogConfigurationOutputReference | EcsServiceServiceConnectConfigurationLogConfiguration): any; export declare class EcsServiceServiceConnectConfigurationLogConfigurationOutputReference 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(): EcsServiceServiceConnectConfigurationLogConfiguration | undefined; set internalValue(value: EcsServiceServiceConnectConfigurationLogConfiguration | undefined); private _logDriver?; get logDriver(): string; set logDriver(value: string); get logDriverInput(): string | undefined; private _options?; get options(): { [key: string]: string; }; set options(value: { [key: string]: string; }); resetOptions(): void; get optionsInput(): { [key: string]: string; } | undefined;