No project description provided
Project description
JavaScript • Python • Go • Java • VS Code
iamfast (Python)
:construction: EXPERIMENTAL - WORK IN PROGRESS :construction:
IAM policy generation from application code
Usage
python3 python/main.py yourfile.py
Example
% cat python/tests/test1.py
import boto3
# Create SQS client
sqs = boto3.client('sqs')
# Create a SQS queue
response = sqs.create_queue(
QueueName='SQS_QUEUE_NAME',
Attributes={
'DelaySeconds': '60',
'MessageRetentionPeriod': '86400'
}
)
print(response['QueueUrl'])
% python3 python/main.py python/tests/test1.py
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "sqs:CreateQueue",
"Resource": [
"arn:aws:sqs:us-east-1:123456789012:SQS_QUEUE_NAME"
]
}
]
}
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
iamfast-0.1.2.tar.gz
(1.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iamfast-0.1.2.tar.gz.
File metadata
- Download URL: iamfast-0.1.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50e17c7611b09bde3bdf9e035b31017a2176acd8943e656a15be8113fc2052e0
|
|
| MD5 |
f52c3aa1c4a51b31569fb8ba0106aa90
|
|
| BLAKE2b-256 |
2213902e9ace02bd402558ed8095291fe91fe205878b96c59a43828f3018d038
|
File details
Details for the file iamfast-0.1.2-py3-none-any.whl.
File metadata
- Download URL: iamfast-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86092159c6fa57ca13bf6f9578aa8919bd38afe9c6c8c4e690efe8a717f2bd12
|
|
| MD5 |
599d5e689bd4f087ee3d935db918ec01
|
|
| BLAKE2b-256 |
14193aa3cbdff021e620e9e0a73d3e2f5bcabb401220abf6a549abf6c0d428e2
|