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.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0270b142c8f7ae98c2e3ad03dd528164b182a384edb5af00019b6b2ec095147b |
|
MD5 | 8a520ec77b35bc3972160b9b6add0c9e |
|
BLAKE2b-256 | 1c383df301bde347b30e282d1cb2ae0aa1339a6d29647afec9cf19b556f2e06a |
Close
Hashes for aws_bucket_creator-0.0.4-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66a7fbc755ed7ea173a31d5cf0f5e8385a33e1fdf9369f9354b16f9d18dbcb16 |
|
MD5 | 701d74f00c901f07c0fbfb81c1502a86 |
|
BLAKE2b-256 | 5e6d076cfee0bc0e791103df1d1d28afe606e3baaa9a2ceb2fc00f9b93973ef9 |