Interface InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements

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

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

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.*;
 ResponseElements responseElements = ResponseElements.builder()
         .createFleetResponse(CreateFleetResponse.builder()
                 .errorSet(List.of("errorSet"))
                 .fleetId(List.of("fleetId"))
                 .fleetInstanceSet(List.of("fleetInstanceSet"))
                 .requestId(List.of("requestId"))
                 .xmlns(List.of("xmlns"))
                 .build())
         .createLaunchTemplateResponse(DeleteLaunchTemplateResponse.builder()
                 .launchTemplate(LaunchTemplate1.builder()
                         .createdBy(List.of("createdBy"))
                         .createTime(List.of("createTime"))
                         .defaultVersionNumber(List.of("defaultVersionNumber"))
                         .latestVersionNumber(List.of("latestVersionNumber"))
                         .launchTemplateId(List.of("launchTemplateId"))
                         .launchTemplateName(List.of("launchTemplateName"))
                         .build())
                 .requestId(List.of("requestId"))
                 .xmlns(List.of("xmlns"))
                 .build())
         .deleteLaunchTemplateResponse(DeleteLaunchTemplateResponse.builder()
                 .launchTemplate(LaunchTemplate1.builder()
                         .createdBy(List.of("createdBy"))
                         .createTime(List.of("createTime"))
                         .defaultVersionNumber(List.of("defaultVersionNumber"))
                         .latestVersionNumber(List.of("latestVersionNumber"))
                         .launchTemplateId(List.of("launchTemplateId"))
                         .launchTemplateName(List.of("launchTemplateName"))
                         .build())
                 .requestId(List.of("requestId"))
                 .xmlns(List.of("xmlns"))
                 .build())
         .groupId(List.of("groupId"))
         .groupSet(List.of("groupSet"))
         .instancesSet(InstancesSet.builder()
                 .items(List.of(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()))
                 .build())
         .networkInterface(NetworkInterface.builder()
                 .availabilityZone(List.of("availabilityZone"))
                 .description(List.of("description"))
                 .groupSet(GroupSet2.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(PrivateIpAddressesSet1.builder()
                         .item(List.of(PrivateIpAddressesSet1Item.builder()
                                 .primary(List.of("primary"))
                                 .privateIpAddress(List.of("privateIpAddress"))
                                 .build()))
                         .build())
                 .requesterId(List.of("requesterId"))
                 .requesterManaged(List.of("requesterManaged"))
                 .sourceDestCheck(List.of("sourceDestCheck"))
                 .status(List.of("status"))
                 .subnetId(List.of("subnetId"))
                 .tagSet(List.of("tagSet"))
                 .vpcId(List.of("vpcId"))
                 .build())
         .ownerId(List.of("ownerId"))
         .requesterId(List.of("requesterId"))
         .requestId(List.of("requestId"))
         .reservationId(List.of("reservationId"))
         .return(List.of("return"))
         .build();
 
  • Method Details

    • getCreateFleetResponse

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetResponse getCreateFleetResponse()
      (experimental) CreateFleetResponse property.

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

    • getCreateLaunchTemplateResponse

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse getCreateLaunchTemplateResponse()
      (experimental) CreateLaunchTemplateResponse property.

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

    • getDeleteLaunchTemplateResponse

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse getDeleteLaunchTemplateResponse()
      (experimental) DeleteLaunchTemplateResponse property.

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

    • getGroupId

      @Stability(Experimental) @Nullable default List<String> getGroupId()
      (experimental) groupId property.

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

    • getInstancesSet

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet getInstancesSet()
      (experimental) instancesSet property.

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

    • getOwnerId

      @Stability(Experimental) @Nullable default List<String> getOwnerId()
      (experimental) ownerId property.

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

    • getRequesterId

      @Stability(Experimental) @Nullable default List<String> getRequesterId()
      (experimental) requesterId property.

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

    • getRequestId

      @Stability(Experimental) @Nullable default List<String> getRequestId()
      (experimental) requestId property.

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

    • getReservationId

      @Stability(Experimental) @Nullable default List<String> getReservationId()
      (experimental) reservationId property.

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

    • getReturnValue

      @Stability(Experimental) @Nullable default List<String> getReturnValue()
      (experimental) _return property.

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