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 |
|---|---|---|---|
| bucketType | SecureBucketType | SecureBucketType.DEFAULT | The type of the bucket. Available types: DEFAULT, SINGLE_PIPELINE_ARTIFACT, MULTI_PIPELINE_ARTIFACT, CLOUD_FRONT_ORIGIN |
| isPipelineArtifactBucket | boolean | false | |
| isCloudFrontOriginBucket | boolean | false |
npm install @gammarers/aws-secure-bucketyarn add @gammarers/aws-secure-bucketpip install gammarers.aws-secure-bucketdotnet add package Gammarers.CDK.AWS.SecureBucketimport { SecureBucket } from '@gammarers/aws-secure-bucket';
const bucket = new SecureBucket(stack, 'SecureBucket', {
bucketName: 'example-secure-bucket',
});