Specifies a canned ACL that grants predefined permissions to the bucket.
Whether all objects should be automatically deleted when the bucket is removed from the stack or when the stack is deleted.
removalPolicy to be set to
Warning if you have deployed a bucket with
switching this to
false in a CDK version before
1.126.0 will lead to
all objects in the bucket being deleted. Be sure to update your bucket resources
by deploying with CDK version
1.126.0 or later before switching this value to
The block public access configuration of this bucket.
Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket.
Only relevant, when Encryption is set to BucketEncryption.KMS
Physical name of this bucket.
The CORS configuration of this bucket.
The kind of server-side encryption to apply to this bucket.
If you choose KMS, you can specify a KMS key via
encryption key is not specified, a key will automatically be created.
encryptionKeyis specified, or
External KMS key to use for bucket encryption.
The 'encryption' property must be either not specified or set to "Kms". An error will be emitted if encryption is set to "Unencrypted" or "Managed".
Enforces SSL for requests. S3.5 of the AWS Foundational Security Best Practices Regarding S3.
Whether this bucket should send notifications to Amazon EventBridge or not.
Inteligent Tiering Configurations
No Intelligent Tiiering Configurations.
The inventory configuration of the bucket.
Rules that define how Amazon S3 manages objects during their lifetime.
The metrics configuration of this bucket.
The role to be used by the notifications handler
The objectOwnership of the bucket.
Grants public read access to all objects in the bucket.
Similar to calling
Destination bucket for the server access logs.
Optional log file prefix to use for the bucket's access logs. If defined without "serverAccessLogsBucket", enables access logs to current bucket with this prefix.
Whether this bucket should have transfer acceleration turned on or not.
Whether this bucket should have versioning turned on or not.
The name of the error document (e.g. "404.html") for the website.
websiteIndexDocument must also be set if this is set.
The name of the index document (e.g. "index.html") for the website. Enables static website hosting for this bucket.
Specifies the redirect behavior of all requests to a website endpoint of a bucket.
If you specify this property, you can't specify "websiteIndexDocument", "websiteErrorDocument" nor , "websiteRoutingRules".
Rules that define when a redirect is applied and the redirect behavior
Generated using TypeDoc