interface ECSServiceActionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Events.ClusterEvents.ECSServiceAction.ECSServiceActionProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/events#ClusterEvents_ECSServiceAction_ECSServiceActionProps |
Java | software.amazon.awscdk.mixins.preview.services.ecs.events.ClusterEvents.ECSServiceAction.ECSServiceActionProps |
Python | aws_cdk.mixins_preview.aws_ecs.events.ClusterEvents.ECSServiceAction.ECSServiceActionProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_ecs ยป events ยป ClusterEvents ยป ECSServiceAction ยป ECSServiceActionProps |
Props type for Cluster aws.ecs@ECSServiceAction 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 eCSServiceActionProps: ecs_events.ClusterEvents.ECSServiceAction.ECSServiceActionProps = {
capacityProviderArns: ['capacityProviderArns'],
clusterArn: ['clusterArn'],
containerInstanceArns: ['containerInstanceArns'],
containerPort: ['containerPort'],
createdAt: ['createdAt'],
desiredCount: ['desiredCount'],
ec2InstanceIds: ['ec2InstanceIds'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
eventName: ['eventName'],
eventType: ['eventType'],
reason: ['reason'],
serviceRegistryArns: ['serviceRegistryArns'],
targetGroupArns: ['targetGroupArns'],
targets: ['targets'],
taskArns: ['taskArns'],
taskSetArns: ['taskSetArns'],
};
Properties
| Name | Type | Description |
|---|---|---|
| capacity | string[] | capacityProviderArns property. |
| cluster | string[] | clusterArn property. |
| container | string[] | containerInstanceArns property. |
| container | string[] | containerPort property. |
| created | string[] | createdAt property. |
| desired | string[] | desiredCount property. |
| ec2 | string[] | ec2InstanceIds property. |
| event | AWSEvent | EventBridge event metadata. |
| event | string[] | eventName property. |
| event | string[] | eventType property. |
| reason? | string[] | reason property. |
| service | string[] | serviceRegistryArns property. |
| target | string[] | targetGroupArns property. |
| targets? | string[] | targets property. |
| task | string[] | taskArns property. |
| task | string[] | taskSetArns property. |
capacityProviderArns?
Type:
string[]
(optional, default: Do not filter on this field)
capacityProviderArns property.
Specify an array of string values to match this event if the actual value of capacityProviderArns 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.
containerInstanceArns?
Type:
string[]
(optional, default: Do not filter on this field)
containerInstanceArns property.
Specify an array of string values to match this event if the actual value of containerInstanceArns is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
containerPort?
Type:
string[]
(optional, default: Do not filter on this field)
containerPort property.
Specify an array of string values to match this event if the actual value of containerPort 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.
desiredCount?
Type:
string[]
(optional, default: Do not filter on this field)
desiredCount property.
Specify an array of string values to match this event if the actual value of desiredCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
ec2InstanceIds?
Type:
string[]
(optional, default: Do not filter on this field)
ec2InstanceIds property.
Specify an array of string values to match this event if the actual value of ec2InstanceIds 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.
eventName?
Type:
string[]
(optional, default: Do not filter on this field)
eventName property.
Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
eventType?
Type:
string[]
(optional, default: Do not filter on this field)
eventType property.
Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
reason?
Type:
string[]
(optional, default: Do not filter on this field)
reason property.
Specify an array of string values to match this event if the actual value of reason is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
serviceRegistryArns?
Type:
string[]
(optional, default: Do not filter on this field)
serviceRegistryArns property.
Specify an array of string values to match this event if the actual value of serviceRegistryArns is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
targetGroupArns?
Type:
string[]
(optional, default: Do not filter on this field)
targetGroupArns property.
Specify an array of string values to match this event if the actual value of targetGroupArns is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
targets?
Type:
string[]
(optional, default: Do not filter on this field)
targets property.
Specify an array of string values to match this event if the actual value of targets is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
taskArns?
Type:
string[]
(optional, default: Do not filter on this field)
taskArns property.
Specify an array of string values to match this event if the actual value of taskArns is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
taskSetArns?
Type:
string[]
(optional, default: Do not filter on this field)
taskSetArns property.
Specify an array of string values to match this event if the actual value of taskSetArns 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