@cdktf/provider-aws
Version:
Prebuilt aws Provider for Terraform CDK (cdktf)
900 lines • 79.1 kB
TypeScript
/**
* 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/5.84.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/5.84.0/docs/resources/ecs_service#cluster EcsService#cluster}
*/
readonly cluster?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.0/docs/resources/ecs_service#name EcsService#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.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/5.84.0/docs/resources/ecs_service#propagate_tags EcsService#propagate_tags}
*/
readonly propagateTags?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.0/docs/resources/ecs_service#deployment_circuit_breaker EcsService#deployment_circuit_breaker}
*/
readonly deploymentCircuitBreaker?: EcsServiceDeploymentCircuitBreaker;
/**
* deployment_controller block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.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/5.84.0/docs/resources/ecs_service#base EcsService#base}
*/
readonly base?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.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/5.84.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/5.84.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/5.84.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 EcsServiceDeploymentController {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.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 EcsServiceLoadBalancer {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.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/5.84.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/5.84.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/5.84.0/docs/resources/ecs_service#target_group_arn EcsService#target_group_arn}
*/
readonly targetGroupArn?: string;
}
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;
}
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/5.84.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/5.84.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/5.84.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/5.84.0/docs/resources/ecs_service#field EcsService#field}
*/
readonly field?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.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/5.84.0/docs/resources/ecs_service#expression EcsService#expression}
*/
readonly expression?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.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/5.84.0/docs/resources/ecs_service#name EcsService#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.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/5.84.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/5.84.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/5.84.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;
private _secretOption;
get secretOption(): EcsServiceServiceConnectConfigurationLogConfigurationSecretOptionList;
putSecretOption(value: EcsServiceServiceConnectConfigurationLogConfigurationSecretOption[] | cdktf.IResolvable): void;
resetSecretOption(): void;
get secretOptionInput(): cdktf.IResolvable | EcsServiceServiceConnectConfigurationLogConfigurationSecretOption[] | undefined;
}
export interface EcsServiceServiceConnectConfigurationServiceClientAlias {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#dns_name EcsService#dns_name}
*/
readonly dnsName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#port EcsService#port}
*/
readonly port: number;
}
export declare function ecsServiceServiceConnectConfigurationServiceClientAliasToTerraform(struct?: EcsServiceServiceConnectConfigurationServiceClientAliasOutputReference | EcsServiceServiceConnectConfigurationServiceClientAlias): any;
export declare function ecsServiceServiceConnectConfigurationServiceClientAliasToHclTerraform(struct?: EcsServiceServiceConnectConfigurationServiceClientAliasOutputReference | EcsServiceServiceConnectConfigurationServiceClientAlias): any;
export declare class EcsServiceServiceConnectConfigurationServiceClientAliasOutputReference 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(): EcsServiceServiceConnectConfigurationServiceClientAlias | undefined;
set internalValue(value: EcsServiceServiceConnectConfigurationServiceClientAlias | undefined);
private _dnsName?;
get dnsName(): string;
set dnsName(value: string);
resetDnsName(): void;
get dnsNameInput(): string | undefined;
private _port?;
get port(): number;
set port(value: number);
get portInput(): number | undefined;
}
export interface EcsServiceServiceConnectConfigurationServiceTimeout {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#idle_timeout_seconds EcsService#idle_timeout_seconds}
*/
readonly idleTimeoutSeconds?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#per_request_timeout_seconds EcsService#per_request_timeout_seconds}
*/
readonly perRequestTimeoutSeconds?: number;
}
export declare function ecsServiceServiceConnectConfigurationServiceTimeoutToTerraform(struct?: EcsServiceServiceConnectConfigurationServiceTimeoutOutputReference | EcsServiceServiceConnectConfigurationServiceTimeout): any;
export declare function ecsServiceServiceConnectConfigurationServiceTimeoutToHclTerraform(struct?: EcsServiceServiceConnectConfigurationServiceTimeoutOutputReference | EcsServiceServiceConnectConfigurationServiceTimeout): any;
export declare class EcsServiceServiceConnectConfigurationServiceTimeoutOutputReference 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(): EcsServiceServiceConnectConfigurationServiceTimeout | undefined;
set internalValue(value: EcsServiceServiceConnectConfigurationServiceTimeout | undefined);
private _idleTimeoutSeconds?;
get idleTimeoutSeconds(): number;
set idleTimeoutSeconds(value: number);
resetIdleTimeoutSeconds(): void;
get idleTimeoutSecondsInput(): number | undefined;
private _perRequestTimeoutSeconds?;
get perRequestTimeoutSeconds(): number;
set perRequestTimeoutSeconds(value: number);
resetPerRequestTimeoutSeconds(): void;
get perRequestTimeoutSecondsInput(): number | undefined;
}
export interface EcsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthority {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#aws_pca_authority_arn EcsService#aws_pca_authority_arn}
*/
readonly awsPcaAuthorityArn: string;
}
export declare function ecsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthorityToTerraform(struct?: EcsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthorityOutputReference | EcsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthority): any;
export declare function ecsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthorityToHclTerraform(struct?: EcsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthorityOutputReference | EcsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthority): any;
export declare class EcsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthorityOutputReference 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(): EcsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthority | undefined;
set internalValue(value: EcsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthority | undefined);
private _awsPcaAuthorityArn?;
get awsPcaAuthorityArn(): string;
set awsPcaAuthorityArn(value: string);
get awsPcaAuthorityArnInput(): string | undefined;
}
export interface EcsServiceServiceConnectConfigurationServiceTls {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#kms_key EcsService#kms_key}
*/
readonly kmsKey?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#role_arn EcsService#role_arn}
*/
readonly roleArn?: string;
/**
* issuer_cert_authority block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#issuer_cert_authority EcsService#issuer_cert_authority}
*/
readonly issuerCertAuthority: EcsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthority;
}
export declare function ecsServiceServiceConnectConfigurationServiceTlsToTerraform(struct?: EcsServiceServiceConnectConfigurationServiceTlsOutputReference | EcsServiceServiceConnectConfigurationServiceTls): any;
export declare function ecsServiceServiceConnectConfigurationServiceTlsToHclTerraform(struct?: EcsServiceServiceConnectConfigurationServiceTlsOutputReference | EcsServiceServiceConnectConfigurationServiceTls): any;
export declare class EcsServiceServiceConnectConfigurationServiceTlsOutputReference 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(): EcsServiceServiceConnectConfigurationServiceTls | undefined;
set internalValue(value: EcsServiceServiceConnectConfigurationServiceTls | undefined);
private _kmsKey?;
get kmsKey(): string;
set kmsKey(value: string);
resetKmsKey(): void;
get kmsKeyInput(): string | undefined;
private _roleArn?;
get roleArn(): string;
set roleArn(value: string);
resetRoleArn(): void;
get roleArnInput(): string | undefined;
private _issuerCertAuthority;
get issuerCertAuthority(): EcsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthorityOutputReference;
putIssuerCertAuthority(value: EcsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthority): void;
get issuerCertAuthorityInput(): EcsServiceServiceConnectConfigurationServiceTlsIssuerCertAuthority | undefined;
}
export interface EcsServiceServiceConnectConfigurationService {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#discovery_name EcsService#discovery_name}
*/
readonly discoveryName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#ingress_port_override EcsService#ingress_port_override}
*/
readonly ingressPortOverride?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#port_name EcsService#port_name}
*/
readonly portName: string;
/**
* client_alias block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#client_alias EcsService#client_alias}
*/
readonly clientAlias?: EcsServiceServiceConnectConfigurationServiceClientAlias;
/**
* timeout block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#timeout EcsService#timeout}
*/
readonly timeout?: EcsServiceServiceConnectConfigurationServiceTimeout;
/**
* tls block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#tls EcsService#tls}
*/
readonly tls?: EcsServiceServiceConnectConfigurationServiceTls;
}
export declare function ecsServiceServiceConnectConfigurationServiceToTerraform(struct?: EcsServiceServiceConnectConfigurationService | cdktf.IResolvable): any;
export declare function ecsServiceServiceConnectConfigurationServiceToHclTerraform(struct?: EcsServiceServiceConnectConfigurationService | cdktf.IResolvable): any;
export declare class EcsServiceServiceConnectConfigurationServiceOutputReference 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(): EcsServiceServiceConnectConfigurationService | cdktf.IResolvable | undefined;
set internalValue(value: EcsServiceServiceConnectConfigurationService | cdktf.IResolvable | undefined);
private _discoveryName?;
get discoveryName(): string;
set discoveryName(value: string);
resetDiscoveryName(): void;
get discoveryNameInput(): string | undefined;
private _ingressPortOverride?;
get ingressPortOverride(): number;
set ingressPortOverride(value: number);
resetIngressPortOverride(): void;
get ingressPortOverrideInput(): number | undefined;
private _portName?;
get portName(): string;
set portName(value: string);
get portNameInput(): string | undefined;
private _clientAlias;
get clientAlias(): EcsServiceServiceConnectConfigurationServiceClientAliasOutputReference;
putClientAlias(value: EcsServiceServiceConnectConfigurationServiceClientAlias): void;
resetClientAlias(): void;
get clientAliasInput(): EcsServiceServiceConnectConfigurationServiceClientAlias | undefined;
private _timeout;
get timeout(): EcsServiceServiceConnectConfigurationServiceTimeoutOutputReference;
putTimeout(value: EcsServiceServiceConnectConfigurationServiceTimeout): void;
resetTimeout(): void;
get timeoutInput(): EcsServiceServiceConnectConfigurationServiceTimeout | undefined;
private _tls;
get tls(): EcsServiceServiceConnectConfigurationServiceTlsOutputReference;
putTls(value: EcsServiceServiceConnectConfigurationServiceTls): void;
resetTls(): void;
get tlsInput(): EcsServiceServiceConnectConfigurationServiceTls | undefined;
}
export declare class EcsServiceServiceConnectConfigurationServiceList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: EcsServiceServiceConnectConfigurationService[] | 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): EcsServiceServiceConnectConfigurationServiceOutputReference;
}
export interface EcsServiceServiceConnectConfiguration {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#enabled EcsService#enabled}
*/
readonly enabled: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#namespace EcsService#namespace}
*/
readonly namespace?: string;
/**
* log_configuration block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#log_configuration EcsService#log_configuration}
*/
readonly logConfiguration?: EcsServiceServiceConnectConfigurationLogConfiguration;
/**
* service block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/ecs_service#service EcsService#service}
*/
readonly service?: EcsServiceServiceConnectConfigurationService[] | cdktf.IResolvable;
}
export declare function ecsServiceServiceConnectConfigurationToTerraform(struct?: EcsServiceServiceConnectConfigurationOutputReference | EcsServiceServiceConnectConfiguration): any;
export declare function ecsServiceServiceConnectConfigurationToHclTerraform(struct?: EcsServiceServiceConnectConfigurationOutputReference | EcsServiceServiceConnectConfiguration): any;
export declare class EcsServiceServiceConnectConfigurationOutputReference 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(): EcsServiceServiceConnectConfiguration | undefined;
set internalValue(value: EcsServiceServiceConnectConfiguration | undefined);
private _enabled?;
get enabled(): boolean | cdktf.IResolvable;
set enabled(value: boolean | cdktf.IResolvable);
get enabledInput(): boolean | cdktf.IResolvable | undefined;
private _namespace?;
get namespace(): string;
set namespace(value: string);
resetNamespace(): void;
get namespaceInput(): string |