@gammarers/aws-secure-bucket
Version:
This is a Simple S3 Secure Bucket.
77 lines (52 loc) • 2.46 kB
Markdown
# AWS Secure Bucket
[](https://github.com/gammarers/aws-secure-bucket/blob/main/LICENSE)
[](https://www.npmjs.com/package/@gammarers/aws-secure-bucket)
[](https://pypi.org/project/gammarers.aws-secure-bucket/)
[](https://www.nuget.org/packages/Gammarers.CDK.AWS.SecureBucket/)
[](https://github.com/gammarers/aws-secure-bucket/actions/workflows/release.yml)
[](https://github.com/gammarers/aws-secure-bucket/releases)
[](https://constructs.dev/packages/@gammarers/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
```shell
npm install @gammarers/aws-secure-bucket
```
#### install by yarn
```shell
yarn add @gammarers/aws-secure-bucket
```
#### install by pnpm
```shell
pnpm add @gammarers/aws-secure-bucket
```
#### install by bun
```shell
bun add @gammarers/aws-secure-bucket
```
### Python
```shell
pip install gammarers.aws-secure-bucket
```
### C# / .Net
```shell
dotnet add package Gammarers.CDK.AWS.SecureBucket
```
## Example
```typescript
import { SecureBucket } from '@gammarers/aws-secure-bucket';
const bucket = new SecureBucket(stack, 'SecureBucket', {
bucketName: 'example-secure-bucket',
});
```