Interface InstanceEvents.AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
InstanceEvents.AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest.Jsii$Proxy
- Enclosing class:
InstanceEvents.AWSAPICallViaCloudTrail
@Stability(Experimental)
public static interface InstanceEvents.AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest
extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for CreateLaunchTemplateRequest.
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.*;
CreateLaunchTemplateRequest createLaunchTemplateRequest = CreateLaunchTemplateRequest.builder()
.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())
.launchTemplateName(List.of("launchTemplateName"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forInstanceEvents.AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) LaunchTemplateData property.(experimental) LaunchTemplateName property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLaunchTemplateData
@Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData getLaunchTemplateData()(experimental) LaunchTemplateData property.Specify an array of string values to match this event if the actual value of LaunchTemplateData 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
-
getLaunchTemplateName
(experimental) LaunchTemplateName property.Specify an array of string values to match this event if the actual value of LaunchTemplateName 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.CreateLaunchTemplateRequest.Builder builder()
-