Interface BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Jsii$Proxy
- Enclosing class:
BucketEvents.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.s3.events.*;
AWSAPICallViaCloudTrailProps aWSAPICallViaCloudTrailProps = AWSAPICallViaCloudTrailProps.builder()
.additionalEventData(AdditionalEventData.builder()
.authenticationMethod(List.of("authenticationMethod"))
.bytesTransferredIn(List.of("bytesTransferredIn"))
.bytesTransferredOut(List.of("bytesTransferredOut"))
.cipherSuite(List.of("cipherSuite"))
.objectRetentionInfo(ObjectRetentionInfo.builder()
.legalHoldInfo(LegalHoldInfo.builder()
.isUnderLegalHold(List.of("isUnderLegalHold"))
.lastModifiedTime(List.of("lastModifiedTime"))
.build())
.retentionInfo(RetentionInfo.builder()
.lastModifiedTime(List.of("lastModifiedTime"))
.retainUntilMode(List.of("retainUntilMode"))
.retainUntilTime(List.of("retainUntilTime"))
.build())
.build())
.signatureVersion(List.of("signatureVersion"))
.xAmzId2(List.of("xAmzId2"))
.build())
.awsRegion(List.of("awsRegion"))
.errorCode(List.of("errorCode"))
.errorMessage(List.of("errorMessage"))
.eventCategory(List.of("eventCategory"))
.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"))
.managementEvent(List.of("managementEvent"))
.readOnly(List.of("readOnly"))
.recipientAccountId(List.of("recipientAccountId"))
.requestId(List.of("requestId"))
.requestParameters(RequestParameters.builder()
.bucketName(List.of("bucketName"))
.host(List.of("host"))
.key(List.of("key"))
.legalHold(List.of("legalHold"))
.retention(List.of("retention"))
.build())
.resources(List.of(AwsapiCallViaCloudTrailItem.builder()
.accountId(List.of("accountId"))
.arn(List.of("arn"))
.type(List.of("type"))
.build()))
.responseElements(List.of("responseElements"))
.sourceIpAddress(List.of("sourceIpAddress"))
.tlsDetails(TlsDetails.builder()
.cipherSuite(List.of("cipherSuite"))
.clientProvidedHostHeader(List.of("clientProvidedHostHeader"))
.tlsVersion(List.of("tlsVersion"))
.build())
.userAgent(List.of("userAgent"))
.userIdentity(UserIdentity.builder()
.accessKeyId(List.of("accessKeyId"))
.accountId(List.of("accountId"))
.arn(List.of("arn"))
.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())
.vpcEndpointId(List.of("vpcEndpointId"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) additionalEventData property.(experimental) awsRegion property.(experimental) errorCode property.(experimental) errorMessage property.(experimental) eventCategory 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) managementEvent property.(experimental) readOnly property.(experimental) recipientAccountId property.(experimental) requestID property.(experimental) requestParameters property.(experimental) resources property.(experimental) responseElements property.(experimental) sourceIPAddress property.(experimental) tlsDetails property.(experimental) userAgent property.(experimental) userIdentity property.(experimental) vpcEndpointId property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdditionalEventData
@Stability(Experimental) @Nullable default BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData getAdditionalEventData()(experimental) additionalEventData property.Specify an array of string values to match this event if the actual value of additionalEventData 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
-
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
-
getEventCategory
(experimental) eventCategory property.Specify an array of string values to match this event if the actual value of eventCategory 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
-
getManagementEvent
(experimental) managementEvent property.Specify an array of string values to match this event if the actual value of managementEvent 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
-
getReadOnly
(experimental) readOnly property.Specify an array of string values to match this event if the actual value of readOnly 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
-
getRecipientAccountId
(experimental) recipientAccountId property.Specify an array of string values to match this event if the actual value of recipientAccountId 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 BucketEvents.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
-
getResources
@Stability(Experimental) @Nullable default List<BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem> getResources()(experimental) resources property.Specify an array of string values to match this event if the actual value of resources 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
(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
-
getTlsDetails
@Stability(Experimental) @Nullable default BucketEvents.AWSAPICallViaCloudTrail.TlsDetails getTlsDetails()(experimental) tlsDetails property.Specify an array of string values to match this event if the actual value of tlsDetails 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 BucketEvents.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
-
getVpcEndpointId
(experimental) vpcEndpointId property.Specify an array of string values to match this event if the actual value of vpcEndpointId 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 BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder builder()
-