interface InstancesSet
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/events#InstanceEvents_AWSAPICallViaCloudTrail_InstancesSet |
Java | software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet |
Python | aws_cdk.mixins_preview.aws_ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » events » InstanceEvents » AWSAPICallViaCloudTrail » InstancesSet |
Type definition for InstancesSet.
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';
const instancesSet: ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet = {
items: [{
amiLaunchIndex: ['amiLaunchIndex'],
architecture: ['architecture'],
blockDeviceMapping: ['blockDeviceMapping'],
capacityReservationSpecification: {
capacityReservationPreference: ['capacityReservationPreference'],
},
clientToken: ['clientToken'],
cpuOptions: {
coreCount: ['coreCount'],
threadsPerCore: ['threadsPerCore'],
},
currentState: {
code: ['code'],
name: ['name'],
},
ebsOptimized: ['ebsOptimized'],
enclaveOptions: {
enabled: ['enabled'],
},
groupSet: {
items: [{
groupId: ['groupId'],
groupName: ['groupName'],
}],
},
hypervisor: ['hypervisor'],
imageId: ['imageId'],
instanceId: ['instanceId'],
instanceLifecycle: ['instanceLifecycle'],
instanceState: {
code: ['code'],
name: ['name'],
},
instanceType: ['instanceType'],
launchTime: ['launchTime'],
monitoring: {
state: ['state'],
},
networkInterfaceSet: {
items: [{
attachment: {
attachmentId: ['attachmentId'],
attachTime: ['attachTime'],
deleteOnTermination: ['deleteOnTermination'],
deviceIndex: ['deviceIndex'],
status: ['status'],
},
groupSet: {
items: [{
groupId: ['groupId'],
groupName: ['groupName'],
}],
},
interfaceType: ['interfaceType'],
ipv6AddressesSet: ['ipv6AddressesSet'],
macAddress: ['macAddress'],
networkInterfaceId: ['networkInterfaceId'],
ownerId: ['ownerId'],
privateIpAddress: ['privateIpAddress'],
privateIpAddressesSet: {
item: [{
primary: ['primary'],
privateIpAddress: ['privateIpAddress'],
}],
},
sourceDestCheck: ['sourceDestCheck'],
status: ['status'],
subnetId: ['subnetId'],
tagSet: ['tagSet'],
vpcId: ['vpcId'],
}],
},
placement: {
availabilityZone: ['availabilityZone'],
tenancy: ['tenancy'],
},
previousState: {
code: ['code'],
name: ['name'],
},
privateIpAddress: ['privateIpAddress'],
productCodes: ['productCodes'],
rootDeviceName: ['rootDeviceName'],
rootDeviceType: ['rootDeviceType'],
sourceDestCheck: ['sourceDestCheck'],
spotInstanceRequestId: ['spotInstanceRequestId'],
stateReason: {
code: ['code'],
message: ['message'],
},
subnetId: ['subnetId'],
tagSet: {
items: [{
key: ['key'],
value: ['value'],
}],
},
virtualizationType: ['virtualizationType'],
vpcId: ['vpcId'],
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| items? | Instances[] | items property. |
items?
Type:
Instances[]
(optional, default: Do not filter on this field)
items property.
Specify an array of string values to match this event if the actual value of items is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript