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.1-py3.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03e36d606ceec5471f3193a04bd11f643f814f4c8ea8cc5124efd477d31ef51f |
|
MD5 | b35be19a456cc62d215ee34b5ee16083 |
|
BLAKE2b-256 | 48e55844d08e6fee7bc229432d5848f3f12e740a6ebe480cbbbd89ad0e916962 |
Close
Hashes for aws_bucket_creator-0.0.1-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec52bddf517ae61d7ee1d12a07519c06c64b0394c79e61fab495f81208f14c9d |
|
MD5 | 94d6dcf373efe358e90d5751b3da8a0c |
|
BLAKE2b-256 | 03a939314b1e570d9284a09e34258b14a3e98607fe723d41820a5998b7972ec4 |
Close
Hashes for aws_bucket_creator-0.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a656ecf299dc6e1ff4f6f48d5b77b408ecd13a49e942d749c1f9deb003fb1b |
|
MD5 | cc09f1547261ab1f0faa954c0037962b |
|
BLAKE2b-256 | 7c263bb7f5c60ba2645df157b6f49c960803ff0d05601d589c503a1346b1696a |