awsx.ecs.EC2TaskDefinition
Explore with Pulumi AI
Create a TaskDefinition resource with the given unique name, arguments, and options. Creates required log-group and task & execution roles. Presents required Service load balancers if target group included in port mappings.
Create EC2TaskDefinition Resource
new EC2TaskDefinition(name: string, args?: EC2TaskDefinitionArgs, opts?: CustomResourceOptions);
@overload
def EC2TaskDefinition(resource_name: str,
opts: Optional[ResourceOptions] = None,
container: Optional[TaskDefinitionContainerDefinitionArgs] = None,
containers: Optional[Mapping[str, TaskDefinitionContainerDefinitionArgs]] = None,
cpu: Optional[str] = None,
ephemeral_storage: Optional[pulumi_aws.ecs.TaskDefinitionEphemeralStorageArgs] = None,
execution_role: Optional[_awsx.DefaultRoleWithPolicyArgs] = None,
family: Optional[str] = None,
inference_accelerators: Optional[Sequence[pulumi_aws.ecs.TaskDefinitionInferenceAcceleratorArgs]] = None,
ipc_mode: Optional[str] = None,
log_group: Optional[_awsx.DefaultLogGroupArgs] = None,
memory: Optional[str] = None,
network_mode: Optional[str] = None,
pid_mode: Optional[str] = None,
placement_constraints: Optional[Sequence[pulumi_aws.ecs.TaskDefinitionPlacementConstraintArgs]] = None,
proxy_configuration: Optional[pulumi_aws.ecs.TaskDefinitionProxyConfigurationArgs] = None,
runtime_platform: Optional[pulumi_aws.ecs.TaskDefinitionRuntimePlatformArgs] = None,
skip_destroy: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
task_role: Optional[_awsx.DefaultRoleWithPolicyArgs] = None,
volumes: Optional[Sequence[pulumi_aws.ecs.TaskDefinitionVolumeArgs]] = None)
@overload
def EC2TaskDefinition(resource_name: str,
args: Optional[EC2TaskDefinitionArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewEC2TaskDefinition(ctx *Context, name string, args *EC2TaskDefinitionArgs, opts ...ResourceOption) (*EC2TaskDefinition, error)
public EC2TaskDefinition(string name, EC2TaskDefinitionArgs? args = null, CustomResourceOptions? opts = null)
public EC2TaskDefinition(String name, EC2TaskDefinitionArgs args)
public EC2TaskDefinition(String name, EC2TaskDefinitionArgs args, CustomResourceOptions options)
type: awsx:ecs:EC2TaskDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EC2TaskDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EC2TaskDefinitionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EC2TaskDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EC2TaskDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EC2TaskDefinitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EC2TaskDefinition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The EC2TaskDefinition resource accepts the following input properties:
- Container
Task
Definition Container Definition Args Single container to make a TaskDefinition from. Useful for simple cases where there aren't multiple containers, especially when creating a TaskDefinition to call [run] on.
Either [container] or [containers] must be provided.
- Containers
Dictionary<string, Task
Definition Container Definition Args> All the containers to make a TaskDefinition from. Useful when creating a Service that will contain many containers within.
Either [container] or [containers] must be provided.
- Cpu string
The number of cpu units used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
- Ephemeral
Storage Pulumi.Aws. Ecs. Inputs. Task Definition Ephemeral Storage Args The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See Ephemeral Storage.
- Execution
Role Pulumi.Awsx. Awsx. Inputs. Default Role With Policy Args The execution role that the Amazon ECS container agent and the Docker daemon can assume. Will be created automatically if not defined.
- Family string
An optional unique name for your task definition. If not specified, then a default will be created.
- Inference
Accelerators List<Pulumi.Aws. Ecs. Inputs. Task Definition Inference Accelerator Args> Configuration block(s) with Inference Accelerators settings. Detailed below.
- Ipc
Mode string IPC resource namespace to be used for the containers in the task The valid values are
host
,task
, andnone
.- Log
Group Pulumi.Awsx. Awsx. Inputs. Default Log Group Args A set of volume blocks that containers in your task may use.
- Memory string
The amount (in MiB) of memory used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
- Network
Mode string Docker networking mode to use for the containers in the task. Valid values are
none
,bridge
,awsvpc
, andhost
.- Pid
Mode string Process namespace to use for the containers in the task. The valid values are
host
andtask
.- Placement
Constraints List<Pulumi.Aws. Ecs. Inputs. Task Definition Placement Constraint Args> Configuration block for rules that are taken into consideration during task placement. Maximum number of
placement_constraints
is10
. Detailed below.- Proxy
Configuration Pulumi.Aws. Ecs. Inputs. Task Definition Proxy Configuration Args Configuration block for the App Mesh proxy. Detailed below.
- Runtime
Platform Pulumi.Aws. Ecs. Inputs. Task Definition Runtime Platform Args Configuration block for runtime_platform that containers in your task may use.
- Skip
Destroy bool - Dictionary<string, string>
Key-value map of resource tags.
- Task
Role Pulumi.Awsx. Awsx. Inputs. Default Role With Policy Args IAM role that allows your Amazon ECS container task to make calls to other AWS services. Will be created automatically if not defined.
- Volumes
List<Pulumi.
Aws. Ecs. Inputs. Task Definition Volume Args> Configuration block for volumes that containers in your task may use. Detailed below.
- Container
Task
Definition Container Definition Args Single container to make a TaskDefinition from. Useful for simple cases where there aren't multiple containers, especially when creating a TaskDefinition to call [run] on.
Either [container] or [containers] must be provided.
- Containers
map[string]Task
Definition Container Definition Args All the containers to make a TaskDefinition from. Useful when creating a Service that will contain many containers within.
Either [container] or [containers] must be provided.
- Cpu string
The number of cpu units used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
- Ephemeral
Storage TaskDefinition Ephemeral Storage Args The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See Ephemeral Storage.
- Execution
Role DefaultRole With Policy Args The execution role that the Amazon ECS container agent and the Docker daemon can assume. Will be created automatically if not defined.
- Family string
An optional unique name for your task definition. If not specified, then a default will be created.
- Inference
Accelerators TaskDefinition Inference Accelerator Args Configuration block(s) with Inference Accelerators settings. Detailed below.
- Ipc
Mode string IPC resource namespace to be used for the containers in the task The valid values are
host
,task
, andnone
.- Log
Group DefaultLog Group Args A set of volume blocks that containers in your task may use.
- Memory string
The amount (in MiB) of memory used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
- Network
Mode string Docker networking mode to use for the containers in the task. Valid values are
none
,bridge
,awsvpc
, andhost
.- Pid
Mode string Process namespace to use for the containers in the task. The valid values are
host
andtask
.- Placement
Constraints TaskDefinition Placement Constraint Args Configuration block for rules that are taken into consideration during task placement. Maximum number of
placement_constraints
is10
. Detailed below.- Proxy
Configuration TaskDefinition Proxy Configuration Args Configuration block for the App Mesh proxy. Detailed below.
- Runtime
Platform TaskDefinition Runtime Platform Args Configuration block for runtime_platform that containers in your task may use.
- Skip
Destroy bool - map[string]string
Key-value map of resource tags.
- Task
Role DefaultRole With Policy Args IAM role that allows your Amazon ECS container task to make calls to other AWS services. Will be created automatically if not defined.
- Volumes
Task
Definition Volume Args Configuration block for volumes that containers in your task may use. Detailed below.
- container
Task
Definition Container Definition Args Single container to make a TaskDefinition from. Useful for simple cases where there aren't multiple containers, especially when creating a TaskDefinition to call [run] on.
Either [container] or [containers] must be provided.
- containers
Map<String,Task
Definition Container Definition Args> All the containers to make a TaskDefinition from. Useful when creating a Service that will contain many containers within.
Either [container] or [containers] must be provided.
- cpu String
The number of cpu units used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
- ephemeral
Storage TaskDefinition Ephemeral Storage Args The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See Ephemeral Storage.
- execution
Role DefaultRole With Policy Args The execution role that the Amazon ECS container agent and the Docker daemon can assume. Will be created automatically if not defined.
- family String
An optional unique name for your task definition. If not specified, then a default will be created.
- inference
Accelerators List<TaskDefinition Inference Accelerator Args> Configuration block(s) with Inference Accelerators settings. Detailed below.
- ipc
Mode String IPC resource namespace to be used for the containers in the task The valid values are
host
,task
, andnone
.- log
Group DefaultLog Group Args A set of volume blocks that containers in your task may use.
- memory String
The amount (in MiB) of memory used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
- network
Mode String Docker networking mode to use for the containers in the task. Valid values are
none
,bridge
,awsvpc
, andhost
.- pid
Mode String Process namespace to use for the containers in the task. The valid values are
host
andtask
.- placement
Constraints List<TaskDefinition Placement Constraint Args> Configuration block for rules that are taken into consideration during task placement. Maximum number of
placement_constraints
is10
. Detailed below.- proxy
Configuration TaskDefinition Proxy Configuration Args Configuration block for the App Mesh proxy. Detailed below.
- runtime
Platform TaskDefinition Runtime Platform Args Configuration block for runtime_platform that containers in your task may use.
- skip
Destroy Boolean - Map<String,String>
Key-value map of resource tags.
- task
Role DefaultRole With Policy Args IAM role that allows your Amazon ECS container task to make calls to other AWS services. Will be created automatically if not defined.
- volumes
List<Task
Definition Volume Args> Configuration block for volumes that containers in your task may use. Detailed below.
- container
Task
Definition Container Definition Args Single container to make a TaskDefinition from. Useful for simple cases where there aren't multiple containers, especially when creating a TaskDefinition to call [run] on.
Either [container] or [containers] must be provided.
- containers
{[key: string]: Task
Definition Container Definition Args} All the containers to make a TaskDefinition from. Useful when creating a Service that will contain many containers within.
Either [container] or [containers] must be provided.
- cpu string
The number of cpu units used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
- ephemeral
Storage pulumiAws.types.input. Task Definition Ephemeral Storage The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See Ephemeral Storage.
- execution
Role awsx.Default Role With Policy Args The execution role that the Amazon ECS container agent and the Docker daemon can assume. Will be created automatically if not defined.
- family string
An optional unique name for your task definition. If not specified, then a default will be created.
- inference
Accelerators pulumiAws.types.input. Task Definition Inference Accelerator[] Configuration block(s) with Inference Accelerators settings. Detailed below.
- ipc
Mode string IPC resource namespace to be used for the containers in the task The valid values are
host
,task
, andnone
.- log
Group awsx.Default Log Group Args A set of volume blocks that containers in your task may use.
- memory string
The amount (in MiB) of memory used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
- network
Mode string Docker networking mode to use for the containers in the task. Valid values are
none
,bridge
,awsvpc
, andhost
.- pid
Mode string Process namespace to use for the containers in the task. The valid values are
host
andtask
.- placement
Constraints pulumiAws.types.input. Task Definition Placement Constraint[] Configuration block for rules that are taken into consideration during task placement. Maximum number of
placement_constraints
is10
. Detailed below.- proxy
Configuration pulumiAws.types.input. Task Definition Proxy Configuration Configuration block for the App Mesh proxy. Detailed below.
- runtime
Platform pulumiAws.types.input. Task Definition Runtime Platform Configuration block for runtime_platform that containers in your task may use.
- skip
Destroy boolean - {[key: string]: string}
Key-value map of resource tags.
- task
Role awsx.Default Role With Policy Args IAM role that allows your Amazon ECS container task to make calls to other AWS services. Will be created automatically if not defined.
- volumes
pulumi
Aws.types.input. Task Definition Volume[] Configuration block for volumes that containers in your task may use. Detailed below.
- container
Task
Definition Container Definition Args Single container to make a TaskDefinition from. Useful for simple cases where there aren't multiple containers, especially when creating a TaskDefinition to call [run] on.
Either [container] or [containers] must be provided.
- containers
Mapping[str, Task
Definition Container Definition Args] All the containers to make a TaskDefinition from. Useful when creating a Service that will contain many containers within.
Either [container] or [containers] must be provided.
- cpu str
The number of cpu units used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
- ephemeral_
storage TaskDefinition Ephemeral Storage Args The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See Ephemeral Storage.
- execution_
role DefaultRole With Policy Args The execution role that the Amazon ECS container agent and the Docker daemon can assume. Will be created automatically if not defined.
- family str
An optional unique name for your task definition. If not specified, then a default will be created.
- inference_
accelerators TaskDefinition Inference Accelerator Args] Configuration block(s) with Inference Accelerators settings. Detailed below.
- ipc_
mode str IPC resource namespace to be used for the containers in the task The valid values are
host
,task
, andnone
.- log_
group DefaultLog Group Args A set of volume blocks that containers in your task may use.
- memory str
The amount (in MiB) of memory used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
- network_
mode str Docker networking mode to use for the containers in the task. Valid values are
none
,bridge
,awsvpc
, andhost
.- pid_
mode str Process namespace to use for the containers in the task. The valid values are
host
andtask
.- placement_
constraints TaskDefinition Placement Constraint Args] Configuration block for rules that are taken into consideration during task placement. Maximum number of
placement_constraints
is10
. Detailed below.- proxy_
configuration TaskDefinition Proxy Configuration Args Configuration block for the App Mesh proxy. Detailed below.
- runtime_
platform TaskDefinition Runtime Platform Args Configuration block for runtime_platform that containers in your task may use.
- skip_
destroy bool - Mapping[str, str]
Key-value map of resource tags.
- task_
role DefaultRole With Policy Args IAM role that allows your Amazon ECS container task to make calls to other AWS services. Will be created automatically if not defined.
- volumes
Task
Definition Volume Args] Configuration block for volumes that containers in your task may use. Detailed below.
- container Property Map
Single container to make a TaskDefinition from. Useful for simple cases where there aren't multiple containers, especially when creating a TaskDefinition to call [run] on.
Either [container] or [containers] must be provided.
- containers Map<Property Map>
All the containers to make a TaskDefinition from. Useful when creating a Service that will contain many containers within.
Either [container] or [containers] must be provided.
- cpu String
The number of cpu units used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
- ephemeral
Storage Property Map The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See Ephemeral Storage.
- execution
Role Property Map The execution role that the Amazon ECS container agent and the Docker daemon can assume. Will be created automatically if not defined.
- family String
An optional unique name for your task definition. If not specified, then a default will be created.
- inference
Accelerators List<Property Map> Configuration block(s) with Inference Accelerators settings. Detailed below.
- ipc
Mode String IPC resource namespace to be used for the containers in the task The valid values are
host
,task
, andnone
.- log
Group Property Map A set of volume blocks that containers in your task may use.
- memory String
The amount (in MiB) of memory used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
- network
Mode String Docker networking mode to use for the containers in the task. Valid values are
none
,bridge
,awsvpc
, andhost
.- pid
Mode String Process namespace to use for the containers in the task. The valid values are
host
andtask
.- placement
Constraints List<Property Map> Configuration block for rules that are taken into consideration during task placement. Maximum number of
placement_constraints
is10
. Detailed below.- proxy
Configuration Property Map Configuration block for the App Mesh proxy. Detailed below.
- runtime
Platform Property Map Configuration block for runtime_platform that containers in your task may use.
- skip
Destroy Boolean - Map<String>
Key-value map of resource tags.
- task
Role Property Map IAM role that allows your Amazon ECS container task to make calls to other AWS services. Will be created automatically if not defined.
- volumes List<Property Map>
Configuration block for volumes that containers in your task may use. Detailed below.
Outputs
All input properties are implicitly available as output properties. Additionally, the EC2TaskDefinition resource produces the following output properties:
- Load
Balancers List<Pulumi.Aws. Ecs. Outputs. Service Load Balancer> Computed load balancers from target groups specified of container port mappings.
- Task
Definition Pulumi.Aws. Ecs. Task Definition Underlying ECS Task Definition resource
- Load
Balancers ServiceLoad Balancer Computed load balancers from target groups specified of container port mappings.
- Task
Definition TaskDefinition Underlying ECS Task Definition resource
- load
Balancers List<ServiceLoad Balancer> Computed load balancers from target groups specified of container port mappings.
- task
Definition TaskDefinition Underlying ECS Task Definition resource
- load
Balancers pulumiAws.types.output. Service Load Balancer[] Computed load balancers from target groups specified of container port mappings.
- task
Definition pulumiAws. Task Definition Underlying ECS Task Definition resource
- load_
balancers ServiceLoad Balancer] Computed load balancers from target groups specified of container port mappings.
- task_
definition TaskDefinition Underlying ECS Task Definition resource
- load
Balancers List<Property Map> Computed load balancers from target groups specified of container port mappings.
- task
Definition aws::TaskDefinition Underlying ECS Task Definition resource
Supporting Types
DefaultLogGroup
- Args
Pulumi.
Awsx. Awsx. Inputs. Log Group Arguments to use instead of the default values during creation.
- Existing
Pulumi.
Awsx. Awsx. Inputs. Existing Log Group Identity of an existing log group to use. Cannot be used in combination with
args
oropts
.- Skip bool
Skip creation of the log group.
- Args
Log
Group Arguments to use instead of the default values during creation.
- Existing
Existing
Log Group Identity of an existing log group to use. Cannot be used in combination with
args
oropts
.- Skip bool
Skip creation of the log group.
- args
Log
Group Arguments to use instead of the default values during creation.
- existing
Existing
Log Group Identity of an existing log group to use. Cannot be used in combination with
args
oropts
.- skip Boolean
Skip creation of the log group.
- args
awsx.
Log Group Arguments to use instead of the default values during creation.
- existing
awsx.
Existing Log Group Identity of an existing log group to use. Cannot be used in combination with
args
oropts
.- skip boolean
Skip creation of the log group.
- args
Log
Group Arguments to use instead of the default values during creation.
- existing
Existing
Log Group Identity of an existing log group to use. Cannot be used in combination with
args
oropts
.- skip bool
Skip creation of the log group.
- args Property Map
Arguments to use instead of the default values during creation.
- existing Property Map
Identity of an existing log group to use. Cannot be used in combination with
args
oropts
.- skip Boolean
Skip creation of the log group.
DefaultRoleWithPolicy
- Args
Pulumi.
Awsx. Awsx. Inputs. Role With Policy Args to use when creating the role and policies. Can't be specified if
roleArn
is used.- Role
Arn string ARN of existing role to use instead of creating a new role. Cannot be used in combination with
args
oropts
.- Skip bool
Skips creation of the role if set to
true
.
- Args
Role
With Policy Args to use when creating the role and policies. Can't be specified if
roleArn
is used.- Role
Arn string ARN of existing role to use instead of creating a new role. Cannot be used in combination with
args
oropts
.- Skip bool
Skips creation of the role if set to
true
.
- args
Role
With Policy Args to use when creating the role and policies. Can't be specified if
roleArn
is used.- role
Arn String ARN of existing role to use instead of creating a new role. Cannot be used in combination with
args
oropts
.- skip Boolean
Skips creation of the role if set to
true
.
- args
awsx.
Role With Policy Args to use when creating the role and policies. Can't be specified if
roleArn
is used.- role
Arn string ARN of existing role to use instead of creating a new role. Cannot be used in combination with
args
oropts
.- skip boolean
Skips creation of the role if set to
true
.
- args
Role
With Policy Args to use when creating the role and policies. Can't be specified if
roleArn
is used.- role_
arn str ARN of existing role to use instead of creating a new role. Cannot be used in combination with
args
oropts
.- skip bool
Skips creation of the role if set to
true
.
- args Property Map
Args to use when creating the role and policies. Can't be specified if
roleArn
is used.- role
Arn String ARN of existing role to use instead of creating a new role. Cannot be used in combination with
args
oropts
.- skip Boolean
Skips creation of the role if set to
true
.
ExistingLogGroup
LogGroup
- Kms
Key stringId The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.
- Name string
The name of the log group. If omitted, this provider will assign a random, unique name.
- Name
Prefix string Creates a unique name beginning with the specified prefix. Conflicts with
name
.- Retention
In intDays Specifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. If you select 0, the events in the log group are always retained and never expire.
- Dictionary<string, string>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Kms
Key stringId The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.
- Name string
The name of the log group. If omitted, this provider will assign a random, unique name.
- Name
Prefix string Creates a unique name beginning with the specified prefix. Conflicts with
name
.- Retention
In intDays Specifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. If you select 0, the events in the log group are always retained and never expire.
- map[string]string
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- kms
Key StringId The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.
- name String
The name of the log group. If omitted, this provider will assign a random, unique name.
- name
Prefix String Creates a unique name beginning with the specified prefix. Conflicts with
name
.- retention
In IntegerDays Specifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. If you select 0, the events in the log group are always retained and never expire.
- Map<String,String>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- kms
Key stringId The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.
- name string
The name of the log group. If omitted, this provider will assign a random, unique name.
- name
Prefix string Creates a unique name beginning with the specified prefix. Conflicts with
name
.- retention
In numberDays Specifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. If you select 0, the events in the log group are always retained and never expire.
- {[key: string]: string}
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- kms_
key_ strid The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.
- name str
The name of the log group. If omitted, this provider will assign a random, unique name.
- name_
prefix str Creates a unique name beginning with the specified prefix. Conflicts with
name
.- retention_
in_ intdays Specifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. If you select 0, the events in the log group are always retained and never expire.
- Mapping[str, str]
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- kms
Key StringId The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.
- name String
The name of the log group. If omitted, this provider will assign a random, unique name.
- name
Prefix String Creates a unique name beginning with the specified prefix. Conflicts with
name
.- retention
In NumberDays Specifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. If you select 0, the events in the log group are always retained and never expire.
- Map<String>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
RoleWithPolicy
- Description string
Description of the role.
- Force
Detach boolPolicies Whether to force detaching any policies the role has before destroying it. Defaults to
false
.- Inline
Policies List<Pulumi.Aws. Iam. Inputs. Role Inline Policy> Configuration block defining an exclusive set of IAM inline policies associated with the IAM role. See below. If no blocks are configured, this provider will not manage any inline policies in this resource. Configuring one empty block (i.e.,
inline_policy {}
) will cause the provider to remove all inline policies added out of band onapply
.- Managed
Policy List<string>Arns Set of exclusive IAM managed policy ARNs to attach to the IAM role. If this attribute is not configured, this provider will ignore policy attachments to this resource. When configured, the provider will align the role's managed policy attachments with this set by attaching or detaching managed policies. Configuring an empty set (i.e.,
managed_policy_arns = []
) will cause the provider to remove all managed policy attachments.- Max
Session intDuration Maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.
- Name string
Name of the role policy.
- Name
Prefix string Creates a unique friendly name beginning with the specified prefix. Conflicts with
name
.- Path string
Path to the role. See IAM Identifiers for more information.
- Permissions
Boundary string ARN of the policy that is used to set the permissions boundary for the role.
- Policy
Arns List<string> ARNs of the policies to attach to the created role.
- Dictionary<string, string>
Key-value mapping of tags for the IAM role. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Description string
Description of the role.
- Force
Detach boolPolicies Whether to force detaching any policies the role has before destroying it. Defaults to
false
.- Inline
Policies RoleInline Policy Configuration block defining an exclusive set of IAM inline policies associated with the IAM role. See below. If no blocks are configured, this provider will not manage any inline policies in this resource. Configuring one empty block (i.e.,
inline_policy {}
) will cause the provider to remove all inline policies added out of band onapply
.- Managed
Policy []stringArns Set of exclusive IAM managed policy ARNs to attach to the IAM role. If this attribute is not configured, this provider will ignore policy attachments to this resource. When configured, the provider will align the role's managed policy attachments with this set by attaching or detaching managed policies. Configuring an empty set (i.e.,
managed_policy_arns = []
) will cause the provider to remove all managed policy attachments.- Max
Session intDuration Maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.
- Name string
Name of the role policy.
- Name
Prefix string Creates a unique friendly name beginning with the specified prefix. Conflicts with
name
.- Path string
Path to the role. See IAM Identifiers for more information.
- Permissions
Boundary string ARN of the policy that is used to set the permissions boundary for the role.
- Policy
Arns []string ARNs of the policies to attach to the created role.
- map[string]string
Key-value mapping of tags for the IAM role. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- description String
Description of the role.
- force
Detach BooleanPolicies Whether to force detaching any policies the role has before destroying it. Defaults to
false
.- inline
Policies List<RoleInline Policy> Configuration block defining an exclusive set of IAM inline policies associated with the IAM role. See below. If no blocks are configured, this provider will not manage any inline policies in this resource. Configuring one empty block (i.e.,
inline_policy {}
) will cause the provider to remove all inline policies added out of band onapply
.- managed
Policy List<String>Arns Set of exclusive IAM managed policy ARNs to attach to the IAM role. If this attribute is not configured, this provider will ignore policy attachments to this resource. When configured, the provider will align the role's managed policy attachments with this set by attaching or detaching managed policies. Configuring an empty set (i.e.,
managed_policy_arns = []
) will cause the provider to remove all managed policy attachments.- max
Session IntegerDuration Maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.
- name String
Name of the role policy.
- name
Prefix String Creates a unique friendly name beginning with the specified prefix. Conflicts with
name
.- path String
Path to the role. See IAM Identifiers for more information.
- permissions
Boundary String ARN of the policy that is used to set the permissions boundary for the role.
- policy
Arns List<String> ARNs of the policies to attach to the created role.
- Map<String,String>
Key-value mapping of tags for the IAM role. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- description string
Description of the role.
- force
Detach booleanPolicies Whether to force detaching any policies the role has before destroying it. Defaults to
false
.- inline
Policies pulumiAws.types.input.iam. Role Inline Policy[] Configuration block defining an exclusive set of IAM inline policies associated with the IAM role. See below. If no blocks are configured, this provider will not manage any inline policies in this resource. Configuring one empty block (i.e.,
inline_policy {}
) will cause the provider to remove all inline policies added out of band onapply
.- managed
Policy string[]Arns Set of exclusive IAM managed policy ARNs to attach to the IAM role. If this attribute is not configured, this provider will ignore policy attachments to this resource. When configured, the provider will align the role's managed policy attachments with this set by attaching or detaching managed policies. Configuring an empty set (i.e.,
managed_policy_arns = []
) will cause the provider to remove all managed policy attachments.- max
Session numberDuration Maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.
- name string
Name of the role policy.
- name
Prefix string Creates a unique friendly name beginning with the specified prefix. Conflicts with
name
.- path string
Path to the role. See IAM Identifiers for more information.
- permissions
Boundary string ARN of the policy that is used to set the permissions boundary for the role.
- policy
Arns string[] ARNs of the policies to attach to the created role.
- {[key: string]: string}
Key-value mapping of tags for the IAM role. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- description str
Description of the role.
- force_
detach_ boolpolicies Whether to force detaching any policies the role has before destroying it. Defaults to
false
.- inline_
policies RoleInline Policy Args] Configuration block defining an exclusive set of IAM inline policies associated with the IAM role. See below. If no blocks are configured, this provider will not manage any inline policies in this resource. Configuring one empty block (i.e.,
inline_policy {}
) will cause the provider to remove all inline policies added out of band onapply
.- managed_
policy_ Sequence[str]arns Set of exclusive IAM managed policy ARNs to attach to the IAM role. If this attribute is not configured, this provider will ignore policy attachments to this resource. When configured, the provider will align the role's managed policy attachments with this set by attaching or detaching managed policies. Configuring an empty set (i.e.,
managed_policy_arns = []
) will cause the provider to remove all managed policy attachments.- max_
session_ intduration Maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.
- name str
Name of the role policy.
- name_
prefix str Creates a unique friendly name beginning with the specified prefix. Conflicts with
name
.- path str
Path to the role. See IAM Identifiers for more information.
- permissions_
boundary str ARN of the policy that is used to set the permissions boundary for the role.
- policy_
arns Sequence[str] ARNs of the policies to attach to the created role.
- Mapping[str, str]
Key-value mapping of tags for the IAM role. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- description String
Description of the role.
- force
Detach BooleanPolicies Whether to force detaching any policies the role has before destroying it. Defaults to
false
.- inline
Policies List<Property Map> Configuration block defining an exclusive set of IAM inline policies associated with the IAM role. See below. If no blocks are configured, this provider will not manage any inline policies in this resource. Configuring one empty block (i.e.,
inline_policy {}
) will cause the provider to remove all inline policies added out of band onapply
.- managed
Policy List<String>Arns Set of exclusive IAM managed policy ARNs to attach to the IAM role. If this attribute is not configured, this provider will ignore policy attachments to this resource. When configured, the provider will align the role's managed policy attachments with this set by attaching or detaching managed policies. Configuring an empty set (i.e.,
managed_policy_arns = []
) will cause the provider to remove all managed policy attachments.- max
Session NumberDuration Maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.
- name String
Name of the role policy.
- name
Prefix String Creates a unique friendly name beginning with the specified prefix. Conflicts with
name
.- path String
Path to the role. See IAM Identifiers for more information.
- permissions
Boundary String ARN of the policy that is used to set the permissions boundary for the role.
- policy
Arns List<String> ARNs of the policies to attach to the created role.
- Map<String>
Key-value mapping of tags for the IAM role. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TaskDefinitionContainerDefinition
- Command List<string>
- Cpu int
- Depends
On List<TaskDefinition Container Dependency> - Disable
Networking bool - Dns
Search List<string>Domains - Dns
Servers List<string> - Docker
Labels object - Docker
Security List<string>Options - Entry
Point List<string> - Environment
List<Task
Definition Key Value Pair> The environment variables to pass to a container
- Environment
Files List<TaskDefinition Environment File> The list of one or more files that contain the environment variables to pass to a container
- Essential bool
- Extra
Hosts List<TaskDefinition Host Entry> - Firelens
Configuration TaskDefinition Firelens Configuration - Health
Check TaskDefinition Health Check - Hostname string
- Image string
The image used to start a container. This string is passed directly to the Docker daemon.
- Interactive bool
- Links List<string>
- Linux
Parameters TaskDefinition Linux Parameters - Log
Configuration TaskDefinition Log Configuration - Memory int
The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed.
- Memory
Reservation int - Mount
Points List<TaskDefinition Mount Point> - Name string
The name of a container. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed
- Port
Mappings List<TaskDefinition Port Mapping> Port mappings allow containers to access ports on the host container instance to send or receive traffic.
- Privileged bool
- Pseudo
Terminal bool - Readonly
Root boolFilesystem - Repository
Credentials TaskDefinition Repository Credentials - Resource
Requirements List<TaskDefinition Resource Requirement> - Secrets
List<Task
Definition Secret> - Start
Timeout int - Stop
Timeout int - System
Controls List<TaskDefinition System Control> - Ulimits
List<Task
Definition Ulimit> - User string
- Volumes
From List<TaskDefinition Volume From> - Working
Directory string
- Command []string
- Cpu int
- Depends
On []TaskDefinition Container Dependency - Disable
Networking bool - Dns
Search []stringDomains - Dns
Servers []string - Docker
Labels interface{} - Docker
Security []stringOptions - Entry
Point []string - Environment
[]Task
Definition Key Value Pair The environment variables to pass to a container
- Environment
Files []TaskDefinition Environment File The list of one or more files that contain the environment variables to pass to a container
- Essential bool
- Extra
Hosts []TaskDefinition Host Entry - Firelens
Configuration TaskDefinition Firelens Configuration - Health
Check TaskDefinition Health Check - Hostname string
- Image string
The image used to start a container. This string is passed directly to the Docker daemon.
- Interactive bool
- Links []string
- Linux
Parameters TaskDefinition Linux Parameters - Log
Configuration TaskDefinition Log Configuration - Memory int
The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed.
- Memory
Reservation int - Mount
Points []TaskDefinition Mount Point - Name string
The name of a container. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed
- Port
Mappings []TaskDefinition Port Mapping Port mappings allow containers to access ports on the host container instance to send or receive traffic.
- Privileged bool
- Pseudo
Terminal bool - Readonly
Root boolFilesystem - Repository
Credentials TaskDefinition Repository Credentials - Resource
Requirements []TaskDefinition Resource Requirement - Secrets
[]Task
Definition Secret - Start
Timeout int - Stop
Timeout int - System
Controls []TaskDefinition System Control - Ulimits
[]Task
Definition Ulimit - User string
- Volumes
From []TaskDefinition Volume From - Working
Directory string
- command List<String>
- cpu Integer
- depends
On List<TaskDefinition Container Dependency> - disable
Networking Boolean - dns
Search List<String>Domains - dns
Servers List<String> - docker
Labels Object - docker
Security List<String>Options - entry
Point List<String> - environment
List<Task
Definition Key Value Pair> The environment variables to pass to a container
- environment
Files List<TaskDefinition Environment File> The list of one or more files that contain the environment variables to pass to a container
- essential Boolean
- extra
Hosts List<TaskDefinition Host Entry> - firelens
Configuration TaskDefinition Firelens Configuration - health
Check TaskDefinition Health Check - hostname String
- image String
The image used to start a container. This string is passed directly to the Docker daemon.
- interactive Boolean
- links List<String>
- linux
Parameters TaskDefinition Linux Parameters - log
Configuration TaskDefinition Log Configuration - memory Integer
The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed.
- memory
Reservation Integer - mount
Points List<TaskDefinition Mount Point> - name String
The name of a container. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed
- port
Mappings List<TaskDefinition Port Mapping> Port mappings allow containers to access ports on the host container instance to send or receive traffic.
- privileged Boolean
- pseudo
Terminal Boolean - readonly
Root BooleanFilesystem - repository
Credentials TaskDefinition Repository Credentials - resource
Requirements List<TaskDefinition Resource Requirement> - secrets
List<Task
Definition Secret> - start
Timeout Integer - stop
Timeout Integer - system
Controls List<TaskDefinition System Control> - ulimits
List<Task
Definition Ulimit> - user String
- volumes
From List<TaskDefinition Volume From> - working
Directory String
- command string[]
- cpu number
- depends
On TaskDefinition Container Dependency[] - disable
Networking boolean - dns
Search string[]Domains - dns
Servers string[] - docker
Labels any - docker
Security string[]Options - entry
Point string[] - environment
Task
Definition Key Value Pair[] The environment variables to pass to a container
- environment
Files TaskDefinition Environment File[] The list of one or more files that contain the environment variables to pass to a container
- essential boolean
- extra
Hosts TaskDefinition Host Entry[] - firelens
Configuration TaskDefinition Firelens Configuration - health
Check TaskDefinition Health Check - hostname string
- image string
The image used to start a container. This string is passed directly to the Docker daemon.
- interactive boolean
- links string[]
- linux
Parameters TaskDefinition Linux Parameters - log
Configuration TaskDefinition Log Configuration - memory number
The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed.
- memory
Reservation number - mount
Points TaskDefinition Mount Point[] - name string
The name of a container. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed
- port
Mappings TaskDefinition Port Mapping[] Port mappings allow containers to access ports on the host container instance to send or receive traffic.
- privileged boolean
- pseudo
Terminal boolean - readonly
Root booleanFilesystem - repository
Credentials TaskDefinition Repository Credentials - resource
Requirements TaskDefinition Resource Requirement[] - secrets
Task
Definition Secret[] - start
Timeout number - stop
Timeout number - system
Controls TaskDefinition System Control[] - ulimits
Task
Definition Ulimit[] - user string
- volumes
From TaskDefinition Volume From[] - working
Directory string
- command Sequence[str]
- cpu int
- depends_
on Sequence[TaskDefinition Container Dependency] - disable_
networking bool - dns_
search_ Sequence[str]domains - dns_
servers Sequence[str] - docker_
labels Any - docker_
security_ Sequence[str]options - entry_
point Sequence[str] - environment
Sequence[Task
Definition Key Value Pair] The environment variables to pass to a container
- environment_
files Sequence[TaskDefinition Environment File] The list of one or more files that contain the environment variables to pass to a container
- essential bool
- extra_
hosts Sequence[TaskDefinition Host Entry] - firelens_
configuration TaskDefinition Firelens Configuration - health_
check TaskDefinition Health Check - hostname str
- image str
The image used to start a container. This string is passed directly to the Docker daemon.
- interactive bool
- links Sequence[str]
- linux_
parameters TaskDefinition Linux Parameters - log_
configuration TaskDefinition Log Configuration - memory int
The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed.
- memory_
reservation int - mount_
points Sequence[TaskDefinition Mount Point] - name str
The name of a container. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed
- port_
mappings Sequence[TaskDefinition Port Mapping] Port mappings allow containers to access ports on the host container instance to send or receive traffic.
- privileged bool
- pseudo_
terminal bool - readonly_
root_ boolfilesystem - repository_
credentials TaskDefinition Repository Credentials - resource_
requirements Sequence[TaskDefinition Resource Requirement] - secrets
Sequence[Task
Definition Secret] - start_
timeout int - stop_
timeout int - system_
controls Sequence[TaskDefinition System Control] - ulimits
Sequence[Task
Definition Ulimit] - user str
- volumes_
from Sequence[TaskDefinition Volume From] - working_
directory str
- command List<String>
- cpu Number
- depends
On List<Property Map> - disable
Networking Boolean - dns
Search List<String>Domains - dns
Servers List<String> - docker
Labels Any - docker
Security List<String>Options - entry
Point List<String> - environment List<Property Map>
The environment variables to pass to a container
- environment
Files List<Property Map> The list of one or more files that contain the environment variables to pass to a container
- essential Boolean
- extra
Hosts List<Property Map> - firelens
Configuration Property Map - health
Check Property Map - hostname String
- image String
The image used to start a container. This string is passed directly to the Docker daemon.
- interactive Boolean
- links List<String>
- linux
Parameters Property Map - log
Configuration Property Map - memory Number
The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed.
- memory
Reservation Number - mount
Points List<Property Map> - name String
The name of a container. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed
- port
Mappings List<Property Map> Port mappings allow containers to access ports on the host container instance to send or receive traffic.
- privileged Boolean
- pseudo
Terminal Boolean - readonly
Root BooleanFilesystem - repository
Credentials Property Map - resource
Requirements List<Property Map> - secrets List<Property Map>
- start
Timeout Number - stop
Timeout Number - system
Controls List<Property Map> - ulimits List<Property Map>
- user String
- volumes
From List<Property Map> - working
Directory String
TaskDefinitionContainerDependency
- Condition string
- Container
Name string
- Condition string
- Container
Name string
- condition String
- container
Name String
- condition string
- container
Name string
- condition str
- container_
name str
- condition String
- container
Name String
TaskDefinitionDevice
- Container
Path string - Host
Path string - Permissions List<string>
- Container
Path string - Host
Path string - Permissions []string
- container
Path String - host
Path String - permissions List<String>
- container
Path string - host
Path string - permissions string[]
- container_
path str - host_
path str - permissions Sequence[str]
- container
Path String - host
Path String - permissions List<String>
TaskDefinitionEnvironmentFile
TaskDefinitionFirelensConfiguration
TaskDefinitionHealthCheck
- Command List<string>
A string array representing the command that the container runs to determine if it is healthy.
- Interval int
The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.
- Retries int
The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is three retries.
- Start
Period int The optional grace period within which to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You may specify between 0 and 300 seconds. The startPeriod is disabled by default.
- Timeout int
The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5 seconds.
- Command []string
A string array representing the command that the container runs to determine if it is healthy.
- Interval int
The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.
- Retries int
The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is three retries.
- Start
Period int The optional grace period within which to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You may specify between 0 and 300 seconds. The startPeriod is disabled by default.
- Timeout int
The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5 seconds.
- command List<String>
A string array representing the command that the container runs to determine if it is healthy.
- interval Integer
The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.
- retries Integer
The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is three retries.
- start
Period Integer The optional grace period within which to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You may specify between 0 and 300 seconds. The startPeriod is disabled by default.
- timeout Integer
The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5 seconds.
- command string[]
A string array representing the command that the container runs to determine if it is healthy.
- interval number
The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.
- retries number
The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is three retries.
- start
Period number The optional grace period within which to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You may specify between 0 and 300 seconds. The startPeriod is disabled by default.
- timeout number
The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5 seconds.
- command Sequence[str]
A string array representing the command that the container runs to determine if it is healthy.
- interval int
The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.
- retries int
The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is three retries.
- start_
period int The optional grace period within which to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You may specify between 0 and 300 seconds. The startPeriod is disabled by default.
- timeout int
The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5 seconds.
- command List<String>
A string array representing the command that the container runs to determine if it is healthy.
- interval Number
The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.
- retries Number
The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is three retries.
- start
Period Number The optional grace period within which to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You may specify between 0 and 300 seconds. The startPeriod is disabled by default.
- timeout Number
The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5 seconds.
TaskDefinitionHostEntry
- hostname str
- ip_
address str
TaskDefinitionKernelCapabilities
TaskDefinitionKeyValuePair
TaskDefinitionLinuxParameters
- capabilities Property Map
- devices List<Property Map>
- init
Process BooleanEnabled - max
Swap Number - Number
- swappiness Number
- tmpfs List<Property Map>
TaskDefinitionLogConfiguration
- Log
Driver string - Options object
- Secret
Options List<TaskDefinition Secret>
- Log
Driver string - Options interface{}
- Secret
Options []TaskDefinition Secret
- log
Driver String - options Object
- secret
Options List<TaskDefinition Secret>
- log
Driver String - options Any
- secret
Options List<Property Map>
TaskDefinitionMountPoint
- Container
Path string - Read
Only bool - Source
Volume string
- Container
Path string - Read
Only bool - Source
Volume string
- container
Path String - read
Only Boolean - source
Volume String
- container
Path string - read
Only boolean - source
Volume string
- container_
path str - read_
only bool - source_
volume str
- container
Path String - read
Only Boolean - source
Volume String
TaskDefinitionPortMapping
- Container
Port int - Host
Port int - Protocol string
- Target
Group Pulumi.Aws. LB. Target Group
- Container
Port int - Host
Port int - Protocol string
- Target
Group TargetGroup
- container
Port Integer - host
Port Integer - protocol String
- target
Group TargetGroup
- container
Port number - host
Port number - protocol string
- target
Group pulumiAws.lb. Target Group
- container_
port int - host_
port int - protocol str
- target_
group TargetGroup
- container
Port Number - host
Port Number - protocol String
- target
Group aws:lb:TargetGroup
TaskDefinitionRepositoryCredentials
- Credentials
Parameter string
- Credentials
Parameter string
- credentials
Parameter String
- credentials
Parameter string
- credentials
Parameter String
TaskDefinitionResourceRequirement
TaskDefinitionSecret
- name str
- value_
from str
TaskDefinitionSystemControl
TaskDefinitionTmpfs
- Size int
- Container
Path string - Mount
Options List<string>
- Size int
- Container
Path string - Mount
Options []string
- size Integer
- container
Path String - mount
Options List<String>
- size number
- container
Path string - mount
Options string[]
- size int
- container_
path str - mount_
options Sequence[str]
- size Number
- container
Path String - mount
Options List<String>
TaskDefinitionUlimit
- hard_
limit int - name str
- soft_
limit int
TaskDefinitionVolumeFrom
- Read
Only bool - Source
Container string
- Read
Only bool - Source
Container string
- read
Only Boolean - source
Container String
- read
Only boolean - source
Container string
- read_
only bool - source_
container str
- read
Only Boolean - source
Container String
Package Details
- Repository
- AWSx (Pulumi Crosswalk for AWS) pulumi/pulumi-awsx
- License
- Apache-2.0