InstanceEvents

class aws_cdk.mixins_preview.aws_ec2.events.InstanceEvents(*args: Any, **kwargs)

Bases: object

(experimental) EventBridge event patterns for Instance.

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_ec2 import events as ec2_events
from aws_cdk.interfaces import aws_ec2 as interfaces_aws_ec2

# instance_ref: interfaces_aws_ec2.IInstanceRef

instance_events = ec2_events.InstanceEvents.from_instance(instance_ref)

Methods

aws_api_call_via_cloud_trail_pattern(*, 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 Instance AWS API Call via CloudTrail.

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

  • 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

e_c2_instance_state_change_notification_pattern(*, event_metadata=None, instance_id=None, state=None)

(experimental) EventBridge event pattern for Instance EC2 Instance State-change Notification.

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

  • instance_id (Optional[Sequence[str]]) – (experimental) instance-id property. Specify an array of string values to match this event if the actual value of instance-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: - Filter with the Instance reference

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

Stability:

experimental

Return type:

EventPattern

e_c2_spot_instance_interruption_warning_pattern(*, event_metadata=None, instance_action=None, instance_id=None)

(experimental) EventBridge event pattern for Instance EC2 Spot Instance Interruption Warning.

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

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

  • instance_id (Optional[Sequence[str]]) – (experimental) instance-id property. Specify an array of string values to match this event if the actual value of instance-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: - Filter with the Instance reference

Stability:

experimental

Return type:

EventPattern

Static Methods

classmethod from_instance(instance_ref)

(experimental) Create InstanceEvents from a Instance reference.

Parameters:

instance_ref (IInstanceRef)

Stability:

experimental

Return type:

InstanceEvents

AWSAPICallViaCloudTrail

class InstanceEvents.AWSAPICallViaCloudTrail

Bases: object

(experimental) aws.ec2@AWSAPICallViaCloudTrail event types for Instance.

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_ec2 import events as ec2_events

a_wSAPICall_via_cloud_trail = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail()
Stability:

experimental

AWSAPICallViaCloudTrailProps

class InstanceEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps(*, 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 Instance aws.ec2@AWSAPICallViaCloudTrail event.

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

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

# 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_ec2 import events as ec2_events

# overrides: Any

a_wSAPICall_via_cloud_trail_props = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps(
    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=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters(
        availability_zone=["availabilityZone"],
        block_device_mapping=["blockDeviceMapping"],
        client_token=["clientToken"],
        create_fleet_request=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetRequest(
            client_token=["clientToken"],
            existing_instances=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.ExistingInstances(
                availability_zone=["availabilityZone"],
                count=["count"],
                instance_type=["instanceType"],
                market_option=["marketOption"],
                operating_system=["operatingSystem"],
                tag=["tag"]
            ),
            launch_template_configs=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateConfigs(
                launch_template_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateSpecification(
                    launch_template_id=["launchTemplateId"],
                    version=["version"]
                ),
                overrides=[overrides],
                tag=["tag"]
            ),
            on_demand_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.OnDemandOptions(
                allocation_strategy=["allocationStrategy"],
                instance_pool_constraint_filter_disabled=["instancePoolConstraintFilterDisabled"],
                max_instance_count=["maxInstanceCount"],
                max_target_capacity=["maxTargetCapacity"]
            ),
            spot_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions(
                allocation_strategy=["allocationStrategy"],
                instance_pool_constraint_filter_disabled=["instancePoolConstraintFilterDisabled"],
                instance_pools_to_use_count=["instancePoolsToUseCount"],
                max_instance_count=["maxInstanceCount"],
                max_target_capacity=["maxTargetCapacity"]
            ),
            tag_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecification(
                resource_type=["resourceType"],
                tag=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Tag(
                    key=["key"],
                    tag=["tag"],
                    value=["value"]
                )
            ),
            target_capacity_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification(
                default_target_capacity_type=["defaultTargetCapacityType"],
                on_demand_target_capacity=["onDemandTargetCapacity"],
                spot_target_capacity=["spotTargetCapacity"],
                total_target_capacity=["totalTargetCapacity"]
            ),
            type=["type"]
        ),
        create_launch_template_request=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest(
            launch_template_data=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData(
                image_id=["imageId"],
                instance_market_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions1(
                    market_type=["marketType"],
                    spot_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions2(
                        max_price=["maxPrice"],
                        spot_instance_type=["spotInstanceType"]
                    )
                ),
                instance_type=["instanceType"],
                network_interface=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface1(
                    device_index=["deviceIndex"],
                    security_group_id=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SecurityGroupId(
                        content=["content"],
                        tag=["tag"]
                    ),
                    subnet_id=["subnetId"],
                    tag=["tag"]
                ),
                user_data=["userData"]
            ),
            launch_template_name=["launchTemplateName"]
        ),
        delete_launch_template_request=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateRequest(
            launch_template_name=["launchTemplateName"]
        ),
        description=["description"],
        disable_api_termination=["disableApiTermination"],
        group_description=["groupDescription"],
        group_id=["groupId"],
        group_name=["groupName"],
        group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet1(
            items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet1Item(
                group_id=["groupId"]
            )]
        ),
        instance_market_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions(
            market_type=["marketType"],
            spot_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions1(
                max_price=["maxPrice"],
                spot_instance_type=["spotInstanceType"]
            )
        ),
        instances_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1(
            items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item(
                image_id=["imageId"],
                instance_id=["instanceId"],
                max_count=["maxCount"],
                min_count=["minCount"]
            )]
        ),
        instance_type=["instanceType"],
        ipv6_address_count=["ipv6AddressCount"],
        launch_template=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate(
            launch_template_id=["launchTemplateId"],
            version=["version"]
        ),
        monitoring=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Monitoring(
            enabled=["enabled"]
        ),
        network_interface_id=["networkInterfaceId"],
        network_interface_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet(
            items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSetItem(
                device_index=["deviceIndex"],
                subnet_id=["subnetId"]
            )]
        ),
        private_ip_addresses_set=["privateIpAddressesSet"],
        subnet_id=["subnetId"],
        tag_specification_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSet(
            items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItem(
                resource_type=["resourceType"],
                tags=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItemItem(
                    key=["key"],
                    value=["value"]
                )]
            )]
        ),
        user_data=["userData"],
        vpc_id=["vpcId"]
    ),
    response_elements=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements(
        create_fleet_response=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetResponse(
            error_set=["errorSet"],
            fleet_id=["fleetId"],
            fleet_instance_set=["fleetInstanceSet"],
            request_id=["requestId"],
            xmlns=["xmlns"]
        ),
        create_launch_template_response=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse(
            launch_template=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate1(
                created_by=["createdBy"],
                create_time=["createTime"],
                default_version_number=["defaultVersionNumber"],
                latest_version_number=["latestVersionNumber"],
                launch_template_id=["launchTemplateId"],
                launch_template_name=["launchTemplateName"]
            ),
            request_id=["requestId"],
            xmlns=["xmlns"]
        ),
        delete_launch_template_response=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse(
            launch_template=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate1(
                created_by=["createdBy"],
                create_time=["createTime"],
                default_version_number=["defaultVersionNumber"],
                latest_version_number=["latestVersionNumber"],
                launch_template_id=["launchTemplateId"],
                launch_template_name=["launchTemplateName"]
            ),
            request_id=["requestId"],
            xmlns=["xmlns"]
        ),
        group_id=["groupId"],
        group_set=["groupSet"],
        instances_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet(
            items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem(
                ami_launch_index=["amiLaunchIndex"],
                architecture=["architecture"],
                block_device_mapping=["blockDeviceMapping"],
                capacity_reservation_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CapacityReservationSpecification(
                    capacity_reservation_preference=["capacityReservationPreference"]
                ),
                client_token=["clientToken"],
                cpu_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CpuOptions(
                    core_count=["coreCount"],
                    threads_per_core=["threadsPerCore"]
                ),
                current_state=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(
                    code=["code"],
                    name=["name"]
                ),
                ebs_optimized=["ebsOptimized"],
                enclave_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions(
                    enabled=["enabled"]
                ),
                group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2(
                    items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
                        group_id=["groupId"],
                        group_name=["groupName"]
                    )]
                ),
                hypervisor=["hypervisor"],
                image_id=["imageId"],
                instance_id=["instanceId"],
                instance_lifecycle=["instanceLifecycle"],
                instance_state=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(
                    code=["code"],
                    name=["name"]
                ),
                instance_type=["instanceType"],
                launch_time=["launchTime"],
                monitoring=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Monitoring1(
                    state=["state"]
                ),
                network_interface_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1(
                    items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item(
                        attachment=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Attachment(
                            attachment_id=["attachmentId"],
                            attach_time=["attachTime"],
                            delete_on_termination=["deleteOnTermination"],
                            device_index=["deviceIndex"],
                            status=["status"]
                        ),
                        group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet3(
                            items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
                                group_id=["groupId"],
                                group_name=["groupName"]
                            )]
                        ),
                        interface_type=["interfaceType"],
                        ipv6_addresses_set=["ipv6AddressesSet"],
                        mac_address=["macAddress"],
                        network_interface_id=["networkInterfaceId"],
                        owner_id=["ownerId"],
                        private_ip_address=["privateIpAddress"],
                        private_ip_addresses_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet2(
                            item=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1Item(
                                primary=["primary"],
                                private_ip_address=["privateIpAddress"]
                            )]
                        ),
                        source_dest_check=["sourceDestCheck"],
                        status=["status"],
                        subnet_id=["subnetId"],
                        tag_set=["tagSet"],
                        vpc_id=["vpcId"]
                    )]
                ),
                placement=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Placement(
                    availability_zone=["availabilityZone"],
                    tenancy=["tenancy"]
                ),
                previous_state=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(
                    code=["code"],
                    name=["name"]
                ),
                private_ip_address=["privateIpAddress"],
                product_codes=["productCodes"],
                root_device_name=["rootDeviceName"],
                root_device_type=["rootDeviceType"],
                source_dest_check=["sourceDestCheck"],
                spot_instance_request_id=["spotInstanceRequestId"],
                state_reason=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.StateReason(
                    code=["code"],
                    message=["message"]
                ),
                subnet_id=["subnetId"],
                tag_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSet(
                    items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItemItem(
                        key=["key"],
                        value=["value"]
                    )]
                ),
                virtualization_type=["virtualizationType"],
                vpc_id=["vpcId"]
            )]
        ),
        network_interface=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface(
            availability_zone=["availabilityZone"],
            description=["description"],
            group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2(
                items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
                    group_id=["groupId"],
                    group_name=["groupName"]
                )]
            ),
            interface_type=["interfaceType"],
            ipv6_addresses_set=["ipv6AddressesSet"],
            mac_address=["macAddress"],
            network_interface_id=["networkInterfaceId"],
            owner_id=["ownerId"],
            private_ip_address=["privateIpAddress"],
            private_ip_addresses_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1(
                item=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1Item(
                    primary=["primary"],
                    private_ip_address=["privateIpAddress"]
                )]
            ),
            requester_id=["requesterId"],
            requester_managed=["requesterManaged"],
            source_dest_check=["sourceDestCheck"],
            status=["status"],
            subnet_id=["subnetId"],
            tag_set=["tagSet"],
            vpc_id=["vpcId"]
        ),
        owner_id=["ownerId"],
        requester_id=["requesterId"],
        request_id=["requestId"],
        reservation_id=["reservationId"],
        return=["return"]
    ),
    source_ip_address=["sourceIpAddress"],
    user_agent=["userAgent"],
    user_identity=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.UserIdentity(
        access_key_id=["accessKeyId"],
        account_id=["accountId"],
        arn=["arn"],
        invoked_by=["invokedBy"],
        principal_id=["principalId"],
        session_context=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SessionContext(
            attributes=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Attributes(
                creation_date=["creationDate"],
                mfa_authenticated=["mfaAuthenticated"]
            ),
            session_issuer=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SessionIssuer(
                account_id=["accountId"],
                arn=["arn"],
                principal_id=["principalId"],
                type=["type"],
                user_name=["userName"]
            ),
            web_id_federation_data=["webIdFederationData"]
        ),
        type=["type"]
    )
)

Attributes

aws_region

(experimental) awsRegion property.

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

Default:
  • Do not filter on this field

Stability:

experimental

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

Attachment

class InstanceEvents.AWSAPICallViaCloudTrail.Attachment(*, attachment_id=None, attach_time=None, delete_on_termination=None, device_index=None, status=None)

Bases: object

(experimental) Type definition for Attachment.

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

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

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

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

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

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

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

attachment = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Attachment(
    attachment_id=["attachmentId"],
    attach_time=["attachTime"],
    delete_on_termination=["deleteOnTermination"],
    device_index=["deviceIndex"],
    status=["status"]
)

Attributes

attach_time

(experimental) attachTime property.

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

Default:
  • Do not filter on this field

Stability:

experimental

attachment_id

(experimental) attachmentId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

delete_on_termination

(experimental) deleteOnTermination property.

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

Default:
  • Do not filter on this field

Stability:

experimental

device_index

(experimental) deviceIndex property.

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

Default:
  • Do not filter on this field

Stability:

experimental

status

(experimental) status property.

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

Default:
  • Do not filter on this field

Stability:

experimental

Attributes

class InstanceEvents.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_ec2 import events as ec2_events

attributes = ec2_events.InstanceEvents.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

CapacityReservationSpecification

class InstanceEvents.AWSAPICallViaCloudTrail.CapacityReservationSpecification(*, capacity_reservation_preference=None)

Bases: object

(experimental) Type definition for CapacityReservationSpecification.

Parameters:

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

capacity_reservation_specification = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CapacityReservationSpecification(
    capacity_reservation_preference=["capacityReservationPreference"]
)

Attributes

capacity_reservation_preference

(experimental) capacityReservationPreference property.

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

Default:
  • Do not filter on this field

Stability:

experimental

CpuOptions

class InstanceEvents.AWSAPICallViaCloudTrail.CpuOptions(*, core_count=None, threads_per_core=None)

Bases: object

(experimental) Type definition for CpuOptions.

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

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

cpu_options = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CpuOptions(
    core_count=["coreCount"],
    threads_per_core=["threadsPerCore"]
)

Attributes

core_count

(experimental) coreCount property.

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

Default:
  • Do not filter on this field

Stability:

experimental

threads_per_core

(experimental) threadsPerCore property.

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

Default:
  • Do not filter on this field

Stability:

experimental

CreateFleetRequest

class InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetRequest(*, client_token=None, existing_instances=None, launch_template_configs=None, on_demand_options=None, spot_options=None, tag_specification=None, target_capacity_specification=None, type=None)

Bases: object

(experimental) Type definition for CreateFleetRequest.

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

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

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

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

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

  • tag_specification (Union[TagSpecification, Dict[str, Any], None]) – (experimental) TagSpecification property. Specify an array of string values to match this event if the actual value of TagSpecification is one of the values in 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_capacity_specification (Union[TargetCapacitySpecification, Dict[str, Any], None]) – (experimental) TargetCapacitySpecification property. Specify an array of string values to match this event if the actual value of TargetCapacitySpecification is one of the values in 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_ec2 import events as ec2_events

# overrides: Any

create_fleet_request = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetRequest(
    client_token=["clientToken"],
    existing_instances=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.ExistingInstances(
        availability_zone=["availabilityZone"],
        count=["count"],
        instance_type=["instanceType"],
        market_option=["marketOption"],
        operating_system=["operatingSystem"],
        tag=["tag"]
    ),
    launch_template_configs=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateConfigs(
        launch_template_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateSpecification(
            launch_template_id=["launchTemplateId"],
            version=["version"]
        ),
        overrides=[overrides],
        tag=["tag"]
    ),
    on_demand_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.OnDemandOptions(
        allocation_strategy=["allocationStrategy"],
        instance_pool_constraint_filter_disabled=["instancePoolConstraintFilterDisabled"],
        max_instance_count=["maxInstanceCount"],
        max_target_capacity=["maxTargetCapacity"]
    ),
    spot_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions(
        allocation_strategy=["allocationStrategy"],
        instance_pool_constraint_filter_disabled=["instancePoolConstraintFilterDisabled"],
        instance_pools_to_use_count=["instancePoolsToUseCount"],
        max_instance_count=["maxInstanceCount"],
        max_target_capacity=["maxTargetCapacity"]
    ),
    tag_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecification(
        resource_type=["resourceType"],
        tag=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Tag(
            key=["key"],
            tag=["tag"],
            value=["value"]
        )
    ),
    target_capacity_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification(
        default_target_capacity_type=["defaultTargetCapacityType"],
        on_demand_target_capacity=["onDemandTargetCapacity"],
        spot_target_capacity=["spotTargetCapacity"],
        total_target_capacity=["totalTargetCapacity"]
    ),
    type=["type"]
)

Attributes

client_token

(experimental) ClientToken property.

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

Default:
  • Do not filter on this field

Stability:

experimental

existing_instances

(experimental) ExistingInstances property.

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

Default:
  • Do not filter on this field

Stability:

experimental

launch_template_configs

(experimental) LaunchTemplateConfigs property.

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

Default:
  • Do not filter on this field

Stability:

experimental

on_demand_options

(experimental) OnDemandOptions property.

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

Default:
  • Do not filter on this field

Stability:

experimental

spot_options

(experimental) SpotOptions property.

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

Default:
  • Do not filter on this field

Stability:

experimental

tag_specification

(experimental) TagSpecification property.

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

(experimental) TargetCapacitySpecification property.

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

CreateFleetResponse

class InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetResponse(*, error_set=None, fleet_id=None, fleet_instance_set=None, request_id=None, xmlns=None)

Bases: object

(experimental) Type definition for CreateFleetResponse.

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

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

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

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

create_fleet_response = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetResponse(
    error_set=["errorSet"],
    fleet_id=["fleetId"],
    fleet_instance_set=["fleetInstanceSet"],
    request_id=["requestId"],
    xmlns=["xmlns"]
)

Attributes

error_set

(experimental) errorSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

fleet_id

(experimental) fleetId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

fleet_instance_set

(experimental) fleetInstanceSet property.

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

xmlns

(experimental) xmlns property.

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

Default:
  • Do not filter on this field

Stability:

experimental

CreateLaunchTemplateRequest

class InstanceEvents.AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest(*, launch_template_data=None, launch_template_name=None)

Bases: object

(experimental) Type definition for CreateLaunchTemplateRequest.

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

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

create_launch_template_request = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest(
    launch_template_data=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData(
        image_id=["imageId"],
        instance_market_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions1(
            market_type=["marketType"],
            spot_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions2(
                max_price=["maxPrice"],
                spot_instance_type=["spotInstanceType"]
            )
        ),
        instance_type=["instanceType"],
        network_interface=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface1(
            device_index=["deviceIndex"],
            security_group_id=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SecurityGroupId(
                content=["content"],
                tag=["tag"]
            ),
            subnet_id=["subnetId"],
            tag=["tag"]
        ),
        user_data=["userData"]
    ),
    launch_template_name=["launchTemplateName"]
)

Attributes

launch_template_data

(experimental) LaunchTemplateData property.

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

Default:
  • Do not filter on this field

Stability:

experimental

launch_template_name

(experimental) LaunchTemplateName property.

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

Default:
  • Do not filter on this field

Stability:

experimental

DeleteLaunchTemplateRequest

class InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateRequest(*, launch_template_name=None)

Bases: object

(experimental) Type definition for DeleteLaunchTemplateRequest.

Parameters:

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

delete_launch_template_request = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateRequest(
    launch_template_name=["launchTemplateName"]
)

Attributes

launch_template_name

(experimental) LaunchTemplateName property.

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

Default:
  • Do not filter on this field

Stability:

experimental

DeleteLaunchTemplateResponse

class InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse(*, launch_template=None, request_id=None, xmlns=None)

Bases: object

(experimental) Type definition for DeleteLaunchTemplateResponse.

Parameters:
  • launch_template (Union[LaunchTemplate1, Dict[str, Any], None]) – (experimental) launchTemplate property. Specify an array of string values to match this event if the actual value of launchTemplate is one of the values in 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

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

delete_launch_template_response = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse(
    launch_template=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate1(
        created_by=["createdBy"],
        create_time=["createTime"],
        default_version_number=["defaultVersionNumber"],
        latest_version_number=["latestVersionNumber"],
        launch_template_id=["launchTemplateId"],
        launch_template_name=["launchTemplateName"]
    ),
    request_id=["requestId"],
    xmlns=["xmlns"]
)

Attributes

launch_template

(experimental) launchTemplate property.

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

xmlns

(experimental) xmlns property.

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

Default:
  • Do not filter on this field

Stability:

experimental

EnclaveOptions

class InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions(*, enabled=None)

Bases: object

(experimental) Type definition for EnclaveOptions.

Parameters:

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

enclave_options = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions(
    enabled=["enabled"]
)

Attributes

enabled

(experimental) enabled property.

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

Default:
  • Do not filter on this field

Stability:

experimental

ExistingInstances

class InstanceEvents.AWSAPICallViaCloudTrail.ExistingInstances(*, availability_zone=None, count=None, instance_type=None, market_option=None, operating_system=None, tag=None)

Bases: object

(experimental) Type definition for ExistingInstances.

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

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

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

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

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

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

existing_instances = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.ExistingInstances(
    availability_zone=["availabilityZone"],
    count=["count"],
    instance_type=["instanceType"],
    market_option=["marketOption"],
    operating_system=["operatingSystem"],
    tag=["tag"]
)

Attributes

availability_zone

(experimental) AvailabilityZone property.

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

Default:
  • Do not filter on this field

Stability:

experimental

count

(experimental) Count property.

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

Default:
  • Do not filter on this field

Stability:

experimental

instance_type

(experimental) InstanceType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

market_option

(experimental) MarketOption property.

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

Default:
  • Do not filter on this field

Stability:

experimental

operating_system

(experimental) OperatingSystem property.

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

Default:
  • Do not filter on this field

Stability:

experimental

tag

(experimental) tag property.

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

Default:
  • Do not filter on this field

Stability:

experimental

GroupSet1

class InstanceEvents.AWSAPICallViaCloudTrail.GroupSet1(*, items=None)

Bases: object

(experimental) Type definition for GroupSet_1.

Parameters:

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

group_set1 = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet1(
    items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet1Item(
        group_id=["groupId"]
    )]
)

Attributes

items

(experimental) items property.

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

Default:
  • Do not filter on this field

Stability:

experimental

GroupSet1Item

class InstanceEvents.AWSAPICallViaCloudTrail.GroupSet1Item(*, group_id=None)

Bases: object

(experimental) Type definition for GroupSet_1Item.

Parameters:

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

group_set1_item = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet1Item(
    group_id=["groupId"]
)

Attributes

group_id

(experimental) groupId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

GroupSet2

class InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2(*, items=None)

Bases: object

(experimental) Type definition for GroupSet_2.

Parameters:

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

group_set2 = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2(
    items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
        group_id=["groupId"],
        group_name=["groupName"]
    )]
)

Attributes

items

(experimental) items property.

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

Default:
  • Do not filter on this field

Stability:

experimental

GroupSet2Item

class InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(*, group_id=None, group_name=None)

Bases: object

(experimental) Type definition for GroupSet_2Item.

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

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

group_set2_item = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
    group_id=["groupId"],
    group_name=["groupName"]
)

Attributes

group_id

(experimental) groupId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

group_name

(experimental) groupName property.

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

Default:
  • Do not filter on this field

Stability:

experimental

GroupSet3

class InstanceEvents.AWSAPICallViaCloudTrail.GroupSet3(*, items=None)

Bases: object

(experimental) Type definition for GroupSet_3.

Parameters:

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

group_set3 = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet3(
    items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
        group_id=["groupId"],
        group_name=["groupName"]
    )]
)

Attributes

items

(experimental) items property.

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

Default:
  • Do not filter on this field

Stability:

experimental

InstanceMarketOptions

class InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions(*, market_type=None, spot_options=None)

Bases: object

(experimental) Type definition for InstanceMarketOptions.

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

  • spot_options (Union[SpotOptions1, Dict[str, Any], None]) – (experimental) spotOptions property. Specify an array of string values to match this event if the actual value of spotOptions is one of the values in the array. 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_ec2 import events as ec2_events

instance_market_options = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions(
    market_type=["marketType"],
    spot_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions1(
        max_price=["maxPrice"],
        spot_instance_type=["spotInstanceType"]
    )
)

Attributes

market_type

(experimental) marketType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

spot_options

(experimental) spotOptions property.

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

Default:
  • Do not filter on this field

Stability:

experimental

InstanceMarketOptions1

class InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions1(*, market_type=None, spot_options=None)

Bases: object

(experimental) Type definition for InstanceMarketOptions_1.

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

  • spot_options (Union[SpotOptions2, Dict[str, Any], None]) – (experimental) SpotOptions property. Specify an array of string values to match this event if the actual value of SpotOptions is one of the values in the array. 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_ec2 import events as ec2_events

instance_market_options1 = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions1(
    market_type=["marketType"],
    spot_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions2(
        max_price=["maxPrice"],
        spot_instance_type=["spotInstanceType"]
    )
)

Attributes

market_type

(experimental) MarketType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

spot_options

(experimental) SpotOptions property.

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

Default:
  • Do not filter on this field

Stability:

experimental

InstanceState

class InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(*, code=None, name=None)

Bases: object

(experimental) Type definition for InstanceState.

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

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

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

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

instance_state = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(
    code=["code"],
    name=["name"]
)

Attributes

code

(experimental) code property.

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

Default:
  • Do not filter on this field

Stability:

experimental

name

(experimental) name property.

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

Default:
  • Do not filter on this field

Stability:

experimental

InstancesSet

class InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet(*, items=None)

Bases: object

(experimental) Type definition for InstancesSet.

Parameters:

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

instances_set = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet(
    items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem(
        ami_launch_index=["amiLaunchIndex"],
        architecture=["architecture"],
        block_device_mapping=["blockDeviceMapping"],
        capacity_reservation_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CapacityReservationSpecification(
            capacity_reservation_preference=["capacityReservationPreference"]
        ),
        client_token=["clientToken"],
        cpu_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CpuOptions(
            core_count=["coreCount"],
            threads_per_core=["threadsPerCore"]
        ),
        current_state=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(
            code=["code"],
            name=["name"]
        ),
        ebs_optimized=["ebsOptimized"],
        enclave_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions(
            enabled=["enabled"]
        ),
        group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2(
            items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
                group_id=["groupId"],
                group_name=["groupName"]
            )]
        ),
        hypervisor=["hypervisor"],
        image_id=["imageId"],
        instance_id=["instanceId"],
        instance_lifecycle=["instanceLifecycle"],
        instance_state=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(
            code=["code"],
            name=["name"]
        ),
        instance_type=["instanceType"],
        launch_time=["launchTime"],
        monitoring=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Monitoring1(
            state=["state"]
        ),
        network_interface_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1(
            items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item(
                attachment=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Attachment(
                    attachment_id=["attachmentId"],
                    attach_time=["attachTime"],
                    delete_on_termination=["deleteOnTermination"],
                    device_index=["deviceIndex"],
                    status=["status"]
                ),
                group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet3(
                    items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
                        group_id=["groupId"],
                        group_name=["groupName"]
                    )]
                ),
                interface_type=["interfaceType"],
                ipv6_addresses_set=["ipv6AddressesSet"],
                mac_address=["macAddress"],
                network_interface_id=["networkInterfaceId"],
                owner_id=["ownerId"],
                private_ip_address=["privateIpAddress"],
                private_ip_addresses_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet2(
                    item=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1Item(
                        primary=["primary"],
                        private_ip_address=["privateIpAddress"]
                    )]
                ),
                source_dest_check=["sourceDestCheck"],
                status=["status"],
                subnet_id=["subnetId"],
                tag_set=["tagSet"],
                vpc_id=["vpcId"]
            )]
        ),
        placement=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Placement(
            availability_zone=["availabilityZone"],
            tenancy=["tenancy"]
        ),
        previous_state=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(
            code=["code"],
            name=["name"]
        ),
        private_ip_address=["privateIpAddress"],
        product_codes=["productCodes"],
        root_device_name=["rootDeviceName"],
        root_device_type=["rootDeviceType"],
        source_dest_check=["sourceDestCheck"],
        spot_instance_request_id=["spotInstanceRequestId"],
        state_reason=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.StateReason(
            code=["code"],
            message=["message"]
        ),
        subnet_id=["subnetId"],
        tag_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSet(
            items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItemItem(
                key=["key"],
                value=["value"]
            )]
        ),
        virtualization_type=["virtualizationType"],
        vpc_id=["vpcId"]
    )]
)

Attributes

items

(experimental) items property.

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

Default:
  • Do not filter on this field

Stability:

experimental

InstancesSet1

class InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1(*, items=None)

Bases: object

(experimental) Type definition for InstancesSet_1.

Parameters:

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

instances_set1 = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1(
    items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item(
        image_id=["imageId"],
        instance_id=["instanceId"],
        max_count=["maxCount"],
        min_count=["minCount"]
    )]
)

Attributes

items

(experimental) items property.

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

Default:
  • Do not filter on this field

Stability:

experimental

InstancesSet1Item

class InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item(*, image_id=None, instance_id=None, max_count=None, min_count=None)

Bases: object

(experimental) Type definition for InstancesSet_1Item.

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

  • 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

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

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

instances_set1_item = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item(
    image_id=["imageId"],
    instance_id=["instanceId"],
    max_count=["maxCount"],
    min_count=["minCount"]
)

Attributes

image_id

(experimental) imageId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

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

max_count

(experimental) maxCount property.

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

Default:
  • Do not filter on this field

Stability:

experimental

min_count

(experimental) minCount property.

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

Default:
  • Do not filter on this field

Stability:

experimental

InstancesSetItem

class InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem(*, ami_launch_index=None, architecture=None, block_device_mapping=None, capacity_reservation_specification=None, client_token=None, cpu_options=None, current_state=None, ebs_optimized=None, enclave_options=None, group_set=None, hypervisor=None, image_id=None, instance_id=None, instance_lifecycle=None, instance_state=None, instance_type=None, launch_time=None, monitoring=None, network_interface_set=None, placement=None, previous_state=None, private_ip_address=None, product_codes=None, root_device_name=None, root_device_type=None, source_dest_check=None, spot_instance_request_id=None, state_reason=None, subnet_id=None, tag_set=None, virtualization_type=None, vpc_id=None)

Bases: object

(experimental) Type definition for InstancesSetItem.

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

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

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

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

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

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

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

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

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

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

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

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

  • 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: - Filter with the Instance reference

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

instances_set_item = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem(
    ami_launch_index=["amiLaunchIndex"],
    architecture=["architecture"],
    block_device_mapping=["blockDeviceMapping"],
    capacity_reservation_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CapacityReservationSpecification(
        capacity_reservation_preference=["capacityReservationPreference"]
    ),
    client_token=["clientToken"],
    cpu_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CpuOptions(
        core_count=["coreCount"],
        threads_per_core=["threadsPerCore"]
    ),
    current_state=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(
        code=["code"],
        name=["name"]
    ),
    ebs_optimized=["ebsOptimized"],
    enclave_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions(
        enabled=["enabled"]
    ),
    group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2(
        items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
            group_id=["groupId"],
            group_name=["groupName"]
        )]
    ),
    hypervisor=["hypervisor"],
    image_id=["imageId"],
    instance_id=["instanceId"],
    instance_lifecycle=["instanceLifecycle"],
    instance_state=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(
        code=["code"],
        name=["name"]
    ),
    instance_type=["instanceType"],
    launch_time=["launchTime"],
    monitoring=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Monitoring1(
        state=["state"]
    ),
    network_interface_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1(
        items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item(
            attachment=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Attachment(
                attachment_id=["attachmentId"],
                attach_time=["attachTime"],
                delete_on_termination=["deleteOnTermination"],
                device_index=["deviceIndex"],
                status=["status"]
            ),
            group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet3(
                items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
                    group_id=["groupId"],
                    group_name=["groupName"]
                )]
            ),
            interface_type=["interfaceType"],
            ipv6_addresses_set=["ipv6AddressesSet"],
            mac_address=["macAddress"],
            network_interface_id=["networkInterfaceId"],
            owner_id=["ownerId"],
            private_ip_address=["privateIpAddress"],
            private_ip_addresses_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet2(
                item=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1Item(
                    primary=["primary"],
                    private_ip_address=["privateIpAddress"]
                )]
            ),
            source_dest_check=["sourceDestCheck"],
            status=["status"],
            subnet_id=["subnetId"],
            tag_set=["tagSet"],
            vpc_id=["vpcId"]
        )]
    ),
    placement=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Placement(
        availability_zone=["availabilityZone"],
        tenancy=["tenancy"]
    ),
    previous_state=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(
        code=["code"],
        name=["name"]
    ),
    private_ip_address=["privateIpAddress"],
    product_codes=["productCodes"],
    root_device_name=["rootDeviceName"],
    root_device_type=["rootDeviceType"],
    source_dest_check=["sourceDestCheck"],
    spot_instance_request_id=["spotInstanceRequestId"],
    state_reason=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.StateReason(
        code=["code"],
        message=["message"]
    ),
    subnet_id=["subnetId"],
    tag_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSet(
        items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItemItem(
            key=["key"],
            value=["value"]
        )]
    ),
    virtualization_type=["virtualizationType"],
    vpc_id=["vpcId"]
)

Attributes

ami_launch_index

(experimental) amiLaunchIndex property.

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

Default:
  • Do not filter on this field

Stability:

experimental

architecture

(experimental) architecture property.

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

Default:
  • Do not filter on this field

Stability:

experimental

block_device_mapping

(experimental) blockDeviceMapping property.

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

Default:
  • Do not filter on this field

Stability:

experimental

capacity_reservation_specification

(experimental) capacityReservationSpecification property.

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

Default:
  • Do not filter on this field

Stability:

experimental

client_token

(experimental) clientToken property.

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

Default:
  • Do not filter on this field

Stability:

experimental

cpu_options

(experimental) cpuOptions property.

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

Default:
  • Do not filter on this field

Stability:

experimental

current_state

(experimental) currentState property.

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

Default:
  • Do not filter on this field

Stability:

experimental

ebs_optimized

(experimental) ebsOptimized property.

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

Default:
  • Do not filter on this field

Stability:

experimental

enclave_options

(experimental) enclaveOptions property.

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

Default:
  • Do not filter on this field

Stability:

experimental

group_set

(experimental) groupSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

hypervisor

(experimental) hypervisor property.

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

Default:
  • Do not filter on this field

Stability:

experimental

image_id

(experimental) imageId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

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:
  • Filter with the Instance reference

Stability:

experimental

instance_lifecycle

(experimental) instanceLifecycle property.

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

Default:
  • Do not filter on this field

Stability:

experimental

instance_state

(experimental) instanceState property.

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

Default:
  • Do not filter on this field

Stability:

experimental

instance_type

(experimental) instanceType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

launch_time

(experimental) launchTime property.

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

Default:
  • Do not filter on this field

Stability:

experimental

monitoring

(experimental) monitoring property.

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

Default:
  • Do not filter on this field

Stability:

experimental

network_interface_set

(experimental) networkInterfaceSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

placement

(experimental) placement property.

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

Default:
  • Do not filter on this field

Stability:

experimental

previous_state

(experimental) previousState property.

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

Default:
  • Do not filter on this field

Stability:

experimental

private_ip_address

(experimental) privateIpAddress property.

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

Default:
  • Do not filter on this field

Stability:

experimental

product_codes

(experimental) productCodes property.

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

Default:
  • Do not filter on this field

Stability:

experimental

root_device_name

(experimental) rootDeviceName property.

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

Default:
  • Do not filter on this field

Stability:

experimental

root_device_type

(experimental) rootDeviceType property.

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

(experimental) sourceDestCheck property.

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

Default:
  • Do not filter on this field

Stability:

experimental

spot_instance_request_id

(experimental) spotInstanceRequestId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

state_reason

(experimental) stateReason property.

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

Default:
  • Do not filter on this field

Stability:

experimental

subnet_id

(experimental) subnetId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

tag_set

(experimental) tagSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

virtualization_type

(experimental) virtualizationType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

vpc_id

(experimental) vpcId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

LaunchTemplate

class InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate(*, launch_template_id=None, version=None)

Bases: object

(experimental) Type definition for LaunchTemplate.

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

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

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

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

launch_template = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate(
    launch_template_id=["launchTemplateId"],
    version=["version"]
)

Attributes

launch_template_id

(experimental) launchTemplateId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

version

(experimental) version property.

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

Default:
  • Do not filter on this field

Stability:

experimental

LaunchTemplate1

class InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate1(*, created_by=None, create_time=None, default_version_number=None, latest_version_number=None, launch_template_id=None, launch_template_name=None)

Bases: object

(experimental) Type definition for LaunchTemplate_1.

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

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

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

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

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

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

launch_template1 = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate1(
    created_by=["createdBy"],
    create_time=["createTime"],
    default_version_number=["defaultVersionNumber"],
    latest_version_number=["latestVersionNumber"],
    launch_template_id=["launchTemplateId"],
    launch_template_name=["launchTemplateName"]
)

Attributes

create_time

(experimental) createTime property.

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

Default:
  • Do not filter on this field

Stability:

experimental

created_by

(experimental) createdBy property.

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

Default:
  • Do not filter on this field

Stability:

experimental

default_version_number

(experimental) defaultVersionNumber property.

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

Default:
  • Do not filter on this field

Stability:

experimental

latest_version_number

(experimental) latestVersionNumber property.

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

Default:
  • Do not filter on this field

Stability:

experimental

launch_template_id

(experimental) launchTemplateId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

launch_template_name

(experimental) launchTemplateName property.

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

Default:
  • Do not filter on this field

Stability:

experimental

LaunchTemplateConfigs

class InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateConfigs(*, launch_template_specification=None, overrides=None, tag=None)

Bases: object

(experimental) Type definition for LaunchTemplateConfigs.

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

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

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

# overrides: Any

launch_template_configs = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateConfigs(
    launch_template_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateSpecification(
        launch_template_id=["launchTemplateId"],
        version=["version"]
    ),
    overrides=[overrides],
    tag=["tag"]
)

Attributes

launch_template_specification

(experimental) LaunchTemplateSpecification property.

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

Default:
  • Do not filter on this field

Stability:

experimental

overrides

(experimental) Overrides property.

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

Default:
  • Do not filter on this field

Stability:

experimental

tag

(experimental) tag property.

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

Default:
  • Do not filter on this field

Stability:

experimental

LaunchTemplateData

class InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData(*, image_id=None, instance_market_options=None, instance_type=None, network_interface=None, user_data=None)

Bases: object

(experimental) Type definition for LaunchTemplateData.

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

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

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

  • network_interface (Union[NetworkInterface1, Dict[str, Any], None]) – (experimental) NetworkInterface property. Specify an array of string values to match this event if the actual value of NetworkInterface is one of the values in 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_data (Optional[Sequence[str]]) – (experimental) UserData property. Specify an array of string values to match this event if the actual value of UserData is one of the values in the array. 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_ec2 import events as ec2_events

launch_template_data = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData(
    image_id=["imageId"],
    instance_market_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions1(
        market_type=["marketType"],
        spot_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions2(
            max_price=["maxPrice"],
            spot_instance_type=["spotInstanceType"]
        )
    ),
    instance_type=["instanceType"],
    network_interface=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface1(
        device_index=["deviceIndex"],
        security_group_id=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SecurityGroupId(
            content=["content"],
            tag=["tag"]
        ),
        subnet_id=["subnetId"],
        tag=["tag"]
    ),
    user_data=["userData"]
)

Attributes

image_id

(experimental) ImageId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

instance_market_options

(experimental) InstanceMarketOptions property.

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

Default:
  • Do not filter on this field

Stability:

experimental

instance_type

(experimental) InstanceType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

network_interface

(experimental) NetworkInterface property.

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

(experimental) UserData property.

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

Default:
  • Do not filter on this field

Stability:

experimental

LaunchTemplateSpecification

class InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateSpecification(*, launch_template_id=None, version=None)

Bases: object

(experimental) Type definition for LaunchTemplateSpecification.

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

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

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

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

launch_template_specification = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateSpecification(
    launch_template_id=["launchTemplateId"],
    version=["version"]
)

Attributes

launch_template_id

(experimental) LaunchTemplateId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

version

(experimental) Version property.

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

Default:
  • Do not filter on this field

Stability:

experimental

Monitoring

class InstanceEvents.AWSAPICallViaCloudTrail.Monitoring(*, enabled=None)

Bases: object

(experimental) Type definition for Monitoring.

Parameters:

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

monitoring = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Monitoring(
    enabled=["enabled"]
)

Attributes

enabled

(experimental) enabled property.

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

Default:
  • Do not filter on this field

Stability:

experimental

Monitoring1

class InstanceEvents.AWSAPICallViaCloudTrail.Monitoring1(*, state=None)

Bases: object

(experimental) Type definition for Monitoring_1.

Parameters:

state (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 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_ec2 import events as ec2_events

monitoring1 = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Monitoring1(
    state=["state"]
)

Attributes

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

Default:
  • Do not filter on this field

Stability:

experimental

NetworkInterface

class InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface(*, availability_zone=None, description=None, group_set=None, interface_type=None, ipv6_addresses_set=None, mac_address=None, network_interface_id=None, owner_id=None, private_ip_address=None, private_ip_addresses_set=None, requester_id=None, requester_managed=None, source_dest_check=None, status=None, subnet_id=None, tag_set=None, vpc_id=None)

Bases: object

(experimental) Type definition for NetworkInterface.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

network_interface = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface(
    availability_zone=["availabilityZone"],
    description=["description"],
    group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2(
        items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
            group_id=["groupId"],
            group_name=["groupName"]
        )]
    ),
    interface_type=["interfaceType"],
    ipv6_addresses_set=["ipv6AddressesSet"],
    mac_address=["macAddress"],
    network_interface_id=["networkInterfaceId"],
    owner_id=["ownerId"],
    private_ip_address=["privateIpAddress"],
    private_ip_addresses_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1(
        item=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1Item(
            primary=["primary"],
            private_ip_address=["privateIpAddress"]
        )]
    ),
    requester_id=["requesterId"],
    requester_managed=["requesterManaged"],
    source_dest_check=["sourceDestCheck"],
    status=["status"],
    subnet_id=["subnetId"],
    tag_set=["tagSet"],
    vpc_id=["vpcId"]
)

Attributes

availability_zone

(experimental) availabilityZone property.

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

Default:
  • Do not filter on this field

Stability:

experimental

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

Default:
  • Do not filter on this field

Stability:

experimental

group_set

(experimental) groupSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

interface_type

(experimental) interfaceType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

ipv6_addresses_set

(experimental) ipv6AddressesSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

mac_address

(experimental) macAddress property.

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

Default:
  • Do not filter on this field

Stability:

experimental

network_interface_id

(experimental) networkInterfaceId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

owner_id

(experimental) ownerId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

private_ip_address

(experimental) privateIpAddress property.

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

Default:
  • Do not filter on this field

Stability:

experimental

private_ip_addresses_set

(experimental) privateIpAddressesSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

requester_id

(experimental) requesterId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

requester_managed

(experimental) requesterManaged property.

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

(experimental) sourceDestCheck property.

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

Default:
  • Do not filter on this field

Stability:

experimental

status

(experimental) status property.

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

Default:
  • Do not filter on this field

Stability:

experimental

subnet_id

(experimental) subnetId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

tag_set

(experimental) tagSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

vpc_id

(experimental) vpcId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

NetworkInterface1

class InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface1(*, device_index=None, security_group_id=None, subnet_id=None, tag=None)

Bases: object

(experimental) Type definition for NetworkInterface_1.

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

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

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

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

network_interface1 = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface1(
    device_index=["deviceIndex"],
    security_group_id=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SecurityGroupId(
        content=["content"],
        tag=["tag"]
    ),
    subnet_id=["subnetId"],
    tag=["tag"]
)

Attributes

device_index

(experimental) DeviceIndex property.

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

Default:
  • Do not filter on this field

Stability:

experimental

security_group_id

(experimental) SecurityGroupId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

subnet_id

(experimental) SubnetId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

tag

(experimental) tag property.

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

Default:
  • Do not filter on this field

Stability:

experimental

NetworkInterfaceSet

class InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet(*, items=None)

Bases: object

(experimental) Type definition for NetworkInterfaceSet.

Parameters:

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

network_interface_set = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet(
    items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSetItem(
        device_index=["deviceIndex"],
        subnet_id=["subnetId"]
    )]
)

Attributes

items

(experimental) items property.

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

Default:
  • Do not filter on this field

Stability:

experimental

NetworkInterfaceSet1

class InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1(*, items=None)

Bases: object

(experimental) Type definition for NetworkInterfaceSet_1.

Parameters:

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

network_interface_set1 = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1(
    items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item(
        attachment=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Attachment(
            attachment_id=["attachmentId"],
            attach_time=["attachTime"],
            delete_on_termination=["deleteOnTermination"],
            device_index=["deviceIndex"],
            status=["status"]
        ),
        group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet3(
            items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
                group_id=["groupId"],
                group_name=["groupName"]
            )]
        ),
        interface_type=["interfaceType"],
        ipv6_addresses_set=["ipv6AddressesSet"],
        mac_address=["macAddress"],
        network_interface_id=["networkInterfaceId"],
        owner_id=["ownerId"],
        private_ip_address=["privateIpAddress"],
        private_ip_addresses_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet2(
            item=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1Item(
                primary=["primary"],
                private_ip_address=["privateIpAddress"]
            )]
        ),
        source_dest_check=["sourceDestCheck"],
        status=["status"],
        subnet_id=["subnetId"],
        tag_set=["tagSet"],
        vpc_id=["vpcId"]
    )]
)

Attributes

items

(experimental) items property.

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

Default:
  • Do not filter on this field

Stability:

experimental

NetworkInterfaceSet1Item

class InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item(*, attachment=None, group_set=None, interface_type=None, ipv6_addresses_set=None, mac_address=None, network_interface_id=None, owner_id=None, private_ip_address=None, private_ip_addresses_set=None, source_dest_check=None, status=None, subnet_id=None, tag_set=None, vpc_id=None)

Bases: object

(experimental) Type definition for NetworkInterfaceSet_1Item.

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

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

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

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

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

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

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

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

  • private_ip_addresses_set (Union[PrivateIpAddressesSet2, Dict[str, Any], None]) – (experimental) privateIpAddressesSet property. Specify an array of string values to match this event if the actual value of privateIpAddressesSet is one of the values in 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_dest_check (Optional[Sequence[str]]) – (experimental) sourceDestCheck property. Specify an array of string values to match this event if the actual value of sourceDestCheck is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

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

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

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

network_interface_set1_item = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item(
    attachment=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Attachment(
        attachment_id=["attachmentId"],
        attach_time=["attachTime"],
        delete_on_termination=["deleteOnTermination"],
        device_index=["deviceIndex"],
        status=["status"]
    ),
    group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet3(
        items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
            group_id=["groupId"],
            group_name=["groupName"]
        )]
    ),
    interface_type=["interfaceType"],
    ipv6_addresses_set=["ipv6AddressesSet"],
    mac_address=["macAddress"],
    network_interface_id=["networkInterfaceId"],
    owner_id=["ownerId"],
    private_ip_address=["privateIpAddress"],
    private_ip_addresses_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet2(
        item=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1Item(
            primary=["primary"],
            private_ip_address=["privateIpAddress"]
        )]
    ),
    source_dest_check=["sourceDestCheck"],
    status=["status"],
    subnet_id=["subnetId"],
    tag_set=["tagSet"],
    vpc_id=["vpcId"]
)

Attributes

attachment

(experimental) attachment property.

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

Default:
  • Do not filter on this field

Stability:

experimental

group_set

(experimental) groupSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

interface_type

(experimental) interfaceType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

ipv6_addresses_set

(experimental) ipv6AddressesSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

mac_address

(experimental) macAddress property.

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

Default:
  • Do not filter on this field

Stability:

experimental

network_interface_id

(experimental) networkInterfaceId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

owner_id

(experimental) ownerId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

private_ip_address

(experimental) privateIpAddress property.

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

Default:
  • Do not filter on this field

Stability:

experimental

private_ip_addresses_set

(experimental) privateIpAddressesSet property.

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

(experimental) sourceDestCheck property.

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

Default:
  • Do not filter on this field

Stability:

experimental

status

(experimental) status property.

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

Default:
  • Do not filter on this field

Stability:

experimental

subnet_id

(experimental) subnetId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

tag_set

(experimental) tagSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

vpc_id

(experimental) vpcId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

NetworkInterfaceSetItem

class InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSetItem(*, device_index=None, subnet_id=None)

Bases: object

(experimental) Type definition for NetworkInterfaceSetItem.

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

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

network_interface_set_item = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSetItem(
    device_index=["deviceIndex"],
    subnet_id=["subnetId"]
)

Attributes

device_index

(experimental) deviceIndex property.

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

Default:
  • Do not filter on this field

Stability:

experimental

subnet_id

(experimental) subnetId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

OnDemandOptions

class InstanceEvents.AWSAPICallViaCloudTrail.OnDemandOptions(*, allocation_strategy=None, instance_pool_constraint_filter_disabled=None, max_instance_count=None, max_target_capacity=None)

Bases: object

(experimental) Type definition for OnDemandOptions.

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

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

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

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

on_demand_options = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.OnDemandOptions(
    allocation_strategy=["allocationStrategy"],
    instance_pool_constraint_filter_disabled=["instancePoolConstraintFilterDisabled"],
    max_instance_count=["maxInstanceCount"],
    max_target_capacity=["maxTargetCapacity"]
)

Attributes

allocation_strategy

(experimental) AllocationStrategy property.

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

Default:
  • Do not filter on this field

Stability:

experimental

instance_pool_constraint_filter_disabled

(experimental) InstancePoolConstraintFilterDisabled property.

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

Default:
  • Do not filter on this field

Stability:

experimental

max_instance_count

(experimental) MaxInstanceCount property.

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

Default:
  • Do not filter on this field

Stability:

experimental

max_target_capacity

(experimental) MaxTargetCapacity property.

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

Default:
  • Do not filter on this field

Stability:

experimental

Placement

class InstanceEvents.AWSAPICallViaCloudTrail.Placement(*, availability_zone=None, tenancy=None)

Bases: object

(experimental) Type definition for Placement.

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

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

placement = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Placement(
    availability_zone=["availabilityZone"],
    tenancy=["tenancy"]
)

Attributes

availability_zone

(experimental) availabilityZone property.

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

Default:
  • Do not filter on this field

Stability:

experimental

tenancy

(experimental) tenancy property.

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

Default:
  • Do not filter on this field

Stability:

experimental

PrivateIpAddressesSet1

class InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1(*, item=None)

Bases: object

(experimental) Type definition for PrivateIpAddressesSet_1.

Parameters:

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

private_ip_addresses_set1 = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1(
    item=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1Item(
        primary=["primary"],
        private_ip_address=["privateIpAddress"]
    )]
)

Attributes

item

(experimental) item property.

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

Default:
  • Do not filter on this field

Stability:

experimental

PrivateIpAddressesSet1Item

class InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1Item(*, primary=None, private_ip_address=None)

Bases: object

(experimental) Type definition for PrivateIpAddressesSet_1Item.

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

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

private_ip_addresses_set1_item = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1Item(
    primary=["primary"],
    private_ip_address=["privateIpAddress"]
)

Attributes

primary

(experimental) primary property.

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

Default:
  • Do not filter on this field

Stability:

experimental

private_ip_address

(experimental) privateIpAddress property.

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

Default:
  • Do not filter on this field

Stability:

experimental

PrivateIpAddressesSet2

class InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet2(*, item=None)

Bases: object

(experimental) Type definition for PrivateIpAddressesSet_2.

Parameters:

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

private_ip_addresses_set2 = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet2(
    item=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1Item(
        primary=["primary"],
        private_ip_address=["privateIpAddress"]
    )]
)

Attributes

item

(experimental) item property.

Specify an array of string values to match this event if the actual value of item is one of the values in the array. 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 InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters(*, availability_zone=None, block_device_mapping=None, client_token=None, create_fleet_request=None, create_launch_template_request=None, delete_launch_template_request=None, description=None, disable_api_termination=None, group_description=None, group_id=None, group_name=None, group_set=None, instance_market_options=None, instances_set=None, instance_type=None, ipv6_address_count=None, launch_template=None, monitoring=None, network_interface_id=None, network_interface_set=None, private_ip_addresses_set=None, subnet_id=None, tag_specification_set=None, user_data=None, vpc_id=None)

Bases: object

(experimental) Type definition for RequestParameters.

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

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

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

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

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

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

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

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

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

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

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

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

  • instance_market_options (Union[InstanceMarketOptions, Dict[str, Any], None]) – (experimental) instanceMarketOptions property. Specify an array of string values to match this event if the actual value of instanceMarketOptions is one of the values in 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_set (Union[InstancesSet1, Dict[str, Any], None]) – (experimental) instancesSet property. Specify an array of string values to match this event if the actual value of instancesSet is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

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

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

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

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

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

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

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

  • tag_specification_set (Union[TagSpecificationSet, Dict[str, Any], None]) – (experimental) tagSpecificationSet property. Specify an array of string values to match this event if the actual value of tagSpecificationSet is one of the values in 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_data (Optional[Sequence[str]]) – (experimental) userData property. Specify an array of string values to match this event if the actual value of userData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

# overrides: Any

request_parameters = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters(
    availability_zone=["availabilityZone"],
    block_device_mapping=["blockDeviceMapping"],
    client_token=["clientToken"],
    create_fleet_request=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetRequest(
        client_token=["clientToken"],
        existing_instances=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.ExistingInstances(
            availability_zone=["availabilityZone"],
            count=["count"],
            instance_type=["instanceType"],
            market_option=["marketOption"],
            operating_system=["operatingSystem"],
            tag=["tag"]
        ),
        launch_template_configs=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateConfigs(
            launch_template_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateSpecification(
                launch_template_id=["launchTemplateId"],
                version=["version"]
            ),
            overrides=[overrides],
            tag=["tag"]
        ),
        on_demand_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.OnDemandOptions(
            allocation_strategy=["allocationStrategy"],
            instance_pool_constraint_filter_disabled=["instancePoolConstraintFilterDisabled"],
            max_instance_count=["maxInstanceCount"],
            max_target_capacity=["maxTargetCapacity"]
        ),
        spot_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions(
            allocation_strategy=["allocationStrategy"],
            instance_pool_constraint_filter_disabled=["instancePoolConstraintFilterDisabled"],
            instance_pools_to_use_count=["instancePoolsToUseCount"],
            max_instance_count=["maxInstanceCount"],
            max_target_capacity=["maxTargetCapacity"]
        ),
        tag_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecification(
            resource_type=["resourceType"],
            tag=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Tag(
                key=["key"],
                tag=["tag"],
                value=["value"]
            )
        ),
        target_capacity_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification(
            default_target_capacity_type=["defaultTargetCapacityType"],
            on_demand_target_capacity=["onDemandTargetCapacity"],
            spot_target_capacity=["spotTargetCapacity"],
            total_target_capacity=["totalTargetCapacity"]
        ),
        type=["type"]
    ),
    create_launch_template_request=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest(
        launch_template_data=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData(
            image_id=["imageId"],
            instance_market_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions1(
                market_type=["marketType"],
                spot_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions2(
                    max_price=["maxPrice"],
                    spot_instance_type=["spotInstanceType"]
                )
            ),
            instance_type=["instanceType"],
            network_interface=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface1(
                device_index=["deviceIndex"],
                security_group_id=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SecurityGroupId(
                    content=["content"],
                    tag=["tag"]
                ),
                subnet_id=["subnetId"],
                tag=["tag"]
            ),
            user_data=["userData"]
        ),
        launch_template_name=["launchTemplateName"]
    ),
    delete_launch_template_request=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateRequest(
        launch_template_name=["launchTemplateName"]
    ),
    description=["description"],
    disable_api_termination=["disableApiTermination"],
    group_description=["groupDescription"],
    group_id=["groupId"],
    group_name=["groupName"],
    group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet1(
        items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet1Item(
            group_id=["groupId"]
        )]
    ),
    instance_market_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions(
        market_type=["marketType"],
        spot_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions1(
            max_price=["maxPrice"],
            spot_instance_type=["spotInstanceType"]
        )
    ),
    instances_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1(
        items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item(
            image_id=["imageId"],
            instance_id=["instanceId"],
            max_count=["maxCount"],
            min_count=["minCount"]
        )]
    ),
    instance_type=["instanceType"],
    ipv6_address_count=["ipv6AddressCount"],
    launch_template=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate(
        launch_template_id=["launchTemplateId"],
        version=["version"]
    ),
    monitoring=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Monitoring(
        enabled=["enabled"]
    ),
    network_interface_id=["networkInterfaceId"],
    network_interface_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet(
        items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSetItem(
            device_index=["deviceIndex"],
            subnet_id=["subnetId"]
        )]
    ),
    private_ip_addresses_set=["privateIpAddressesSet"],
    subnet_id=["subnetId"],
    tag_specification_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSet(
        items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItem(
            resource_type=["resourceType"],
            tags=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItemItem(
                key=["key"],
                value=["value"]
            )]
        )]
    ),
    user_data=["userData"],
    vpc_id=["vpcId"]
)

Attributes

availability_zone

(experimental) availabilityZone property.

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

Default:
  • Do not filter on this field

Stability:

experimental

block_device_mapping

(experimental) blockDeviceMapping property.

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

Default:
  • Do not filter on this field

Stability:

experimental

client_token

(experimental) clientToken property.

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

Default:
  • Do not filter on this field

Stability:

experimental

create_fleet_request

(experimental) CreateFleetRequest property.

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

Default:
  • Do not filter on this field

Stability:

experimental

create_launch_template_request

(experimental) CreateLaunchTemplateRequest property.

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

Default:
  • Do not filter on this field

Stability:

experimental

delete_launch_template_request

(experimental) DeleteLaunchTemplateRequest property.

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

Default:
  • Do not filter on this field

Stability:

experimental

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

Default:
  • Do not filter on this field

Stability:

experimental

disable_api_termination

(experimental) disableApiTermination property.

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

Default:
  • Do not filter on this field

Stability:

experimental

group_description

(experimental) groupDescription property.

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

Default:
  • Do not filter on this field

Stability:

experimental

group_id

(experimental) groupId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

group_name

(experimental) groupName property.

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

Default:
  • Do not filter on this field

Stability:

experimental

group_set

(experimental) groupSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

instance_market_options

(experimental) instanceMarketOptions property.

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

Default:
  • Do not filter on this field

Stability:

experimental

instance_type

(experimental) instanceType property.

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

(experimental) instancesSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

ipv6_address_count

(experimental) ipv6AddressCount property.

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

Default:
  • Do not filter on this field

Stability:

experimental

launch_template

(experimental) launchTemplate property.

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

Default:
  • Do not filter on this field

Stability:

experimental

monitoring

(experimental) monitoring property.

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

Default:
  • Do not filter on this field

Stability:

experimental

network_interface_id

(experimental) networkInterfaceId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

network_interface_set

(experimental) networkInterfaceSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

private_ip_addresses_set

(experimental) privateIpAddressesSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

subnet_id

(experimental) subnetId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

tag_specification_set

(experimental) tagSpecificationSet property.

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

(experimental) userData property.

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

Default:
  • Do not filter on this field

Stability:

experimental

vpc_id

(experimental) vpcId property.

Specify an array of string values to match this event if the actual value of vpcId is one of the values in the array. 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 InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements(*, create_fleet_response=None, create_launch_template_response=None, delete_launch_template_response=None, group_id=None, group_set=None, instances_set=None, network_interface=None, owner_id=None, requester_id=None, request_id=None, reservation_id=None, return_=None)

Bases: object

(experimental) Type definition for ResponseElements.

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

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

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

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

  • group_set (Optional[Sequence[str]]) – (experimental) groupSet property. Specify an array of string values to match this event if the actual value of groupSet is one of the values in 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_set (Union[InstancesSet, Dict[str, Any], None]) – (experimental) instancesSet property. Specify an array of string values to match this event if the actual value of instancesSet is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

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

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

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

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

  • return – (experimental) _return property. Specify an array of string values to match this event if the actual value of _return is one of the values in the array. 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_ec2 import events as ec2_events

response_elements = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements(
    create_fleet_response=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetResponse(
        error_set=["errorSet"],
        fleet_id=["fleetId"],
        fleet_instance_set=["fleetInstanceSet"],
        request_id=["requestId"],
        xmlns=["xmlns"]
    ),
    create_launch_template_response=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse(
        launch_template=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate1(
            created_by=["createdBy"],
            create_time=["createTime"],
            default_version_number=["defaultVersionNumber"],
            latest_version_number=["latestVersionNumber"],
            launch_template_id=["launchTemplateId"],
            launch_template_name=["launchTemplateName"]
        ),
        request_id=["requestId"],
        xmlns=["xmlns"]
    ),
    delete_launch_template_response=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse(
        launch_template=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate1(
            created_by=["createdBy"],
            create_time=["createTime"],
            default_version_number=["defaultVersionNumber"],
            latest_version_number=["latestVersionNumber"],
            launch_template_id=["launchTemplateId"],
            launch_template_name=["launchTemplateName"]
        ),
        request_id=["requestId"],
        xmlns=["xmlns"]
    ),
    group_id=["groupId"],
    group_set=["groupSet"],
    instances_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet(
        items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem(
            ami_launch_index=["amiLaunchIndex"],
            architecture=["architecture"],
            block_device_mapping=["blockDeviceMapping"],
            capacity_reservation_specification=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CapacityReservationSpecification(
                capacity_reservation_preference=["capacityReservationPreference"]
            ),
            client_token=["clientToken"],
            cpu_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CpuOptions(
                core_count=["coreCount"],
                threads_per_core=["threadsPerCore"]
            ),
            current_state=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(
                code=["code"],
                name=["name"]
            ),
            ebs_optimized=["ebsOptimized"],
            enclave_options=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions(
                enabled=["enabled"]
            ),
            group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2(
                items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
                    group_id=["groupId"],
                    group_name=["groupName"]
                )]
            ),
            hypervisor=["hypervisor"],
            image_id=["imageId"],
            instance_id=["instanceId"],
            instance_lifecycle=["instanceLifecycle"],
            instance_state=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(
                code=["code"],
                name=["name"]
            ),
            instance_type=["instanceType"],
            launch_time=["launchTime"],
            monitoring=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Monitoring1(
                state=["state"]
            ),
            network_interface_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1(
                items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item(
                    attachment=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Attachment(
                        attachment_id=["attachmentId"],
                        attach_time=["attachTime"],
                        delete_on_termination=["deleteOnTermination"],
                        device_index=["deviceIndex"],
                        status=["status"]
                    ),
                    group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet3(
                        items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
                            group_id=["groupId"],
                            group_name=["groupName"]
                        )]
                    ),
                    interface_type=["interfaceType"],
                    ipv6_addresses_set=["ipv6AddressesSet"],
                    mac_address=["macAddress"],
                    network_interface_id=["networkInterfaceId"],
                    owner_id=["ownerId"],
                    private_ip_address=["privateIpAddress"],
                    private_ip_addresses_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet2(
                        item=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1Item(
                            primary=["primary"],
                            private_ip_address=["privateIpAddress"]
                        )]
                    ),
                    source_dest_check=["sourceDestCheck"],
                    status=["status"],
                    subnet_id=["subnetId"],
                    tag_set=["tagSet"],
                    vpc_id=["vpcId"]
                )]
            ),
            placement=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Placement(
                availability_zone=["availabilityZone"],
                tenancy=["tenancy"]
            ),
            previous_state=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceState(
                code=["code"],
                name=["name"]
            ),
            private_ip_address=["privateIpAddress"],
            product_codes=["productCodes"],
            root_device_name=["rootDeviceName"],
            root_device_type=["rootDeviceType"],
            source_dest_check=["sourceDestCheck"],
            spot_instance_request_id=["spotInstanceRequestId"],
            state_reason=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.StateReason(
                code=["code"],
                message=["message"]
            ),
            subnet_id=["subnetId"],
            tag_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSet(
                items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItemItem(
                    key=["key"],
                    value=["value"]
                )]
            ),
            virtualization_type=["virtualizationType"],
            vpc_id=["vpcId"]
        )]
    ),
    network_interface=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface(
        availability_zone=["availabilityZone"],
        description=["description"],
        group_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2(
            items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2Item(
                group_id=["groupId"],
                group_name=["groupName"]
            )]
        ),
        interface_type=["interfaceType"],
        ipv6_addresses_set=["ipv6AddressesSet"],
        mac_address=["macAddress"],
        network_interface_id=["networkInterfaceId"],
        owner_id=["ownerId"],
        private_ip_address=["privateIpAddress"],
        private_ip_addresses_set=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1(
            item=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1Item(
                primary=["primary"],
                private_ip_address=["privateIpAddress"]
            )]
        ),
        requester_id=["requesterId"],
        requester_managed=["requesterManaged"],
        source_dest_check=["sourceDestCheck"],
        status=["status"],
        subnet_id=["subnetId"],
        tag_set=["tagSet"],
        vpc_id=["vpcId"]
    ),
    owner_id=["ownerId"],
    requester_id=["requesterId"],
    request_id=["requestId"],
    reservation_id=["reservationId"],
    return=["return"]
)

Attributes

create_fleet_response

(experimental) CreateFleetResponse property.

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

Default:
  • Do not filter on this field

Stability:

experimental

create_launch_template_response

(experimental) CreateLaunchTemplateResponse property.

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

Default:
  • Do not filter on this field

Stability:

experimental

delete_launch_template_response

(experimental) DeleteLaunchTemplateResponse property.

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

Default:
  • Do not filter on this field

Stability:

experimental

group_id

(experimental) groupId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

group_set

(experimental) groupSet property.

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

(experimental) instancesSet property.

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

Default:
  • Do not filter on this field

Stability:

experimental

network_interface

(experimental) networkInterface property.

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

Default:
  • Do not filter on this field

Stability:

experimental

owner_id

(experimental) ownerId property.

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

requester_id

(experimental) requesterId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

reservation_id

(experimental) reservationId property.

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

(experimental) _return property.

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

Default:
  • Do not filter on this field

Stability:

experimental

SecurityGroupId

class InstanceEvents.AWSAPICallViaCloudTrail.SecurityGroupId(*, content=None, tag=None)

Bases: object

(experimental) Type definition for SecurityGroupId.

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

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

security_group_id = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SecurityGroupId(
    content=["content"],
    tag=["tag"]
)

Attributes

content

(experimental) content property.

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

Default:
  • Do not filter on this field

Stability:

experimental

tag

(experimental) tag property.

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

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

session_issuer = ec2_events.InstanceEvents.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

SpotOptions

class InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions(*, allocation_strategy=None, instance_pool_constraint_filter_disabled=None, instance_pools_to_use_count=None, max_instance_count=None, max_target_capacity=None)

Bases: object

(experimental) Type definition for SpotOptions.

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

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

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

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

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

spot_options = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions(
    allocation_strategy=["allocationStrategy"],
    instance_pool_constraint_filter_disabled=["instancePoolConstraintFilterDisabled"],
    instance_pools_to_use_count=["instancePoolsToUseCount"],
    max_instance_count=["maxInstanceCount"],
    max_target_capacity=["maxTargetCapacity"]
)

Attributes

allocation_strategy

(experimental) AllocationStrategy property.

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

Default:
  • Do not filter on this field

Stability:

experimental

instance_pool_constraint_filter_disabled

(experimental) InstancePoolConstraintFilterDisabled property.

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

Default:
  • Do not filter on this field

Stability:

experimental

instance_pools_to_use_count

(experimental) InstancePoolsToUseCount property.

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

Default:
  • Do not filter on this field

Stability:

experimental

max_instance_count

(experimental) MaxInstanceCount property.

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

Default:
  • Do not filter on this field

Stability:

experimental

max_target_capacity

(experimental) MaxTargetCapacity property.

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

Default:
  • Do not filter on this field

Stability:

experimental

SpotOptions1

class InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions1(*, max_price=None, spot_instance_type=None)

Bases: object

(experimental) Type definition for SpotOptions_1.

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

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

spot_options1 = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions1(
    max_price=["maxPrice"],
    spot_instance_type=["spotInstanceType"]
)

Attributes

max_price

(experimental) maxPrice property.

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

Default:
  • Do not filter on this field

Stability:

experimental

spot_instance_type

(experimental) spotInstanceType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

SpotOptions2

class InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions2(*, max_price=None, spot_instance_type=None)

Bases: object

(experimental) Type definition for SpotOptions_2.

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

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

spot_options2 = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions2(
    max_price=["maxPrice"],
    spot_instance_type=["spotInstanceType"]
)

Attributes

max_price

(experimental) MaxPrice property.

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

Default:
  • Do not filter on this field

Stability:

experimental

spot_instance_type

(experimental) SpotInstanceType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

StateReason

class InstanceEvents.AWSAPICallViaCloudTrail.StateReason(*, code=None, message=None)

Bases: object

(experimental) Type definition for StateReason.

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

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

state_reason = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.StateReason(
    code=["code"],
    message=["message"]
)

Attributes

code

(experimental) code property.

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

Default:
  • Do not filter on this field

Stability:

experimental

message

(experimental) message property.

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

Default:
  • Do not filter on this field

Stability:

experimental

Tag

class InstanceEvents.AWSAPICallViaCloudTrail.Tag(*, key=None, tag=None, value=None)

Bases: object

(experimental) Type definition for Tag.

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

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

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

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

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

tag = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Tag(
    key=["key"],
    tag=["tag"],
    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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

tag

(experimental) tag property.

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

Default:
  • Do not filter on this field

Stability:

experimental

value

(experimental) Value property.

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

Default:
  • Do not filter on this field

Stability:

experimental

TagSet

class InstanceEvents.AWSAPICallViaCloudTrail.TagSet(*, items=None)

Bases: object

(experimental) Type definition for TagSet.

Parameters:

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

tag_set = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSet(
    items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItemItem(
        key=["key"],
        value=["value"]
    )]
)

Attributes

items

(experimental) items property.

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

Default:
  • Do not filter on this field

Stability:

experimental

TagSpecification

class InstanceEvents.AWSAPICallViaCloudTrail.TagSpecification(*, resource_type=None, tag=None)

Bases: object

(experimental) Type definition for TagSpecification.

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

  • tag (Union[Tag, Dict[str, Any], None]) – (experimental) Tag property. Specify an array of string values to match this event if the actual value of Tag is one of the values in the array. 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_ec2 import events as ec2_events

tag_specification = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecification(
    resource_type=["resourceType"],
    tag=ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.Tag(
        key=["key"],
        tag=["tag"],
        value=["value"]
    )
)

Attributes

resource_type

(experimental) ResourceType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

tag

(experimental) Tag property.

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

Default:
  • Do not filter on this field

Stability:

experimental

TagSpecificationSet

class InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSet(*, items=None)

Bases: object

(experimental) Type definition for TagSpecificationSet.

Parameters:

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

tag_specification_set = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSet(
    items=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItem(
        resource_type=["resourceType"],
        tags=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItemItem(
            key=["key"],
            value=["value"]
        )]
    )]
)

Attributes

items

(experimental) items property.

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

Default:
  • Do not filter on this field

Stability:

experimental

TagSpecificationSetItem

class InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItem(*, resource_type=None, tags=None)

Bases: object

(experimental) Type definition for TagSpecificationSetItem.

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

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

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_ec2 import events as ec2_events

tag_specification_set_item = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItem(
    resource_type=["resourceType"],
    tags=[ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItemItem(
        key=["key"],
        value=["value"]
    )]
)

Attributes

resource_type

(experimental) resourceType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

tags

(experimental) tags property.

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

Default:
  • Do not filter on this field

Stability:

experimental

TagSpecificationSetItemItem

class InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItemItem(*, key=None, value=None)

Bases: object

(experimental) Type definition for TagSpecificationSetItemItem.

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

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

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

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

tag_specification_set_item_item = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSetItemItem(
    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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

value

(experimental) value property.

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

Default:
  • Do not filter on this field

Stability:

experimental

TargetCapacitySpecification

class InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification(*, default_target_capacity_type=None, on_demand_target_capacity=None, spot_target_capacity=None, total_target_capacity=None)

Bases: object

(experimental) Type definition for TargetCapacitySpecification.

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

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

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

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

target_capacity_specification = ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification(
    default_target_capacity_type=["defaultTargetCapacityType"],
    on_demand_target_capacity=["onDemandTargetCapacity"],
    spot_target_capacity=["spotTargetCapacity"],
    total_target_capacity=["totalTargetCapacity"]
)

Attributes

default_target_capacity_type

(experimental) DefaultTargetCapacityType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

on_demand_target_capacity

(experimental) OnDemandTargetCapacity property.

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

Default:
  • Do not filter on this field

Stability:

experimental

spot_target_capacity

(experimental) SpotTargetCapacity property.

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

Default:
  • Do not filter on this field

Stability:

experimental

total_target_capacity

(experimental) TotalTargetCapacity property.

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

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

EC2InstanceStateChangeNotification

class InstanceEvents.EC2InstanceStateChangeNotification

Bases: object

(experimental) aws.ec2@EC2InstanceStateChangeNotification event types for Instance.

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_ec2 import events as ec2_events

e_c2_instance_state_change_notification = ec2_events.InstanceEvents.EC2InstanceStateChangeNotification()
Stability:

experimental

EC2InstanceStateChangeNotificationProps

class InstanceEvents.EC2InstanceStateChangeNotification.EC2InstanceStateChangeNotificationProps(*, event_metadata=None, instance_id=None, state=None)

Bases: object

(experimental) Props type for Instance aws.ec2@EC2InstanceStateChangeNotification event.

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

  • instance_id (Optional[Sequence[str]]) – (experimental) instance-id property. Specify an array of string values to match this event if the actual value of instance-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: - Filter with the Instance reference

  • state (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 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_ec2 import events as ec2_events

e_c2_instance_state_change_notification_props = ec2_events.InstanceEvents.EC2InstanceStateChangeNotification.EC2InstanceStateChangeNotificationProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    instance_id=["instanceId"],
    state=["state"]
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

instance_id

(experimental) instance-id property.

Specify an array of string values to match this event if the actual value of instance-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:
  • Filter with the Instance reference

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

Default:
  • Do not filter on this field

Stability:

experimental

EC2SpotInstanceInterruptionWarning

class InstanceEvents.EC2SpotInstanceInterruptionWarning

Bases: object

(experimental) aws.ec2@EC2SpotInstanceInterruptionWarning event types for Instance.

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_ec2 import events as ec2_events

e_c2_spot_instance_interruption_warning = ec2_events.InstanceEvents.EC2SpotInstanceInterruptionWarning()
Stability:

experimental

EC2SpotInstanceInterruptionWarningProps

class InstanceEvents.EC2SpotInstanceInterruptionWarning.EC2SpotInstanceInterruptionWarningProps(*, event_metadata=None, instance_action=None, instance_id=None)

Bases: object

(experimental) Props type for Instance aws.ec2@EC2SpotInstanceInterruptionWarning event.

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

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

  • instance_id (Optional[Sequence[str]]) – (experimental) instance-id property. Specify an array of string values to match this event if the actual value of instance-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: - Filter with the Instance reference

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_ec2 import events as ec2_events

e_c2_spot_instance_interruption_warning_props = ec2_events.InstanceEvents.EC2SpotInstanceInterruptionWarning.EC2SpotInstanceInterruptionWarningProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    instance_action=["instanceAction"],
    instance_id=["instanceId"]
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

instance_action

(experimental) instance-action property.

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

Default:
  • Do not filter on this field

Stability:

experimental

instance_id

(experimental) instance-id property.

Specify an array of string values to match this event if the actual value of instance-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:
  • Filter with the Instance reference

Stability:

experimental