Interface S3BucketProps

All Superinterfaces:
CommonDestinationProps, CommonDestinationS3Props, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
S3BucketProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-17T14:40:54.672Z") @Stability(Stable) public interface S3BucketProps extends software.amazon.jsii.JsiiSerializable, CommonDestinationS3Props, CommonDestinationProps
Props for defining an S3 destination of an Amazon Data Firehose delivery stream.

Example:

 // Specify the roles created above when defining the destination and delivery stream.
 Bucket bucket;
 // Create service roles for the delivery stream and destination.
 // These can be used for other purposes and granted access to different resources.
 // They must include the Amazon Data Firehose service principal in their trust policies.
 // Two separate roles are shown below, but the same role can be used for both purposes.
 Role deliveryStreamRole = Role.Builder.create(this, "Delivery Stream Role")
         .assumedBy(new ServicePrincipal("firehose.amazonaws.com"))
         .build();
 Role destinationRole = Role.Builder.create(this, "Destination Role")
         .assumedBy(new ServicePrincipal("firehose.amazonaws.com"))
         .build();
 S3Bucket destination = S3Bucket.Builder.create(bucket).role(destinationRole).build();
 DeliveryStream.Builder.create(this, "Delivery Stream")
         .destination(destination)
         .role(deliveryStreamRole)
         .build();