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
Name | Type | Default | Description |
---|---|---|---|
isPipelineArtifactBucket | boolean | false | If you are setting a custom Qualifier and using it as the artifact bucket for the CDK pipeline, set it to true. |
isCloudFrontOriginBucket | boolean | false | If your are using it as the CloudFront orign bucket, set it to true. |
npm install @gammarers/aws-secure-bucket
yarn add @gammarers/aws-secure-bucket
pnpm add @gammarers/aws-secure-bucket
bun add @gammarers/aws-secure-bucket
pip install gammarers.aws-secure-bucket
dotnet add package Gammarers.CDK.AWS.SecureBucket
import { SecureBucket } from '@gammarers/aws-secure-bucket';
const bucket = new SecureBucket(stack, 'SecureBucket', {
bucketName: 'example-secure-bucket',
});