AWSAPICallViaCloudTrail

class aws_cdk.mixins_preview.aws_elasticloadbalancing.events.AWSAPICallViaCloudTrail

Bases: object

(experimental) EventBridge event pattern for aws.elasticloadbalancing@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_elasticloadbalancing import events as elasticloadbalancing_events

a_wSAPICall_via_cloud_trail = elasticloadbalancing_events.AWSAPICallViaCloudTrail()
Stability:

experimental

Static Methods

classmethod event_pattern(*, api_version=None, aws_region=None, error_code=None, error_message=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:
  • api_version (Optional[Sequence[str]]) – (experimental) apiVersion property. Specify an array of string values to match this event if the actual value of apiVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • 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

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

  • error_message (Optional[Sequence[str]]) – (experimental) errorMessage property. Specify an array of string values to match this event if the actual value of errorMessage is one of the values in 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(*, api_version=None, aws_region=None, error_code=None, error_message=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.elasticloadbalancing@AWSAPICallViaCloudTrail event.

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

  • 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

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

  • error_message (Optional[Sequence[str]]) – (experimental) errorMessage property. Specify an array of string values to match this event if the actual value of errorMessage is one of the values in 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_elasticloadbalancing import events as elasticloadbalancing_events

a_wSAPICall_via_cloud_trail_props = elasticloadbalancing_events.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps(
    api_version=["apiVersion"],
    aws_region=["awsRegion"],
    error_code=["errorCode"],
    error_message=["errorMessage"],
    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=elasticloadbalancing_events.AWSAPICallViaCloudTrail.RequestParameters(
        health_check=elasticloadbalancing_events.AWSAPICallViaCloudTrail.HealthCheck1(
            healthy_threshold=["healthyThreshold"],
            interval=["interval"],
            target=["target"],
            timeout=["timeout"],
            unhealthy_threshold=["unhealthyThreshold"]
        ),
        instances=[elasticloadbalancing_events.AWSAPICallViaCloudTrail.ResponseElementsItem(
            instance_id=["instanceId"]
        )],
        listeners=[elasticloadbalancing_events.AWSAPICallViaCloudTrail.RequestParametersItem(
            instance_port=["instancePort"],
            load_balancer_port=["loadBalancerPort"],
            protocol=["protocol"]
        )],
        load_balancer_name=["loadBalancerName"],
        subnets=["subnets"],
        target_group_arn=["targetGroupArn"],
        targets=[elasticloadbalancing_events.AWSAPICallViaCloudTrail.RequestParametersItem1(
            id=["id"]
        )]
    ),
    response_elements=elasticloadbalancing_events.AWSAPICallViaCloudTrail.ResponseElements(
        d_ns_name=["dNsName"],
        health_check=elasticloadbalancing_events.AWSAPICallViaCloudTrail.HealthCheck(
            healthy_threshold=["healthyThreshold"],
            interval=["interval"],
            target=["target"],
            timeout=["timeout"],
            unhealthy_threshold=["unhealthyThreshold"]
        ),
        instances=[elasticloadbalancing_events.AWSAPICallViaCloudTrail.ResponseElementsItem(
            instance_id=["instanceId"]
        )]
    ),
    source_ip_address=["sourceIpAddress"],
    user_agent=["userAgent"],
    user_identity=elasticloadbalancing_events.AWSAPICallViaCloudTrail.UserIdentity(
        access_key_id=["accessKeyId"],
        account_id=["accountId"],
        arn=["arn"],
        invoked_by=["invokedBy"],
        principal_id=["principalId"],
        session_context=elasticloadbalancing_events.AWSAPICallViaCloudTrail.SessionContext(
            attributes=elasticloadbalancing_events.AWSAPICallViaCloudTrail.Attributes(
                creation_date=["creationDate"],
                mfa_authenticated=["mfaAuthenticated"]
            ),
            session_issuer=elasticloadbalancing_events.AWSAPICallViaCloudTrail.SessionIssuer(
                account_id=["accountId"],
                arn=["arn"],
                principal_id=["principalId"],
                type=["type"],
                user_name=["userName"]
            ),
            web_id_federation_data=["webIdFederationData"]
        ),
        type=["type"]
    )
)

Attributes

api_version

(experimental) apiVersion property.

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

Default:
  • Do not filter on this field

Stability:

experimental

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

error_code

(experimental) errorCode property.

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

Default:
  • Do not filter on this field

Stability:

experimental

error_message

(experimental) errorMessage property.

Specify an array of string values to match this event if the actual value of errorMessage is one of the values in the array. 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_elasticloadbalancing import events as elasticloadbalancing_events

attributes = elasticloadbalancing_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

HealthCheck

class AWSAPICallViaCloudTrail.HealthCheck(*, healthy_threshold=None, interval=None, target=None, timeout=None, unhealthy_threshold=None)

Bases: object

(experimental) Type definition for HealthCheck.

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

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

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

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

  • unhealthy_threshold (Optional[Sequence[str]]) – (experimental) unhealthyThreshold property. Specify an array of string values to match this event if the actual value of unhealthyThreshold is one of the values in the array. 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_elasticloadbalancing import events as elasticloadbalancing_events

health_check = elasticloadbalancing_events.AWSAPICallViaCloudTrail.HealthCheck(
    healthy_threshold=["healthyThreshold"],
    interval=["interval"],
    target=["target"],
    timeout=["timeout"],
    unhealthy_threshold=["unhealthyThreshold"]
)

Attributes

healthy_threshold

(experimental) healthyThreshold property.

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

Default:
  • Do not filter on this field

Stability:

experimental

interval

(experimental) interval property.

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

Default:
  • Do not filter on this field

Stability:

experimental

target

(experimental) target property.

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

Default:
  • Do not filter on this field

Stability:

experimental

timeout

(experimental) timeout property.

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

Default:
  • Do not filter on this field

Stability:

experimental

unhealthy_threshold

(experimental) unhealthyThreshold property.

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

Default:
  • Do not filter on this field

Stability:

experimental

HealthCheck1

class AWSAPICallViaCloudTrail.HealthCheck1(*, healthy_threshold=None, interval=None, target=None, timeout=None, unhealthy_threshold=None)

Bases: object

(experimental) Type definition for HealthCheck_1.

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

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

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

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

  • unhealthy_threshold (Optional[Sequence[str]]) – (experimental) unhealthyThreshold property. Specify an array of string values to match this event if the actual value of unhealthyThreshold is one of the values in the array. 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_elasticloadbalancing import events as elasticloadbalancing_events

health_check1 = elasticloadbalancing_events.AWSAPICallViaCloudTrail.HealthCheck1(
    healthy_threshold=["healthyThreshold"],
    interval=["interval"],
    target=["target"],
    timeout=["timeout"],
    unhealthy_threshold=["unhealthyThreshold"]
)

Attributes

healthy_threshold

(experimental) healthyThreshold property.

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

Default:
  • Do not filter on this field

Stability:

experimental

interval

(experimental) interval property.

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

Default:
  • Do not filter on this field

Stability:

experimental

target

(experimental) target property.

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

Default:
  • Do not filter on this field

Stability:

experimental

timeout

(experimental) timeout property.

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

Default:
  • Do not filter on this field

Stability:

experimental

unhealthy_threshold

(experimental) unhealthyThreshold property.

Specify an array of string values to match this event if the actual value of unhealthyThreshold is one of the values in the array. 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(*, health_check=None, instances=None, listeners=None, load_balancer_name=None, subnets=None, target_group_arn=None, targets=None)

Bases: object

(experimental) Type definition for RequestParameters.

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

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

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

  • load_balancer_name (Optional[Sequence[str]]) – (experimental) loadBalancerName property. Specify an array of string values to match this event if the actual value of loadBalancerName is one of the values in 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

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

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

Stability:

experimental

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_elasticloadbalancing import events as elasticloadbalancing_events

request_parameters = elasticloadbalancing_events.AWSAPICallViaCloudTrail.RequestParameters(
    health_check=elasticloadbalancing_events.AWSAPICallViaCloudTrail.HealthCheck1(
        healthy_threshold=["healthyThreshold"],
        interval=["interval"],
        target=["target"],
        timeout=["timeout"],
        unhealthy_threshold=["unhealthyThreshold"]
    ),
    instances=[elasticloadbalancing_events.AWSAPICallViaCloudTrail.ResponseElementsItem(
        instance_id=["instanceId"]
    )],
    listeners=[elasticloadbalancing_events.AWSAPICallViaCloudTrail.RequestParametersItem(
        instance_port=["instancePort"],
        load_balancer_port=["loadBalancerPort"],
        protocol=["protocol"]
    )],
    load_balancer_name=["loadBalancerName"],
    subnets=["subnets"],
    target_group_arn=["targetGroupArn"],
    targets=[elasticloadbalancing_events.AWSAPICallViaCloudTrail.RequestParametersItem1(
        id=["id"]
    )]
)

Attributes

health_check

(experimental) healthCheck property.

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

Default:
  • Do not filter on this field

Stability:

experimental

instances

(experimental) instances property.

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

Default:
  • Do not filter on this field

Stability:

experimental

listeners

(experimental) listeners property.

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

Default:
  • Do not filter on this field

Stability:

experimental

load_balancer_name

(experimental) loadBalancerName property.

Specify an array of string values to match this event if the actual value of loadBalancerName is one of the values in the array. 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

target_group_arn

(experimental) targetGroupArn property.

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

Default:
  • Do not filter on this field

Stability:

experimental

targets

(experimental) targets property.

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

Default:
  • Do not filter on this field

Stability:

experimental

RequestParametersItem

class AWSAPICallViaCloudTrail.RequestParametersItem(*, instance_port=None, load_balancer_port=None, protocol=None)

Bases: object

(experimental) Type definition for RequestParametersItem.

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

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

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

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

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

request_parameters_item = elasticloadbalancing_events.AWSAPICallViaCloudTrail.RequestParametersItem(
    instance_port=["instancePort"],
    load_balancer_port=["loadBalancerPort"],
    protocol=["protocol"]
)

Attributes

instance_port

(experimental) instancePort property.

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

Default:
  • Do not filter on this field

Stability:

experimental

load_balancer_port

(experimental) loadBalancerPort property.

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

Default:
  • Do not filter on this field

Stability:

experimental

protocol

(experimental) protocol property.

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

Default:
  • Do not filter on this field

Stability:

experimental

RequestParametersItem1

class AWSAPICallViaCloudTrail.RequestParametersItem1(*, id=None)

Bases: object

(experimental) Type definition for RequestParametersItem_1.

Parameters:

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

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_elasticloadbalancing import events as elasticloadbalancing_events

request_parameters_item1 = elasticloadbalancing_events.AWSAPICallViaCloudTrail.RequestParametersItem1(
    id=["id"]
)

Attributes

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

ResponseElements

class AWSAPICallViaCloudTrail.ResponseElements(*, d_ns_name=None, health_check=None, instances=None)

Bases: object

(experimental) Type definition for ResponseElements.

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

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

  • instances (Optional[Sequence[Union[ResponseElementsItem, Dict[str, Any]]]]) – (experimental) instances property. Specify an array of string values to match this event if the actual value of instances is one of the values in the array. 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_elasticloadbalancing import events as elasticloadbalancing_events

response_elements = elasticloadbalancing_events.AWSAPICallViaCloudTrail.ResponseElements(
    d_ns_name=["dNsName"],
    health_check=elasticloadbalancing_events.AWSAPICallViaCloudTrail.HealthCheck(
        healthy_threshold=["healthyThreshold"],
        interval=["interval"],
        target=["target"],
        timeout=["timeout"],
        unhealthy_threshold=["unhealthyThreshold"]
    ),
    instances=[elasticloadbalancing_events.AWSAPICallViaCloudTrail.ResponseElementsItem(
        instance_id=["instanceId"]
    )]
)

Attributes

d_ns_name

(experimental) dNSName property.

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

Default:
  • Do not filter on this field

Stability:

experimental

health_check

(experimental) healthCheck property.

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

Default:
  • Do not filter on this field

Stability:

experimental

instances

(experimental) instances property.

Specify an array of string values to match this event if the actual value of instances is one of the values in the array. 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(*, instance_id=None)

Bases: object

(experimental) Type definition for ResponseElementsItem.

Parameters:

instance_id (Optional[Sequence[str]]) – (experimental) instanceId property. Specify an array of string values to match this event if the actual value of instanceId is one of the values in the array. 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_elasticloadbalancing import events as elasticloadbalancing_events

response_elements_item = elasticloadbalancing_events.AWSAPICallViaCloudTrail.ResponseElementsItem(
    instance_id=["instanceId"]
)

Attributes

instance_id

(experimental) instanceId property.

Specify an array of string values to match this event if the actual value of instanceId is one of the values in the array. 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_elasticloadbalancing import events as elasticloadbalancing_events

session_context = elasticloadbalancing_events.AWSAPICallViaCloudTrail.SessionContext(
    attributes=elasticloadbalancing_events.AWSAPICallViaCloudTrail.Attributes(
        creation_date=["creationDate"],
        mfa_authenticated=["mfaAuthenticated"]
    ),
    session_issuer=elasticloadbalancing_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_elasticloadbalancing import events as elasticloadbalancing_events

session_issuer = elasticloadbalancing_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_elasticloadbalancing import events as elasticloadbalancing_events

user_identity = elasticloadbalancing_events.AWSAPICallViaCloudTrail.UserIdentity(
    access_key_id=["accessKeyId"],
    account_id=["accountId"],
    arn=["arn"],
    invoked_by=["invokedBy"],
    principal_id=["principalId"],
    session_context=elasticloadbalancing_events.AWSAPICallViaCloudTrail.SessionContext(
        attributes=elasticloadbalancing_events.AWSAPICallViaCloudTrail.Attributes(
            creation_date=["creationDate"],
            mfa_authenticated=["mfaAuthenticated"]
        ),
        session_issuer=elasticloadbalancing_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