Interface InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData.Jsii$Proxy
- Enclosing class:
InstanceEvents.AWSAPICallViaCloudTrail
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.ec2.events.*;
LaunchTemplateData launchTemplateData = LaunchTemplateData.builder()
.imageId(List.of("imageId"))
.instanceMarketOptions(InstanceMarketOptions1.builder()
.marketType(List.of("marketType"))
.spotOptions(SpotOptions2.builder()
.maxPrice(List.of("maxPrice"))
.spotInstanceType(List.of("spotInstanceType"))
.build())
.build())
.instanceType(List.of("instanceType"))
.networkInterface(NetworkInterface1.builder()
.deviceIndex(List.of("deviceIndex"))
.securityGroupId(SecurityGroupId.builder()
.content(List.of("content"))
.tag(List.of("tag"))
.build())
.subnetId(List.of("subnetId"))
.tag(List.of("tag"))
.build())
.userData(List.of("userData"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forInstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) ImageId property.(experimental) InstanceMarketOptions property.(experimental) InstanceType property.(experimental) NetworkInterface property.(experimental) UserData property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getImageId
(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getInstanceMarketOptions
@Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions1 getInstanceMarketOptions()(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getInstanceType
(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getNetworkInterface
@Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface1 getNetworkInterface()(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getUserData
(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
@Stability(Experimental) static InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData.Builder builder()
-