AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The custom parameters to be used when the target is an Amazon ECS task.
Namespace: Amazon.EventBridge.Model
Assembly: AWSSDK.EventBridge.dll
Version: 3.x.y.z
public class EcsParameters
The EcsParameters type exposes the following members
Name | Description | |
---|---|---|
![]() |
EcsParameters() |
Name | Type | Description | |
---|---|---|---|
![]() |
CapacityProviderStrategy | System.Collections.Generic.List<Amazon.EventBridge.Model.CapacityProviderStrategyItem> |
Gets and sets the property CapacityProviderStrategy. The capacity provider strategy to use for the task.
If a |
![]() |
EnableECSManagedTags | System.Boolean |
Gets and sets the property EnableECSManagedTags. Specifies whether to enable Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide. |
![]() |
EnableExecuteCommand | System.Boolean |
Gets and sets the property EnableExecuteCommand. Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task. |
![]() |
Group | System.String |
Gets and sets the property Group. Specifies an ECS task group for the task. The maximum length is 255 characters. |
![]() |
LaunchType | Amazon.EventBridge.LaunchType |
Gets and sets the property LaunchType.
Specifies the launch type on which your task is running. The launch type that you
specify here must match one of the launch type (compatibilities) of the target task.
The |
![]() |
NetworkConfiguration | Amazon.EventBridge.Model.NetworkConfiguration |
Gets and sets the property NetworkConfiguration.
Use this structure if the Amazon ECS task uses the
If you specify |
![]() |
PlacementConstraints | System.Collections.Generic.List<Amazon.EventBridge.Model.PlacementConstraint> |
Gets and sets the property PlacementConstraints. An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime). |
![]() |
PlacementStrategy | System.Collections.Generic.List<Amazon.EventBridge.Model.PlacementStrategy> |
Gets and sets the property PlacementStrategy. The placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task. |
![]() |
PlatformVersion | System.String |
Gets and sets the property PlatformVersion.
Specifies the platform version for the task. Specify only the numeric portion of the
platform version, such as
This structure is used only if |
![]() |
PropagateTags | Amazon.EventBridge.PropagateTags |
Gets and sets the property PropagateTags. Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use the TagResource API action. |
![]() |
ReferenceId | System.String |
Gets and sets the property ReferenceId. The reference ID to use for the task. |
![]() |
Tags | System.Collections.Generic.List<Amazon.EventBridge.Model.Tag> |
Gets and sets the property Tags. The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. To learn more, see RunTask in the Amazon ECS API Reference. |
![]() |
TaskCount | System.Int32 |
Gets and sets the property TaskCount.
The number of tasks to create based on |
![]() |
TaskDefinitionArn | System.String |
Gets and sets the property TaskDefinitionArn. The ARN of the task definition to use if the event target is an Amazon ECS task. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5