AWS Native is in preview. AWS Classic is fully supported.
aws-native.ecs.TaskSet
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Create a task set in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.htmlin the Amazon Elastic Container Service Developer Guide.
Create TaskSet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TaskSet(name: string, args: TaskSetArgs, opts?: CustomResourceOptions);
@overload
def TaskSet(resource_name: str,
args: TaskSetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TaskSet(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster: Optional[str] = None,
service: Optional[str] = None,
task_definition: Optional[str] = None,
external_id: Optional[str] = None,
launch_type: Optional[TaskSetLaunchType] = None,
load_balancers: Optional[Sequence[TaskSetLoadBalancerArgs]] = None,
network_configuration: Optional[TaskSetNetworkConfigurationArgs] = None,
platform_version: Optional[str] = None,
scale: Optional[TaskSetScaleArgs] = None,
service_registries: Optional[Sequence[TaskSetServiceRegistryArgs]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewTaskSet(ctx *Context, name string, args TaskSetArgs, opts ...ResourceOption) (*TaskSet, error)
public TaskSet(string name, TaskSetArgs args, CustomResourceOptions? opts = null)
public TaskSet(String name, TaskSetArgs args)
public TaskSet(String name, TaskSetArgs args, CustomResourceOptions options)
type: aws-native:ecs:TaskSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TaskSetArgs
- 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 TaskSetArgs
- 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 TaskSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TaskSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TaskSetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TaskSet 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 TaskSet resource accepts the following input properties:
- Cluster string
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
- Service string
- The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
- Task
Definition string - The short name or full Amazon Resource Name (ARN) of the task definition for the tasks in the task set to use.
- External
Id string - An optional non-unique tag that identifies this task set in external systems. If the task set is associated with a service discovery registry, the tasks in this task set will have the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided value.
- Launch
Type Pulumi.Aws Native. Ecs. Task Set Launch Type - The launch type that new tasks in the task set will use. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html in the Amazon Elastic Container Service Developer Guide.
- Load
Balancers List<Pulumi.Aws Native. Ecs. Inputs. Task Set Load Balancer> - A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer.
- Network
Configuration Pulumi.Aws Native. Ecs. Inputs. Task Set Network Configuration - The network configuration for the task set.
- Platform
Version string - The platform version that the tasks in the task set should use. A platform version is specified only for tasks using the Fargate launch type. If one isn't specified, the LATEST platform version is used by default.
- Scale
Pulumi.
Aws Native. Ecs. Inputs. Task Set Scale - A floating-point percentage of the desired number of tasks to place and keep running in the task set.
- Service
Registries List<Pulumi.Aws Native. Ecs. Inputs. Task Set Service Registry> - The details of the service discovery registries to assign to this task set. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html.
- List<Pulumi.
Aws Native. Inputs. Tag> The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
- Maximum number of tags per resource - 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length - 128 Unicode characters in UTF-8
- Maximum value length - 256 Unicode characters in UTF-8
- If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
- Tag keys and values are case-sensitive.
- Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
- Cluster string
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
- Service string
- The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
- Task
Definition string - The short name or full Amazon Resource Name (ARN) of the task definition for the tasks in the task set to use.
- External
Id string - An optional non-unique tag that identifies this task set in external systems. If the task set is associated with a service discovery registry, the tasks in this task set will have the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided value.
- Launch
Type TaskSet Launch Type - The launch type that new tasks in the task set will use. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html in the Amazon Elastic Container Service Developer Guide.
- Load
Balancers []TaskSet Load Balancer Args - A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer.
- Network
Configuration TaskSet Network Configuration Args - The network configuration for the task set.
- Platform
Version string - The platform version that the tasks in the task set should use. A platform version is specified only for tasks using the Fargate launch type. If one isn't specified, the LATEST platform version is used by default.
- Scale
Task
Set Scale Args - A floating-point percentage of the desired number of tasks to place and keep running in the task set.
- Service
Registries []TaskSet Service Registry Args - The details of the service discovery registries to assign to this task set. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html.
- Tag
Args The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
- Maximum number of tags per resource - 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length - 128 Unicode characters in UTF-8
- Maximum value length - 256 Unicode characters in UTF-8
- If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
- Tag keys and values are case-sensitive.
- Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
- cluster String
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
- service String
- The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
- task
Definition String - The short name or full Amazon Resource Name (ARN) of the task definition for the tasks in the task set to use.
- external
Id String - An optional non-unique tag that identifies this task set in external systems. If the task set is associated with a service discovery registry, the tasks in this task set will have the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided value.
- launch
Type TaskSet Launch Type - The launch type that new tasks in the task set will use. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html in the Amazon Elastic Container Service Developer Guide.
- load
Balancers List<TaskSet Load Balancer> - A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer.
- network
Configuration TaskSet Network Configuration - The network configuration for the task set.
- platform
Version String - The platform version that the tasks in the task set should use. A platform version is specified only for tasks using the Fargate launch type. If one isn't specified, the LATEST platform version is used by default.
- scale
Task
Set Scale - A floating-point percentage of the desired number of tasks to place and keep running in the task set.
- service
Registries List<TaskSet Service Registry> - The details of the service discovery registries to assign to this task set. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html.
- List<Tag>
The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
- Maximum number of tags per resource - 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length - 128 Unicode characters in UTF-8
- Maximum value length - 256 Unicode characters in UTF-8
- If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
- Tag keys and values are case-sensitive.
- Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
- cluster string
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
- service string
- The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
- task
Definition string - The short name or full Amazon Resource Name (ARN) of the task definition for the tasks in the task set to use.
- external
Id string - An optional non-unique tag that identifies this task set in external systems. If the task set is associated with a service discovery registry, the tasks in this task set will have the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided value.
- launch
Type TaskSet Launch Type - The launch type that new tasks in the task set will use. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html in the Amazon Elastic Container Service Developer Guide.
- load
Balancers TaskSet Load Balancer[] - A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer.
- network
Configuration TaskSet Network Configuration - The network configuration for the task set.
- platform
Version string - The platform version that the tasks in the task set should use. A platform version is specified only for tasks using the Fargate launch type. If one isn't specified, the LATEST platform version is used by default.
- scale
Task
Set Scale - A floating-point percentage of the desired number of tasks to place and keep running in the task set.
- service
Registries TaskSet Service Registry[] - The details of the service discovery registries to assign to this task set. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html.
- Tag[]
The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
- Maximum number of tags per resource - 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length - 128 Unicode characters in UTF-8
- Maximum value length - 256 Unicode characters in UTF-8
- If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
- Tag keys and values are case-sensitive.
- Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
- cluster str
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
- service str
- The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
- task_
definition str - The short name or full Amazon Resource Name (ARN) of the task definition for the tasks in the task set to use.
- external_
id str - An optional non-unique tag that identifies this task set in external systems. If the task set is associated with a service discovery registry, the tasks in this task set will have the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided value.
- launch_
type TaskSet Launch Type - The launch type that new tasks in the task set will use. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html in the Amazon Elastic Container Service Developer Guide.
- load_
balancers Sequence[TaskSet Load Balancer Args] - A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer.
- network_
configuration TaskSet Network Configuration Args - The network configuration for the task set.
- platform_
version str - The platform version that the tasks in the task set should use. A platform version is specified only for tasks using the Fargate launch type. If one isn't specified, the LATEST platform version is used by default.
- scale
Task
Set Scale Args - A floating-point percentage of the desired number of tasks to place and keep running in the task set.
- service_
registries Sequence[TaskSet Service Registry Args] - The details of the service discovery registries to assign to this task set. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html.
- Sequence[Tag
Args] The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
- Maximum number of tags per resource - 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length - 128 Unicode characters in UTF-8
- Maximum value length - 256 Unicode characters in UTF-8
- If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
- Tag keys and values are case-sensitive.
- Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
- cluster String
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
- service String
- The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
- task
Definition String - The short name or full Amazon Resource Name (ARN) of the task definition for the tasks in the task set to use.
- external
Id String - An optional non-unique tag that identifies this task set in external systems. If the task set is associated with a service discovery registry, the tasks in this task set will have the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided value.
- launch
Type "EC2" | "FARGATE" - The launch type that new tasks in the task set will use. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html in the Amazon Elastic Container Service Developer Guide.
- load
Balancers List<Property Map> - A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer.
- network
Configuration Property Map - The network configuration for the task set.
- platform
Version String - The platform version that the tasks in the task set should use. A platform version is specified only for tasks using the Fargate launch type. If one isn't specified, the LATEST platform version is used by default.
- scale Property Map
- A floating-point percentage of the desired number of tasks to place and keep running in the task set.
- service
Registries List<Property Map> - The details of the service discovery registries to assign to this task set. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html.
- List<Property Map>
The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
- Maximum number of tags per resource - 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length - 128 Unicode characters in UTF-8
- Maximum value length - 256 Unicode characters in UTF-8
- If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
- Tag keys and values are case-sensitive.
- Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
Outputs
All input properties are implicitly available as output properties. Additionally, the TaskSet resource produces the following output properties:
Supporting Types
Tag, TagArgs
TaskSetAwsVpcConfiguration, TaskSetAwsVpcConfigurationArgs
- Subnets List<string>
- The subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.
- Assign
Public Pulumi.Ip Aws Native. Ecs. Task Set Aws Vpc Configuration Assign Public Ip - Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.
- Security
Groups List<string> - The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.
- Subnets []string
- The subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.
- Assign
Public TaskIp Set Aws Vpc Configuration Assign Public Ip - Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.
- Security
Groups []string - The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.
- subnets List<String>
- The subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.
- assign
Public TaskIp Set Aws Vpc Configuration Assign Public Ip - Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.
- security
Groups List<String> - The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.
- subnets string[]
- The subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.
- assign
Public TaskIp Set Aws Vpc Configuration Assign Public Ip - Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.
- security
Groups string[] - The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.
- subnets Sequence[str]
- The subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.
- assign_
public_ Taskip Set Aws Vpc Configuration Assign Public Ip - Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.
- security_
groups Sequence[str] - The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.
- subnets List<String>
- The subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.
- assign
Public "DISABLED" | "ENABLED"Ip - Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.
- security
Groups List<String> - The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.
TaskSetAwsVpcConfigurationAssignPublicIp, TaskSetAwsVpcConfigurationAssignPublicIpArgs
- Disabled
- DISABLED
- Enabled
- ENABLED
- Task
Set Aws Vpc Configuration Assign Public Ip Disabled - DISABLED
- Task
Set Aws Vpc Configuration Assign Public Ip Enabled - ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- DISABLED
- DISABLED
- ENABLED
- ENABLED
- "DISABLED"
- DISABLED
- "ENABLED"
- ENABLED
TaskSetLaunchType, TaskSetLaunchTypeArgs
- Ec2
- EC2
- Fargate
- FARGATE
- Task
Set Launch Type Ec2 - EC2
- Task
Set Launch Type Fargate - FARGATE
- Ec2
- EC2
- Fargate
- FARGATE
- Ec2
- EC2
- Fargate
- FARGATE
- EC2
- EC2
- FARGATE
- FARGATE
- "EC2"
- EC2
- "FARGATE"
- FARGATE
TaskSetLoadBalancer, TaskSetLoadBalancerArgs
- Container
Name string - The name of the container (as it appears in a container definition) to associate with the load balancer.
- Container
Port int - The port on the container to associate with the load balancer. This port must correspond to a containerPort in the task definition the tasks in the service are using. For tasks that use the EC2 launch type, the container instance they are launched on must allow ingress traffic on the hostPort of the port mapping.
- Target
Group stringArn - The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or task set. A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you are using a Classic Load Balancer this should be omitted. For services using the ECS deployment controller, you can specify one or multiple target groups. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html in the Amazon Elastic Container Service Developer Guide. For services using the CODE_DEPLOY deployment controller, you are required to define two target groups for the load balancer. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html in the Amazon Elastic Container Service Developer Guide. If your service's task definition uses the awsvpc network mode (which is required for the Fargate launch type), you must choose ip as the target type, not instance, when creating your target groups because tasks that use the awsvpc network mode are associated with an elastic network interface, not an Amazon EC2 instance.
- Container
Name string - The name of the container (as it appears in a container definition) to associate with the load balancer.
- Container
Port int - The port on the container to associate with the load balancer. This port must correspond to a containerPort in the task definition the tasks in the service are using. For tasks that use the EC2 launch type, the container instance they are launched on must allow ingress traffic on the hostPort of the port mapping.
- Target
Group stringArn - The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or task set. A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you are using a Classic Load Balancer this should be omitted. For services using the ECS deployment controller, you can specify one or multiple target groups. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html in the Amazon Elastic Container Service Developer Guide. For services using the CODE_DEPLOY deployment controller, you are required to define two target groups for the load balancer. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html in the Amazon Elastic Container Service Developer Guide. If your service's task definition uses the awsvpc network mode (which is required for the Fargate launch type), you must choose ip as the target type, not instance, when creating your target groups because tasks that use the awsvpc network mode are associated with an elastic network interface, not an Amazon EC2 instance.
- container
Name String - The name of the container (as it appears in a container definition) to associate with the load balancer.
- container
Port Integer - The port on the container to associate with the load balancer. This port must correspond to a containerPort in the task definition the tasks in the service are using. For tasks that use the EC2 launch type, the container instance they are launched on must allow ingress traffic on the hostPort of the port mapping.
- target
Group StringArn - The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or task set. A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you are using a Classic Load Balancer this should be omitted. For services using the ECS deployment controller, you can specify one or multiple target groups. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html in the Amazon Elastic Container Service Developer Guide. For services using the CODE_DEPLOY deployment controller, you are required to define two target groups for the load balancer. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html in the Amazon Elastic Container Service Developer Guide. If your service's task definition uses the awsvpc network mode (which is required for the Fargate launch type), you must choose ip as the target type, not instance, when creating your target groups because tasks that use the awsvpc network mode are associated with an elastic network interface, not an Amazon EC2 instance.
- container
Name string - The name of the container (as it appears in a container definition) to associate with the load balancer.
- container
Port number - The port on the container to associate with the load balancer. This port must correspond to a containerPort in the task definition the tasks in the service are using. For tasks that use the EC2 launch type, the container instance they are launched on must allow ingress traffic on the hostPort of the port mapping.
- target
Group stringArn - The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or task set. A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you are using a Classic Load Balancer this should be omitted. For services using the ECS deployment controller, you can specify one or multiple target groups. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html in the Amazon Elastic Container Service Developer Guide. For services using the CODE_DEPLOY deployment controller, you are required to define two target groups for the load balancer. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html in the Amazon Elastic Container Service Developer Guide. If your service's task definition uses the awsvpc network mode (which is required for the Fargate launch type), you must choose ip as the target type, not instance, when creating your target groups because tasks that use the awsvpc network mode are associated with an elastic network interface, not an Amazon EC2 instance.
- container_
name str - The name of the container (as it appears in a container definition) to associate with the load balancer.
- container_
port int - The port on the container to associate with the load balancer. This port must correspond to a containerPort in the task definition the tasks in the service are using. For tasks that use the EC2 launch type, the container instance they are launched on must allow ingress traffic on the hostPort of the port mapping.
- target_
group_ strarn - The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or task set. A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you are using a Classic Load Balancer this should be omitted. For services using the ECS deployment controller, you can specify one or multiple target groups. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html in the Amazon Elastic Container Service Developer Guide. For services using the CODE_DEPLOY deployment controller, you are required to define two target groups for the load balancer. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html in the Amazon Elastic Container Service Developer Guide. If your service's task definition uses the awsvpc network mode (which is required for the Fargate launch type), you must choose ip as the target type, not instance, when creating your target groups because tasks that use the awsvpc network mode are associated with an elastic network interface, not an Amazon EC2 instance.
- container
Name String - The name of the container (as it appears in a container definition) to associate with the load balancer.
- container
Port Number - The port on the container to associate with the load balancer. This port must correspond to a containerPort in the task definition the tasks in the service are using. For tasks that use the EC2 launch type, the container instance they are launched on must allow ingress traffic on the hostPort of the port mapping.
- target
Group StringArn - The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or task set. A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you are using a Classic Load Balancer this should be omitted. For services using the ECS deployment controller, you can specify one or multiple target groups. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html in the Amazon Elastic Container Service Developer Guide. For services using the CODE_DEPLOY deployment controller, you are required to define two target groups for the load balancer. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html in the Amazon Elastic Container Service Developer Guide. If your service's task definition uses the awsvpc network mode (which is required for the Fargate launch type), you must choose ip as the target type, not instance, when creating your target groups because tasks that use the awsvpc network mode are associated with an elastic network interface, not an Amazon EC2 instance.
TaskSetNetworkConfiguration, TaskSetNetworkConfigurationArgs
- Aws
Vpc Pulumi.Configuration Aws Native. Ecs. Inputs. Task Set Aws Vpc Configuration The VPC subnets and security groups that are associated with a task.
All specified subnets and security groups must be from the same VPC.
- Aws
Vpc TaskConfiguration Set Aws Vpc Configuration The VPC subnets and security groups that are associated with a task.
All specified subnets and security groups must be from the same VPC.
- aws
Vpc TaskConfiguration Set Aws Vpc Configuration The VPC subnets and security groups that are associated with a task.
All specified subnets and security groups must be from the same VPC.
- aws
Vpc TaskConfiguration Set Aws Vpc Configuration The VPC subnets and security groups that are associated with a task.
All specified subnets and security groups must be from the same VPC.
- aws_
vpc_ Taskconfiguration Set Aws Vpc Configuration The VPC subnets and security groups that are associated with a task.
All specified subnets and security groups must be from the same VPC.
- aws
Vpc Property MapConfiguration The VPC subnets and security groups that are associated with a task.
All specified subnets and security groups must be from the same VPC.
TaskSetScale, TaskSetScaleArgs
- Unit
Pulumi.
Aws Native. Ecs. Task Set Scale Unit - The unit of measure for the scale value.
- Value double
- The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.
- Unit
Task
Set Scale Unit - The unit of measure for the scale value.
- Value float64
- The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.
- unit
Task
Set Scale Unit - The unit of measure for the scale value.
- value Double
- The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.
- unit
Task
Set Scale Unit - The unit of measure for the scale value.
- value number
- The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.
- unit
Task
Set Scale Unit - The unit of measure for the scale value.
- value float
- The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.
TaskSetScaleUnit, TaskSetScaleUnitArgs
- Percent
- PERCENT
- Task
Set Scale Unit Percent - PERCENT
- Percent
- PERCENT
- Percent
- PERCENT
- PERCENT
- PERCENT
- "PERCENT"
- PERCENT
TaskSetServiceRegistry, TaskSetServiceRegistryArgs
- Container
Name string - The container name value, already specified in the task definition, to be used for your service discovery service. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
- Container
Port int - The port value, already specified in the task definition, to be used for your service discovery service. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
- Port int
- The port value used if your service discovery service specified an SRV record. This field may be used if both the awsvpc network mode and SRV records are used.
- Registry
Arn string - The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is AWS Cloud Map. For more information, see https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html
- Container
Name string - The container name value, already specified in the task definition, to be used for your service discovery service. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
- Container
Port int - The port value, already specified in the task definition, to be used for your service discovery service. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
- Port int
- The port value used if your service discovery service specified an SRV record. This field may be used if both the awsvpc network mode and SRV records are used.
- Registry
Arn string - The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is AWS Cloud Map. For more information, see https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html
- container
Name String - The container name value, already specified in the task definition, to be used for your service discovery service. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
- container
Port Integer - The port value, already specified in the task definition, to be used for your service discovery service. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
- port Integer
- The port value used if your service discovery service specified an SRV record. This field may be used if both the awsvpc network mode and SRV records are used.
- registry
Arn String - The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is AWS Cloud Map. For more information, see https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html
- container
Name string - The container name value, already specified in the task definition, to be used for your service discovery service. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
- container
Port number - The port value, already specified in the task definition, to be used for your service discovery service. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
- port number
- The port value used if your service discovery service specified an SRV record. This field may be used if both the awsvpc network mode and SRV records are used.
- registry
Arn string - The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is AWS Cloud Map. For more information, see https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html
- container_
name str - The container name value, already specified in the task definition, to be used for your service discovery service. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
- container_
port int - The port value, already specified in the task definition, to be used for your service discovery service. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
- port int
- The port value used if your service discovery service specified an SRV record. This field may be used if both the awsvpc network mode and SRV records are used.
- registry_
arn str - The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is AWS Cloud Map. For more information, see https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html
- container
Name String - The container name value, already specified in the task definition, to be used for your service discovery service. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
- container
Port Number - The port value, already specified in the task definition, to be used for your service discovery service. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
- port Number
- The port value used if your service discovery service specified an SRV record. This field may be used if both the awsvpc network mode and SRV records are used.
- registry
Arn String - The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is AWS Cloud Map. For more information, see https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.