Creates S3 bucket, tags, policy and lifecycle policy via boto3.
Project description
AWS Bucket Creator
Features
aws-bucket-creator creates a bucket and sets tags, lifecycle, and policy
Installation
aws-bucket-creator is on PyPI so all you need is:
$ pip install aws-bucket-creator
Example
Getting help
$ bucket-creator create --help
Usage: bucket-creator create [OPTIONS]
primary function for creating a bucket :return:
Options:
-d, --days-to_glacier TEXT number of days before moving to glacier
-w, --bucket-policy-principals TEXT
comma separated list of bucket policy
principals
-b, --bucket-name TEXT bucket-name [required]
-p, --aws-profile TEXT aws profile [required]
-r, --required-tags TEXT comma delimited list of tag key names
-t, --required-values TEXT comma delimited list of tag key values
-v, --version Print version and exit
--debug Turn on debugging
--help Show this message and exit.
$bucket-creator create -b test-bucket -p my-profile -r Name,Project,DeployedBy,ResourceOwner -t test,io,test,test -w arn:aws:iam::12343434:root
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for aws_bucket_creator-0.0.3-py3.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d2e72ca91b6fc243f837c7f5e6a0f6c655f64e0677900c90b208758c343145a |
|
MD5 | 7385160258c343e224b8457fa99ad49f |
|
BLAKE2b-256 | 28f29d8d99ed325311d82efae82d1d536bfc63d514f7b6ba6f3368b853f51405 |
Close
Hashes for aws_bucket_creator-0.0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86d13f368342d1e203d51b5f0db2aff12c3c81da53b56157e6122199e635393e |
|
MD5 | 28177e631b6bd99d78ddaa1c95515c8e |
|
BLAKE2b-256 | eb09cad2d5fa3dd474ae71a9d9e6d3b2ae854d545658f837a418e2fb25d59734 |