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_BUCKET | The type of the bucket. Available types: DEFAULT( SINGLE_PIPELINE_ARTIFACT( MULTI_PIPELINE_ARTIFACT( CLOUD_FRONT_ORIGIN( The type of the bucket. Available types: DEFAULT_BUCKET, SINGLE_REGION_DEPLOYMENT_PIPELINE_ARTIFACT_BUCKET, MULTI_REGION_DEPLOYMENT_PIPELINE_ARTIFACT_BUCKET, CLOUD_FRONT_ORIGIN_BUCKET |
| 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',
});