Interface AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest.Jsii$Proxy
- Enclosing class:
AWSAPICallViaCloudTrail
@Stability(Experimental)
public static interface 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 classA builder forAWSAPICallViaCloudTrail.CreateLaunchTemplateRequeststatic final classAn implementation forAWSAPICallViaCloudTrail.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 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 AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest.Builder builder()
-