interface ECSTaskStateChangeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Events.ClusterEvents.ECSTaskStateChange.ECSTaskStateChangeProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/events#ClusterEvents_ECSTaskStateChange_ECSTaskStateChangeProps |
Java | software.amazon.awscdk.mixins.preview.services.ecs.events.ClusterEvents.ECSTaskStateChange.ECSTaskStateChangeProps |
Python | aws_cdk.mixins_preview.aws_ecs.events.ClusterEvents.ECSTaskStateChange.ECSTaskStateChangeProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_ecs ยป events ยป ClusterEvents ยป ECSTaskStateChange ยป ECSTaskStateChangeProps |
Props type for Cluster aws.ecs@ECSTaskStateChange event.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as ecs_events } from '@aws-cdk/mixins-preview/aws-ecs';
const eCSTaskStateChangeProps: ecs_events.ClusterEvents.ECSTaskStateChange.ECSTaskStateChangeProps = {
attachments: [{
details: {
name: ['name'],
value: ['value'],
},
id: ['id'],
status: ['status'],
type: ['type'],
}],
attributes: [{
name: ['name'],
value: ['value'],
}],
availabilityZone: ['availabilityZone'],
clusterArn: ['clusterArn'],
connectivity: ['connectivity'],
connectivityAt: ['connectivityAt'],
containerInstanceArn: ['containerInstanceArn'],
containers: [{
containerArn: ['containerArn'],
cpu: ['cpu'],
exitCode: ['exitCode'],
gpuIds: ['gpuIds'],
image: ['image'],
imageDigest: ['imageDigest'],
lastStatus: ['lastStatus'],
memory: ['memory'],
memoryReservation: ['memoryReservation'],
name: ['name'],
networkBindings: [{
bindIp: ['bindIp'],
containerPort: ['containerPort'],
hostPort: ['hostPort'],
protocol: ['protocol'],
}],
networkInterfaces: [{
attachmentId: ['attachmentId'],
ipv6Address: ['ipv6Address'],
privateIpv4Address: ['privateIpv4Address'],
}],
reason: ['reason'],
runtimeId: ['runtimeId'],
taskArn: ['taskArn'],
}],
cpu: ['cpu'],
createdAt: ['createdAt'],
desiredStatus: ['desiredStatus'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
executionStoppedAt: ['executionStoppedAt'],
group: ['group'],
lastStatus: ['lastStatus'],
launchType: ['launchType'],
memory: ['memory'],
overrides: {
containerOverrides: [{
command: ['command'],
cpu: ['cpu'],
environment: [{
environmentKey: 'environment',
}],
memory: ['memory'],
name: ['name'],
}],
},
platformVersion: ['platformVersion'],
pullStartedAt: ['pullStartedAt'],
pullStoppedAt: ['pullStoppedAt'],
startedAt: ['startedAt'],
startedBy: ['startedBy'],
stopCode: ['stopCode'],
stoppedAt: ['stoppedAt'],
stoppedReason: ['stoppedReason'],
stoppingAt: ['stoppingAt'],
taskArn: ['taskArn'],
taskDefinitionArn: ['taskDefinitionArn'],
updatedAt: ['updatedAt'],
version: ['version'],
};
Properties
| Name | Type | Description |
|---|---|---|
| attachments? | Attachment[] | attachments property. |
| attributes? | Attributes[] | attributes property. |
| availability | string[] | availabilityZone property. |
| cluster | string[] | clusterArn property. |
| connectivity? | string[] | connectivity property. |
| connectivity | string[] | connectivityAt property. |
| container | string[] | containerInstanceArn property. |
| containers? | Container[] | containers property. |
| cpu? | string[] | cpu property. |
| created | string[] | createdAt property. |
| desired | string[] | desiredStatus property. |
| event | AWSEvent | EventBridge event metadata. |
| execution | string[] | executionStoppedAt property. |
| group? | string[] | group property. |
| last | string[] | lastStatus property. |
| launch | string[] | launchType property. |
| memory? | string[] | memory property. |
| overrides? | Overrides | overrides property. |
| platform | string[] | platformVersion property. |
| pull | string[] | pullStartedAt property. |
| pull | string[] | pullStoppedAt property. |
| started | string[] | startedAt property. |
| started | string[] | startedBy property. |
| stop | string[] | stopCode property. |
| stopped | string[] | stoppedAt property. |
| stopped | string[] | stoppedReason property. |
| stopping | string[] | stoppingAt property. |
| task | string[] | taskArn property. |
| task | string[] | taskDefinitionArn property. |
| updated | string[] | updatedAt property. |
| version? | string[] | version property. |
attachments?
Type:
Attachment[]
(optional, default: Do not filter on this field)
attachments property.
Specify an array of string values to match this event if the actual value of attachments is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
attributes?
Type:
Attributes[]
(optional, default: Do not filter on this field)
attributes property.
Specify an array of string values to match this event if the actual value of attributes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
availabilityZone?
Type:
string[]
(optional, default: Do not filter on this field)
availabilityZone property.
Specify an array of string values to match this event if the actual value of availabilityZone is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
clusterArn?
Type:
string[]
(optional, default: Filter with the Cluster reference)
clusterArn property.
Specify an array of string values to match this event if the actual value of clusterArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
connectivity?
Type:
string[]
(optional, default: Do not filter on this field)
connectivity property.
Specify an array of string values to match this event if the actual value of connectivity is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
connectivityAt?
Type:
string[]
(optional, default: Do not filter on this field)
connectivityAt property.
Specify an array of string values to match this event if the actual value of connectivityAt is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
containerInstanceArn?
Type:
string[]
(optional, default: Do not filter on this field)
containerInstanceArn property.
Specify an array of string values to match this event if the actual value of containerInstanceArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
containers?
Type:
Container[]
(optional, default: Do not filter on this field)
containers property.
Specify an array of string values to match this event if the actual value of containers is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
cpu?
Type:
string[]
(optional, default: Do not filter on this field)
cpu property.
Specify an array of string values to match this event if the actual value of cpu is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
createdAt?
Type:
string[]
(optional, default: Do not filter on this field)
createdAt property.
Specify an array of string values to match this event if the actual value of createdAt is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
desiredStatus?
Type:
string[]
(optional, default: Do not filter on this field)
desiredStatus property.
Specify an array of string values to match this event if the actual value of desiredStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
executionStoppedAt?
Type:
string[]
(optional, default: Do not filter on this field)
executionStoppedAt property.
Specify an array of string values to match this event if the actual value of executionStoppedAt is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
group?
Type:
string[]
(optional, default: Do not filter on this field)
group property.
Specify an array of string values to match this event if the actual value of group is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
lastStatus?
Type:
string[]
(optional, default: Do not filter on this field)
lastStatus property.
Specify an array of string values to match this event if the actual value of lastStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
launchType?
Type:
string[]
(optional, default: Do not filter on this field)
launchType property.
Specify an array of string values to match this event if the actual value of launchType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
memory?
Type:
string[]
(optional, default: Do not filter on this field)
memory property.
Specify an array of string values to match this event if the actual value of memory is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
overrides?
Type:
Overrides
(optional, default: Do not filter on this field)
overrides property.
Specify an array of string values to match this event if the actual value of overrides is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
platformVersion?
Type:
string[]
(optional, default: Do not filter on this field)
platformVersion property.
Specify an array of string values to match this event if the actual value of platformVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
pullStartedAt?
Type:
string[]
(optional, default: Do not filter on this field)
pullStartedAt property.
Specify an array of string values to match this event if the actual value of pullStartedAt is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
pullStoppedAt?
Type:
string[]
(optional, default: Do not filter on this field)
pullStoppedAt property.
Specify an array of string values to match this event if the actual value of pullStoppedAt is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
startedAt?
Type:
string[]
(optional, default: Do not filter on this field)
startedAt property.
Specify an array of string values to match this event if the actual value of startedAt is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
startedBy?
Type:
string[]
(optional, default: Do not filter on this field)
startedBy property.
Specify an array of string values to match this event if the actual value of startedBy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
stopCode?
Type:
string[]
(optional, default: Do not filter on this field)
stopCode property.
Specify an array of string values to match this event if the actual value of stopCode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
stoppedAt?
Type:
string[]
(optional, default: Do not filter on this field)
stoppedAt property.
Specify an array of string values to match this event if the actual value of stoppedAt is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
stoppedReason?
Type:
string[]
(optional, default: Do not filter on this field)
stoppedReason property.
Specify an array of string values to match this event if the actual value of stoppedReason is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
stoppingAt?
Type:
string[]
(optional, default: Do not filter on this field)
stoppingAt property.
Specify an array of string values to match this event if the actual value of stoppingAt is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
taskArn?
Type:
string[]
(optional, default: Do not filter on this field)
taskArn property.
Specify an array of string values to match this event if the actual value of taskArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
taskDefinitionArn?
Type:
string[]
(optional, default: Do not filter on this field)
taskDefinitionArn property.
Specify an array of string values to match this event if the actual value of taskDefinitionArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
updatedAt?
Type:
string[]
(optional, default: Do not filter on this field)
updatedAt property.
Specify an array of string values to match this event if the actual value of updatedAt is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
version?
Type:
string[]
(optional, default: Do not filter on this field)
version property.
Specify an array of string values to match this event if the actual value of version is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript