This is a Simple S3 Secure Bucket.
- Bucket Access Control is Private
- Public Read Access is false
- Enforce SSL
- All Block public access
- Require encryption
npm install @gammarer/aws-secure-bucket
# or
yarn add @gammarer/aws-secure-bucket
pip install gammarer.aws-secure-bucket
dotnet add package Gammarer.CDK.AWS.SecureBucket
Add the following to pom.xml:
<dependency>
<groupId>com.gammarer</groupId>
<artifactId>aws-secure-bucket</artifactId>
</dependency>
import { SecureBucket } from '@gammarer/aws-secure-bucket';
const bucket = new SecureBucket(stack, 'SecureBucket', {
bucketName: 'example-secure-bucket',
});