interface ResponseElements
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Events.InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/events#InstanceEvents_AWSAPICallViaCloudTrail_ResponseElements |
Java | software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements |
Python | aws_cdk.mixins_preview.aws_ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements |
TypeScript | @aws-cdk/mixins-preview ยป aws_ec2 ยป events ยป InstanceEvents ยป AWSAPICallViaCloudTrail ยป ResponseElements |
Type definition for ResponseElements.
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 responseElements: ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements = {
createFleetResponse: {
errorSet: ['errorSet'],
fleetId: ['fleetId'],
fleetInstanceSet: ['fleetInstanceSet'],
requestId: ['requestId'],
xmlns: ['xmlns'],
},
createLaunchTemplateResponse: {
launchTemplate: {
createdBy: ['createdBy'],
createTime: ['createTime'],
defaultVersionNumber: ['defaultVersionNumber'],
latestVersionNumber: ['latestVersionNumber'],
launchTemplateId: ['launchTemplateId'],
launchTemplateName: ['launchTemplateName'],
},
requestId: ['requestId'],
xmlns: ['xmlns'],
},
deleteLaunchTemplateResponse: {
launchTemplate: {
createdBy: ['createdBy'],
createTime: ['createTime'],
defaultVersionNumber: ['defaultVersionNumber'],
latestVersionNumber: ['latestVersionNumber'],
launchTemplateId: ['launchTemplateId'],
launchTemplateName: ['launchTemplateName'],
},
requestId: ['requestId'],
xmlns: ['xmlns'],
},
groupId: ['groupId'],
groupSet: ['groupSet'],
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'],
}],
},
networkInterface: {
availabilityZone: ['availabilityZone'],
description: ['description'],
groupSet: {
items: [{
groupId: ['groupId'],
groupName: ['groupName'],
}],
},
interfaceType: ['interfaceType'],
ipv6AddressesSet: ['ipv6AddressesSet'],
macAddress: ['macAddress'],
networkInterfaceId: ['networkInterfaceId'],
ownerId: ['ownerId'],
privateIpAddress: ['privateIpAddress'],
privateIpAddressesSet: {
item: [{
primary: ['primary'],
privateIpAddress: ['privateIpAddress'],
}],
},
requesterId: ['requesterId'],
requesterManaged: ['requesterManaged'],
sourceDestCheck: ['sourceDestCheck'],
status: ['status'],
subnetId: ['subnetId'],
tagSet: ['tagSet'],
vpcId: ['vpcId'],
},
ownerId: ['ownerId'],
requesterId: ['requesterId'],
requestId: ['requestId'],
reservationId: ['reservationId'],
return: ['return'],
};
Properties
| Name | Type | Description |
|---|---|---|
| create | Create | CreateFleetResponse property. |
| create | Delete | CreateLaunchTemplateResponse property. |
| delete | Delete | DeleteLaunchTemplateResponse property. |
| group | string[] | groupId property. |
| group | string[] | groupSet property. |
| instances | Instances | instancesSet property. |
| network | Network | networkInterface property. |
| owner | string[] | ownerId property. |
| request | string[] | requestId property. |
| requester | string[] | requesterId property. |
| reservation | string[] | reservationId property. |
| return? | string[] | _return property. |
createFleetResponse?
Type:
Create
(optional, default: Do not filter on this field)
CreateFleetResponse property.
Specify an array of string values to match this event if the actual value of CreateFleetResponse is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
createLaunchTemplateResponse?
Type:
Delete
(optional, default: Do not filter on this field)
CreateLaunchTemplateResponse property.
Specify an array of string values to match this event if the actual value of CreateLaunchTemplateResponse is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
deleteLaunchTemplateResponse?
Type:
Delete
(optional, default: Do not filter on this field)
DeleteLaunchTemplateResponse property.
Specify an array of string values to match this event if the actual value of DeleteLaunchTemplateResponse 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.
groupSet?
Type:
string[]
(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.
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.
networkInterface?
Type:
Network
(optional, default: Do not filter on this field)
networkInterface property.
Specify an array of string values to match this event if the actual value of networkInterface is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
ownerId?
Type:
string[]
(optional, default: Do not filter on this field)
ownerId property.
Specify an array of string values to match this event if the actual value of ownerId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
requestId?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
requesterId?
Type:
string[]
(optional, default: Do not filter on this field)
requesterId property.
Specify an array of string values to match this event if the actual value of requesterId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
reservationId?
Type:
string[]
(optional, default: Do not filter on this field)
reservationId property.
Specify an array of string values to match this event if the actual value of reservationId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
return?
Type:
string[]
(optional, default: Do not filter on this field)
_return property.
Specify an array of string values to match this event if the actual value of _return 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