Interface InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet

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

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

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.*;
 InstancesSet 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();