Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 2.06 KB

README.md

File metadata and controls

60 lines (44 loc) · 2.06 KB

AWS Secure VPC Bucket

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

View on Construct Hub

Access from specific VPC Endpoint only Bucket

Install

TypeScript

npm install @gammarers/aws-secure-vpc-bucket

or

yarn add @gammarers/aws-secure-vpc-bucket

or

pnpm add @gammarers/aws-secure-vpc-bucket

or

bun add @gammarers/aws-secure-vpc-bucket

Python

pip install gammarers.aws-secure-vpc-bucket

C# / .NET

dotnet add package gammarers.CDK.AWS.SecureVpcBucket

Example

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

new SecureVpcBucket(stack, 'SecureVpcBucket', {
  bucketName: 'example-origin-bucket',
  vpcEndpointId: 'vpce-0xxxxxxxxxxxxxxxx', // already created vpc endpoint id
});

License

This project is licensed under the Apache-2.0 License.