interface InstancesSetItem
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/events#InstanceEvents_AWSAPICallViaCloudTrail_InstancesSetItem |
Java | software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem |
Python | aws_cdk.mixins_preview.aws_ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem |
TypeScript | @aws-cdk/mixins-preview ยป aws_ec2 ยป events ยป InstanceEvents ยป AWSAPICallViaCloudTrail ยป InstancesSetItem |
Type definition for InstancesSetItem.
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 instancesSetItem: ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem = {
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 |
|---|---|---|
| ami | string[] | amiLaunchIndex property. |
| architecture? | string[] | architecture property. |
| block | string[] | blockDeviceMapping property. |
| capacity | Capacity | capacityReservationSpecification property. |
| client | string[] | clientToken property. |
| cpu | Cpu | cpuOptions property. |
| current | Instance | currentState property. |
| ebs | string[] | ebsOptimized property. |
| enclave | Enclave | enclaveOptions property. |
| group | Group | groupSet property. |
| hypervisor? | string[] | hypervisor property. |
| image | string[] | imageId property. |
| instance | string[] | instanceId property. |
| instance | string[] | instanceLifecycle property. |
| instance | Instance | instanceState property. |
| instance | string[] | instanceType property. |
| launch | string[] | launchTime property. |
| monitoring? | Monitoring1 | monitoring property. |
| network | Network | networkInterfaceSet property. |
| placement? | Placement | placement property. |
| previous | Instance | previousState property. |
| private | string[] | privateIpAddress property. |
| product | string[] | productCodes property. |
| root | string[] | rootDeviceName property. |
| root | string[] | rootDeviceType property. |
| source | string[] | sourceDestCheck property. |
| spot | string[] | spotInstanceRequestId property. |
| state | State | stateReason property. |
| subnet | string[] | subnetId property. |
| tag | Tag | tagSet property. |
| virtualization | string[] | virtualizationType property. |
| vpc | string[] | vpcId property. |
amiLaunchIndex?
Type:
string[]
(optional, default: Do not filter on this field)
amiLaunchIndex property.
Specify an array of string values to match this event if the actual value of amiLaunchIndex is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
architecture?
Type:
string[]
(optional, default: Do not filter on this field)
architecture property.
Specify an array of string values to match this event if the actual value of architecture is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
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.
capacityReservationSpecification?
Type:
Capacity
(optional, default: Do not filter on this field)
capacityReservationSpecification property.
Specify an array of string values to match this event if the actual value of capacityReservationSpecification is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
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.
cpuOptions?
Type:
Cpu
(optional, default: Do not filter on this field)
cpuOptions property.
Specify an array of string values to match this event if the actual value of cpuOptions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
currentState?
Type:
Instance
(optional, default: Do not filter on this field)
currentState property.
Specify an array of string values to match this event if the actual value of currentState is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
ebsOptimized?
Type:
string[]
(optional, default: Do not filter on this field)
ebsOptimized property.
Specify an array of string values to match this event if the actual value of ebsOptimized is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
enclaveOptions?
Type:
Enclave
(optional, default: Do not filter on this field)
enclaveOptions property.
Specify an array of string values to match this event if the actual value of enclaveOptions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
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.
hypervisor?
Type:
string[]
(optional, default: Do not filter on this field)
hypervisor property.
Specify an array of string values to match this event if the actual value of hypervisor is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
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.
instanceId?
Type:
string[]
(optional, default: Filter with the Instance reference)
instanceId property.
Specify an array of string values to match this event if the actual value of instanceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
instanceLifecycle?
Type:
string[]
(optional, default: Do not filter on this field)
instanceLifecycle property.
Specify an array of string values to match this event if the actual value of instanceLifecycle is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
instanceState?
Type:
Instance
(optional, default: Do not filter on this field)
instanceState property.
Specify an array of string values to match this event if the actual value of instanceState is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
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.
launchTime?
Type:
string[]
(optional, default: Do not filter on this field)
launchTime property.
Specify an array of string values to match this event if the actual value of launchTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
monitoring?
Type:
Monitoring1
(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.
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.
placement?
Type:
Placement
(optional, default: Do not filter on this field)
placement property.
Specify an array of string values to match this event if the actual value of placement is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
previousState?
Type:
Instance
(optional, default: Do not filter on this field)
previousState property.
Specify an array of string values to match this event if the actual value of previousState is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
privateIpAddress?
Type:
string[]
(optional, default: Do not filter on this field)
privateIpAddress property.
Specify an array of string values to match this event if the actual value of privateIpAddress is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
productCodes?
Type:
string[]
(optional, default: Do not filter on this field)
productCodes property.
Specify an array of string values to match this event if the actual value of productCodes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
rootDeviceName?
Type:
string[]
(optional, default: Do not filter on this field)
rootDeviceName property.
Specify an array of string values to match this event if the actual value of rootDeviceName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
rootDeviceType?
Type:
string[]
(optional, default: Do not filter on this field)
rootDeviceType property.
Specify an array of string values to match this event if the actual value of rootDeviceType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
sourceDestCheck?
Type:
string[]
(optional, default: Do not filter on this field)
sourceDestCheck property.
Specify an array of string values to match this event if the actual value of sourceDestCheck is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
spotInstanceRequestId?
Type:
string[]
(optional, default: Do not filter on this field)
spotInstanceRequestId property.
Specify an array of string values to match this event if the actual value of spotInstanceRequestId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
stateReason?
Type:
State
(optional, default: Do not filter on this field)
stateReason property.
Specify an array of string values to match this event if the actual value of stateReason is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
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.
tagSet?
Type:
Tag
(optional, default: Do not filter on this field)
tagSet property.
Specify an array of string values to match this event if the actual value of tagSet is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
virtualizationType?
Type:
string[]
(optional, default: Do not filter on this field)
virtualizationType property.
Specify an array of string values to match this event if the actual value of virtualizationType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
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