Class EventTargetEcsTarget
Inheritance
Inherited Members
Namespace: Pulumi.Aws.CloudWatch.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class EventTargetEcsTarget
Fields
View SourceGroup
Specifies an ECS task group for the task. The maximum length is 255 characters.
Declaration
public readonly string Group
Field Value
| Type | Description |
|---|---|
| System.String |
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. Valid values are EC2 or FARGATE.
Declaration
public readonly string LaunchType
Field Value
| Type | Description |
|---|---|
| System.String |
NetworkConfiguration
Use this if the ECS task uses the awsvpc network mode. This specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. Required if launch_type is FARGATE because the awsvpc mode is required for Fargate tasks.
Declaration
public readonly EventTargetEcsTargetNetworkConfiguration NetworkConfiguration
Field Value
| Type | Description |
|---|---|
| EventTargetEcsTargetNetworkConfiguration |
PlatformVersion
Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0. This is used only if LaunchType is FARGATE. For more information about valid platform versions, see AWS Fargate Platform Versions.
Declaration
public readonly string PlatformVersion
Field Value
| Type | Description |
|---|---|
| System.String |
TaskCount
The number of tasks to create based on the TaskDefinition. The default is 1.
Declaration
public readonly int? TaskCount
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
TaskDefinitionArn
The ARN of the task definition to use if the event target is an Amazon ECS cluster.
Declaration
public readonly string TaskDefinitionArn
Field Value
| Type | Description |
|---|---|
| System.String |