Interface InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem.Jsii$Proxy
- Enclosing class:
InstanceEvents.AWSAPICallViaCloudTrail
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forInstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItemstatic final classAn implementation forInstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) amiLaunchIndex property.(experimental) architecture property.(experimental) blockDeviceMapping property.(experimental) capacityReservationSpecification property.(experimental) clientToken property.(experimental) cpuOptions property.(experimental) currentState property.(experimental) ebsOptimized property.(experimental) enclaveOptions property.(experimental) groupSet property.(experimental) hypervisor property.(experimental) imageId property.(experimental) instanceId property.(experimental) instanceLifecycle property.(experimental) instanceState property.(experimental) instanceType property.(experimental) launchTime property.(experimental) monitoring property.(experimental) networkInterfaceSet property.(experimental) placement property.(experimental) previousState property.(experimental) privateIpAddress property.(experimental) productCodes property.(experimental) rootDeviceName property.(experimental) rootDeviceType property.(experimental) sourceDestCheck property.(experimental) spotInstanceRequestId property.(experimental) stateReason property.(experimental) subnetId property.(experimental) tagSet property.(experimental) virtualizationType property.getVpcId()(experimental) vpcId property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor 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.Matchfor 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor 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.Matchfor 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Filter with the Instance reference
-
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.Matchfor 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
@Stability(Experimental) static InstanceEvents.AWSAPICallViaCloudTrail.InstancesSetItem.Builder builder()
-