interface ECSContainerInstanceStateChangeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Events.ClusterEvents.ECSContainerInstanceStateChange.ECSContainerInstanceStateChangeProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/events#ClusterEvents_ECSContainerInstanceStateChange_ECSContainerInstanceStateChangeProps |
Java | software.amazon.awscdk.mixins.preview.services.ecs.events.ClusterEvents.ECSContainerInstanceStateChange.ECSContainerInstanceStateChangeProps |
Python | aws_cdk.mixins_preview.aws_ecs.events.ClusterEvents.ECSContainerInstanceStateChange.ECSContainerInstanceStateChangeProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_ecs ยป events ยป ClusterEvents ยป ECSContainerInstanceStateChange ยป ECSContainerInstanceStateChangeProps |
Props type for Cluster aws.ecs@ECSContainerInstanceStateChange 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 eCSContainerInstanceStateChangeProps: ecs_events.ClusterEvents.ECSContainerInstanceStateChange.ECSContainerInstanceStateChangeProps = {
accountType: ['accountType'],
agentConnected: ['agentConnected'],
agentUpdateStatus: ['agentUpdateStatus'],
attachments: [{
details: [{
name: ['name'],
value: ['value'],
}],
id: ['id'],
status: ['status'],
type: ['type'],
}],
attributes: [{
name: ['name'],
value: ['value'],
}],
clusterArn: ['clusterArn'],
containerInstanceArn: ['containerInstanceArn'],
ec2InstanceId: ['ec2InstanceId'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
pendingTasksCount: ['pendingTasksCount'],
registeredAt: ['registeredAt'],
registeredResources: [{
doubleValue: ['doubleValue'],
integerValue: ['integerValue'],
longValue: ['longValue'],
name: ['name'],
stringSetValue: ['stringSetValue'],
type: ['type'],
}],
remainingResources: [{
doubleValue: ['doubleValue'],
integerValue: ['integerValue'],
longValue: ['longValue'],
name: ['name'],
stringSetValue: ['stringSetValue'],
type: ['type'],
}],
runningTasksCount: ['runningTasksCount'],
status: ['status'],
statusReason: ['statusReason'],
updatedAt: ['updatedAt'],
version: ['version'],
versionInfo: {
agentHash: ['agentHash'],
agentVersion: ['agentVersion'],
dockerVersion: ['dockerVersion'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| account | string[] | accountType property. |
| agent | string[] | agentConnected property. |
| agent | string[] | agentUpdateStatus property. |
| attachments? | Attachment[] | attachments property. |
| attributes? | Attributes[] | attributes property. |
| cluster | string[] | clusterArn property. |
| container | string[] | containerInstanceArn property. |
| ec2 | string[] | ec2InstanceId property. |
| event | AWSEvent | EventBridge event metadata. |
| pending | string[] | pendingTasksCount property. |
| registered | string[] | registeredAt property. |
| registered | Resource[] | registeredResources property. |
| remaining | Resource[] | remainingResources property. |
| running | string[] | runningTasksCount property. |
| status? | string[] | status property. |
| status | string[] | statusReason property. |
| updated | string[] | updatedAt property. |
| version? | string[] | version property. |
| version | Version | versionInfo property. |
accountType?
Type:
string[]
(optional, default: Do not filter on this field)
accountType property.
Specify an array of string values to match this event if the actual value of accountType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
agentConnected?
Type:
string[]
(optional, default: Do not filter on this field)
agentConnected property.
Specify an array of string values to match this event if the actual value of agentConnected is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
agentUpdateStatus?
Type:
string[]
(optional, default: Do not filter on this field)
agentUpdateStatus property.
Specify an array of string values to match this event if the actual value of agentUpdateStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
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.
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.
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.
ec2InstanceId?
Type:
string[]
(optional, default: Do not filter on this field)
ec2InstanceId property.
Specify an array of string values to match this event if the actual value of ec2InstanceId 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.
pendingTasksCount?
Type:
string[]
(optional, default: Do not filter on this field)
pendingTasksCount property.
Specify an array of string values to match this event if the actual value of pendingTasksCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
registeredAt?
Type:
string[]
(optional, default: Do not filter on this field)
registeredAt property.
Specify an array of string values to match this event if the actual value of registeredAt is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
registeredResources?
Type:
Resource[]
(optional, default: Do not filter on this field)
registeredResources property.
Specify an array of string values to match this event if the actual value of registeredResources is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
remainingResources?
Type:
Resource[]
(optional, default: Do not filter on this field)
remainingResources property.
Specify an array of string values to match this event if the actual value of remainingResources is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
runningTasksCount?
Type:
string[]
(optional, default: Do not filter on this field)
runningTasksCount property.
Specify an array of string values to match this event if the actual value of runningTasksCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
status?
Type:
string[]
(optional, default: Do not filter on this field)
status property.
Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
statusReason?
Type:
string[]
(optional, default: Do not filter on this field)
statusReason property.
Specify an array of string values to match this event if the actual value of statusReason 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.
versionInfo?
Type:
Version
(optional, default: Do not filter on this field)
versionInfo property.
Specify an array of string values to match this event if the actual value of versionInfo 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