ClusterEvents

class aws_cdk.mixins_preview.aws_ecs.events.ClusterEvents(*args: Any, **kwargs)

Bases: object

(experimental) EventBridge event patterns for Cluster.

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
from aws_cdk.interfaces import aws_ecs as interfaces_aws_ecs

# cluster_ref: interfaces_aws_ecs.IClusterRef

cluster_events = ecs_events.ClusterEvents.from_cluster(cluster_ref)

Methods

aws_api_call_via_cloud_trail_pattern(*, aws_region=None, event_id=None, event_metadata=None, event_name=None, event_source=None, event_time=None, event_type=None, event_version=None, request_id=None, request_parameters=None, response_elements=None, source_ip_address=None, user_agent=None, user_identity=None)

(experimental) EventBridge event pattern for Cluster AWS API Call via CloudTrail.

Parameters:
  • aws_region (Optional[Sequence[str]]) – (experimental) awsRegion property. Specify an array of string values to match this event if the actual value of awsRegion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_id (Optional[Sequence[str]]) – (experimental) eventID property. Specify an array of string values to match this event if the actual value of eventID is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_source (Optional[Sequence[str]]) – (experimental) eventSource property. Specify an array of string values to match this event if the actual value of eventSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_time (Optional[Sequence[str]]) – (experimental) eventTime property. Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_version (Optional[Sequence[str]]) – (experimental) eventVersion property. Specify an array of string values to match this event if the actual value of eventVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • request_id (Optional[Sequence[str]]) – (experimental) requestID property. Specify an array of string values to match this event if the actual value of requestID is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • request_parameters (Union[RequestParameters, Dict[str, Any], None]) – (experimental) requestParameters property. Specify an array of string values to match this event if the actual value of requestParameters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • response_elements (Union[ResponseElements, Dict[str, Any], None]) – (experimental) responseElements property. Specify an array of string values to match this event if the actual value of responseElements is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source_ip_address (Optional[Sequence[str]]) – (experimental) sourceIPAddress property. Specify an array of string values to match this event if the actual value of sourceIPAddress is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • user_agent (Optional[Sequence[str]]) – (experimental) userAgent property. Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • user_identity (Union[UserIdentity, Dict[str, Any], None]) – (experimental) userIdentity property. Specify an array of string values to match this event if the actual value of userIdentity is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

e_cs_container_instance_state_change_pattern(*, account_type=None, agent_connected=None, agent_update_status=None, attachments=None, attributes=None, cluster_arn=None, container_instance_arn=None, ec2_instance_id=None, event_metadata=None, pending_tasks_count=None, registered_at=None, registered_resources=None, remaining_resources=None, running_tasks_count=None, status=None, status_reason=None, updated_at=None, version=None, version_info=None)

(experimental) EventBridge event pattern for Cluster ECS Container Instance State Change.

