ECSServiceAction
- class aws_cdk.mixins_preview.aws_ecs.events.ECSServiceAction
Bases:
object(experimental) EventBridge event pattern for aws.ecs@ECSServiceAction.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ecs import events as ecs_events e_cSService_action = ecs_events.ECSServiceAction()
- Stability:
experimental
Static Methods
- classmethod ecs_service_action_pattern(*, capacity_provider_arns=None, cluster_arn=None, container_instance_arns=None, container_port=None, created_at=None, desired_count=None, ec2_instance_ids=None, event_metadata=None, event_name=None, event_type=None, reason=None, service_registry_arns=None, target_group_arns=None, targets=None, task_arns=None, task_set_arns=None)
(experimental) EventBridge event pattern for ECS Service Action.
- Parameters:
capacity_provider_arns (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldcluster_arn (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Filter with the Cluster referencecontainer_instance_arns (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldcontainer_port (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldcreated_at (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielddesired_count (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldec2_instance_ids (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -event_name (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_type (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldreason (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldservice_registry_arns (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtarget_group_arns (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtargets (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtask_arns (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtask_set_arns (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
ECSServiceActionProps
- class ECSServiceAction.ECSServiceActionProps(*, capacity_provider_arns=None, cluster_arn=None, container_instance_arns=None, container_port=None, created_at=None, desired_count=None, ec2_instance_ids=None, event_metadata=None, event_name=None, event_type=None, reason=None, service_registry_arns=None, target_group_arns=None, targets=None, task_arns=None, task_set_arns=None)
Bases:
object(experimental) Props type for aws.ecs@ECSServiceAction event.
- Parameters:
capacity_provider_arns (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldcluster_arn (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Filter with the Cluster referencecontainer_instance_arns (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldcontainer_port (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldcreated_at (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielddesired_count (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldec2_instance_ids (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -event_name (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_type (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldreason (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldservice_registry_arns (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtarget_group_arns (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtargets (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtask_arns (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtask_set_arns (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import AWSEventMetadataProps # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ecs import events as ecs_events e_cSService_action_props = ecs_events.ECSServiceAction.ECSServiceActionProps( capacity_provider_arns=["capacityProviderArns"], cluster_arn=["clusterArn"], container_instance_arns=["containerInstanceArns"], container_port=["containerPort"], created_at=["createdAt"], desired_count=["desiredCount"], ec2_instance_ids=["ec2InstanceIds"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), event_name=["eventName"], event_type=["eventType"], reason=["reason"], service_registry_arns=["serviceRegistryArns"], target_group_arns=["targetGroupArns"], targets=["targets"], task_arns=["taskArns"], task_set_arns=["taskSetArns"] )
Attributes
- capacity_provider_arns
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- cluster_arn
(experimental) 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.Matchfor more advanced matching options.- Default:
Filter with the Cluster reference
- Stability:
experimental
- container_instance_arns
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- container_port
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- created_at
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- desired_count
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- ec2_instance_ids
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- event_name
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_type
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- reason
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- service_registry_arns
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- target_group_arns
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- targets
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- task_arns
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- task_set_arns
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental