interface RequestParameters
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Events.InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/events#InstanceEvents_AWSAPICallViaCloudTrail_RequestParameters |
Java | software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters |
Python | aws_cdk.mixins_preview.aws_ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters |
TypeScript | @aws-cdk/mixins-preview ยป aws_ec2 ยป events ยป InstanceEvents ยป 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 ec2_events } from '@aws-cdk/mixins-preview/aws-ec2';
declare const overrides: any;
const requestParameters: ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters = {
availabilityZone: ['availabilityZone'],
blockDeviceMapping: ['blockDeviceMapping'],
clientToken: ['clientToken'],
createFleetRequest: {
clientToken: ['clientToken'],
existingInstances: {
availabilityZone: ['availabilityZone'],
count: ['count'],
instanceType: ['instanceType'],
marketOption: ['marketOption'],
operatingSystem: ['operatingSystem'],
tag: ['tag'],
},
launchTemplateConfigs: {
launchTemplateSpecification: {
launchTemplateId: ['launchTemplateId'],
version: ['version'],
},
overrides: [overrides],
tag: ['tag'],
},
onDemandOptions: {
allocationStrategy: ['allocationStrategy'],
instancePoolConstraintFilterDisabled: ['instancePoolConstraintFilterDisabled'],
maxInstanceCount: ['maxInstanceCount'],
maxTargetCapacity: ['maxTargetCapacity'],
},
spotOptions: {
allocationStrategy: ['allocationStrategy'],
instancePoolConstraintFilterDisabled: ['instancePoolConstraintFilterDisabled'],
instancePoolsToUseCount: ['instancePoolsToUseCount'],
maxInstanceCount: ['maxInstanceCount'],
maxTargetCapacity: ['maxTargetCapacity'],
},
tagSpecification: {
resourceType: ['resourceType'],
tag: {
key: ['key'],
tag: ['tag'],
value: ['value'],
},
},
targetCapacitySpecification: {
defaultTargetCapacityType: ['defaultTargetCapacityType'],
onDemandTargetCapacity: ['onDemandTargetCapacity'],
spotTargetCapacity: ['spotTargetCapacity'],
totalTargetCapacity: ['totalTargetCapacity'],
},
type: ['type'],
},
createLaunchTemplateRequest: {
launchTemplateData: {
imageId: ['imageId'],
instanceMarketOptions: {
marketType: ['marketType'],
spotOptions: {
maxPrice: ['maxPrice'],
spotInstanceType: ['spotInstanceType'],
},
},
instanceType: ['instanceType'],
networkInterface: {
deviceIndex: ['deviceIndex'],
securityGroupId: {
content: ['content'],
tag: ['tag'],
},
subnetId: ['subnetId'],
tag: ['tag'],
},
userData: ['userData'],
},
launchTemplateName: ['launchTemplateName'],
},
deleteLaunchTemplateRequest: {
launchTemplateName: ['launchTemplateName'],
},
description: ['description'],
disableApiTermination: ['disableApiTermination'],
groupDescription: ['groupDescription'],
groupId: ['groupId'],
groupName: ['groupName'],
groupSet: {
items: [{
groupId: ['groupId'],
}],
},
instanceMarketOptions: {
marketType: ['marketType'],
spotOptions: {
maxPrice: ['maxPrice'],
spotInstanceType: ['spotInstanceType'],
},
},
instancesSet: {
items: [{
imageId: ['imageId'],
instanceId: ['instanceId'],
maxCount: ['maxCount'],
minCount: ['minCount'],
}],
},
instanceType: ['instanceType'],
ipv6AddressCount: ['ipv6AddressCount'],
launchTemplate: {
launchTemplateId: ['launchTemplateId'],
version: ['version'],
},
monitoring: {
enabled: ['enabled'],
},
networkInterfaceId: ['networkInterfaceId'],
networkInterfaceSet: {
items: [{
deviceIndex: ['deviceIndex'],
subnetId: ['subnetId'],
}],
},
privateIpAddressesSet: ['privateIpAddressesSet'],
subnetId: ['subnetId'],
tagSpecificationSet: {
items: [{
resourceType: ['resourceType'],
tags: [{
key: ['key'],
value: ['value'],
}],
}],
},
userData: ['userData'],
vpcId: ['vpcId'],
};
Properties
| Name | Type | Description |
|---|---|---|
| availability | string[] | availabilityZone property. |
| block | string[] | blockDeviceMapping property. |
| client | string[] | clientToken property. |
| create | Create | CreateFleetRequest property. |
| create | Create | CreateLaunchTemplateRequest property. |
| delete | Delete | DeleteLaunchTemplateRequest property. |
| description? | string[] | description property. |
| disable | string[] | disableApiTermination property. |
| group | string[] | groupDescription property. |
| group | string[] | groupId property. |
| group | string[] | groupName property. |
| group | Group | groupSet property. |
| instance | Instance | instanceMarketOptions property. |
| instance | string[] | instanceType property. |
| instances | Instances | instancesSet property. |
| ipv6 | string[] | ipv6AddressCount property. |
| launch | Launch | launchTemplate property. |
| monitoring? | Monitoring | monitoring property. |
| network | string[] | networkInterfaceId property. |
| network | Network | networkInterfaceSet property. |
| private | string[] | privateIpAddressesSet property. |
| subnet | string[] | subnetId property. |
| tag | Tag | tagSpecificationSet property. |
| user | string[] | userData property. |
| vpc | string[] | vpcId property. |
availabilityZone?
Type:
string[]
(optional, default: Do not filter on this field)
availabilityZone property.
Specify an array of string values to match this event if the actual value of availabilityZone is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
blockDeviceMapping?
Type:
string[]
(optional, default: Do not filter on this field)
blockDeviceMapping property.
Specify an array of string values to match this event if the actual value of blockDeviceMapping is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
clientToken?
Type:
string[]
(optional, default: Do not filter on this field)
clientToken property.
Specify an array of string values to match this event if the actual value of clientToken is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
createFleetRequest?
Type:
Create
(optional, default: Do not filter on this field)
CreateFleetRequest property.
Specify an array of string values to match this event if the actual value of CreateFleetRequest is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
createLaunchTemplateRequest?
Type:
Create
(optional, default: Do not filter on this field)
CreateLaunchTemplateRequest property.
Specify an array of string values to match this event if the actual value of CreateLaunchTemplateRequest is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
deleteLaunchTemplateRequest?
Type:
Delete
(optional, default: Do not filter on this field)
DeleteLaunchTemplateRequest property.
Specify an array of string values to match this event if the actual value of DeleteLaunchTemplateRequest is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
description?
Type:
string[]
(optional, default: Do not filter on this field)
description property.
Specify an array of string values to match this event if the actual value of description is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
disableApiTermination?
Type:
string[]
(optional, default: Do not filter on this field)
disableApiTermination property.
Specify an array of string values to match this event if the actual value of disableApiTermination is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
groupDescription?
Type:
string[]
(optional, default: Do not filter on this field)
groupDescription property.
Specify an array of string values to match this event if the actual value of groupDescription is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
groupId?
Type:
string[]
(optional, default: Do not filter on this field)
groupId property.
Specify an array of string values to match this event if the actual value of groupId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
groupName?
Type:
string[]
(optional, default: Do not filter on this field)
groupName property.
Specify an array of string values to match this event if the actual value of groupName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
groupSet?
Type:
Group
(optional, default: Do not filter on this field)
groupSet property.
Specify an array of string values to match this event if the actual value of groupSet is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
instanceMarketOptions?
Type:
Instance
(optional, default: Do not filter on this field)
instanceMarketOptions property.
Specify an array of string values to match this event if the actual value of instanceMarketOptions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
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.
instancesSet?
Type:
Instances
(optional, default: Do not filter on this field)
instancesSet property.
Specify an array of string values to match this event if the actual value of instancesSet is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
ipv6AddressCount?
Type:
string[]
(optional, default: Do not filter on this field)
ipv6AddressCount property.
Specify an array of string values to match this event if the actual value of ipv6AddressCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
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.
monitoring?
Type:
Monitoring
(optional, default: Do not filter on this field)
monitoring property.
Specify an array of string values to match this event if the actual value of monitoring is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
networkInterfaceId?
Type:
string[]
(optional, default: Do not filter on this field)
networkInterfaceId property.
Specify an array of string values to match this event if the actual value of networkInterfaceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
networkInterfaceSet?
Type:
Network
(optional, default: Do not filter on this field)
networkInterfaceSet property.
Specify an array of string values to match this event if the actual value of networkInterfaceSet is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
privateIpAddressesSet?
Type:
string[]
(optional, default: Do not filter on this field)
privateIpAddressesSet property.
Specify an array of string values to match this event if the actual value of privateIpAddressesSet is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
subnetId?
Type:
string[]
(optional, default: Do not filter on this field)
subnetId property.
Specify an array of string values to match this event if the actual value of subnetId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
tagSpecificationSet?
Type:
Tag
(optional, default: Do not filter on this field)
tagSpecificationSet property.
Specify an array of string values to match this event if the actual value of tagSpecificationSet is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
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.
vpcId?
Type:
string[]
(optional, default: Do not filter on this field)
vpcId property.
Specify an array of string values to match this event if the actual value of vpcId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript