interface RequestParameters
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AutoScaling.Events.AWSAPICallViaCloudTrail.RequestParameters |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsautoscaling/events#AWSAPICallViaCloudTrail_RequestParameters |
Java | software.amazon.awscdk.mixins.preview.services.autoscaling.events.AWSAPICallViaCloudTrail.RequestParameters |
Python | aws_cdk.mixins_preview.aws_autoscaling.events.AWSAPICallViaCloudTrail.RequestParameters |
TypeScript | @aws-cdk/mixins-preview ยป aws_autoscaling ยป events ยป AWSAPICallViaCloudTrail ยป RequestParameters |
Type definition for RequestParameters.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as autoscaling_events } from '@aws-cdk/mixins-preview/aws-autoscaling';
declare const lifecycleHookSpecificationList: any;
declare const overrides: any;
declare const scheduledUpdateGroupActions: any;
const requestParameters: autoscaling_events.AWSAPICallViaCloudTrail.RequestParameters = {
adjustmentType: ['adjustmentType'],
autoScalingGroupName: ['autoScalingGroupName'],
availabilityZones: ['availabilityZones'],
breachThreshold: ['breachThreshold'],
defaultCooldown: ['defaultCooldown'],
desiredCapacity: ['desiredCapacity'],
forceDelete: ['forceDelete'],
granularity: ['granularity'],
healthCheckGracePeriod: ['healthCheckGracePeriod'],
healthCheckType: ['healthCheckType'],
honorCooldown: ['honorCooldown'],
imageId: ['imageId'],
instanceIds: ['instanceIds'],
instanceType: ['instanceType'],
launchConfigurationName: ['launchConfigurationName'],
launchTemplate: {
launchTemplateName: ['launchTemplateName'],
},
lifecycleHookSpecificationList: [lifecycleHookSpecificationList],
loadBalancerNames: ['loadBalancerNames'],
maxSize: ['maxSize'],
metrics: ['metrics'],
metricValue: ['metricValue'],
minSize: ['minSize'],
mixedInstancesPolicy: {
instancesDistribution: {
onDemandAllocationStrategy: ['onDemandAllocationStrategy'],
onDemandBaseCapacity: ['onDemandBaseCapacity'],
onDemandPercentageAboveBaseCapacity: ['onDemandPercentageAboveBaseCapacity'],
spotAllocationStrategy: ['spotAllocationStrategy'],
spotInstancePools: ['spotInstancePools'],
},
launchTemplate: {
launchTemplateSpecification: {
launchTemplateName: ['launchTemplateName'],
version: ['version'],
},
overrides: [overrides],
},
},
newInstancesProtectedFromScaleIn: ['newInstancesProtectedFromScaleIn'],
notificationTypes: ['notificationTypes'],
policyName: ['policyName'],
policyType: ['policyType'],
protectedFromScaleIn: ['protectedFromScaleIn'],
scalingAdjustment: ['scalingAdjustment'],
scheduledActionName: ['scheduledActionName'],
scheduledActionNames: ['scheduledActionNames'],
scheduledUpdateGroupActions: [scheduledUpdateGroupActions],
securityGroups: ['securityGroups'],
serviceLinkedRoleArn: ['serviceLinkedRoleArn'],
spotPrice: ['spotPrice'],
startTime: ['startTime'],
stepAdjustments: [{
metricIntervalLowerBound: ['metricIntervalLowerBound'],
scalingAdjustment: ['scalingAdjustment'],
}],
tags: [{
key: ['key'],
propagateAtLaunch: ['propagateAtLaunch'],
resourceId: ['resourceId'],
resourceType: ['resourceType'],
value: ['value'],
}],
targetGroupArns: ['targetGroupArns'],
targetTrackingConfiguration: {
customizedMetricSpecification: {
dimensions: [{
name: ['name'],
value: ['value'],
}],
metricName: ['metricName'],
namespace: ['namespace'],
statistic: ['statistic'],
unit: ['unit'],
},
predefinedMetricSpecification: {
predefinedMetricType: ['predefinedMetricType'],
},
targetValue: ['targetValue'],
},
time: ['time'],
topicArn: ['topicArn'],
userData: ['userData'],
vPcZoneIdentifier: ['vPcZoneIdentifier'],
};
Properties
| Name | Type | Description |
|---|---|---|
| adjustment | string[] | adjustmentType property. |
| auto | string[] | autoScalingGroupName property. |
| availability | string[] | availabilityZones property. |
| breach | string[] | breachThreshold property. |
| default | string[] | defaultCooldown property. |
| desired | string[] | desiredCapacity property. |
| force | string[] | forceDelete property. |
| granularity? | string[] | granularity property. |
| health | string[] | healthCheckGracePeriod property. |
| health | string[] | healthCheckType property. |
| honor | string[] | honorCooldown property. |
| image | string[] | imageId property. |
| instance | string[] | instanceIds property. |
| instance | string[] | instanceType property. |
| launch | string[] | launchConfigurationName property. |
| launch | Launch | launchTemplate property. |
| lifecycle | any[] | lifecycleHookSpecificationList property. |
| load | string[] | loadBalancerNames property. |
| max | string[] | maxSize property. |
| metric | string[] | metricValue property. |
| metrics? | string[] | metrics property. |
| min | string[] | minSize property. |
| mixed | Mixed | mixedInstancesPolicy property. |
| new | string[] | newInstancesProtectedFromScaleIn property. |
| notification | string[] | notificationTypes property. |
| policy | string[] | policyName property. |
| policy | string[] | policyType property. |
| protected | string[] | protectedFromScaleIn property. |
| scaling | string[] | scalingAdjustment property. |
| scheduled | string[] | scheduledActionName property. |
| scheduled | string[] | scheduledActionNames property. |
| scheduled | any[] | scheduledUpdateGroupActions property. |
| security | string[] | securityGroups property. |
| service | string[] | serviceLinkedRoleARN property. |
| spot | string[] | spotPrice property. |
| start | string[] | startTime property. |
| step | Request[] | stepAdjustments property. |
| tags? | Request[] | tags property. |
| target | string[] | targetGroupARNs property. |
| target | Target | targetTrackingConfiguration property. |
| time? | string[] | time property. |
| topic | string[] | topicARN property. |
| user | string[] | userData property. |
| v | string[] | vPCZoneIdentifier property. |
adjustmentType?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
autoScalingGroupName?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
availabilityZones?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
breachThreshold?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
defaultCooldown?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
desiredCapacity?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
forceDelete?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
granularity?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
healthCheckGracePeriod?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
healthCheckType?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
honorCooldown?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
imageId?
Type:
string[]
(optional, default: Do not filter on this field)
imageId property.
Specify an array of string values to match this event if the actual value of imageId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
instanceIds?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
instanceType?
Type:
string[]
(optional, default: Do not filter on this field)
instanceType property.
Specify an array of string values to match this event if the actual value of instanceType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
launchConfigurationName?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
launchTemplate?
Type:
Launch
(optional, default: Do not filter on this field)
launchTemplate property.
Specify an array of string values to match this event if the actual value of launchTemplate is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
lifecycleHookSpecificationList?
Type:
any[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
loadBalancerNames?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
maxSize?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
metricValue?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
metrics?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
minSize?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
mixedInstancesPolicy?
Type:
Mixed
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
newInstancesProtectedFromScaleIn?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
notificationTypes?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
policyName?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
policyType?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
protectedFromScaleIn?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
scalingAdjustment?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
scheduledActionName?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
scheduledActionNames?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
scheduledUpdateGroupActions?
Type:
any[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
securityGroups?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
serviceLinkedRoleArn?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
spotPrice?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
startTime?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
stepAdjustments?
Type:
Request[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
tags?
Type:
Request[]
(optional, default: Do not filter on this field)
tags property.
Specify an array of string values to match this event if the actual value of tags is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
targetGroupArns?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
targetTrackingConfiguration?
Type:
Target
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
time?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
topicArn?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
userData?
Type:
string[]
(optional, default: Do not filter on this field)
userData property.
Specify an array of string values to match this event if the actual value of userData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
vPcZoneIdentifier?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript