Skip to contents

sixtyfour

High level overview of package

sixtyfour sixtyfour-package
sixtyfour: Humane Interface to AWS

High level “magical” methods

Higher level functions to make your life easier

six_user_create()
Create a user
six_user_delete()
Delete a user
six_admin_setup()
AWS account setup for administrators
six_bucket_add_user()
Add a user to a bucket
six_bucket_change_user()
Change user permissions for a bucket
six_bucket_remove_user()
Remove a user from a bucket
six_bucket_permissions()
Get permissions for a bucket
six_bucket_delete()
Delete an S3 bucket
six_file_upload()
Magically upload a file
six_user_creds()
Create access keys for a user
group_policies()
Preset group policies

paws and s3fs clients

con_iam() con_s3() con_sm() con_ec2() con_rds() con_redshift() con_ce()
Get a paws client for a service
con_s3fs()
s3fs connection

Billing

aws_billing()
Fetch billing data - with some internal munging for ease of use
aws_billing_raw()
Fetch billing data - rawest form

Files

All file functions are vectorized. That is, you can pass in 1 or more local or s3 remote paths to the file functions.

aws_file_attr()
File attributes
aws_file_copy()
Copy files between buckets
aws_file_delete()
Delete a file
aws_file_download()
Download a file
aws_file_exists()
Check if a file exists
aws_file_rename()
Rename a remote file
aws_file_upload()
Upload a file
service_map
Mapping of full names of AWS services to acronyms

Buckets

All bucket functions are NOT vectorized.

aws_bucket_create()
Create an S3 bucket
aws_bucket_delete()
Delete an S3 bucket
aws_bucket_download()
Download an S3 bucket
aws_bucket_exists()
Check if an S3 bucket exists
aws_bucket_list_objects()
List objects in an S3 bucket
aws_bucket_tree()
Print a tree of the objects in a bucket
aws_bucket_upload()
Upload a folder of files to create an S3 bucket
aws_buckets()
List S3 buckets
aws_s3_policy_doc_create()
Create a policy document for an S3 bucket
bucket_arn()
Get bucket ARN

Users

aws_user()
Get a user
aws_user_access_key()
Get AWS Access Key for a user
aws_user_access_key_delete()
Delete current user's AWS Access Key
aws_user_add_to_group() aws_user_remove_from_group()
Add or remove a user to/from a group
aws_user_create()
Create a user
aws_user_current()
Get the current logged-in username as a string
aws_user_delete()
Delete a user
aws_user_exists()
Check if a user exists
aws_users()
List Users

Database

aws_db_cluster_status()
Get cluster status
aws_db_instance_status()
Get instance status
aws_db_rds_con()
Get a database connection to Amazon RDS
aws_db_rds_create()
Create an RDS cluster
aws_db_rds_list()
Get information for all RDS instances
aws_db_redshift_con()
Get a database connection to Amazon Redshift
aws_db_redshift_create()
Create a Redshift cluster

Groups

aws_group()
Get a group
aws_group_create()
Create a group
aws_group_delete()
Delete a group
aws_group_exists()
Check if a group exists
aws_groups()
List all groups or groups for a single user

Roles

aws_role()
Get a role
aws_role_create()
Create a role
aws_role_delete()
Delete a role
aws_role_exists()
Check if a role exists
aws_roles()
List roles

Policies

aws_policies()
List policies
aws_policy()
Get a policy
aws_policy_attach()
Attach a policy to a user, group, or role
aws_policy_create()
Create a policy
aws_policy_delete()
Delete a user managed policy
aws_policy_delete_version()
Delete a policy version
aws_policy_detach()
Detach a policy from a user, group, or role
aws_policy_document_create()
Create a policy document
aws_policy_exists()
Check if a policy exists
aws_policy_list_entities()
List policy entities
aws_policy_list_versions()
List policy versions
aws_policy_statement()
Create a policy statement
as_policy_arn()
Convert a policy name to a policy ARN
resource_rds()
Create a resource string for a policy statement for RDS

IAM

Secrets manager

aws_secrets_all()
Get all secret values
aws_secrets_create()
Create a secret
aws_secrets_delete()
Delete a secret
aws_secrets_get()
Get a secret
aws_secrets_list()
List secrets
aws_secrets_pwd()
Get a random password
aws_secrets_rotate()
Rotate a secret
aws_secrets_update()
Update a secret

VPCs

aws_vpc()
Get a VPC by id
aws_vpcs()
List VPCs

VPC Security Groups

aws_vpc_security_group()
Get a security group by ID
aws_vpc_security_group_create()
Create a security group
aws_vpc_security_group_ingress()
Authorize Security Group Ingress
aws_vpc_security_groups()
List VPC security groups
aws_vpc_sec_group_rules()
Modify security group rules
ip_permissions_generator()
Ip Permissions generator
aws_vpc_sg_with_ingresss()
Get a security group with one ingress rule based on the engine

Utilities

random_user()
Get a random user
random_string()
Get a random string with prefix