interface LaunchTemplateData
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/events#InstanceEvents_AWSAPICallViaCloudTrail_LaunchTemplateData |
Java | software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData |
Python | aws_cdk.mixins_preview.aws_ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData |
TypeScript | @aws-cdk/mixins-preview ยป aws_ec2 ยป events ยป InstanceEvents ยป AWSAPICallViaCloudTrail ยป LaunchTemplateData |
Type definition for LaunchTemplateData.
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 launchTemplateData: ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.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'],
};
Properties
| Name | Type | Description |
|---|---|---|
| image | string[] | ImageId property. |
| instance | Instance | InstanceMarketOptions property. |
| instance | string[] | InstanceType property. |
| network | Network | NetworkInterface property. |
| user | string[] | UserData property. |
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.
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.
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.
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.

.NET
Go
Java
Python
TypeScript