interface ExistingInstances
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Events.InstanceEvents.AWSAPICallViaCloudTrail.ExistingInstances |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/events#InstanceEvents_AWSAPICallViaCloudTrail_ExistingInstances |
Java | software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.ExistingInstances |
Python | aws_cdk.mixins_preview.aws_ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.ExistingInstances |
TypeScript | @aws-cdk/mixins-preview ยป aws_ec2 ยป events ยป InstanceEvents ยป AWSAPICallViaCloudTrail ยป ExistingInstances |
Type definition for ExistingInstances.
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 existingInstances: ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.ExistingInstances = {
availabilityZone: ['availabilityZone'],
count: ['count'],
instanceType: ['instanceType'],
marketOption: ['marketOption'],
operatingSystem: ['operatingSystem'],
tag: ['tag'],
};
Properties
| Name | Type | Description |
|---|---|---|
| availability | string[] | AvailabilityZone property. |
| count? | string[] | Count property. |
| instance | string[] | InstanceType property. |
| market | string[] | MarketOption property. |
| operating | string[] | OperatingSystem property. |
| tag? | string[] | tag 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.
count?
Type:
string[]
(optional, default: Do not filter on this field)
Count property.
Specify an array of string values to match this event if the actual value of Count 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.
marketOption?
Type:
string[]
(optional, default: Do not filter on this field)
MarketOption property.
Specify an array of string values to match this event if the actual value of MarketOption is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
operatingSystem?
Type:
string[]
(optional, default: Do not filter on this field)
OperatingSystem property.
Specify an array of string values to match this event if the actual value of OperatingSystem is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
tag?
Type:
string[]
(optional, default: Do not filter on this field)
tag property.
Specify an array of string values to match this event if the actual value of tag 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