Access from specific VPC Endpoint only Bucket
npm install @gammarer/aws-secure-vpc-bucket
# or
yarn add @gammarer/aws-secure-vpc-bucket
pip install gammarer.aws-secure-vpc-bucket
dotnet add package Gammarer.CDK.AWS.SecureVpcBucket
Add the following to pom.xml:
<dependency>
<groupId>com.gammarer</groupId>
<artifactId>aws-secure-vpc-bucket</artifactId>
</dependency>
import { SecureSpecificVpcOnlyBucket } from '@gammarer/aws-secure-vpc-bucket';
new SecureVpcBucket(stack, 'SecureVpcBucket', {
bucketName: 'example-origin-bucket',
vpcEndpointId: 'vpce-0xxxxxxxxxxxxxxxx', // allready created vpc endpoint id
});
This project is licensed under the Apache-2.0 License.