Class EventTargetEcsTargetGetArgs
Inherited Members
Namespace: Pulumi.Aws.CloudWatch.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class EventTargetEcsTargetGetArgs : ResourceArgs
Constructors
View SourceEventTargetEcsTargetGetArgs()
Declaration
public EventTargetEcsTargetGetArgs()
Properties
View SourceGroup
Specifies an ECS task group for the task. The maximum length is 255 characters.
Declaration
public Input<string> Group { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> LaunchType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<EventTargetEcsTargetNetworkConfigurationGetArgs> NetworkConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<EventTargetEcsTargetNetworkConfigurationGetArgs> |
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 Input<string> PlatformVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TaskCount
The number of tasks to create based on the TaskDefinition. The default is 1.
Declaration
public Input<int> TaskCount { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
TaskDefinitionArn
The ARN of the task definition to use if the event target is an Amazon ECS cluster.
Declaration
public Input<string> TaskDefinitionArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |