A CDK stack for creating a swa approved s3 bucket
Project description
SWA Secure S3 Storage Bucket Stack Library
Define a S3 bucket that security will be proud of.
S3StorageBucketStack
exposes the following deploy-time attributes from the underlying bucket
construct:
bucketArn
- the ARN of the bucket (i.e.arn:aws:s3:::bucket_name
)bucketName
- the name of the bucket (i.e.bucket_name
)arnForObjects(pattern)
- the ARN of an object or objects within the bucket (i.e.arn:aws:s3:::bucket_name/exampleobject.png
orarn:aws:s3:::bucket_name/Development/*
)urlForObject(key)
- the URL of an object within the bucket (i.e.https://s3.cn-north-1.amazonaws.com.cn/china-bucket/mykey
)
S3StorageBucketStack
exposes the following deploy-time methods from the underlying bucket
construct:
add_lifecycle_rule
add_metric
add_object_created_notification
add_object_removed_notificationself
add_event_notification
add_to_resource_policy
arn_for_objects
on_cloud_trail_event
on_cloud_trail_put_object
url_for_object
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for swa_cc.secure_s3_storage_bucket-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39fcdb71892862ff5834160caf6e36251ebcff3e2ec24e171f73f198cf0a6385 |
|
MD5 | 8eb65d41a6d99be902a727ae829a57da |
|
BLAKE2b-256 | 38cd9aceff749a121e565a215ab0c8cac1992ceca47872777c80f3d4085b628f |
Close
Hashes for swa_cc.secure_s3_storage_bucket-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0fd66fb330f0445f8dab137b322692a81fc3a044554d79c167ba2a5e2990ac4 |
|
MD5 | 692f802934b3841e99440df56ce5d822 |
|
BLAKE2b-256 | 63a811162204e0514413211f387107ea4d20e4b4151ead5fac620595030cc959 |