Interface InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData.Jsii$Proxy
Enclosing class:
InstanceEvents.AWSAPICallViaCloudTrail

@Stability(Experimental) public static interface InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData extends software.amazon.jsii.JsiiSerializable
(experimental) 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 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();
 
  • Method Details

    • getImageId

      @Stability(Experimental) @Nullable default List<String> 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.Match for 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getInstanceType

      @Stability(Experimental) @Nullable default List<String> 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.Match for 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getUserData

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      @Stability(Experimental) static InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData.Builder builder()
      Returns:
      a InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData.Builder of InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateData