Package Exports
- @gammarers/aws-secure-bucket
- @gammarers/aws-secure-bucket/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gammarers/aws-secure-bucket) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
AWS Secure Bucket
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 |
---|---|---|---|
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. |
Install
TypeScript
install by npm
npm install @gammarers/aws-secure-bucket
install by yarn
yarn add @gammarers/aws-secure-bucket
install by pnpm
pnpm add @gammarers/aws-secure-bucket
install by bun
bun 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',
});