AWSAPICallViaCloudTrail
- class aws_cdk.mixins_preview.aws_autoscaling.events.AWSAPICallViaCloudTrail
Bases:
object(experimental) EventBridge event pattern for aws.autoscaling@AWSAPICallViaCloudTrail.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events a_wSAPICall_via_cloud_trail = autoscaling_events.AWSAPICallViaCloudTrail()
- Stability:
experimental
Static Methods
- classmethod 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 AWS API Call via CloudTrail.
- Parameters:
aws_region (
Optional[Sequence[str]]) – (experimental) awsRegion property. Specify an array of string values to match this event if the actual value of awsRegion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielderror_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielderror_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_id (
Optional[Sequence[str]]) – (experimental) eventID property. Specify an array of string values to match this event if the actual value of eventID is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -event_name (
Optional[Sequence[str]]) – (experimental) eventName property. Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_source (
Optional[Sequence[str]]) – (experimental) eventSource property. Specify an array of string values to match this event if the actual value of eventSource is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_time (
Optional[Sequence[str]]) – (experimental) eventTime property. Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_type (
Optional[Sequence[str]]) – (experimental) eventType property. Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_version (
Optional[Sequence[str]]) – (experimental) eventVersion property. Specify an array of string values to match this event if the actual value of eventVersion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_id (
Optional[Sequence[str]]) – (experimental) requestID property. Specify an array of string values to match this event if the actual value of requestID is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_parameters (
Union[RequestParameters,Dict[str,Any],None]) – (experimental) requestParameters property. Specify an array of string values to match this event if the actual value of requestParameters is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldresponse_elements (
Union[ResponseElements,Dict[str,Any],None]) – (experimental) responseElements property. Specify an array of string values to match this event if the actual value of responseElements is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsource_ip_address (
Optional[Sequence[str]]) – (experimental) sourceIPAddress property. Specify an array of string values to match this event if the actual value of sourceIPAddress is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_agent (
Optional[Sequence[str]]) – (experimental) userAgent property. Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_identity (
Union[UserIdentity,Dict[str,Any],None]) – (experimental) userIdentity property. Specify an array of string values to match this event if the actual value of userIdentity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
AWSAPICallViaCloudTrailProps
- class AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps(*, aws_region=None, error_code=None, error_message=None, event_id=None, event_metadata=None, event_name=None, event_source=None, event_time=None, event_type=None, event_version=None, request_id=None, request_parameters=None, response_elements=None, source_ip_address=None, user_agent=None, user_identity=None)
Bases:
object(experimental) Props type for aws.autoscaling@AWSAPICallViaCloudTrail event.
- Parameters:
aws_region (
Optional[Sequence[str]]) – (experimental) awsRegion property. Specify an array of string values to match this event if the actual value of awsRegion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielderror_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielderror_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_id (
Optional[Sequence[str]]) – (experimental) eventID property. Specify an array of string values to match this event if the actual value of eventID is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -event_name (
Optional[Sequence[str]]) – (experimental) eventName property. Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_source (
Optional[Sequence[str]]) – (experimental) eventSource property. Specify an array of string values to match this event if the actual value of eventSource is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_time (
Optional[Sequence[str]]) – (experimental) eventTime property. Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_type (
Optional[Sequence[str]]) – (experimental) eventType property. Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_version (
Optional[Sequence[str]]) – (experimental) eventVersion property. Specify an array of string values to match this event if the actual value of eventVersion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_id (
Optional[Sequence[str]]) – (experimental) requestID property. Specify an array of string values to match this event if the actual value of requestID is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_parameters (
Union[RequestParameters,Dict[str,Any],None]) – (experimental) requestParameters property. Specify an array of string values to match this event if the actual value of requestParameters is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldresponse_elements (
Union[ResponseElements,Dict[str,Any],None]) – (experimental) responseElements property. Specify an array of string values to match this event if the actual value of responseElements is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsource_ip_address (
Optional[Sequence[str]]) – (experimental) sourceIPAddress property. Specify an array of string values to match this event if the actual value of sourceIPAddress is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_agent (
Optional[Sequence[str]]) – (experimental) userAgent property. Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_identity (
Union[UserIdentity,Dict[str,Any],None]) – (experimental) userIdentity property. Specify an array of string values to match this event if the actual value of userIdentity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import AWSEventMetadataProps # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events # alarms: Any # failed_scheduled_actions: Any # failed_scheduled_update_group_actions: Any # lifecycle_hook_specification_list: Any # overrides: Any # scheduled_update_group_actions: Any a_wSAPICall_via_cloud_trail_props = autoscaling_events.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=autoscaling_events.AWSAPICallViaCloudTrail.RequestParameters( adjustment_type=["adjustmentType"], auto_scaling_group_name=["autoScalingGroupName"], availability_zones=["availabilityZones"], breach_threshold=["breachThreshold"], default_cooldown=["defaultCooldown"], desired_capacity=["desiredCapacity"], force_delete=["forceDelete"], granularity=["granularity"], health_check_grace_period=["healthCheckGracePeriod"], health_check_type=["healthCheckType"], honor_cooldown=["honorCooldown"], image_id=["imageId"], instance_ids=["instanceIds"], instance_type=["instanceType"], launch_configuration_name=["launchConfigurationName"], launch_template=autoscaling_events.AWSAPICallViaCloudTrail.LaunchTemplate( launch_template_name=["launchTemplateName"] ), lifecycle_hook_specification_list=[lifecycle_hook_specification_list], load_balancer_names=["loadBalancerNames"], max_size=["maxSize"], metrics=["metrics"], metric_value=["metricValue"], min_size=["minSize"], mixed_instances_policy=autoscaling_events.AWSAPICallViaCloudTrail.MixedInstancesPolicy( instances_distribution=autoscaling_events.AWSAPICallViaCloudTrail.InstancesDistribution( on_demand_allocation_strategy=["onDemandAllocationStrategy"], on_demand_base_capacity=["onDemandBaseCapacity"], on_demand_percentage_above_base_capacity=["onDemandPercentageAboveBaseCapacity"], spot_allocation_strategy=["spotAllocationStrategy"], spot_instance_pools=["spotInstancePools"] ), launch_template=autoscaling_events.AWSAPICallViaCloudTrail.LaunchTemplate1( launch_template_specification=autoscaling_events.AWSAPICallViaCloudTrail.LaunchTemplateSpecification( launch_template_name=["launchTemplateName"], version=["version"] ), overrides=[overrides] ) ), new_instances_protected_from_scale_in=["newInstancesProtectedFromScaleIn"], notification_types=["notificationTypes"], policy_name=["policyName"], policy_type=["policyType"], protected_from_scale_in=["protectedFromScaleIn"], scaling_adjustment=["scalingAdjustment"], scheduled_action_name=["scheduledActionName"], scheduled_action_names=["scheduledActionNames"], scheduled_update_group_actions=[scheduled_update_group_actions], security_groups=["securityGroups"], service_linked_role_arn=["serviceLinkedRoleArn"], spot_price=["spotPrice"], start_time=["startTime"], step_adjustments=[autoscaling_events.AWSAPICallViaCloudTrail.RequestParametersItem1( metric_interval_lower_bound=["metricIntervalLowerBound"], scaling_adjustment=["scalingAdjustment"] )], tags=[autoscaling_events.AWSAPICallViaCloudTrail.RequestParametersItem( key=["key"], propagate_at_launch=["propagateAtLaunch"], resource_id=["resourceId"], resource_type=["resourceType"], value=["value"] )], target_group_arns=["targetGroupArns"], target_tracking_configuration=autoscaling_events.AWSAPICallViaCloudTrail.TargetTrackingConfiguration( customized_metric_specification=autoscaling_events.AWSAPICallViaCloudTrail.CustomizedMetricSpecification( dimensions=[autoscaling_events.AWSAPICallViaCloudTrail.CustomizedMetricSpecificationItem( name=["name"], value=["value"] )], metric_name=["metricName"], namespace=["namespace"], statistic=["statistic"], unit=["unit"] ), predefined_metric_specification=autoscaling_events.AWSAPICallViaCloudTrail.PredefinedMetricSpecification( predefined_metric_type=["predefinedMetricType"] ), target_value=["targetValue"] ), time=["time"], topic_arn=["topicArn"], user_data=["userData"], v_pc_zone_identifier=["vPcZoneIdentifier"] ), response_elements=autoscaling_events.AWSAPICallViaCloudTrail.ResponseElements( alarms=[alarms], failed_scheduled_actions=[failed_scheduled_actions], failed_scheduled_update_group_actions=[failed_scheduled_update_group_actions], policy_arn=["policyArn"] ), source_ip_address=["sourceIpAddress"], user_agent=["userAgent"], user_identity=autoscaling_events.AWSAPICallViaCloudTrail.UserIdentity( access_key_id=["accessKeyId"], account_id=["accountId"], arn=["arn"], principal_id=["principalId"], type=["type"] ) )
Attributes
- aws_region
(experimental) awsRegion property.
Specify an array of string values to match this event if the actual value of awsRegion is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- 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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_id
(experimental) eventID property.
Specify an array of string values to match this event if the actual value of eventID is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- event_name
(experimental) eventName property.
Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_source
(experimental) eventSource property.
Specify an array of string values to match this event if the actual value of eventSource is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_time
(experimental) eventTime property.
Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_type
(experimental) eventType property.
Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_version
(experimental) eventVersion property.
Specify an array of string values to match this event if the actual value of eventVersion is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- request_id
(experimental) requestID property.
Specify an array of string values to match this event if the actual value of requestID is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- request_parameters
(experimental) requestParameters property.
Specify an array of string values to match this event if the actual value of requestParameters is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- response_elements
(experimental) responseElements property.
Specify an array of string values to match this event if the actual value of responseElements is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- source_ip_address
(experimental) sourceIPAddress property.
Specify an array of string values to match this event if the actual value of sourceIPAddress is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- user_agent
(experimental) userAgent property.
Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- user_identity
(experimental) userIdentity property.
Specify an array of string values to match this event if the actual value of userIdentity is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
CustomizedMetricSpecification
- class AWSAPICallViaCloudTrail.CustomizedMetricSpecification(*, dimensions=None, metric_name=None, namespace=None, statistic=None, unit=None)
Bases:
object(experimental) Type definition for CustomizedMetricSpecification.
- Parameters:
dimensions (
Optional[Sequence[Union[CustomizedMetricSpecificationItem,Dict[str,Any]]]]) – (experimental) dimensions property. Specify an array of string values to match this event if the actual value of dimensions is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmetric_name (
Optional[Sequence[str]]) – (experimental) metricName property. Specify an array of string values to match this event if the actual value of metricName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldnamespace (
Optional[Sequence[str]]) – (experimental) namespace property. Specify an array of string values to match this event if the actual value of namespace is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstatistic (
Optional[Sequence[str]]) – (experimental) statistic property. Specify an array of string values to match this event if the actual value of statistic is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldunit (
Optional[Sequence[str]]) – (experimental) unit property. Specify an array of string values to match this event if the actual value of unit is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events customized_metric_specification = autoscaling_events.AWSAPICallViaCloudTrail.CustomizedMetricSpecification( dimensions=[autoscaling_events.AWSAPICallViaCloudTrail.CustomizedMetricSpecificationItem( name=["name"], value=["value"] )], metric_name=["metricName"], namespace=["namespace"], statistic=["statistic"], unit=["unit"] )
Attributes
- dimensions
(experimental) dimensions property.
Specify an array of string values to match this event if the actual value of dimensions is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- metric_name
(experimental) metricName property.
Specify an array of string values to match this event if the actual value of metricName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- namespace
(experimental) namespace property.
Specify an array of string values to match this event if the actual value of namespace is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- statistic
(experimental) statistic property.
Specify an array of string values to match this event if the actual value of statistic is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- unit
(experimental) unit property.
Specify an array of string values to match this event if the actual value of unit is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
CustomizedMetricSpecificationItem
- class AWSAPICallViaCloudTrail.CustomizedMetricSpecificationItem(*, name=None, value=None)
Bases:
object(experimental) Type definition for CustomizedMetricSpecificationItem.
- Parameters:
name (
Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldvalue (
Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events customized_metric_specification_item = autoscaling_events.AWSAPICallViaCloudTrail.CustomizedMetricSpecificationItem( name=["name"], value=["value"] )
Attributes
- name
(experimental) name property.
Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- value
(experimental) value property.
Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
InstancesDistribution
- class AWSAPICallViaCloudTrail.InstancesDistribution(*, on_demand_allocation_strategy=None, on_demand_base_capacity=None, on_demand_percentage_above_base_capacity=None, spot_allocation_strategy=None, spot_instance_pools=None)
Bases:
object(experimental) Type definition for InstancesDistribution.
- Parameters:
on_demand_allocation_strategy (
Optional[Sequence[str]]) – (experimental) onDemandAllocationStrategy property. Specify an array of string values to match this event if the actual value of onDemandAllocationStrategy is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldon_demand_base_capacity (
Optional[Sequence[str]]) – (experimental) onDemandBaseCapacity property. Specify an array of string values to match this event if the actual value of onDemandBaseCapacity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldon_demand_percentage_above_base_capacity (
Optional[Sequence[str]]) – (experimental) onDemandPercentageAboveBaseCapacity property. Specify an array of string values to match this event if the actual value of onDemandPercentageAboveBaseCapacity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldspot_allocation_strategy (
Optional[Sequence[str]]) – (experimental) spotAllocationStrategy property. Specify an array of string values to match this event if the actual value of spotAllocationStrategy is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldspot_instance_pools (
Optional[Sequence[str]]) – (experimental) spotInstancePools property. Specify an array of string values to match this event if the actual value of spotInstancePools is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events instances_distribution = autoscaling_events.AWSAPICallViaCloudTrail.InstancesDistribution( on_demand_allocation_strategy=["onDemandAllocationStrategy"], on_demand_base_capacity=["onDemandBaseCapacity"], on_demand_percentage_above_base_capacity=["onDemandPercentageAboveBaseCapacity"], spot_allocation_strategy=["spotAllocationStrategy"], spot_instance_pools=["spotInstancePools"] )
Attributes
- on_demand_allocation_strategy
(experimental) onDemandAllocationStrategy property.
Specify an array of string values to match this event if the actual value of onDemandAllocationStrategy is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- on_demand_base_capacity
(experimental) onDemandBaseCapacity property.
Specify an array of string values to match this event if the actual value of onDemandBaseCapacity is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- on_demand_percentage_above_base_capacity
(experimental) onDemandPercentageAboveBaseCapacity property.
Specify an array of string values to match this event if the actual value of onDemandPercentageAboveBaseCapacity is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- spot_allocation_strategy
(experimental) spotAllocationStrategy property.
Specify an array of string values to match this event if the actual value of spotAllocationStrategy is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- spot_instance_pools
(experimental) spotInstancePools property.
Specify an array of string values to match this event if the actual value of spotInstancePools is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
LaunchTemplate
- class AWSAPICallViaCloudTrail.LaunchTemplate(*, launch_template_name=None)
Bases:
object(experimental) Type definition for LaunchTemplate.
- 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events launch_template = autoscaling_events.AWSAPICallViaCloudTrail.LaunchTemplate( 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
LaunchTemplate1
- class AWSAPICallViaCloudTrail.LaunchTemplate1(*, launch_template_specification=None, overrides=None)
Bases:
object(experimental) Type definition for LaunchTemplate_1.
- 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldoverrides (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events # overrides: Any launch_template1 = autoscaling_events.AWSAPICallViaCloudTrail.LaunchTemplate1( launch_template_specification=autoscaling_events.AWSAPICallViaCloudTrail.LaunchTemplateSpecification( launch_template_name=["launchTemplateName"], version=["version"] ), overrides=[overrides] )
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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
LaunchTemplateSpecification
- class AWSAPICallViaCloudTrail.LaunchTemplateSpecification(*, launch_template_name=None, version=None)
Bases:
object(experimental) Type definition for LaunchTemplateSpecification.
- 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldversion (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events launch_template_specification = autoscaling_events.AWSAPICallViaCloudTrail.LaunchTemplateSpecification( launch_template_name=["launchTemplateName"], version=["version"] )
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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
MixedInstancesPolicy
- class AWSAPICallViaCloudTrail.MixedInstancesPolicy(*, instances_distribution=None, launch_template=None)
Bases:
object(experimental) Type definition for MixedInstancesPolicy.
- Parameters:
instances_distribution (
Union[InstancesDistribution,Dict[str,Any],None]) – (experimental) instancesDistribution property. Specify an array of string values to match this event if the actual value of instancesDistribution is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldlaunch_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events # overrides: Any mixed_instances_policy = autoscaling_events.AWSAPICallViaCloudTrail.MixedInstancesPolicy( instances_distribution=autoscaling_events.AWSAPICallViaCloudTrail.InstancesDistribution( on_demand_allocation_strategy=["onDemandAllocationStrategy"], on_demand_base_capacity=["onDemandBaseCapacity"], on_demand_percentage_above_base_capacity=["onDemandPercentageAboveBaseCapacity"], spot_allocation_strategy=["spotAllocationStrategy"], spot_instance_pools=["spotInstancePools"] ), launch_template=autoscaling_events.AWSAPICallViaCloudTrail.LaunchTemplate1( launch_template_specification=autoscaling_events.AWSAPICallViaCloudTrail.LaunchTemplateSpecification( launch_template_name=["launchTemplateName"], version=["version"] ), overrides=[overrides] ) )
Attributes
- instances_distribution
(experimental) instancesDistribution property.
Specify an array of string values to match this event if the actual value of instancesDistribution is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
PredefinedMetricSpecification
- class AWSAPICallViaCloudTrail.PredefinedMetricSpecification(*, predefined_metric_type=None)
Bases:
object(experimental) Type definition for PredefinedMetricSpecification.
- Parameters:
predefined_metric_type (
Optional[Sequence[str]]) – (experimental) predefinedMetricType property. Specify an array of string values to match this event if the actual value of predefinedMetricType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events predefined_metric_specification = autoscaling_events.AWSAPICallViaCloudTrail.PredefinedMetricSpecification( predefined_metric_type=["predefinedMetricType"] )
Attributes
- predefined_metric_type
(experimental) predefinedMetricType property.
Specify an array of string values to match this event if the actual value of predefinedMetricType is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
RequestParameters
- class AWSAPICallViaCloudTrail.RequestParameters(*, adjustment_type=None, auto_scaling_group_name=None, availability_zones=None, breach_threshold=None, default_cooldown=None, desired_capacity=None, force_delete=None, granularity=None, health_check_grace_period=None, health_check_type=None, honor_cooldown=None, image_id=None, instance_ids=None, instance_type=None, launch_configuration_name=None, launch_template=None, lifecycle_hook_specification_list=None, load_balancer_names=None, max_size=None, metrics=None, metric_value=None, min_size=None, mixed_instances_policy=None, new_instances_protected_from_scale_in=None, notification_types=None, policy_name=None, policy_type=None, protected_from_scale_in=None, scaling_adjustment=None, scheduled_action_name=None, scheduled_action_names=None, scheduled_update_group_actions=None, security_groups=None, service_linked_role_arn=None, spot_price=None, start_time=None, step_adjustments=None, tags=None, target_group_arns=None, target_tracking_configuration=None, time=None, topic_arn=None, user_data=None, v_pc_zone_identifier=None)
Bases:
object(experimental) Type definition for RequestParameters.
- Parameters:
adjustment_type (
Optional[Sequence[str]]) – (experimental) adjustmentType property. Specify an array of string values to match this event if the actual value of adjustmentType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldauto_scaling_group_name (
Optional[Sequence[str]]) – (experimental) autoScalingGroupName property. Specify an array of string values to match this event if the actual value of autoScalingGroupName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldavailability_zones (
Optional[Sequence[str]]) – (experimental) availabilityZones property. Specify an array of string values to match this event if the actual value of availabilityZones is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldbreach_threshold (
Optional[Sequence[str]]) – (experimental) breachThreshold property. Specify an array of string values to match this event if the actual value of breachThreshold is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielddefault_cooldown (
Optional[Sequence[str]]) – (experimental) defaultCooldown property. Specify an array of string values to match this event if the actual value of defaultCooldown is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielddesired_capacity (
Optional[Sequence[str]]) – (experimental) desiredCapacity property. Specify an array of string values to match this event if the actual value of desiredCapacity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldforce_delete (
Optional[Sequence[str]]) – (experimental) forceDelete property. Specify an array of string values to match this event if the actual value of forceDelete is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldgranularity (
Optional[Sequence[str]]) – (experimental) granularity property. Specify an array of string values to match this event if the actual value of granularity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldhealth_check_grace_period (
Optional[Sequence[str]]) – (experimental) healthCheckGracePeriod property. Specify an array of string values to match this event if the actual value of healthCheckGracePeriod is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldhealth_check_type (
Optional[Sequence[str]]) – (experimental) healthCheckType property. Specify an array of string values to match this event if the actual value of healthCheckType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldhonor_cooldown (
Optional[Sequence[str]]) – (experimental) honorCooldown property. Specify an array of string values to match this event if the actual value of honorCooldown is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldimage_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldinstance_ids (
Optional[Sequence[str]]) – (experimental) instanceIds property. Specify an array of string values to match this event if the actual value of instanceIds is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldinstance_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldlaunch_configuration_name (
Optional[Sequence[str]]) – (experimental) launchConfigurationName property. Specify an array of string values to match this event if the actual value of launchConfigurationName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldlaunch_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldlifecycle_hook_specification_list (
Optional[Sequence[Any]]) – (experimental) lifecycleHookSpecificationList property. Specify an array of string values to match this event if the actual value of lifecycleHookSpecificationList is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldload_balancer_names (
Optional[Sequence[str]]) – (experimental) loadBalancerNames property. Specify an array of string values to match this event if the actual value of loadBalancerNames is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmax_size (
Optional[Sequence[str]]) – (experimental) maxSize property. Specify an array of string values to match this event if the actual value of maxSize is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmetrics (
Optional[Sequence[str]]) – (experimental) metrics property. Specify an array of string values to match this event if the actual value of metrics is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmetric_value (
Optional[Sequence[str]]) – (experimental) metricValue property. Specify an array of string values to match this event if the actual value of metricValue is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmin_size (
Optional[Sequence[str]]) – (experimental) minSize property. Specify an array of string values to match this event if the actual value of minSize is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmixed_instances_policy (
Union[MixedInstancesPolicy,Dict[str,Any],None]) – (experimental) mixedInstancesPolicy property. Specify an array of string values to match this event if the actual value of mixedInstancesPolicy is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldnew_instances_protected_from_scale_in (
Optional[Sequence[str]]) – (experimental) newInstancesProtectedFromScaleIn property. Specify an array of string values to match this event if the actual value of newInstancesProtectedFromScaleIn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldnotification_types (
Optional[Sequence[str]]) – (experimental) notificationTypes property. Specify an array of string values to match this event if the actual value of notificationTypes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldpolicy_name (
Optional[Sequence[str]]) – (experimental) policyName property. Specify an array of string values to match this event if the actual value of policyName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldpolicy_type (
Optional[Sequence[str]]) – (experimental) policyType property. Specify an array of string values to match this event if the actual value of policyType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldprotected_from_scale_in (
Optional[Sequence[str]]) – (experimental) protectedFromScaleIn property. Specify an array of string values to match this event if the actual value of protectedFromScaleIn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldscaling_adjustment (
Optional[Sequence[str]]) – (experimental) scalingAdjustment property. Specify an array of string values to match this event if the actual value of scalingAdjustment is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldscheduled_action_name (
Optional[Sequence[str]]) – (experimental) scheduledActionName property. Specify an array of string values to match this event if the actual value of scheduledActionName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldscheduled_action_names (
Optional[Sequence[str]]) – (experimental) scheduledActionNames property. Specify an array of string values to match this event if the actual value of scheduledActionNames is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldscheduled_update_group_actions (
Optional[Sequence[Any]]) – (experimental) scheduledUpdateGroupActions property. Specify an array of string values to match this event if the actual value of scheduledUpdateGroupActions is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsecurity_groups (
Optional[Sequence[str]]) – (experimental) securityGroups property. Specify an array of string values to match this event if the actual value of securityGroups is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldservice_linked_role_arn (
Optional[Sequence[str]]) – (experimental) serviceLinkedRoleARN property. Specify an array of string values to match this event if the actual value of serviceLinkedRoleARN is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldspot_price (
Optional[Sequence[str]]) – (experimental) spotPrice property. Specify an array of string values to match this event if the actual value of spotPrice is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstart_time (
Optional[Sequence[str]]) – (experimental) startTime property. Specify an array of string values to match this event if the actual value of startTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstep_adjustments (
Optional[Sequence[Union[RequestParametersItem1,Dict[str,Any]]]]) – (experimental) stepAdjustments property. Specify an array of string values to match this event if the actual value of stepAdjustments is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtags (
Optional[Sequence[Union[RequestParametersItem,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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtarget_group_arns (
Optional[Sequence[str]]) – (experimental) targetGroupARNs property. Specify an array of string values to match this event if the actual value of targetGroupARNs is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtarget_tracking_configuration (
Union[TargetTrackingConfiguration,Dict[str,Any],None]) – (experimental) targetTrackingConfiguration property. Specify an array of string values to match this event if the actual value of targetTrackingConfiguration is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtime (
Optional[Sequence[str]]) – (experimental) time property. Specify an array of string values to match this event if the actual value of time is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtopic_arn (
Optional[Sequence[str]]) – (experimental) topicARN property. Specify an array of string values to match this event if the actual value of topicARN is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldv_pc_zone_identifier (
Optional[Sequence[str]]) – (experimental) vPCZoneIdentifier property. Specify an array of string values to match this event if the actual value of vPCZoneIdentifier is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events # lifecycle_hook_specification_list: Any # overrides: Any # scheduled_update_group_actions: Any request_parameters = autoscaling_events.AWSAPICallViaCloudTrail.RequestParameters( adjustment_type=["adjustmentType"], auto_scaling_group_name=["autoScalingGroupName"], availability_zones=["availabilityZones"], breach_threshold=["breachThreshold"], default_cooldown=["defaultCooldown"], desired_capacity=["desiredCapacity"], force_delete=["forceDelete"], granularity=["granularity"], health_check_grace_period=["healthCheckGracePeriod"], health_check_type=["healthCheckType"], honor_cooldown=["honorCooldown"], image_id=["imageId"], instance_ids=["instanceIds"], instance_type=["instanceType"], launch_configuration_name=["launchConfigurationName"], launch_template=autoscaling_events.AWSAPICallViaCloudTrail.LaunchTemplate( launch_template_name=["launchTemplateName"] ), lifecycle_hook_specification_list=[lifecycle_hook_specification_list], load_balancer_names=["loadBalancerNames"], max_size=["maxSize"], metrics=["metrics"], metric_value=["metricValue"], min_size=["minSize"], mixed_instances_policy=autoscaling_events.AWSAPICallViaCloudTrail.MixedInstancesPolicy( instances_distribution=autoscaling_events.AWSAPICallViaCloudTrail.InstancesDistribution( on_demand_allocation_strategy=["onDemandAllocationStrategy"], on_demand_base_capacity=["onDemandBaseCapacity"], on_demand_percentage_above_base_capacity=["onDemandPercentageAboveBaseCapacity"], spot_allocation_strategy=["spotAllocationStrategy"], spot_instance_pools=["spotInstancePools"] ), launch_template=autoscaling_events.AWSAPICallViaCloudTrail.LaunchTemplate1( launch_template_specification=autoscaling_events.AWSAPICallViaCloudTrail.LaunchTemplateSpecification( launch_template_name=["launchTemplateName"], version=["version"] ), overrides=[overrides] ) ), new_instances_protected_from_scale_in=["newInstancesProtectedFromScaleIn"], notification_types=["notificationTypes"], policy_name=["policyName"], policy_type=["policyType"], protected_from_scale_in=["protectedFromScaleIn"], scaling_adjustment=["scalingAdjustment"], scheduled_action_name=["scheduledActionName"], scheduled_action_names=["scheduledActionNames"], scheduled_update_group_actions=[scheduled_update_group_actions], security_groups=["securityGroups"], service_linked_role_arn=["serviceLinkedRoleArn"], spot_price=["spotPrice"], start_time=["startTime"], step_adjustments=[autoscaling_events.AWSAPICallViaCloudTrail.RequestParametersItem1( metric_interval_lower_bound=["metricIntervalLowerBound"], scaling_adjustment=["scalingAdjustment"] )], tags=[autoscaling_events.AWSAPICallViaCloudTrail.RequestParametersItem( key=["key"], propagate_at_launch=["propagateAtLaunch"], resource_id=["resourceId"], resource_type=["resourceType"], value=["value"] )], target_group_arns=["targetGroupArns"], target_tracking_configuration=autoscaling_events.AWSAPICallViaCloudTrail.TargetTrackingConfiguration( customized_metric_specification=autoscaling_events.AWSAPICallViaCloudTrail.CustomizedMetricSpecification( dimensions=[autoscaling_events.AWSAPICallViaCloudTrail.CustomizedMetricSpecificationItem( name=["name"], value=["value"] )], metric_name=["metricName"], namespace=["namespace"], statistic=["statistic"], unit=["unit"] ), predefined_metric_specification=autoscaling_events.AWSAPICallViaCloudTrail.PredefinedMetricSpecification( predefined_metric_type=["predefinedMetricType"] ), target_value=["targetValue"] ), time=["time"], topic_arn=["topicArn"], user_data=["userData"], v_pc_zone_identifier=["vPcZoneIdentifier"] )
Attributes
- adjustment_type
(experimental) adjustmentType property.
Specify an array of string values to match this event if the actual value of adjustmentType is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- auto_scaling_group_name
(experimental) autoScalingGroupName property.
Specify an array of string values to match this event if the actual value of autoScalingGroupName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- availability_zones
(experimental) availabilityZones property.
Specify an array of string values to match this event if the actual value of availabilityZones is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- breach_threshold
(experimental) breachThreshold property.
Specify an array of string values to match this event if the actual value of breachThreshold is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- default_cooldown
(experimental) defaultCooldown property.
Specify an array of string values to match this event if the actual value of defaultCooldown is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- desired_capacity
(experimental) desiredCapacity property.
Specify an array of string values to match this event if the actual value of desiredCapacity is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- force_delete
(experimental) forceDelete property.
Specify an array of string values to match this event if the actual value of forceDelete is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- granularity
(experimental) granularity property.
Specify an array of string values to match this event if the actual value of granularity is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- health_check_grace_period
(experimental) healthCheckGracePeriod property.
Specify an array of string values to match this event if the actual value of healthCheckGracePeriod is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- health_check_type
(experimental) healthCheckType property.
Specify an array of string values to match this event if the actual value of healthCheckType is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- honor_cooldown
(experimental) honorCooldown property.
Specify an array of string values to match this event if the actual value of honorCooldown is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- instance_ids
(experimental) instanceIds property.
Specify an array of string values to match this event if the actual value of instanceIds is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- launch_configuration_name
(experimental) launchConfigurationName property.
Specify an array of string values to match this event if the actual value of launchConfigurationName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- lifecycle_hook_specification_list
(experimental) lifecycleHookSpecificationList property.
Specify an array of string values to match this event if the actual value of lifecycleHookSpecificationList is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- load_balancer_names
(experimental) loadBalancerNames property.
Specify an array of string values to match this event if the actual value of loadBalancerNames is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- max_size
(experimental) maxSize property.
Specify an array of string values to match this event if the actual value of maxSize is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- metric_value
(experimental) metricValue property.
Specify an array of string values to match this event if the actual value of metricValue is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- metrics
(experimental) metrics property.
Specify an array of string values to match this event if the actual value of metrics is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- min_size
(experimental) minSize property.
Specify an array of string values to match this event if the actual value of minSize is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- mixed_instances_policy
(experimental) mixedInstancesPolicy property.
Specify an array of string values to match this event if the actual value of mixedInstancesPolicy is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- new_instances_protected_from_scale_in
(experimental) newInstancesProtectedFromScaleIn property.
Specify an array of string values to match this event if the actual value of newInstancesProtectedFromScaleIn is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- notification_types
(experimental) notificationTypes property.
Specify an array of string values to match this event if the actual value of notificationTypes is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- policy_name
(experimental) policyName property.
Specify an array of string values to match this event if the actual value of policyName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- policy_type
(experimental) policyType property.
Specify an array of string values to match this event if the actual value of policyType is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- protected_from_scale_in
(experimental) protectedFromScaleIn property.
Specify an array of string values to match this event if the actual value of protectedFromScaleIn is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- scaling_adjustment
(experimental) scalingAdjustment property.
Specify an array of string values to match this event if the actual value of scalingAdjustment is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- scheduled_action_name
(experimental) scheduledActionName property.
Specify an array of string values to match this event if the actual value of scheduledActionName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- scheduled_action_names
(experimental) scheduledActionNames property.
Specify an array of string values to match this event if the actual value of scheduledActionNames is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- scheduled_update_group_actions
(experimental) scheduledUpdateGroupActions property.
Specify an array of string values to match this event if the actual value of scheduledUpdateGroupActions is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- security_groups
(experimental) securityGroups property.
Specify an array of string values to match this event if the actual value of securityGroups is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- service_linked_role_arn
(experimental) serviceLinkedRoleARN property.
Specify an array of string values to match this event if the actual value of serviceLinkedRoleARN is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- spot_price
(experimental) spotPrice property.
Specify an array of string values to match this event if the actual value of spotPrice is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- start_time
(experimental) startTime property.
Specify an array of string values to match this event if the actual value of startTime is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- step_adjustments
(experimental) stepAdjustments property.
Specify an array of string values to match this event if the actual value of stepAdjustments is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- tags
(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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- target_group_arns
(experimental) targetGroupARNs property.
Specify an array of string values to match this event if the actual value of targetGroupARNs is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- target_tracking_configuration
(experimental) targetTrackingConfiguration property.
Specify an array of string values to match this event if the actual value of targetTrackingConfiguration is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- time
(experimental) time property.
Specify an array of string values to match this event if the actual value of time is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- topic_arn
(experimental) topicARN property.
Specify an array of string values to match this event if the actual value of topicARN is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- user_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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- v_pc_zone_identifier
(experimental) vPCZoneIdentifier property.
Specify an array of string values to match this event if the actual value of vPCZoneIdentifier is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
RequestParametersItem
- class AWSAPICallViaCloudTrail.RequestParametersItem(*, key=None, propagate_at_launch=None, resource_id=None, resource_type=None, value=None)
Bases:
object(experimental) Type definition for RequestParametersItem.
- Parameters:
key (
Optional[Sequence[str]]) – (experimental) key property. Specify an array of string values to match this event if the actual value of key is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldpropagate_at_launch (
Optional[Sequence[str]]) – (experimental) propagateAtLaunch property. Specify an array of string values to match this event if the actual value of propagateAtLaunch is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldresource_id (
Optional[Sequence[str]]) – (experimental) resourceId property. Specify an array of string values to match this event if the actual value of resourceId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldresource_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldvalue (
Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events request_parameters_item = autoscaling_events.AWSAPICallViaCloudTrail.RequestParametersItem( key=["key"], propagate_at_launch=["propagateAtLaunch"], resource_id=["resourceId"], resource_type=["resourceType"], value=["value"] )
Attributes
- key
(experimental) key property.
Specify an array of string values to match this event if the actual value of key is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- propagate_at_launch
(experimental) propagateAtLaunch property.
Specify an array of string values to match this event if the actual value of propagateAtLaunch is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- resource_id
(experimental) resourceId property.
Specify an array of string values to match this event if the actual value of resourceId is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- resource_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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- value
(experimental) value property.
Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
RequestParametersItem1
- class AWSAPICallViaCloudTrail.RequestParametersItem1(*, metric_interval_lower_bound=None, scaling_adjustment=None)
Bases:
object(experimental) Type definition for RequestParametersItem_1.
- Parameters:
metric_interval_lower_bound (
Optional[Sequence[str]]) – (experimental) metricIntervalLowerBound property. Specify an array of string values to match this event if the actual value of metricIntervalLowerBound is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldscaling_adjustment (
Optional[Sequence[str]]) – (experimental) scalingAdjustment property. Specify an array of string values to match this event if the actual value of scalingAdjustment is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events request_parameters_item1 = autoscaling_events.AWSAPICallViaCloudTrail.RequestParametersItem1( metric_interval_lower_bound=["metricIntervalLowerBound"], scaling_adjustment=["scalingAdjustment"] )
Attributes
- metric_interval_lower_bound
(experimental) metricIntervalLowerBound property.
Specify an array of string values to match this event if the actual value of metricIntervalLowerBound is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- scaling_adjustment
(experimental) scalingAdjustment property.
Specify an array of string values to match this event if the actual value of scalingAdjustment is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
ResponseElements
- class AWSAPICallViaCloudTrail.ResponseElements(*, alarms=None, failed_scheduled_actions=None, failed_scheduled_update_group_actions=None, policy_arn=None)
Bases:
object(experimental) Type definition for ResponseElements.
- Parameters:
alarms (
Optional[Sequence[Any]]) – (experimental) alarms property. Specify an array of string values to match this event if the actual value of alarms is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldfailed_scheduled_actions (
Optional[Sequence[Any]]) – (experimental) failedScheduledActions property. Specify an array of string values to match this event if the actual value of failedScheduledActions is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldfailed_scheduled_update_group_actions (
Optional[Sequence[Any]]) – (experimental) failedScheduledUpdateGroupActions property. Specify an array of string values to match this event if the actual value of failedScheduledUpdateGroupActions is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldpolicy_arn (
Optional[Sequence[str]]) – (experimental) policyARN property. Specify an array of string values to match this event if the actual value of policyARN is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events # alarms: Any # failed_scheduled_actions: Any # failed_scheduled_update_group_actions: Any response_elements = autoscaling_events.AWSAPICallViaCloudTrail.ResponseElements( alarms=[alarms], failed_scheduled_actions=[failed_scheduled_actions], failed_scheduled_update_group_actions=[failed_scheduled_update_group_actions], policy_arn=["policyArn"] )
Attributes
- alarms
(experimental) alarms property.
Specify an array of string values to match this event if the actual value of alarms is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- failed_scheduled_actions
(experimental) failedScheduledActions property.
Specify an array of string values to match this event if the actual value of failedScheduledActions is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- failed_scheduled_update_group_actions
(experimental) failedScheduledUpdateGroupActions property.
Specify an array of string values to match this event if the actual value of failedScheduledUpdateGroupActions is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- policy_arn
(experimental) policyARN property.
Specify an array of string values to match this event if the actual value of policyARN is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
TargetTrackingConfiguration
- class AWSAPICallViaCloudTrail.TargetTrackingConfiguration(*, customized_metric_specification=None, predefined_metric_specification=None, target_value=None)
Bases:
object(experimental) Type definition for TargetTrackingConfiguration.
- Parameters:
customized_metric_specification (
Union[CustomizedMetricSpecification,Dict[str,Any],None]) – (experimental) customizedMetricSpecification property. Specify an array of string values to match this event if the actual value of customizedMetricSpecification is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldpredefined_metric_specification (
Union[PredefinedMetricSpecification,Dict[str,Any],None]) – (experimental) predefinedMetricSpecification property. Specify an array of string values to match this event if the actual value of predefinedMetricSpecification is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtarget_value (
Optional[Sequence[str]]) – (experimental) targetValue property. Specify an array of string values to match this event if the actual value of targetValue is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events target_tracking_configuration = autoscaling_events.AWSAPICallViaCloudTrail.TargetTrackingConfiguration( customized_metric_specification=autoscaling_events.AWSAPICallViaCloudTrail.CustomizedMetricSpecification( dimensions=[autoscaling_events.AWSAPICallViaCloudTrail.CustomizedMetricSpecificationItem( name=["name"], value=["value"] )], metric_name=["metricName"], namespace=["namespace"], statistic=["statistic"], unit=["unit"] ), predefined_metric_specification=autoscaling_events.AWSAPICallViaCloudTrail.PredefinedMetricSpecification( predefined_metric_type=["predefinedMetricType"] ), target_value=["targetValue"] )
Attributes
- customized_metric_specification
(experimental) customizedMetricSpecification property.
Specify an array of string values to match this event if the actual value of customizedMetricSpecification is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- predefined_metric_specification
(experimental) predefinedMetricSpecification property.
Specify an array of string values to match this event if the actual value of predefinedMetricSpecification is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- target_value
(experimental) targetValue property.
Specify an array of string values to match this event if the actual value of targetValue is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
UserIdentity
- class AWSAPICallViaCloudTrail.UserIdentity(*, access_key_id=None, account_id=None, arn=None, principal_id=None, type=None)
Bases:
object(experimental) Type definition for UserIdentity.
- Parameters:
access_key_id (
Optional[Sequence[str]]) – (experimental) accessKeyId property. Specify an array of string values to match this event if the actual value of accessKeyId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldaccount_id (
Optional[Sequence[str]]) – (experimental) accountId property. Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldarn (
Optional[Sequence[str]]) – (experimental) arn property. Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldprincipal_id (
Optional[Sequence[str]]) – (experimental) principalId property. Specify an array of string values to match this event if the actual value of principalId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtype (
Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events user_identity = autoscaling_events.AWSAPICallViaCloudTrail.UserIdentity( access_key_id=["accessKeyId"], account_id=["accountId"], arn=["arn"], principal_id=["principalId"], type=["type"] )
Attributes
- access_key_id
(experimental) accessKeyId property.
Specify an array of string values to match this event if the actual value of accessKeyId is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- account_id
(experimental) accountId property.
Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- arn
(experimental) arn property.
Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- principal_id
(experimental) principalId property.
Specify an array of string values to match this event if the actual value of principalId is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- type
(experimental) type property.
Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental