Interface BucketEvents.ObjectDeleted.ObjectDeletedProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
BucketEvents.ObjectDeleted.ObjectDeletedProps.Jsii$Proxy
Enclosing class:
BucketEvents.ObjectDeleted

@Stability(Experimental) public static interface BucketEvents.ObjectDeleted.ObjectDeletedProps extends software.amazon.jsii.JsiiSerializable
(experimental) Props type for Bucket aws.s3@ObjectDeleted event.

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.*;
 ObjectDeletedProps objectDeletedProps = ObjectDeletedProps.builder()
         .bucket(Bucket.builder()
                 .name(List.of("name"))
                 .build())
         .deletionType(List.of("deletionType"))
         .eventMetadata(AWSEventMetadataProps.builder()
                 .region(List.of("region"))
                 .resources(List.of("resources"))
                 .version(List.of("version"))
                 .build())
         .object(ObjectType.builder()
                 .etag(List.of("etag"))
                 .key(List.of("key"))
                 .sequencer(List.of("sequencer"))
                 .versionId(List.of("versionId"))
                 .build())
         .reason(List.of("reason"))
         .requester(List.of("requester"))
         .requestId(List.of("requestId"))
         .sourceIpAddress(List.of("sourceIpAddress"))
         .version(List.of("version"))
         .build();
 
  • Method Details

    • getBucket

      @Stability(Experimental) @Nullable default BucketEvents.ObjectDeleted.Bucket getBucket()
      (experimental) bucket property.

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

    • getDeletionType

      @Stability(Experimental) @Nullable default List<String> getDeletionType()
      (experimental) deletion-type property.

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

    • getEventMetadata

      @Stability(Experimental) @Nullable default AWSEventMetadataProps getEventMetadata()
      (experimental) EventBridge event metadata.

      Default: - -

    • getObject

      @Stability(Experimental) @Nullable default BucketEvents.ObjectDeleted.ObjectType getObject()
      (experimental) object property.

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

    • getReason

      @Stability(Experimental) @Nullable default List<String> getReason()
      (experimental) reason property.

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

    • getRequester

      @Stability(Experimental) @Nullable default List<String> getRequester()
      (experimental) requester property.

      Specify an array of string values to match this event if the actual value of requester 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) request-id property.

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

    • getSourceIpAddress

      @Stability(Experimental) @Nullable default List<String> getSourceIpAddress()
      (experimental) source-ip-address property.

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

    • getVersion

      @Stability(Experimental) @Nullable default List<String> getVersion()
      (experimental) version property.

      Specify an array of string values to match this event if the actual value of version 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 BucketEvents.ObjectDeleted.ObjectDeletedProps.Builder builder()
      Returns:
      a BucketEvents.ObjectDeleted.ObjectDeletedProps.Builder of BucketEvents.ObjectDeleted.ObjectDeletedProps