Interface InstanceEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
InstanceEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.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.*;
Object overrides;
AWSAPICallViaCloudTrailProps aWSAPICallViaCloudTrailProps = AWSAPICallViaCloudTrailProps.builder()
.awsRegion(List.of("awsRegion"))
.errorCode(List.of("errorCode"))
.errorMessage(List.of("errorMessage"))
.eventId(List.of("eventId"))
.eventMetadata(AWSEventMetadataProps.builder()
.region(List.of("region"))
.resources(List.of("resources"))
.version(List.of("version"))
.build())
.eventName(List.of("eventName"))
.eventSource(List.of("eventSource"))
.eventTime(List.of("eventTime"))
.eventType(List.of("eventType"))
.eventVersion(List.of("eventVersion"))
.requestId(List.of("requestId"))
.requestParameters(RequestParameters.builder()
.availabilityZone(List.of("availabilityZone"))
.blockDeviceMapping(List.of("blockDeviceMapping"))
.clientToken(List.of("clientToken"))
.createFleetRequest(CreateFleetRequest.builder()
.clientToken(List.of("clientToken"))
.existingInstances(ExistingInstances.builder()
.availabilityZone(List.of("availabilityZone"))
.count(List.of("count"))
.instanceType(List.of("instanceType"))
.marketOption(List.of("marketOption"))
.operatingSystem(List.of("operatingSystem"))
.tag(List.of("tag"))
.build())
.launchTemplateConfigs(LaunchTemplateConfigs.builder()
.launchTemplateSpecification(LaunchTemplateSpecification.builder()
.launchTemplateId(List.of("launchTemplateId"))
.version(List.of("version"))
.build())
.overrides(List.of(overrides))
.tag(List.of("tag"))
.build())
.onDemandOptions(OnDemandOptions.builder()
.allocationStrategy(List.of("allocationStrategy"))
.instancePoolConstraintFilterDisabled(List.of("instancePoolConstraintFilterDisabled"))
.maxInstanceCount(List.of("maxInstanceCount"))
.maxTargetCapacity(List.of("maxTargetCapacity"))
.build())
.spotOptions(SpotOptions.builder()
.allocationStrategy(List.of("allocationStrategy"))
.instancePoolConstraintFilterDisabled(List.of("instancePoolConstraintFilterDisabled"))
.instancePoolsToUseCount(List.of("instancePoolsToUseCount"))
.maxInstanceCount(List.of("maxInstanceCount"))
.maxTargetCapacity(List.of("maxTargetCapacity"))
.build())
.tagSpecification(TagSpecification.builder()
.resourceType(List.of("resourceType"))
.tag(Tag.builder()
.key(List.of("key"))
.tag(List.of("tag"))
.value(List.of("value"))
.build())
.build())
.targetCapacitySpecification(TargetCapacitySpecification.builder()
.defaultTargetCapacityType(List.of("defaultTargetCapacityType"))
.onDemandTargetCapacity(List.of("onDemandTargetCapacity"))
.spotTargetCapacity(List.of("spotTargetCapacity"))
.totalTargetCapacity(List.of("totalTargetCapacity"))
.build())
.type(List.of("type"))
.build())
.createLaunchTemplateRequest(CreateLaunchTemplateRequest.builder()
.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())
.launchTemplateName(List.of("launchTemplateName"))
.build())
.deleteLaunchTemplateRequest(DeleteLaunchTemplateRequest.builder()
.launchTemplateName(List.of("launchTemplateName"))
.build())
.description(List.of("description"))
.disableApiTermination(List.of("disableApiTermination"))
.groupDescription(List.of("groupDescription"))
.groupId(List.of("groupId"))
.groupName(List.of("groupName"))
.groupSet(GroupSet1.builder()
.items(List.of(GroupSet1Item.builder()
.groupId(List.of("groupId"))
.build()))
.build())
.instanceMarketOptions(InstanceMarketOptions.builder()
.marketType(List.of("marketType"))
.spotOptions(SpotOptions1.builder()
.maxPrice(List.of("maxPrice"))
.spotInstanceType(List.of("spotInstanceType"))
.build())
.build())
.instancesSet(InstancesSet1.builder()
.items(List.of(InstancesSet1Item.builder()
.imageId(List.of("imageId"))
.instanceId(List.of("instanceId"))
.maxCount(List.of("maxCount"))
.minCount(List.of("minCount"))
.build()))
.build())
.instanceType(List.of("instanceType"))
.ipv6AddressCount(List.of("ipv6AddressCount"))
.launchTemplate(LaunchTemplate.builder()
.launchTemplateId(List.of("launchTemplateId"))
.version(List.of("version"))
.build())
.monitoring(Monitoring.builder()
.enabled(List.of("enabled"))
.build())
.networkInterfaceId(List.of("networkInterfaceId"))
.networkInterfaceSet(NetworkInterfaceSet.builder()
.items(List.of(NetworkInterfaceSetItem.builder()
.deviceIndex(List.of("deviceIndex"))
.subnetId(List.of("subnetId"))
.build()))
.build())
.privateIpAddressesSet(List.of("privateIpAddressesSet"))
.subnetId(List.of("subnetId"))
.tagSpecificationSet(TagSpecificationSet.builder()
.items(List.of(TagSpecificationSetItem.builder()
.resourceType(List.of("resourceType"))
.tags(List.of(TagSpecificationSetItemItem.builder()
.key(List.of("key"))
.value(List.of("value"))
.build()))
.build()))
.build())
.userData(List.of("userData"))
.vpcId(List.of("vpcId"))
.build())
.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())
.sourceIpAddress(List.of("sourceIpAddress"))
.userAgent(List.of("userAgent"))
.userIdentity(UserIdentity.builder()
.accessKeyId(List.of("accessKeyId"))
.accountId(List.of("accountId"))
.arn(List.of("arn"))
.invokedBy(List.of("invokedBy"))
.principalId(List.of("principalId"))
.sessionContext(SessionContext.builder()
.attributes(Attributes.builder()
.creationDate(List.of("creationDate"))
.mfaAuthenticated(List.of("mfaAuthenticated"))
.build())
.sessionIssuer(SessionIssuer.builder()
.accountId(List.of("accountId"))
.arn(List.of("arn"))
.principalId(List.of("principalId"))
.type(List.of("type"))
.userName(List.of("userName"))
.build())
.webIdFederationData(List.of("webIdFederationData"))
.build())
.type(List.of("type"))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forInstanceEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) awsRegion property.(experimental) errorCode property.(experimental) errorMessage property.(experimental) eventID property.default AWSEventMetadataProps(experimental) EventBridge event metadata.(experimental) eventName property.(experimental) eventSource property.(experimental) eventTime property.(experimental) eventType property.(experimental) eventVersion property.(experimental) requestID property.(experimental) requestParameters property.(experimental) responseElements property.(experimental) sourceIPAddress property.(experimental) userAgent property.(experimental) userIdentity property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsRegion
(experimental) awsRegion property.Specify an array of string values to match this event if the actual value of awsRegion 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
-
getErrorCode
(experimental) errorCode property.Specify an array of string values to match this event if the actual value of errorCode 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
-
getErrorMessage
(experimental) errorMessage property.Specify an array of string values to match this event if the actual value of errorMessage 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
-
getEventId
(experimental) eventID property.Specify an array of string values to match this event if the actual value of eventID 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
-
getEventMetadata
(experimental) EventBridge event metadata.Default: - -
-
getEventName
(experimental) eventName property.Specify an array of string values to match this event if the actual value of eventName 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
-
getEventSource
(experimental) eventSource property.Specify an array of string values to match this event if the actual value of eventSource 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
-
getEventTime
(experimental) eventTime property.Specify an array of string values to match this event if the actual value of eventTime 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
-
getEventType
(experimental) eventType property.Specify an array of string values to match this event if the actual value of eventType 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
-
getEventVersion
(experimental) eventVersion property.Specify an array of string values to match this event if the actual value of eventVersion 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
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getRequestParameters
@Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters getRequestParameters()(experimental) requestParameters property.Specify an array of string values to match this event if the actual value of requestParameters 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
-
getResponseElements
@Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements getResponseElements()(experimental) responseElements property.Specify an array of string values to match this event if the actual value of responseElements 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
-
getSourceIpAddress
(experimental) sourceIPAddress property.Specify an array of string values to match this event if the actual value of sourceIPAddress 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
-
getUserAgent
(experimental) userAgent property.Specify an array of string values to match this event if the actual value of userAgent 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
-
getUserIdentity
@Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.UserIdentity getUserIdentity()(experimental) userIdentity property.Specify an array of string values to match this event if the actual value of userIdentity 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.AWSAPICallViaCloudTrailProps.Builder builder()
-