AWSAPICallViaCloudTrail
- class aws_cdk.mixins_preview.aws_dlm.events.AWSAPICallViaCloudTrail
Bases:
object(experimental) EventBridge event pattern for aws.dlm@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_dlm import events as dlm_events a_wSAPICall_via_cloud_trail = dlm_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, read_only=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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -event_name (
Optional[Sequence[str]]) – (experimental) eventName property. Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_type (
Optional[Sequence[str]]) – (experimental) eventType property. Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldread_only (
Optional[Sequence[str]]) – (experimental) readOnly property. Specify an array of string values to match this event if the actual value of readOnly is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldresponse_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsource_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
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, read_only=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.dlm@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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -event_name (
Optional[Sequence[str]]) – (experimental) eventName property. Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_type (
Optional[Sequence[str]]) – (experimental) eventType property. Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldread_only (
Optional[Sequence[str]]) – (experimental) readOnly property. Specify an array of string values to match this event if the actual value of readOnly is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldresponse_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsource_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import AWSEventMetadataProps # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_dlm import events as dlm_events a_wSAPICall_via_cloud_trail_props = dlm_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"], read_only=["readOnly"], request_id=["requestId"], request_parameters=dlm_events.AWSAPICallViaCloudTrail.RequestParameters( description=["description"], execution_role_arn=["executionRoleArn"], policy_details=dlm_events.AWSAPICallViaCloudTrail.PolicyDetails( policy_type=["policyType"], resource_types=["resourceTypes"], schedules=[dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItem( copy_tags=["copyTags"], create_rule=dlm_events.AWSAPICallViaCloudTrail.CreateRule( interval=["interval"], interval_unit=["intervalUnit"], times=["times"] ), fast_restore_rule=dlm_events.AWSAPICallViaCloudTrail.FastRestoreRule( availability_zones=["availabilityZones"], count=["count"] ), name=["name"], retain_rule=dlm_events.AWSAPICallViaCloudTrail.RetainRule( count=["count"] ), tags_to_add=[dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItemItem( key=["key"], value=["value"] )] )], target_tags=[dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItem1( key=["key"], value=["value"] )] ), policy_id=["policyId"], state=["state"] ), response_elements=dlm_events.AWSAPICallViaCloudTrail.ResponseElements( policy_id=["policyId"] ), source_ip_address=["sourceIpAddress"], user_agent=["userAgent"], user_identity=dlm_events.AWSAPICallViaCloudTrail.UserIdentity( access_key_id=["accessKeyId"], account_id=["accountId"], arn=["arn"], principal_id=["principalId"], session_context=dlm_events.AWSAPICallViaCloudTrail.SessionContext( attributes=dlm_events.AWSAPICallViaCloudTrail.Attributes( creation_date=["creationDate"], mfa_authenticated=["mfaAuthenticated"] ), session_issuer=dlm_events.AWSAPICallViaCloudTrail.SessionIssuer( account_id=["accountId"], arn=["arn"], principal_id=["principalId"], type=["type"], user_name=["userName"] ) ), 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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- event_name
(experimental) eventName property.
Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_type
(experimental) eventType property.
Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- read_only
(experimental) readOnly property.
Specify an array of string values to match this event if the actual value of readOnly is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmfa_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 theaws_events.Matchfor 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_dlm import events as dlm_events attributes = dlm_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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
CreateRule
- class AWSAPICallViaCloudTrail.CreateRule(*, interval=None, interval_unit=None, times=None)
Bases:
object(experimental) Type definition for CreateRule.
- Parameters:
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldinterval_unit (
Optional[Sequence[str]]) – (experimental) IntervalUnit property. Specify an array of string values to match this event if the actual value of IntervalUnit is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtimes (
Optional[Sequence[str]]) – (experimental) Times property. Specify an array of string values to match this event if the actual value of Times is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# 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_dlm import events as dlm_events create_rule = dlm_events.AWSAPICallViaCloudTrail.CreateRule( interval=["interval"], interval_unit=["intervalUnit"], times=["times"] )
Attributes
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- interval_unit
(experimental) IntervalUnit property.
Specify an array of string values to match this event if the actual value of IntervalUnit is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- times
(experimental) Times property.
Specify an array of string values to match this event if the actual value of Times is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
FastRestoreRule
- class AWSAPICallViaCloudTrail.FastRestoreRule(*, availability_zones=None, count=None)
Bases:
object(experimental) Type definition for FastRestoreRule.
- Parameters:
availability_zones (
Optional[Sequence[str]]) – (experimental) AvailabilityZones property. Specify an array of string values to match this event if the actual value of AvailabilityZones is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldcount (
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 theaws_events.Matchfor 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_dlm import events as dlm_events fast_restore_rule = dlm_events.AWSAPICallViaCloudTrail.FastRestoreRule( availability_zones=["availabilityZones"], count=["count"] )
Attributes
- availability_zones
(experimental) AvailabilityZones property.
Specify an array of string values to match this event if the actual value of AvailabilityZones is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
PolicyDetails
- class AWSAPICallViaCloudTrail.PolicyDetails(*, policy_type=None, resource_types=None, schedules=None, target_tags=None)
Bases:
object(experimental) Type definition for PolicyDetails.
- Parameters:
policy_type (
Optional[Sequence[str]]) – (experimental) PolicyType property. Specify an array of string values to match this event if the actual value of PolicyType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldresource_types (
Optional[Sequence[str]]) – (experimental) ResourceTypes property. Specify an array of string values to match this event if the actual value of ResourceTypes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldschedules (
Optional[Sequence[Union[PolicyDetailsItem,Dict[str,Any]]]]) – (experimental) Schedules property. Specify an array of string values to match this event if the actual value of Schedules is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtarget_tags (
Optional[Sequence[Union[PolicyDetailsItem1,Dict[str,Any]]]]) – (experimental) TargetTags property. Specify an array of string values to match this event if the actual value of TargetTags is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# 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_dlm import events as dlm_events policy_details = dlm_events.AWSAPICallViaCloudTrail.PolicyDetails( policy_type=["policyType"], resource_types=["resourceTypes"], schedules=[dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItem( copy_tags=["copyTags"], create_rule=dlm_events.AWSAPICallViaCloudTrail.CreateRule( interval=["interval"], interval_unit=["intervalUnit"], times=["times"] ), fast_restore_rule=dlm_events.AWSAPICallViaCloudTrail.FastRestoreRule( availability_zones=["availabilityZones"], count=["count"] ), name=["name"], retain_rule=dlm_events.AWSAPICallViaCloudTrail.RetainRule( count=["count"] ), tags_to_add=[dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItemItem( key=["key"], value=["value"] )] )], target_tags=[dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItem1( key=["key"], value=["value"] )] )
Attributes
- policy_type
(experimental) PolicyType property.
Specify an array of string values to match this event if the actual value of PolicyType is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- resource_types
(experimental) ResourceTypes property.
Specify an array of string values to match this event if the actual value of ResourceTypes is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- schedules
(experimental) Schedules property.
Specify an array of string values to match this event if the actual value of Schedules is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- target_tags
(experimental) TargetTags property.
Specify an array of string values to match this event if the actual value of TargetTags is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
PolicyDetailsItem
- class AWSAPICallViaCloudTrail.PolicyDetailsItem(*, copy_tags=None, create_rule=None, fast_restore_rule=None, name=None, retain_rule=None, tags_to_add=None)
Bases:
object(experimental) Type definition for PolicyDetailsItem.
- Parameters:
copy_tags (
Optional[Sequence[str]]) – (experimental) CopyTags property. Specify an array of string values to match this event if the actual value of CopyTags is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldcreate_rule (
Union[CreateRule,Dict[str,Any],None]) – (experimental) CreateRule property. Specify an array of string values to match this event if the actual value of CreateRule is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldfast_restore_rule (
Union[FastRestoreRule,Dict[str,Any],None]) – (experimental) FastRestoreRule property. Specify an array of string values to match this event if the actual value of FastRestoreRule is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldname (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldretain_rule (
Union[RetainRule,Dict[str,Any],None]) – (experimental) RetainRule property. Specify an array of string values to match this event if the actual value of RetainRule is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtags_to_add (
Optional[Sequence[Union[PolicyDetailsItemItem,Dict[str,Any]]]]) – (experimental) TagsToAdd property. Specify an array of string values to match this event if the actual value of TagsToAdd is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# 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_dlm import events as dlm_events policy_details_item = dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItem( copy_tags=["copyTags"], create_rule=dlm_events.AWSAPICallViaCloudTrail.CreateRule( interval=["interval"], interval_unit=["intervalUnit"], times=["times"] ), fast_restore_rule=dlm_events.AWSAPICallViaCloudTrail.FastRestoreRule( availability_zones=["availabilityZones"], count=["count"] ), name=["name"], retain_rule=dlm_events.AWSAPICallViaCloudTrail.RetainRule( count=["count"] ), tags_to_add=[dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItemItem( key=["key"], value=["value"] )] )
Attributes
- copy_tags
(experimental) CopyTags property.
Specify an array of string values to match this event if the actual value of CopyTags is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- create_rule
(experimental) CreateRule property.
Specify an array of string values to match this event if the actual value of CreateRule is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- fast_restore_rule
(experimental) FastRestoreRule property.
Specify an array of string values to match this event if the actual value of FastRestoreRule is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- retain_rule
(experimental) RetainRule property.
Specify an array of string values to match this event if the actual value of RetainRule is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- tags_to_add
(experimental) TagsToAdd property.
Specify an array of string values to match this event if the actual value of TagsToAdd is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
PolicyDetailsItem1
- class AWSAPICallViaCloudTrail.PolicyDetailsItem1(*, key=None, value=None)
Bases:
object(experimental) Type definition for PolicyDetailsItem_1.
- Parameters:
key (
Optional[Sequence[str]]) – (experimental) Key property. Specify an array of string values to match this event if the actual value of Key is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldvalue (
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 theaws_events.Matchfor 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_dlm import events as dlm_events policy_details_item1 = dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItem1( key=["key"], value=["value"] )
Attributes
- key
(experimental) Key property.
Specify an array of string values to match this event if the actual value of Key is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
PolicyDetailsItemItem
- class AWSAPICallViaCloudTrail.PolicyDetailsItemItem(*, key=None, value=None)
Bases:
object(experimental) Type definition for PolicyDetailsItemItem.
- Parameters:
key (
Optional[Sequence[str]]) – (experimental) Key property. Specify an array of string values to match this event if the actual value of Key is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldvalue (
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 theaws_events.Matchfor 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_dlm import events as dlm_events policy_details_item_item = dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItemItem( key=["key"], value=["value"] )
Attributes
- key
(experimental) Key property.
Specify an array of string values to match this event if the actual value of Key is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
RequestParameters
- class AWSAPICallViaCloudTrail.RequestParameters(*, description=None, execution_role_arn=None, policy_details=None, policy_id=None, state=None)
Bases:
object(experimental) Type definition for RequestParameters.
- Parameters:
description (
Optional[Sequence[str]]) – (experimental) Description property. Specify an array of string values to match this event if the actual value of Description is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldexecution_role_arn (
Optional[Sequence[str]]) – (experimental) ExecutionRoleArn property. Specify an array of string values to match this event if the actual value of ExecutionRoleArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldpolicy_details (
Union[PolicyDetails,Dict[str,Any],None]) – (experimental) PolicyDetails property. Specify an array of string values to match this event if the actual value of PolicyDetails is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldpolicy_id (
Optional[Sequence[str]]) – (experimental) policyId property. Specify an array of string values to match this event if the actual value of policyId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstate (
Optional[Sequence[str]]) – (experimental) State property. Specify an array of string values to match this event if the actual value of State is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# 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_dlm import events as dlm_events request_parameters = dlm_events.AWSAPICallViaCloudTrail.RequestParameters( description=["description"], execution_role_arn=["executionRoleArn"], policy_details=dlm_events.AWSAPICallViaCloudTrail.PolicyDetails( policy_type=["policyType"], resource_types=["resourceTypes"], schedules=[dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItem( copy_tags=["copyTags"], create_rule=dlm_events.AWSAPICallViaCloudTrail.CreateRule( interval=["interval"], interval_unit=["intervalUnit"], times=["times"] ), fast_restore_rule=dlm_events.AWSAPICallViaCloudTrail.FastRestoreRule( availability_zones=["availabilityZones"], count=["count"] ), name=["name"], retain_rule=dlm_events.AWSAPICallViaCloudTrail.RetainRule( count=["count"] ), tags_to_add=[dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItemItem( key=["key"], value=["value"] )] )], target_tags=[dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItem1( key=["key"], value=["value"] )] ), policy_id=["policyId"], state=["state"] )
Attributes
- description
(experimental) Description property.
Specify an array of string values to match this event if the actual value of Description is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- execution_role_arn
(experimental) ExecutionRoleArn property.
Specify an array of string values to match this event if the actual value of ExecutionRoleArn is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- policy_details
(experimental) PolicyDetails property.
Specify an array of string values to match this event if the actual value of PolicyDetails is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- policy_id
(experimental) policyId property.
Specify an array of string values to match this event if the actual value of policyId is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- state
(experimental) State property.
Specify an array of string values to match this event if the actual value of State is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
ResponseElements
- class AWSAPICallViaCloudTrail.ResponseElements(*, policy_id=None)
Bases:
object(experimental) Type definition for ResponseElements.
- Parameters:
policy_id (
Optional[Sequence[str]]) – (experimental) PolicyId property. Specify an array of string values to match this event if the actual value of PolicyId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# 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_dlm import events as dlm_events response_elements = dlm_events.AWSAPICallViaCloudTrail.ResponseElements( policy_id=["policyId"] )
Attributes
- policy_id
(experimental) PolicyId property.
Specify an array of string values to match this event if the actual value of PolicyId is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
RetainRule
- class AWSAPICallViaCloudTrail.RetainRule(*, count=None)
Bases:
object(experimental) Type definition for RetainRule.
- Parameters:
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 theaws_events.Matchfor 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_dlm import events as dlm_events retain_rule = dlm_events.AWSAPICallViaCloudTrail.RetainRule( count=["count"] )
Attributes
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
SessionContext
- class AWSAPICallViaCloudTrail.SessionContext(*, attributes=None, session_issuer=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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsession_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 theaws_events.Matchfor 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_dlm import events as dlm_events session_context = dlm_events.AWSAPICallViaCloudTrail.SessionContext( attributes=dlm_events.AWSAPICallViaCloudTrail.Attributes( creation_date=["creationDate"], mfa_authenticated=["mfaAuthenticated"] ), session_issuer=dlm_events.AWSAPICallViaCloudTrail.SessionIssuer( account_id=["accountId"], arn=["arn"], principal_id=["principalId"], type=["type"], user_name=["userName"] ) )
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.Matchfor 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.Matchfor 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldarn (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldprincipal_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtype (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_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 theaws_events.Matchfor 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_dlm import events as dlm_events session_issuer = dlm_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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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, 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldaccount_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldarn (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldprincipal_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsession_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtype (
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 theaws_events.Matchfor 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_dlm import events as dlm_events user_identity = dlm_events.AWSAPICallViaCloudTrail.UserIdentity( access_key_id=["accessKeyId"], account_id=["accountId"], arn=["arn"], principal_id=["principalId"], session_context=dlm_events.AWSAPICallViaCloudTrail.SessionContext( attributes=dlm_events.AWSAPICallViaCloudTrail.Attributes( creation_date=["creationDate"], mfa_authenticated=["mfaAuthenticated"] ), session_issuer=dlm_events.AWSAPICallViaCloudTrail.SessionIssuer( account_id=["accountId"], arn=["arn"], principal_id=["principalId"], type=["type"], user_name=["userName"] ) ), 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental