Skip to content

gammarers/aws-secure-bucket

Repository files navigation

AWS Secure Bucket

GitHub npm (scoped) PyPI Nuget GitHub Workflow Status (branch) GitHub release (latest SemVer)

View on Construct Hub

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

Additional Properties

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 ⚠️ Deprecated: Use bucketType property instead. 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 ⚠️ Deprecated: Use bucketType property instead. If you are using it as the CloudFront origin bucket, set it to true.

Install

TypeScript

install by npm

npm install @gammarers/aws-secure-bucket

install by yarn

yarn add @gammarers/aws-secure-bucket

Python

pip install gammarers.aws-secure-bucket

C# / .Net

dotnet add package Gammarers.CDK.AWS.SecureBucket

Example

import { SecureBucket } from '@gammarers/aws-secure-bucket';

const bucket = new SecureBucket(stack, 'SecureBucket', {
  bucketName: 'example-secure-bucket',
});

About

This is a Simple S3 Secure Bucket.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •