AWSAPICallViaCloudTrail

class aws_cdk.mixins_preview.aws_ecs.events.AWSAPICallViaCloudTrail

Bases: object

(experimental) EventBridge event pattern for aws.ecs@AWSAPICallViaCloudTrail.

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

experimental

Static Methods

classmethod 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 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

AWSAPICallViaCloudTrailProps

class 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 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:

from aws_cdk import AWSEventMetadataProps
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ecs import events as ecs_events

# 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.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.AWSAPICallViaCloudTrail.RequestParameters(
        cluster=["cluster"],
        container_instance=["containerInstance"],
        containers=[ecs_events.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.AWSAPICallViaCloudTrail.NetworkConfiguration(
            awsvpc_configuration=ecs_events.AWSAPICallViaCloudTrail.AwsvpcConfiguration(
                assign_public_ip=["assignPublicIp"],
                subnets=["subnets"]
            )
        ),
        overrides=ecs_events.AWSAPICallViaCloudTrail.Overrides(
            container_overrides=[ecs_events.AWSAPICallViaCloudTrail.OverridesItem(
                command=["command"],
                cpu=["cpu"],
                environment=[environment],
                memory=["memory"],
                name=["name"],
                resource_requirements=[resource_requirements]
            )]
        ),
        placement_constraints=[ecs_events.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.AWSAPICallViaCloudTrail.ResponseElements(
        acknowledgment=["acknowledgment"],
        endpoint=["endpoint"],
        failures=["failures"],
        tasks=[ecs_events.AWSAPICallViaCloudTrail.ResponseElementsItem(
            attachments=[ecs_events.AWSAPICallViaCloudTrail.ResponseElementsItemItem(
                details=[ecs_events.AWSAPICallViaCloudTrail.ResponseElementsItemItemItem(
                    name=["name"],
                    value=["value"]
                )],
                id=["id"],
                status=["status"],
                type=["type"]
            )],
            cluster_arn=["clusterArn"],
            container_instance_arn=["containerInstanceArn"],
            containers=[ecs_events.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.AWSAPICallViaCloudTrail.Overrides1(
                container_overrides=[ecs_events.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.AWSAPICallViaCloudTrail.UserIdentity(
        access_key_id=["accessKeyId"],
        account_id=["accountId"],
        arn=["arn"],
        invoked_by=["invokedBy"],
        principal_id=["principalId"],
        session_context=ecs_events.AWSAPICallViaCloudTrail.SessionContext(
            attributes=ecs_events.AWSAPICallViaCloudTrail.Attributes(
                creation_date=["creationDate"],
                mfa_authenticated=["mfaAuthenticated"]
            ),
            session_issuer=ecs_events.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 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.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 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.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 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.AWSAPICallViaCloudTrail.NetworkConfiguration(
    awsvpc_configuration=ecs_events.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 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.AWSAPICallViaCloudTrail.Overrides(
    container_overrides=[ecs_events.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 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.AWSAPICallViaCloudTrail.Overrides1(
    container_overrides=[ecs_events.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 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.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 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.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 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.AWSAPICallViaCloudTrail.RequestParameters(
    cluster=["cluster"],
    container_instance=["containerInstance"],
    containers=[ecs_events.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.AWSAPICallViaCloudTrail.NetworkConfiguration(
        awsvpc_configuration=ecs_events.AWSAPICallViaCloudTrail.AwsvpcConfiguration(
            assign_public_ip=["assignPublicIp"],
            subnets=["subnets"]
        )
    ),
    overrides=ecs_events.AWSAPICallViaCloudTrail.Overrides(
        container_overrides=[ecs_events.AWSAPICallViaCloudTrail.OverridesItem(
            command=["command"],
            cpu=["cpu"],
            environment=[environment],
            memory=["memory"],
            name=["name"],
            resource_requirements=[resource_requirements]
        )]
    ),
    placement_constraints=[ecs_events.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 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.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 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.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 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.AWSAPICallViaCloudTrail.ResponseElements(
    acknowledgment=["acknowledgment"],
    endpoint=["endpoint"],
    failures=["failures"],
    tasks=[ecs_events.AWSAPICallViaCloudTrail.ResponseElementsItem(
        attachments=[ecs_events.AWSAPICallViaCloudTrail.ResponseElementsItemItem(
            details=[ecs_events.AWSAPICallViaCloudTrail.ResponseElementsItemItemItem(
                name=["name"],
                value=["value"]
            )],
            id=["id"],
            status=["status"],
            type=["type"]
        )],
        cluster_arn=["clusterArn"],
        container_instance_arn=["containerInstanceArn"],
        containers=[ecs_events.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.AWSAPICallViaCloudTrail.Overrides1(
            container_overrides=[ecs_events.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 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.AWSAPICallViaCloudTrail.ResponseElementsItem(
    attachments=[ecs_events.AWSAPICallViaCloudTrail.ResponseElementsItemItem(
        details=[ecs_events.AWSAPICallViaCloudTrail.ResponseElementsItemItemItem(
            name=["name"],
            value=["value"]
        )],
        id=["id"],
        status=["status"],
        type=["type"]
    )],
    cluster_arn=["clusterArn"],
    container_instance_arn=["containerInstanceArn"],
    containers=[ecs_events.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.AWSAPICallViaCloudTrail.Overrides1(
        container_overrides=[ecs_events.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 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.AWSAPICallViaCloudTrail.ResponseElementsItemItem(
    details=[ecs_events.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 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.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 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.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 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.AWSAPICallViaCloudTrail.SessionContext(
    attributes=ecs_events.AWSAPICallViaCloudTrail.Attributes(
        creation_date=["creationDate"],
        mfa_authenticated=["mfaAuthenticated"]
    ),
    session_issuer=ecs_events.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 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.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 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.AWSAPICallViaCloudTrail.UserIdentity(
    access_key_id=["accessKeyId"],
    account_id=["accountId"],
    arn=["arn"],
    invoked_by=["invokedBy"],
    principal_id=["principalId"],
    session_context=ecs_events.AWSAPICallViaCloudTrail.SessionContext(
        attributes=ecs_events.AWSAPICallViaCloudTrail.Attributes(
            creation_date=["creationDate"],
            mfa_authenticated=["mfaAuthenticated"]
        ),
        session_issuer=ecs_events.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