Parameters:
  • account_type (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • agent_connected (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • agent_update_status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • attachments (Optional[Sequence[Union[AttachmentDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • attributes (Optional[Sequence[Union[AttributesDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • cluster_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 the aws_events.Match for more advanced matching options. Default: - Filter with the Cluster reference

  • container_instance_arn (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • ec2_instance_id (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • pending_tasks_count (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • registered_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • registered_resources (Optional[Sequence[Union[ResourceDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • remaining_resources (Optional[Sequence[Union[ResourceDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • running_tasks_count (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • status_reason (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • updated_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • version (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • version_info (Union[VersionInfo, Dict[str, Any], None]) – (experimental) 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. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

e_cs_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 Cluster 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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • cluster_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 the aws_events.Match for more advanced matching options. Default: - Filter with the Cluster reference

  • container_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • container_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • created_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • desired_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • ec2_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • reason (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • service_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • target_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • targets (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • task_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • task_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

e_cs_task_state_change_pattern(*, attachments=None, attributes=None, availability_zone=None, cluster_arn=None, connectivity=None, connectivity_at=None, container_instance_arn=None, containers=None, cpu=None, created_at=None, desired_status=None, event_metadata=None, execution_stopped_at=None, group=None, last_status=None, launch_type=None, memory=None, overrides=None, platform_version=None, pull_started_at=None, pull_stopped_at=None, started_at=None, started_by=None, stop_code=None, stopped_at=None, stopped_reason=None, stopping_at=None, task_arn=None, task_definition_arn=None, updated_at=None, version=None)

(experimental) EventBridge event pattern for Cluster ECS Task State Change.

Parameters:
  • attachments (Optional[Sequence[Union[AttachmentDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • attributes (Optional[Sequence[Union[AttributesDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • availability_zone (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • cluster_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 the aws_events.Match for more advanced matching options. Default: - Filter with the Cluster reference

  • connectivity (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • connectivity_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • container_instance_arn (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • containers (Optional[Sequence[Union[ContainerDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • cpu (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • created_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • desired_status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • execution_stopped_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • group (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • last_status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • launch_type (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • memory (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • overrides (Union[Overrides, Dict[str, Any], None]) – (experimental) 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. Default: - Do not filter on this field

  • platform_version (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • pull_started_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • pull_stopped_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • started_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • started_by (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • stop_code (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • stopped_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • stopped_reason (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • stopping_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • task_arn (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • task_definition_arn (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • updated_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • version (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

Static Methods

classmethod from_cluster(cluster_ref)

(experimental) Create ClusterEvents from a Cluster reference.

Parameters:

cluster_ref (IClusterRef)

Stability:

experimental

Return type:

ClusterEvents

AWSAPICallViaCloudTrail

class ClusterEvents.AWSAPICallViaCloudTrail

Bases: object

(experimental) aws.ecs@AWSAPICallViaCloudTrail event types for Cluster.

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

a_wSAPICall_via_cloud_trail = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail()
Stability:

experimental

AWSAPICallViaCloudTrailProps

class ClusterEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps(*, aws_region=None, event_id=None, event_metadata=None, event_name=None, event_source=None, event_time=None, event_type=None, event_version=None, request_id=None, request_parameters=None, response_elements=None, source_ip_address=None, user_agent=None, user_identity=None)

Bases: object

(experimental) Props type for Cluster aws.ecs@AWSAPICallViaCloudTrail event.

Parameters:
  • aws_region (Optional[Sequence[str]]) – (experimental) awsRegion property. Specify an array of string values to match this event if the actual value of awsRegion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_id (Optional[Sequence[str]]) – (experimental) eventID property. Specify an array of string values to match this event if the actual value of eventID is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_source (Optional[Sequence[str]]) – (experimental) eventSource property. Specify an array of string values to match this event if the actual value of eventSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_time (Optional[Sequence[str]]) – (experimental) eventTime property. Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_version (Optional[Sequence[str]]) – (experimental) eventVersion property. Specify an array of string values to match this event if the actual value of eventVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • request_id (Optional[Sequence[str]]) – (experimental) requestID property. Specify an array of string values to match this event if the actual value of requestID is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • request_parameters (Union[RequestParameters, Dict[str, Any], None]) – (experimental) requestParameters property. Specify an array of string values to match this event if the actual value of requestParameters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • response_elements (Union[ResponseElements, Dict[str, Any], None]) – (experimental) responseElements property. Specify an array of string values to match this event if the actual value of responseElements is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source_ip_address (Optional[Sequence[str]]) – (experimental) sourceIPAddress property. Specify an array of string values to match this event if the actual value of sourceIPAddress is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • user_agent (Optional[Sequence[str]]) – (experimental) userAgent property. Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • user_identity (Union[UserIdentity, Dict[str, Any], None]) – (experimental) userIdentity property. Specify an array of string values to match this event if the actual value of userIdentity is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

# environment: Any
# inference_accelerator_overrides: Any
# network_bindings: Any
# network_interfaces: Any
# resource_requirements: Any
# tags: Any

a_wSAPICall_via_cloud_trail_props = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps(
    aws_region=["awsRegion"],
    event_id=["eventId"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    event_name=["eventName"],
    event_source=["eventSource"],
    event_time=["eventTime"],
    event_type=["eventType"],
    event_version=["eventVersion"],
    request_id=["requestId"],
    request_parameters=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters(
        cluster=["cluster"],
        container_instance=["containerInstance"],
        containers=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.RequestParametersItem1(
            container_name=["containerName"],
            exit_code=["exitCode"],
            network_bindings=[network_bindings],
            status=["status"]
        )],
        count=["count"],
        enable_ecs_managed_tags=["enableEcsManagedTags"],
        execution_stopped_at=["executionStoppedAt"],
        launch_type=["launchType"],
        network_configuration=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.NetworkConfiguration(
            awsvpc_configuration=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration(
                assign_public_ip=["assignPublicIp"],
                subnets=["subnets"]
            )
        ),
        overrides=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Overrides(
            container_overrides=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.OverridesItem(
                command=["command"],
                cpu=["cpu"],
                environment=[environment],
                memory=["memory"],
                name=["name"],
                resource_requirements=[resource_requirements]
            )]
        ),
        placement_constraints=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.RequestParametersItem(
            expression=["expression"],
            type=["type"]
        )],
        pull_started_at=["pullStartedAt"],
        pull_stopped_at=["pullStoppedAt"],
        reason=["reason"],
        started_by=["startedBy"],
        status=["status"],
        task=["task"],
        task_definition=["taskDefinition"]
    ),
    response_elements=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements(
        acknowledgment=["acknowledgment"],
        endpoint=["endpoint"],
        failures=["failures"],
        tasks=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem(
            attachments=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem(
                details=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItemItem(
                    name=["name"],
                    value=["value"]
                )],
                id=["id"],
                status=["status"],
                type=["type"]
            )],
            cluster_arn=["clusterArn"],
            container_instance_arn=["containerInstanceArn"],
            containers=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem1(
                container_arn=["containerArn"],
                cpu=["cpu"],
                image=["image"],
                last_status=["lastStatus"],
                memory=["memory"],
                name=["name"],
                network_interfaces=[network_interfaces],
                task_arn=["taskArn"]
            )],
            cpu=["cpu"],
            created_at=["createdAt"],
            desired_status=["desiredStatus"],
            group=["group"],
            last_status=["lastStatus"],
            launch_type=["launchType"],
            memory=["memory"],
            overrides=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Overrides1(
                container_overrides=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Overrides1Item(
                    command=["command"],
                    cpu=["cpu"],
                    environment=[environment],
                    memory=["memory"],
                    name=["name"],
                    resource_requirements=[resource_requirements]
                )],
                inference_accelerator_overrides=[inference_accelerator_overrides]
            ),
            platform_version=["platformVersion"],
            started_by=["startedBy"],
            tags=[tags],
            task_arn=["taskArn"],
            task_definition_arn=["taskDefinitionArn"],
            version=["version"]
        )],
        telemetry_endpoint=["telemetryEndpoint"]
    ),
    source_ip_address=["sourceIpAddress"],
    user_agent=["userAgent"],
    user_identity=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.UserIdentity(
        access_key_id=["accessKeyId"],
        account_id=["accountId"],
        arn=["arn"],
        invoked_by=["invokedBy"],
        principal_id=["principalId"],
        session_context=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.SessionContext(
            attributes=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Attributes(
                creation_date=["creationDate"],
                mfa_authenticated=["mfaAuthenticated"]
            ),
            session_issuer=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.SessionIssuer(
                account_id=["accountId"],
                arn=["arn"],
                principal_id=["principalId"],
                type=["type"],
                user_name=["userName"]
            ),
            web_id_federation_data=["webIdFederationData"]
        ),
        type=["type"]
    )
)

Attributes

aws_region

(experimental) awsRegion property.

Specify an array of string values to match this event if the actual value of awsRegion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_id

(experimental) eventID property.

Specify an array of string values to match this event if the actual value of eventID is one of the values in the array. Use one of the constructors on the aws_events.Match for 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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_source

(experimental) eventSource property.

Specify an array of string values to match this event if the actual value of eventSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_time

(experimental) eventTime property.

Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on the aws_events.Match for 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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_version

(experimental) eventVersion property.

Specify an array of string values to match this event if the actual value of eventVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

request_id

(experimental) requestID property.

Specify an array of string values to match this event if the actual value of requestID is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

request_parameters

(experimental) requestParameters property.

Specify an array of string values to match this event if the actual value of requestParameters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

response_elements

(experimental) responseElements property.

Specify an array of string values to match this event if the actual value of responseElements is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

source_ip_address

(experimental) sourceIPAddress property.

Specify an array of string values to match this event if the actual value of sourceIPAddress is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

user_agent

(experimental) userAgent property.

Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

user_identity

(experimental) userIdentity property.

Specify an array of string values to match this event if the actual value of userIdentity is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Attributes

class ClusterEvents.AWSAPICallViaCloudTrail.Attributes(*, creation_date=None, mfa_authenticated=None)

Bases: object

(experimental) Type definition for Attributes.

Parameters:
  • creation_date (Optional[Sequence[str]]) – (experimental) creationDate property. Specify an array of string values to match this event if the actual value of creationDate is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • mfa_authenticated (Optional[Sequence[str]]) – (experimental) mfaAuthenticated property. Specify an array of string values to match this event if the actual value of mfaAuthenticated is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

attributes = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Attributes(
    creation_date=["creationDate"],
    mfa_authenticated=["mfaAuthenticated"]
)

Attributes

creation_date

(experimental) creationDate property.

Specify an array of string values to match this event if the actual value of creationDate is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

mfa_authenticated

(experimental) mfaAuthenticated property.

Specify an array of string values to match this event if the actual value of mfaAuthenticated is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

AwsvpcConfiguration

class ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration(*, assign_public_ip=None, subnets=None)

Bases: object

(experimental) Type definition for AwsvpcConfiguration.

Parameters:
  • assign_public_ip (Optional[Sequence[str]]) – (experimental) assignPublicIp property. Specify an array of string values to match this event if the actual value of assignPublicIp is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • subnets (Optional[Sequence[str]]) – (experimental) subnets property. Specify an array of string values to match this event if the actual value of subnets is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

awsvpc_configuration = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration(
    assign_public_ip=["assignPublicIp"],
    subnets=["subnets"]
)

Attributes

assign_public_ip

(experimental) assignPublicIp property.

Specify an array of string values to match this event if the actual value of assignPublicIp is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

subnets

(experimental) subnets property.

Specify an array of string values to match this event if the actual value of subnets is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

NetworkConfiguration

class ClusterEvents.AWSAPICallViaCloudTrail.NetworkConfiguration(*, awsvpc_configuration=None)

Bases: object

(experimental) Type definition for NetworkConfiguration.

Parameters:

awsvpc_configuration (Union[AwsvpcConfiguration, Dict[str, Any], None]) – (experimental) awsvpcConfiguration property. Specify an array of string values to match this event if the actual value of awsvpcConfiguration is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

network_configuration = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.NetworkConfiguration(
    awsvpc_configuration=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration(
        assign_public_ip=["assignPublicIp"],
        subnets=["subnets"]
    )
)

Attributes

awsvpc_configuration

(experimental) awsvpcConfiguration property.

Specify an array of string values to match this event if the actual value of awsvpcConfiguration is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Overrides

class ClusterEvents.AWSAPICallViaCloudTrail.Overrides(*, container_overrides=None)

Bases: object

(experimental) Type definition for Overrides.

Parameters:

container_overrides (Optional[Sequence[Union[OverridesItem, Dict[str, Any]]]]) – (experimental) containerOverrides property. Specify an array of string values to match this event if the actual value of containerOverrides is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

# environment: Any
# resource_requirements: Any

overrides = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Overrides(
    container_overrides=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.OverridesItem(
        command=["command"],
        cpu=["cpu"],
        environment=[environment],
        memory=["memory"],
        name=["name"],
        resource_requirements=[resource_requirements]
    )]
)

Attributes

container_overrides

(experimental) containerOverrides property.

Specify an array of string values to match this event if the actual value of containerOverrides is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Overrides1

class ClusterEvents.AWSAPICallViaCloudTrail.Overrides1(*, container_overrides=None, inference_accelerator_overrides=None)

Bases: object

(experimental) Type definition for Overrides_1.

Parameters:
  • container_overrides (Optional[Sequence[Union[Overrides1Item, Dict[str, Any]]]]) – (experimental) containerOverrides property. Specify an array of string values to match this event if the actual value of containerOverrides is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • inference_accelerator_overrides (Optional[Sequence[Any]]) – (experimental) inferenceAcceleratorOverrides property. Specify an array of string values to match this event if the actual value of inferenceAcceleratorOverrides is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

# environment: Any
# inference_accelerator_overrides: Any
# resource_requirements: Any

overrides1 = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Overrides1(
    container_overrides=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Overrides1Item(
        command=["command"],
        cpu=["cpu"],
        environment=[environment],
        memory=["memory"],
        name=["name"],
        resource_requirements=[resource_requirements]
    )],
    inference_accelerator_overrides=[inference_accelerator_overrides]
)

Attributes

container_overrides

(experimental) containerOverrides property.

Specify an array of string values to match this event if the actual value of containerOverrides is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

inference_accelerator_overrides

(experimental) inferenceAcceleratorOverrides property.

Specify an array of string values to match this event if the actual value of inferenceAcceleratorOverrides is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Overrides1Item

class ClusterEvents.AWSAPICallViaCloudTrail.Overrides1Item(*, command=None, cpu=None, environment=None, memory=None, name=None, resource_requirements=None)

Bases: object

(experimental) Type definition for Overrides_1Item.

Parameters:
  • command (Optional[Sequence[str]]) – (experimental) command property. Specify an array of string values to match this event if the actual value of command is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • cpu (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • environment (Optional[Sequence[Any]]) – (experimental) environment property. Specify an array of string values to match this event if the actual value of environment is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • memory (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • resource_requirements (Optional[Sequence[Any]]) – (experimental) resourceRequirements property. Specify an array of string values to match this event if the actual value of resourceRequirements is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

# environment: Any
# resource_requirements: Any

overrides1_item = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Overrides1Item(
    command=["command"],
    cpu=["cpu"],
    environment=[environment],
    memory=["memory"],
    name=["name"],
    resource_requirements=[resource_requirements]
)

Attributes

command

(experimental) command property.

Specify an array of string values to match this event if the actual value of command is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

cpu

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

environment

(experimental) environment property.

Specify an array of string values to match this event if the actual value of environment is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

memory

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

resource_requirements

(experimental) resourceRequirements property.

Specify an array of string values to match this event if the actual value of resourceRequirements is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

OverridesItem

class ClusterEvents.AWSAPICallViaCloudTrail.OverridesItem(*, command=None, cpu=None, environment=None, memory=None, name=None, resource_requirements=None)

Bases: object

(experimental) Type definition for OverridesItem.

Parameters:
  • command (Optional[Sequence[str]]) – (experimental) command property. Specify an array of string values to match this event if the actual value of command is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • cpu (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • environment (Optional[Sequence[Any]]) – (experimental) environment property. Specify an array of string values to match this event if the actual value of environment is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • memory (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • resource_requirements (Optional[Sequence[Any]]) – (experimental) resourceRequirements property. Specify an array of string values to match this event if the actual value of resourceRequirements is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

# environment: Any
# resource_requirements: Any

overrides_item = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.OverridesItem(
    command=["command"],
    cpu=["cpu"],
    environment=[environment],
    memory=["memory"],
    name=["name"],
    resource_requirements=[resource_requirements]
)

Attributes

command

(experimental) command property.

Specify an array of string values to match this event if the actual value of command is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

cpu

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

environment

(experimental) environment property.

Specify an array of string values to match this event if the actual value of environment is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

memory

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

resource_requirements

(experimental) resourceRequirements property.

Specify an array of string values to match this event if the actual value of resourceRequirements is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

RequestParameters

class ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters(*, cluster=None, container_instance=None, containers=None, count=None, enable_ecs_managed_tags=None, execution_stopped_at=None, launch_type=None, network_configuration=None, overrides=None, placement_constraints=None, pull_started_at=None, pull_stopped_at=None, reason=None, started_by=None, status=None, task=None, task_definition=None)

Bases: object

(experimental) Type definition for RequestParameters.

Parameters:
  • cluster (Optional[Sequence[str]]) – (experimental) cluster property. Specify an array of string values to match this event if the actual value of cluster is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • container_instance (Optional[Sequence[str]]) – (experimental) containerInstance property. Specify an array of string values to match this event if the actual value of containerInstance is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • containers (Optional[Sequence[Union[RequestParametersItem1, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • count (Optional[Sequence[str]]) – (experimental) count property. Specify an array of string values to match this event if the actual value of count is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • enable_ecs_managed_tags (Optional[Sequence[str]]) – (experimental) enableECSManagedTags property. Specify an array of string values to match this event if the actual value of enableECSManagedTags is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • execution_stopped_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • launch_type (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • network_configuration (Union[NetworkConfiguration, Dict[str, Any], None]) – (experimental) networkConfiguration property. Specify an array of string values to match this event if the actual value of networkConfiguration is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • overrides (Union[Overrides, Dict[str, Any], None]) – (experimental) 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. Default: - Do not filter on this field

  • placement_constraints (Optional[Sequence[Union[RequestParametersItem, Dict[str, Any]]]]) – (experimental) placementConstraints property. Specify an array of string values to match this event if the actual value of placementConstraints is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • pull_started_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • pull_stopped_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • reason (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • started_by (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • task (Optional[Sequence[str]]) – (experimental) task property. Specify an array of string values to match this event if the actual value of task is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • task_definition (Optional[Sequence[str]]) – (experimental) taskDefinition property. Specify an array of string values to match this event if the actual value of taskDefinition is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

# environment: Any
# network_bindings: Any
# resource_requirements: Any

request_parameters = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters(
    cluster=["cluster"],
    container_instance=["containerInstance"],
    containers=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.RequestParametersItem1(
        container_name=["containerName"],
        exit_code=["exitCode"],
        network_bindings=[network_bindings],
        status=["status"]
    )],
    count=["count"],
    enable_ecs_managed_tags=["enableEcsManagedTags"],
    execution_stopped_at=["executionStoppedAt"],
    launch_type=["launchType"],
    network_configuration=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.NetworkConfiguration(
        awsvpc_configuration=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration(
            assign_public_ip=["assignPublicIp"],
            subnets=["subnets"]
        )
    ),
    overrides=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Overrides(
        container_overrides=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.OverridesItem(
            command=["command"],
            cpu=["cpu"],
            environment=[environment],
            memory=["memory"],
            name=["name"],
            resource_requirements=[resource_requirements]
        )]
    ),
    placement_constraints=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.RequestParametersItem(
        expression=["expression"],
        type=["type"]
    )],
    pull_started_at=["pullStartedAt"],
    pull_stopped_at=["pullStoppedAt"],
    reason=["reason"],
    started_by=["startedBy"],
    status=["status"],
    task=["task"],
    task_definition=["taskDefinition"]
)

Attributes

cluster

(experimental) cluster property.

Specify an array of string values to match this event if the actual value of cluster is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

container_instance

(experimental) containerInstance property.

Specify an array of string values to match this event if the actual value of containerInstance is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

containers

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

count

(experimental) count property.

Specify an array of string values to match this event if the actual value of count is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

enable_ecs_managed_tags

(experimental) enableECSManagedTags property.

Specify an array of string values to match this event if the actual value of enableECSManagedTags is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

execution_stopped_at

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

launch_type

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

network_configuration

(experimental) networkConfiguration property.

Specify an array of string values to match this event if the actual value of networkConfiguration is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

overrides

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

placement_constraints

(experimental) placementConstraints property.

Specify an array of string values to match this event if the actual value of placementConstraints is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

pull_started_at

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

pull_stopped_at

(experimental) 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.

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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

started_by

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

status

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

task

(experimental) task property.

Specify an array of string values to match this event if the actual value of task is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

task_definition

(experimental) taskDefinition property.

Specify an array of string values to match this event if the actual value of taskDefinition is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

RequestParametersItem

class ClusterEvents.AWSAPICallViaCloudTrail.RequestParametersItem(*, expression=None, type=None)

Bases: object

(experimental) Type definition for RequestParametersItem.

Parameters:
  • expression (Optional[Sequence[str]]) – (experimental) expression property. Specify an array of string values to match this event if the actual value of expression is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

request_parameters_item = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.RequestParametersItem(
    expression=["expression"],
    type=["type"]
)

Attributes

expression

(experimental) expression property.

Specify an array of string values to match this event if the actual value of expression is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

RequestParametersItem1

class ClusterEvents.AWSAPICallViaCloudTrail.RequestParametersItem1(*, container_name=None, exit_code=None, network_bindings=None, status=None)

Bases: object

(experimental) Type definition for RequestParametersItem_1.

Parameters:
  • container_name (Optional[Sequence[str]]) – (experimental) containerName property. Specify an array of string values to match this event if the actual value of containerName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • exit_code (Optional[Sequence[str]]) – (experimental) exitCode property. Specify an array of string values to match this event if the actual value of exitCode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • network_bindings (Optional[Sequence[Any]]) – (experimental) networkBindings property. Specify an array of string values to match this event if the actual value of networkBindings is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

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

# network_bindings: Any

request_parameters_item1 = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.RequestParametersItem1(
    container_name=["containerName"],
    exit_code=["exitCode"],
    network_bindings=[network_bindings],
    status=["status"]
)

Attributes

container_name

(experimental) containerName property.

Specify an array of string values to match this event if the actual value of containerName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

exit_code

(experimental) exitCode property.

Specify an array of string values to match this event if the actual value of exitCode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

network_bindings

(experimental) networkBindings property.

Specify an array of string values to match this event if the actual value of networkBindings is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

status

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

ResponseElements

class ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements(*, acknowledgment=None, endpoint=None, failures=None, tasks=None, telemetry_endpoint=None)

Bases: object

(experimental) Type definition for ResponseElements.

Parameters:
  • acknowledgment (Optional[Sequence[str]]) – (experimental) acknowledgment property. Specify an array of string values to match this event if the actual value of acknowledgment is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • endpoint (Optional[Sequence[str]]) – (experimental) endpoint property. Specify an array of string values to match this event if the actual value of endpoint is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • failures (Optional[Sequence[str]]) – (experimental) failures property. Specify an array of string values to match this event if the actual value of failures is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • tasks (Optional[Sequence[Union[ResponseElementsItem, Dict[str, Any]]]]) – (experimental) tasks property. Specify an array of string values to match this event if the actual value of tasks is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • telemetry_endpoint (Optional[Sequence[str]]) – (experimental) telemetryEndpoint property. Specify an array of string values to match this event if the actual value of telemetryEndpoint is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

# environment: Any
# inference_accelerator_overrides: Any
# network_interfaces: Any
# resource_requirements: Any
# tags: Any

response_elements = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements(
    acknowledgment=["acknowledgment"],
    endpoint=["endpoint"],
    failures=["failures"],
    tasks=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem(
        attachments=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem(
            details=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItemItem(
                name=["name"],
                value=["value"]
            )],
            id=["id"],
            status=["status"],
            type=["type"]
        )],
        cluster_arn=["clusterArn"],
        container_instance_arn=["containerInstanceArn"],
        containers=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem1(
            container_arn=["containerArn"],
            cpu=["cpu"],
            image=["image"],
            last_status=["lastStatus"],
            memory=["memory"],
            name=["name"],
            network_interfaces=[network_interfaces],
            task_arn=["taskArn"]
        )],
        cpu=["cpu"],
        created_at=["createdAt"],
        desired_status=["desiredStatus"],
        group=["group"],
        last_status=["lastStatus"],
        launch_type=["launchType"],
        memory=["memory"],
        overrides=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Overrides1(
            container_overrides=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Overrides1Item(
                command=["command"],
                cpu=["cpu"],
                environment=[environment],
                memory=["memory"],
                name=["name"],
                resource_requirements=[resource_requirements]
            )],
            inference_accelerator_overrides=[inference_accelerator_overrides]
        ),
        platform_version=["platformVersion"],
        started_by=["startedBy"],
        tags=[tags],
        task_arn=["taskArn"],
        task_definition_arn=["taskDefinitionArn"],
        version=["version"]
    )],
    telemetry_endpoint=["telemetryEndpoint"]
)

Attributes

acknowledgment

(experimental) acknowledgment property.

Specify an array of string values to match this event if the actual value of acknowledgment is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

endpoint

(experimental) endpoint property.

Specify an array of string values to match this event if the actual value of endpoint is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

failures

(experimental) failures property.

Specify an array of string values to match this event if the actual value of failures is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

tasks

(experimental) tasks property.

Specify an array of string values to match this event if the actual value of tasks is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

telemetry_endpoint

(experimental) telemetryEndpoint property.

Specify an array of string values to match this event if the actual value of telemetryEndpoint is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ResponseElementsItem

class ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem(*, attachments=None, cluster_arn=None, container_instance_arn=None, containers=None, cpu=None, created_at=None, desired_status=None, group=None, last_status=None, launch_type=None, memory=None, overrides=None, platform_version=None, started_by=None, tags=None, task_arn=None, task_definition_arn=None, version=None)

Bases: object

(experimental) Type definition for ResponseElementsItem.

Parameters:
  • attachments (Optional[Sequence[Union[ResponseElementsItemItem, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • cluster_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 the aws_events.Match for more advanced matching options. Default: - Filter with the Cluster reference

  • container_instance_arn (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • containers (Optional[Sequence[Union[ResponseElementsItemItem1, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • cpu (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • created_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • desired_status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • group (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • last_status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • launch_type (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • memory (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • overrides (Union[Overrides1, Dict[str, Any], None]) – (experimental) 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. Default: - Do not filter on this field

  • platform_version (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • started_by (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • tags (Optional[Sequence[Any]]) – (experimental) tags property. Specify an array of string values to match this event if the actual value of tags is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • task_arn (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • task_definition_arn (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • version (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

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

# environment: Any
# inference_accelerator_overrides: Any
# network_interfaces: Any
# resource_requirements: Any
# tags: Any

response_elements_item = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem(
    attachments=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem(
        details=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItemItem(
            name=["name"],
            value=["value"]
        )],
        id=["id"],
        status=["status"],
        type=["type"]
    )],
    cluster_arn=["clusterArn"],
    container_instance_arn=["containerInstanceArn"],
    containers=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem1(
        container_arn=["containerArn"],
        cpu=["cpu"],
        image=["image"],
        last_status=["lastStatus"],
        memory=["memory"],
        name=["name"],
        network_interfaces=[network_interfaces],
        task_arn=["taskArn"]
    )],
    cpu=["cpu"],
    created_at=["createdAt"],
    desired_status=["desiredStatus"],
    group=["group"],
    last_status=["lastStatus"],
    launch_type=["launchType"],
    memory=["memory"],
    overrides=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Overrides1(
        container_overrides=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Overrides1Item(
            command=["command"],
            cpu=["cpu"],
            environment=[environment],
            memory=["memory"],
            name=["name"],
            resource_requirements=[resource_requirements]
        )],
        inference_accelerator_overrides=[inference_accelerator_overrides]
    ),
    platform_version=["platformVersion"],
    started_by=["startedBy"],
    tags=[tags],
    task_arn=["taskArn"],
    task_definition_arn=["taskDefinitionArn"],
    version=["version"]
)

Attributes

attachments

(experimental) 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.

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.Match for more advanced matching options.

Default:
  • Filter with the Cluster reference

Stability:

experimental

container_instance_arn

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

containers

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

cpu

(experimental) 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.

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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

desired_status

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

group

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

last_status

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

launch_type

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

memory

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

overrides

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

platform_version

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

started_by

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

tags

(experimental) tags property.

Specify an array of string values to match this event if the actual value of tags is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

task_arn

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

task_definition_arn

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

version

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

ResponseElementsItemItem

class ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem(*, details=None, id=None, status=None, type=None)

Bases: object

(experimental) Type definition for ResponseElementsItemItem.

Parameters:
  • details (Optional[Sequence[Union[ResponseElementsItemItemItem, Dict[str, Any]]]]) – (experimental) details property. Specify an array of string values to match this event if the actual value of details is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • id (Optional[Sequence[str]]) – (experimental) id property. Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

response_elements_item_item = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem(
    details=[ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItemItem(
        name=["name"],
        value=["value"]
    )],
    id=["id"],
    status=["status"],
    type=["type"]
)

Attributes

details

(experimental) details property.

Specify an array of string values to match this event if the actual value of details is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

id

(experimental) id property.

Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

status

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ResponseElementsItemItem1

class ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem1(*, container_arn=None, cpu=None, image=None, last_status=None, memory=None, name=None, network_interfaces=None, task_arn=None)

Bases: object

(experimental) Type definition for ResponseElementsItemItem_1.

Parameters:
  • container_arn (Optional[Sequence[str]]) – (experimental) containerArn property. Specify an array of string values to match this event if the actual value of containerArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • cpu (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • image (Optional[Sequence[str]]) – (experimental) image property. Specify an array of string values to match this event if the actual value of image is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • last_status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • memory (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • network_interfaces (Optional[Sequence[Any]]) – (experimental) networkInterfaces property. Specify an array of string values to match this event if the actual value of networkInterfaces is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • task_arn (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

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

# network_interfaces: Any

response_elements_item_item1 = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem1(
    container_arn=["containerArn"],
    cpu=["cpu"],
    image=["image"],
    last_status=["lastStatus"],
    memory=["memory"],
    name=["name"],
    network_interfaces=[network_interfaces],
    task_arn=["taskArn"]
)

Attributes

container_arn

(experimental) containerArn property.

Specify an array of string values to match this event if the actual value of containerArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

cpu

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

image

(experimental) image property.

Specify an array of string values to match this event if the actual value of image is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

last_status

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

memory

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

network_interfaces

(experimental) networkInterfaces property.

Specify an array of string values to match this event if the actual value of networkInterfaces is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

task_arn

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

ResponseElementsItemItemItem

class ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItemItem(*, name=None, value=None)

Bases: object

(experimental) Type definition for ResponseElementsItemItemItem.

Parameters:
  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

response_elements_item_item_item = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItemItem(
    name=["name"],
    value=["value"]
)

Attributes

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

SessionContext

class ClusterEvents.AWSAPICallViaCloudTrail.SessionContext(*, attributes=None, session_issuer=None, web_id_federation_data=None)

Bases: object

(experimental) Type definition for SessionContext.

Parameters:
  • attributes (Union[Attributes, Dict[str, Any], None]) – (experimental) 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. Default: - Do not filter on this field

  • session_issuer (Union[SessionIssuer, Dict[str, Any], None]) – (experimental) sessionIssuer property. Specify an array of string values to match this event if the actual value of sessionIssuer is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • web_id_federation_data (Optional[Sequence[str]]) – (experimental) webIdFederationData property. Specify an array of string values to match this event if the actual value of webIdFederationData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

session_context = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.SessionContext(
    attributes=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Attributes(
        creation_date=["creationDate"],
        mfa_authenticated=["mfaAuthenticated"]
    ),
    session_issuer=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.SessionIssuer(
        account_id=["accountId"],
        arn=["arn"],
        principal_id=["principalId"],
        type=["type"],
        user_name=["userName"]
    ),
    web_id_federation_data=["webIdFederationData"]
)

Attributes

attributes

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

session_issuer

(experimental) sessionIssuer property.

Specify an array of string values to match this event if the actual value of sessionIssuer is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

web_id_federation_data

(experimental) webIdFederationData property.

Specify an array of string values to match this event if the actual value of webIdFederationData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

SessionIssuer

class ClusterEvents.AWSAPICallViaCloudTrail.SessionIssuer(*, account_id=None, arn=None, principal_id=None, type=None, user_name=None)

Bases: object

(experimental) Type definition for SessionIssuer.

Parameters:
  • account_id (Optional[Sequence[str]]) – (experimental) accountId property. Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • arn (Optional[Sequence[str]]) – (experimental) arn property. Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • principal_id (Optional[Sequence[str]]) – (experimental) principalId property. Specify an array of string values to match this event if the actual value of principalId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • user_name (Optional[Sequence[str]]) – (experimental) userName property. Specify an array of string values to match this event if the actual value of userName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

session_issuer = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.SessionIssuer(
    account_id=["accountId"],
    arn=["arn"],
    principal_id=["principalId"],
    type=["type"],
    user_name=["userName"]
)

Attributes

account_id

(experimental) accountId property.

Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

arn

(experimental) arn property.

Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

principal_id

(experimental) principalId property.

Specify an array of string values to match this event if the actual value of principalId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

user_name

(experimental) userName property.

Specify an array of string values to match this event if the actual value of userName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

UserIdentity

class ClusterEvents.AWSAPICallViaCloudTrail.UserIdentity(*, access_key_id=None, account_id=None, arn=None, invoked_by=None, principal_id=None, session_context=None, type=None)

Bases: object

(experimental) Type definition for UserIdentity.

Parameters:
  • access_key_id (Optional[Sequence[str]]) – (experimental) accessKeyId property. Specify an array of string values to match this event if the actual value of accessKeyId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • account_id (Optional[Sequence[str]]) – (experimental) accountId property. Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • arn (Optional[Sequence[str]]) – (experimental) arn property. Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • invoked_by (Optional[Sequence[str]]) – (experimental) invokedBy property. Specify an array of string values to match this event if the actual value of invokedBy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • principal_id (Optional[Sequence[str]]) – (experimental) principalId property. Specify an array of string values to match this event if the actual value of principalId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • session_context (Union[SessionContext, Dict[str, Any], None]) – (experimental) sessionContext property. Specify an array of string values to match this event if the actual value of sessionContext is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

user_identity = ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.UserIdentity(
    access_key_id=["accessKeyId"],
    account_id=["accountId"],
    arn=["arn"],
    invoked_by=["invokedBy"],
    principal_id=["principalId"],
    session_context=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.SessionContext(
        attributes=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.Attributes(
            creation_date=["creationDate"],
            mfa_authenticated=["mfaAuthenticated"]
        ),
        session_issuer=ecs_events.ClusterEvents.AWSAPICallViaCloudTrail.SessionIssuer(
            account_id=["accountId"],
            arn=["arn"],
            principal_id=["principalId"],
            type=["type"],
            user_name=["userName"]
        ),
        web_id_federation_data=["webIdFederationData"]
    ),
    type=["type"]
)

Attributes

access_key_id

(experimental) accessKeyId property.

Specify an array of string values to match this event if the actual value of accessKeyId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

account_id

(experimental) accountId property.

Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

arn

(experimental) arn property.

Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

invoked_by

(experimental) invokedBy property.

Specify an array of string values to match this event if the actual value of invokedBy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

principal_id

(experimental) principalId property.

Specify an array of string values to match this event if the actual value of principalId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

session_context

(experimental) sessionContext property.

Specify an array of string values to match this event if the actual value of sessionContext is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ECSContainerInstanceStateChange

class ClusterEvents.ECSContainerInstanceStateChange

Bases: object

(experimental) aws.ecs@ECSContainerInstanceStateChange event types for Cluster.

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_cSContainer_instance_state_change = ecs_events.ClusterEvents.ECSContainerInstanceStateChange()
Stability:

experimental

AttachmentDetails

class ClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails(*, details=None, id=None, status=None, type=None)

Bases: object

(experimental) Type definition for AttachmentDetails.

Parameters:
  • details (Optional[Sequence[Union[DetailsItems, Dict[str, Any]]]]) – (experimental) details property. Specify an array of string values to match this event if the actual value of details is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • id (Optional[Sequence[str]]) – (experimental) id property. Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

attachment_details = ecs_events.ClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails(
    details=[ecs_events.ClusterEvents.ECSContainerInstanceStateChange.DetailsItems(
        name=["name"],
        value=["value"]
    )],
    id=["id"],
    status=["status"],
    type=["type"]
)

Attributes

details

(experimental) details property.

Specify an array of string values to match this event if the actual value of details is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

id

(experimental) id property.

Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

status

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

AttributesDetails

class ClusterEvents.ECSContainerInstanceStateChange.AttributesDetails(*, name=None, value=None)

Bases: object

(experimental) Type definition for AttributesDetails.

Parameters:
  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

attributes_details = ecs_events.ClusterEvents.ECSContainerInstanceStateChange.AttributesDetails(
    name=["name"],
    value=["value"]
)

Attributes

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

DetailsItems

class ClusterEvents.ECSContainerInstanceStateChange.DetailsItems(*, name=None, value=None)

Bases: object

(experimental) Type definition for detailsItems.

Parameters:
  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

details_items = ecs_events.ClusterEvents.ECSContainerInstanceStateChange.DetailsItems(
    name=["name"],
    value=["value"]
)

Attributes

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ECSContainerInstanceStateChangeProps

class ClusterEvents.ECSContainerInstanceStateChange.ECSContainerInstanceStateChangeProps(*, account_type=None, agent_connected=None, agent_update_status=None, attachments=None, attributes=None, cluster_arn=None, container_instance_arn=None, ec2_instance_id=None, event_metadata=None, pending_tasks_count=None, registered_at=None, registered_resources=None, remaining_resources=None, running_tasks_count=None, status=None, status_reason=None, updated_at=None, version=None, version_info=None)

Bases: object

(experimental) Props type for Cluster aws.ecs@ECSContainerInstanceStateChange event.

Parameters:
  • account_type (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • agent_connected (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • agent_update_status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • attachments (Optional[Sequence[Union[AttachmentDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • attributes (Optional[Sequence[Union[AttributesDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • cluster_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 the aws_events.Match for more advanced matching options. Default: - Filter with the Cluster reference

  • container_instance_arn (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • ec2_instance_id (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • pending_tasks_count (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • registered_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • registered_resources (Optional[Sequence[Union[ResourceDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • remaining_resources (Optional[Sequence[Union[ResourceDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • running_tasks_count (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • status_reason (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • updated_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • version (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • version_info (Union[VersionInfo, Dict[str, Any], None]) – (experimental) 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. Default: - Do not filter on this field

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_cSContainer_instance_state_change_props = ecs_events.ClusterEvents.ECSContainerInstanceStateChange.ECSContainerInstanceStateChangeProps(
    account_type=["accountType"],
    agent_connected=["agentConnected"],
    agent_update_status=["agentUpdateStatus"],
    attachments=[ecs_events.ClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails(
        details=[ecs_events.ClusterEvents.ECSContainerInstanceStateChange.DetailsItems(
            name=["name"],
            value=["value"]
        )],
        id=["id"],
        status=["status"],
        type=["type"]
    )],
    attributes=[ecs_events.ClusterEvents.ECSContainerInstanceStateChange.AttributesDetails(
        name=["name"],
        value=["value"]
    )],
    cluster_arn=["clusterArn"],
    container_instance_arn=["containerInstanceArn"],
    ec2_instance_id=["ec2InstanceId"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    pending_tasks_count=["pendingTasksCount"],
    registered_at=["registeredAt"],
    registered_resources=[ecs_events.ClusterEvents.ECSContainerInstanceStateChange.ResourceDetails(
        double_value=["doubleValue"],
        integer_value=["integerValue"],
        long_value=["longValue"],
        name=["name"],
        string_set_value=["stringSetValue"],
        type=["type"]
    )],
    remaining_resources=[ecs_events.ClusterEvents.ECSContainerInstanceStateChange.ResourceDetails(
        double_value=["doubleValue"],
        integer_value=["integerValue"],
        long_value=["longValue"],
        name=["name"],
        string_set_value=["stringSetValue"],
        type=["type"]
    )],
    running_tasks_count=["runningTasksCount"],
    status=["status"],
    status_reason=["statusReason"],
    updated_at=["updatedAt"],
    version=["version"],
    version_info=ecs_events.ClusterEvents.ECSContainerInstanceStateChange.VersionInfo(
        agent_hash=["agentHash"],
        agent_version=["agentVersion"],
        docker_version=["dockerVersion"]
    )
)

Attributes

account_type

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

agent_connected

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

agent_update_status

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

attachments

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

attributes

(experimental) 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.

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.Match for more advanced matching options.

Default:
  • Filter with the Cluster reference

Stability:

experimental

container_instance_arn

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

ec2_instance_id

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

pending_tasks_count

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

registered_at

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

registered_resources

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

remaining_resources

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

running_tasks_count

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

status

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

status_reason

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

updated_at

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

version

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

version_info

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

ResourceDetails

class ClusterEvents.ECSContainerInstanceStateChange.ResourceDetails(*, double_value=None, integer_value=None, long_value=None, name=None, string_set_value=None, type=None)

Bases: object

(experimental) Type definition for ResourceDetails.

Parameters:
  • double_value (Optional[Sequence[str]]) – (experimental) doubleValue property. Specify an array of string values to match this event if the actual value of doubleValue is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • integer_value (Optional[Sequence[str]]) – (experimental) integerValue property. Specify an array of string values to match this event if the actual value of integerValue is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • long_value (Optional[Sequence[str]]) – (experimental) longValue property. Specify an array of string values to match this event if the actual value of longValue is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • string_set_value (Optional[Sequence[str]]) – (experimental) stringSetValue property. Specify an array of string values to match this event if the actual value of stringSetValue is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

resource_details = ecs_events.ClusterEvents.ECSContainerInstanceStateChange.ResourceDetails(
    double_value=["doubleValue"],
    integer_value=["integerValue"],
    long_value=["longValue"],
    name=["name"],
    string_set_value=["stringSetValue"],
    type=["type"]
)

Attributes

double_value

(experimental) doubleValue property.

Specify an array of string values to match this event if the actual value of doubleValue is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

integer_value

(experimental) integerValue property.

Specify an array of string values to match this event if the actual value of integerValue is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

long_value

(experimental) longValue property.

Specify an array of string values to match this event if the actual value of longValue is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

string_set_value

(experimental) stringSetValue property.

Specify an array of string values to match this event if the actual value of stringSetValue is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

VersionInfo

class ClusterEvents.ECSContainerInstanceStateChange.VersionInfo(*, agent_hash=None, agent_version=None, docker_version=None)

Bases: object

(experimental) Type definition for VersionInfo.

Parameters:
  • agent_hash (Optional[Sequence[str]]) – (experimental) agentHash property. Specify an array of string values to match this event if the actual value of agentHash is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • agent_version (Optional[Sequence[str]]) – (experimental) agentVersion property. Specify an array of string values to match this event if the actual value of agentVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • docker_version (Optional[Sequence[str]]) – (experimental) dockerVersion property. Specify an array of string values to match this event if the actual value of dockerVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

version_info = ecs_events.ClusterEvents.ECSContainerInstanceStateChange.VersionInfo(
    agent_hash=["agentHash"],
    agent_version=["agentVersion"],
    docker_version=["dockerVersion"]
)

Attributes

agent_hash

(experimental) agentHash property.

Specify an array of string values to match this event if the actual value of agentHash is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

agent_version

(experimental) agentVersion property.

Specify an array of string values to match this event if the actual value of agentVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

docker_version

(experimental) dockerVersion property.

Specify an array of string values to match this event if the actual value of dockerVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ECSServiceAction

class ClusterEvents.ECSServiceAction

Bases: object

(experimental) aws.ecs@ECSServiceAction event types for Cluster.

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.ClusterEvents.ECSServiceAction()
Stability:

experimental

ECSServiceActionProps

class ClusterEvents.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 Cluster 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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • cluster_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 the aws_events.Match for more advanced matching options. Default: - Filter with the Cluster reference

  • container_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • container_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • created_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • desired_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • ec2_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • reason (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • service_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • target_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • targets (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • task_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • task_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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_props = ecs_events.ClusterEvents.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.Match for 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.Match for 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.Match for 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.Match for 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.Match for 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.Match for 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.Match for 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.Match for 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.Match for 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.Match for 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.Match for 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.Match for 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.Match for 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.Match for 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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ECSTaskStateChange

class ClusterEvents.ECSTaskStateChange

Bases: object

(experimental) aws.ecs@ECSTaskStateChange event types for Cluster.

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_cSTask_state_change = ecs_events.ClusterEvents.ECSTaskStateChange()
Stability:

experimental

AttachmentDetails

class ClusterEvents.ECSTaskStateChange.AttachmentDetails(*, details=None, id=None, status=None, type=None)

Bases: object

(experimental) Type definition for AttachmentDetails.

Parameters:
  • details (Union[Details, Dict[str, Any], None]) – (experimental) details property. Specify an array of string values to match this event if the actual value of details is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • id (Optional[Sequence[str]]) – (experimental) id property. Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

attachment_details = ecs_events.ClusterEvents.ECSTaskStateChange.AttachmentDetails(
    details=ecs_events.ClusterEvents.ECSTaskStateChange.Details(
        name=["name"],
        value=["value"]
    ),
    id=["id"],
    status=["status"],
    type=["type"]
)

Attributes

details

(experimental) details property.

Specify an array of string values to match this event if the actual value of details is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

id

(experimental) id property.

Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

status

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

AttributesDetails

class ClusterEvents.ECSTaskStateChange.AttributesDetails(*, name=None, value=None)

Bases: object

(experimental) Type definition for AttributesDetails.

Parameters:
  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

attributes_details = ecs_events.ClusterEvents.ECSTaskStateChange.AttributesDetails(
    name=["name"],
    value=["value"]
)

Attributes

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ContainerDetails

class ClusterEvents.ECSTaskStateChange.ContainerDetails(*, container_arn=None, cpu=None, exit_code=None, gpu_ids=None, image=None, image_digest=None, last_status=None, memory=None, memory_reservation=None, name=None, network_bindings=None, network_interfaces=None, reason=None, runtime_id=None, task_arn=None)

Bases: object

(experimental) Type definition for ContainerDetails.

Parameters:
  • container_arn (Optional[Sequence[str]]) – (experimental) containerArn property. Specify an array of string values to match this event if the actual value of containerArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • cpu (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • exit_code (Optional[Sequence[str]]) – (experimental) exitCode property. Specify an array of string values to match this event if the actual value of exitCode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • gpu_ids (Optional[Sequence[str]]) – (experimental) gpuIds property. Specify an array of string values to match this event if the actual value of gpuIds is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • image (Optional[Sequence[str]]) – (experimental) image property. Specify an array of string values to match this event if the actual value of image is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • image_digest (Optional[Sequence[str]]) – (experimental) imageDigest property. Specify an array of string values to match this event if the actual value of imageDigest is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • last_status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • memory (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • memory_reservation (Optional[Sequence[str]]) – (experimental) memoryReservation property. Specify an array of string values to match this event if the actual value of memoryReservation is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • network_bindings (Optional[Sequence[Union[NetworkBindingDetails, Dict[str, Any]]]]) – (experimental) networkBindings property. Specify an array of string values to match this event if the actual value of networkBindings is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • network_interfaces (Optional[Sequence[Union[NetworkInterfaceDetails, Dict[str, Any]]]]) – (experimental) networkInterfaces property. Specify an array of string values to match this event if the actual value of networkInterfaces is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • reason (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • runtime_id (Optional[Sequence[str]]) – (experimental) runtimeId property. Specify an array of string values to match this event if the actual value of runtimeId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • task_arn (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

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

container_details = ecs_events.ClusterEvents.ECSTaskStateChange.ContainerDetails(
    container_arn=["containerArn"],
    cpu=["cpu"],
    exit_code=["exitCode"],
    gpu_ids=["gpuIds"],
    image=["image"],
    image_digest=["imageDigest"],
    last_status=["lastStatus"],
    memory=["memory"],
    memory_reservation=["memoryReservation"],
    name=["name"],
    network_bindings=[ecs_events.ClusterEvents.ECSTaskStateChange.NetworkBindingDetails(
        bind_ip=["bindIp"],
        container_port=["containerPort"],
        host_port=["hostPort"],
        protocol=["protocol"]
    )],
    network_interfaces=[ecs_events.ClusterEvents.ECSTaskStateChange.NetworkInterfaceDetails(
        attachment_id=["attachmentId"],
        ipv6_address=["ipv6Address"],
        private_ipv4_address=["privateIpv4Address"]
    )],
    reason=["reason"],
    runtime_id=["runtimeId"],
    task_arn=["taskArn"]
)

Attributes

container_arn

(experimental) containerArn property.

Specify an array of string values to match this event if the actual value of containerArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

cpu

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

exit_code

(experimental) exitCode property.

Specify an array of string values to match this event if the actual value of exitCode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

gpu_ids

(experimental) gpuIds property.

Specify an array of string values to match this event if the actual value of gpuIds is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

image

(experimental) image property.

Specify an array of string values to match this event if the actual value of image is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

image_digest

(experimental) imageDigest property.

Specify an array of string values to match this event if the actual value of imageDigest is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

last_status

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

memory

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

memory_reservation

(experimental) memoryReservation property.

Specify an array of string values to match this event if the actual value of memoryReservation is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

network_bindings

(experimental) networkBindings property.

Specify an array of string values to match this event if the actual value of networkBindings is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

network_interfaces

(experimental) networkInterfaces property.

Specify an array of string values to match this event if the actual value of networkInterfaces is one of the values in the array. Use one of the constructors on the aws_events.Match for 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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

runtime_id

(experimental) runtimeId property.

Specify an array of string values to match this event if the actual value of runtimeId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

task_arn

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

Details

class ClusterEvents.ECSTaskStateChange.Details(*, name=None, value=None)

Bases: object

(experimental) Type definition for details.

Parameters:
  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

details = ecs_events.ClusterEvents.ECSTaskStateChange.Details(
    name=["name"],
    value=["value"]
)

Attributes

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ECSTaskStateChangeProps

class ClusterEvents.ECSTaskStateChange.ECSTaskStateChangeProps(*, attachments=None, attributes=None, availability_zone=None, cluster_arn=None, connectivity=None, connectivity_at=None, container_instance_arn=None, containers=None, cpu=None, created_at=None, desired_status=None, event_metadata=None, execution_stopped_at=None, group=None, last_status=None, launch_type=None, memory=None, overrides=None, platform_version=None, pull_started_at=None, pull_stopped_at=None, started_at=None, started_by=None, stop_code=None, stopped_at=None, stopped_reason=None, stopping_at=None, task_arn=None, task_definition_arn=None, updated_at=None, version=None)

Bases: object

(experimental) Props type for Cluster aws.ecs@ECSTaskStateChange event.

Parameters:
  • attachments (Optional[Sequence[Union[AttachmentDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • attributes (Optional[Sequence[Union[AttributesDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • availability_zone (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • cluster_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 the aws_events.Match for more advanced matching options. Default: - Filter with the Cluster reference

  • connectivity (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • connectivity_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • container_instance_arn (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • containers (Optional[Sequence[Union[ContainerDetails, Dict[str, Any]]]]) – (experimental) 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. Default: - Do not filter on this field

  • cpu (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • created_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • desired_status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • execution_stopped_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • group (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • last_status (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • launch_type (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • memory (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • overrides (Union[Overrides, Dict[str, Any], None]) – (experimental) 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. Default: - Do not filter on this field

  • platform_version (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • pull_started_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • pull_stopped_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • started_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • started_by (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • stop_code (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • stopped_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • stopped_reason (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • stopping_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • task_arn (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • task_definition_arn (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • updated_at (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • version (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

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_cSTask_state_change_props = ecs_events.ClusterEvents.ECSTaskStateChange.ECSTaskStateChangeProps(
    attachments=[ecs_events.ClusterEvents.ECSTaskStateChange.AttachmentDetails(
        details=ecs_events.ClusterEvents.ECSTaskStateChange.Details(
            name=["name"],
            value=["value"]
        ),
        id=["id"],
        status=["status"],
        type=["type"]
    )],
    attributes=[ecs_events.ClusterEvents.ECSTaskStateChange.AttributesDetails(
        name=["name"],
        value=["value"]
    )],
    availability_zone=["availabilityZone"],
    cluster_arn=["clusterArn"],
    connectivity=["connectivity"],
    connectivity_at=["connectivityAt"],
    container_instance_arn=["containerInstanceArn"],
    containers=[ecs_events.ClusterEvents.ECSTaskStateChange.ContainerDetails(
        container_arn=["containerArn"],
        cpu=["cpu"],
        exit_code=["exitCode"],
        gpu_ids=["gpuIds"],
        image=["image"],
        image_digest=["imageDigest"],
        last_status=["lastStatus"],
        memory=["memory"],
        memory_reservation=["memoryReservation"],
        name=["name"],
        network_bindings=[ecs_events.ClusterEvents.ECSTaskStateChange.NetworkBindingDetails(
            bind_ip=["bindIp"],
            container_port=["containerPort"],
            host_port=["hostPort"],
            protocol=["protocol"]
        )],
        network_interfaces=[ecs_events.ClusterEvents.ECSTaskStateChange.NetworkInterfaceDetails(
            attachment_id=["attachmentId"],
            ipv6_address=["ipv6Address"],
            private_ipv4_address=["privateIpv4Address"]
        )],
        reason=["reason"],
        runtime_id=["runtimeId"],
        task_arn=["taskArn"]
    )],
    cpu=["cpu"],
    created_at=["createdAt"],
    desired_status=["desiredStatus"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    execution_stopped_at=["executionStoppedAt"],
    group=["group"],
    last_status=["lastStatus"],
    launch_type=["launchType"],
    memory=["memory"],
    overrides=ecs_events.ClusterEvents.ECSTaskStateChange.Overrides(
        container_overrides=[ecs_events.ClusterEvents.ECSTaskStateChange.OverridesItem(
            command=["command"],
            cpu=["cpu"],
            environment=[{
                "environment_key": "environment"
            }],
            memory=["memory"],
            name=["name"]
        )]
    ),
    platform_version=["platformVersion"],
    pull_started_at=["pullStartedAt"],
    pull_stopped_at=["pullStoppedAt"],
    started_at=["startedAt"],
    started_by=["startedBy"],
    stop_code=["stopCode"],
    stopped_at=["stoppedAt"],
    stopped_reason=["stoppedReason"],
    stopping_at=["stoppingAt"],
    task_arn=["taskArn"],
    task_definition_arn=["taskDefinitionArn"],
    updated_at=["updatedAt"],
    version=["version"]
)

Attributes

attachments

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

attributes

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

availability_zone

(experimental) 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.

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.Match for more advanced matching options.

Default:
  • Filter with the Cluster reference

Stability:

experimental

connectivity

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

connectivity_at

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

container_instance_arn

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

containers

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

cpu

(experimental) 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.

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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

desired_status

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

execution_stopped_at

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

group

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

last_status

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

launch_type

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

memory

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

overrides

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

platform_version

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

pull_started_at

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

pull_stopped_at

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

started_at

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

started_by

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

stop_code

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

stopped_at

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

stopped_reason

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

stopping_at

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

task_arn

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

task_definition_arn

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

updated_at

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

version

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

NetworkBindingDetails

class ClusterEvents.ECSTaskStateChange.NetworkBindingDetails(*, bind_ip=None, container_port=None, host_port=None, protocol=None)

Bases: object

(experimental) Type definition for NetworkBindingDetails.

Parameters:
  • bind_ip (Optional[Sequence[str]]) – (experimental) bindIP property. Specify an array of string values to match this event if the actual value of bindIP is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • container_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • host_port (Optional[Sequence[str]]) – (experimental) hostPort property. Specify an array of string values to match this event if the actual value of hostPort is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • protocol (Optional[Sequence[str]]) – (experimental) protocol property. Specify an array of string values to match this event if the actual value of protocol is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

network_binding_details = ecs_events.ClusterEvents.ECSTaskStateChange.NetworkBindingDetails(
    bind_ip=["bindIp"],
    container_port=["containerPort"],
    host_port=["hostPort"],
    protocol=["protocol"]
)

Attributes

bind_ip

(experimental) bindIP property.

Specify an array of string values to match this event if the actual value of bindIP is one of the values in the array. Use one of the constructors on the aws_events.Match for 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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

host_port

(experimental) hostPort property.

Specify an array of string values to match this event if the actual value of hostPort is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

protocol

(experimental) protocol property.

Specify an array of string values to match this event if the actual value of protocol is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

NetworkInterfaceDetails

class ClusterEvents.ECSTaskStateChange.NetworkInterfaceDetails(*, attachment_id=None, ipv6_address=None, private_ipv4_address=None)

Bases: object

(experimental) Type definition for NetworkInterfaceDetails.

Parameters:
  • attachment_id (Optional[Sequence[str]]) – (experimental) attachmentId property. Specify an array of string values to match this event if the actual value of attachmentId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • ipv6_address (Optional[Sequence[str]]) – (experimental) ipv6Address property. Specify an array of string values to match this event if the actual value of ipv6Address is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • private_ipv4_address (Optional[Sequence[str]]) – (experimental) privateIpv4Address property. Specify an array of string values to match this event if the actual value of privateIpv4Address is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

network_interface_details = ecs_events.ClusterEvents.ECSTaskStateChange.NetworkInterfaceDetails(
    attachment_id=["attachmentId"],
    ipv6_address=["ipv6Address"],
    private_ipv4_address=["privateIpv4Address"]
)

Attributes

attachment_id

(experimental) attachmentId property.

Specify an array of string values to match this event if the actual value of attachmentId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ipv6_address

(experimental) ipv6Address property.

Specify an array of string values to match this event if the actual value of ipv6Address is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

private_ipv4_address

(experimental) privateIpv4Address property.

Specify an array of string values to match this event if the actual value of privateIpv4Address is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Overrides

class ClusterEvents.ECSTaskStateChange.Overrides(*, container_overrides=None)

Bases: object

(experimental) Type definition for Overrides.

Parameters:

container_overrides (Optional[Sequence[Union[OverridesItem, Dict[str, Any]]]]) – (experimental) containerOverrides property. Specify an array of string values to match this event if the actual value of containerOverrides is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

overrides = ecs_events.ClusterEvents.ECSTaskStateChange.Overrides(
    container_overrides=[ecs_events.ClusterEvents.ECSTaskStateChange.OverridesItem(
        command=["command"],
        cpu=["cpu"],
        environment=[{
            "environment_key": "environment"
        }],
        memory=["memory"],
        name=["name"]
    )]
)

Attributes

container_overrides

(experimental) containerOverrides property.

Specify an array of string values to match this event if the actual value of containerOverrides is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

OverridesItem

class ClusterEvents.ECSTaskStateChange.OverridesItem(*, command=None, cpu=None, environment=None, memory=None, name=None)

Bases: object

(experimental) Type definition for OverridesItem.

Parameters:
  • command (Optional[Sequence[str]]) – (experimental) command property. Specify an array of string values to match this event if the actual value of command is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • cpu (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • environment (Optional[Sequence[Mapping[str, str]]]) – (experimental) environment property. Specify an array of string values to match this event if the actual value of environment is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • memory (Optional[Sequence[str]]) – (experimental) 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. Default: - Do not filter on this field

  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

overrides_item = ecs_events.ClusterEvents.ECSTaskStateChange.OverridesItem(
    command=["command"],
    cpu=["cpu"],
    environment=[{
        "environment_key": "environment"
    }],
    memory=["memory"],
    name=["name"]
)

Attributes

command

(experimental) command property.

Specify an array of string values to match this event if the actual value of command is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

cpu

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

environment

(experimental) environment property.

Specify an array of string values to match this event if the actual value of environment is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

memory

(experimental) 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.

Default:
  • Do not filter on this field

Stability:

experimental

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental