Interface InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem

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

@Stability(Experimental) public static interface InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for InstancesSetItem.

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.*;
 InstancesSetItem instancesSetItem = InstancesSetItem.builder()
         .amiLaunchIndex(List.of("amiLaunchIndex"))
         .architecture(List.of("architecture"))
         .blockDeviceMapping(List.of("blockDeviceMapping"))
         .capacityReservationSpecification(CapacityReservationSpecification.builder()
                 .capacityReservationPreference(List.of("capacityReservationPreference"))
                 .build())
         .clientToken(List.of("clientToken"))
         .cpuOptions(CpuOptions.builder()
                 .coreCount(List.of("coreCount"))
                 .threadsPerCore(List.of("threadsPerCore"))
                 .build())
         .currentState(InstanceState.builder()
                 .code(List.of("code"))
                 .name(List.of("name"))
                 .build())
         .ebsOptimized(List.of("ebsOptimized"))
         .enclaveOptions(EnclaveOptions.builder()
                 .enabled(List.of("enabled"))
                 .build())
         .groupSet(GroupSet2.builder()
                 .items(List.of(GroupSet2Item.builder()
                         .groupId(List.of("groupId"))
                         .groupName(List.of("groupName"))
                         .build()))
                 .build())
         .hypervisor(List.of("hypervisor"))
         .imageId(List.of("imageId"))
         .instanceId(List.of("instanceId"))
         .instanceLifecycle(List.of("instanceLifecycle"))
         .instanceState(InstanceState.builder()
                 .code(List.of("code"))
                 .name(List.of("name"))
                 .build())
         .instanceType(List.of("instanceType"))
         .launchTime(List.of("launchTime"))
         .monitoring(Monitoring1.builder()
                 .state(List.of("state"))
                 .build())
         .networkInterfaceSet(NetworkInterfaceSet1.builder()
                 .items(List.of(NetworkInterfaceSet1Item.builder()
                         .attachment(Attachment.builder()
                                 .attachmentId(List.of("attachmentId"))
                                 .attachTime(List.of("attachTime"))
                                 .deleteOnTermination(List.of("deleteOnTermination"))
                                 .deviceIndex(List.of("deviceIndex"))
                                 .status(List.of("status"))
                                 .build())
                         .groupSet(GroupSet3.builder()
                                 .items(List.of(GroupSet2Item.builder()
                                         .groupId(List.of("groupId"))
                                         .groupName(List.of("groupName"))
                                         .build()))
                                 .build())
                         .interfaceType(List.of("interfaceType"))
                         .ipv6AddressesSet(List.of("ipv6AddressesSet"))
                         .macAddress(List.of("macAddress"))
                         .networkInterfaceId(List.of("networkInterfaceId"))
                         .ownerId(List.of("ownerId"))
                         .privateIpAddress(List.of("privateIpAddress"))
                         .privateIpAddressesSet(PrivateIpAddressesSet2.builder()
                                 .item(List.of(PrivateIpAddressesSet1Item.builder()
                                         .primary(List.of("primary"))
                                         .privateIpAddress(List.of("privateIpAddress"))
                                         .build()))
                                 .build())
                         .sourceDestCheck(List.of("sourceDestCheck"))
                         .status(List.of("status"))
                         .subnetId(List.of("subnetId"))
                         .tagSet(List.of("tagSet"))
                         .vpcId(List.of("vpcId"))
                         .build()))
                 .build())
         .placement(Placement.builder()
                 .availabilityZone(List.of("availabilityZone"))
                 .tenancy(List.of("tenancy"))
                 .build())
         .previousState(InstanceState.builder()
                 .code(List.of("code"))
                 .name(List.of("name"))
                 .build())
         .privateIpAddress(List.of("privateIpAddress"))
         .productCodes(List.of("productCodes"))
         .rootDeviceName(List.of("rootDeviceName"))
         .rootDeviceType(List.of("rootDeviceType"))
         .sourceDestCheck(List.of("sourceDestCheck"))
         .spotInstanceRequestId(List.of("spotInstanceRequestId"))
         .stateReason(StateReason.builder()
                 .code(List.of("code"))
                 .message(List.of("message"))
                 .build())
         .subnetId(List.of("subnetId"))
         .tagSet(TagSet.builder()
                 .items(List.of(TagSpecificationSetItemItem.builder()
                         .key(List.of("key"))
                         .value(List.of("value"))
                         .build()))
                 .build())
         .virtualizationType(List.of("virtualizationType"))
         .vpcId(List.of("vpcId"))
         .build();
 
  • Method Details

    • getAmiLaunchIndex

      @Stability(Experimental) @Nullable default List<String> getAmiLaunchIndex()
      (experimental) amiLaunchIndex property.

      Specify an array of string values to match this event if the actual value of amiLaunchIndex 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

    • getArchitecture

      @Stability(Experimental) @Nullable default List<String> getArchitecture()
      (experimental) architecture property.

      Specify an array of string values to match this event if the actual value of architecture 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

    • getBlockDeviceMapping

      @Stability(Experimental) @Nullable default List<String> getBlockDeviceMapping()
      (experimental) blockDeviceMapping property.

      Specify an array of string values to match this event if the actual value of blockDeviceMapping 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

    • getCapacityReservationSpecification

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.CapacityReservationSpecification getCapacityReservationSpecification()
      (experimental) capacityReservationSpecification property.

      Specify an array of string values to match this event if the actual value of capacityReservationSpecification 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

    • getClientToken

      @Stability(Experimental) @Nullable default List<String> getClientToken()
      (experimental) clientToken property.

      Specify an array of string values to match this event if the actual value of clientToken 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

    • getCpuOptions

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.CpuOptions getCpuOptions()
      (experimental) cpuOptions property.

      Specify an array of string values to match this event if the actual value of cpuOptions 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

    • getCurrentState

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.InstanceState getCurrentState()
      (experimental) currentState property.

      Specify an array of string values to match this event if the actual value of currentState 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

    • getEbsOptimized

      @Stability(Experimental) @Nullable default List<String> getEbsOptimized()
      (experimental) ebsOptimized property.

      Specify an array of string values to match this event if the actual value of ebsOptimized 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

    • getEnclaveOptions

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions getEnclaveOptions()
      (experimental) enclaveOptions property.

      Specify an array of string values to match this event if the actual value of enclaveOptions 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

    • getGroupSet

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2 getGroupSet()
      (experimental) groupSet property.

      Specify an array of string values to match this event if the actual value of groupSet 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

    • getHypervisor

      @Stability(Experimental) @Nullable default List<String> getHypervisor()
      (experimental) hypervisor property.

      Specify an array of string values to match this event if the actual value of hypervisor 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

    • 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

    • getInstanceId

      @Stability(Experimental) @Nullable default List<String> getInstanceId()
      (experimental) instanceId property.

      Specify an array of string values to match this event if the actual value of instanceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Filter with the Instance reference

    • getInstanceLifecycle

      @Stability(Experimental) @Nullable default List<String> getInstanceLifecycle()
      (experimental) instanceLifecycle property.

      Specify an array of string values to match this event if the actual value of instanceLifecycle 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

    • getInstanceState

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.InstanceState getInstanceState()
      (experimental) instanceState property.

      Specify an array of string values to match this event if the actual value of instanceState 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

    • getLaunchTime

      @Stability(Experimental) @Nullable default List<String> getLaunchTime()
      (experimental) launchTime property.

      Specify an array of string values to match this event if the actual value of launchTime 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

    • getMonitoring

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.Monitoring1 getMonitoring()
      (experimental) monitoring property.

      Specify an array of string values to match this event if the actual value of monitoring 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

    • getNetworkInterfaceSet

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1 getNetworkInterfaceSet()
      (experimental) networkInterfaceSet property.

      Specify an array of string values to match this event if the actual value of networkInterfaceSet 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

    • getPlacement

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.Placement getPlacement()
      (experimental) placement property.

      Specify an array of string values to match this event if the actual value of placement 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

    • getPreviousState

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.InstanceState getPreviousState()
      (experimental) previousState property.

      Specify an array of string values to match this event if the actual value of previousState 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

    • getPrivateIpAddress

      @Stability(Experimental) @Nullable default List<String> getPrivateIpAddress()
      (experimental) privateIpAddress property.

      Specify an array of string values to match this event if the actual value of privateIpAddress 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

    • getProductCodes

      @Stability(Experimental) @Nullable default List<String> getProductCodes()
      (experimental) productCodes property.

      Specify an array of string values to match this event if the actual value of productCodes 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

    • getRootDeviceName

      @Stability(Experimental) @Nullable default List<String> getRootDeviceName()
      (experimental) rootDeviceName property.

      Specify an array of string values to match this event if the actual value of rootDeviceName 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

    • getRootDeviceType

      @Stability(Experimental) @Nullable default List<String> getRootDeviceType()
      (experimental) rootDeviceType property.

      Specify an array of string values to match this event if the actual value of rootDeviceType 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

    • getSourceDestCheck

      @Stability(Experimental) @Nullable default List<String> getSourceDestCheck()
      (experimental) sourceDestCheck property.

      Specify an array of string values to match this event if the actual value of sourceDestCheck 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

    • getSpotInstanceRequestId

      @Stability(Experimental) @Nullable default List<String> getSpotInstanceRequestId()
      (experimental) spotInstanceRequestId property.

      Specify an array of string values to match this event if the actual value of spotInstanceRequestId 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

    • getStateReason

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.StateReason getStateReason()
      (experimental) stateReason property.

      Specify an array of string values to match this event if the actual value of stateReason 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

    • getSubnetId

      @Stability(Experimental) @Nullable default List<String> getSubnetId()
      (experimental) subnetId property.

      Specify an array of string values to match this event if the actual value of subnetId 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

    • getTagSet

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.TagSet getTagSet()
      (experimental) tagSet property.

      Specify an array of string values to match this event if the actual value of tagSet 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

    • getVirtualizationType

      @Stability(Experimental) @Nullable default List<String> getVirtualizationType()
      (experimental) virtualizationType property.

      Specify an array of string values to match this event if the actual value of virtualizationType 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

    • getVpcId

      @Stability(Experimental) @Nullable default List<String> getVpcId()
      (experimental) vpcId property.

      Specify an array of string values to match this event if the actual value of vpcId 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.InstancesSetItem.Builder builder()
      Returns:
      a InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem.Builder of InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem