@cdklabs/cdk-enterprise-iac
Project description
CDK Enterprise IaC
Utilites for using CDK within enterprise constraints
Install
Typescript
npm install cdk-enterprise-iac
Python
pip install cdk-enterprise-iac
Usage
Example for AddPermissionBoundary
in Python project.
import aws_cdk as cdk
from cdk_enterprise_iac import AddPermissionBoundary
from test_py.test_py_stack import TestPyStack
app = cdk.App()
TestPyStack(app, "TestPyStack")
cdk.Aspects.of(app).add(AddPermissionBoundary(
permissions_boundary_policy_name="MyPermissionBoundaryName",
instance_profile_prefix="MY_PREFIX_", # optional, Defaults to ""
policy_prefix="MY_POLICY_PREFIX_", # optional, Defaults to ""
role_prefix="MY_ROLE_PREFIX_" # optional, Defaults to ""
))
app.synth()
Details in API.md
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 Distribution
Close
Hashes for cdklabs.cdk-enterprise-iac-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdce485c72e95b64d494a67722ed7f94e382af885650b95ba0982bdbccf9b8bd |
|
MD5 | af67c34f4cd256aa7892e054c6725614 |
|
BLAKE2b-256 | a724b1a2dea668e66fdb21c8a7156b5ebabaad21dda645ab54ddbe89f6582f22 |
Close
Hashes for cdklabs.cdk_enterprise_iac-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ba8c74829b93657047550b491496eac156bd08199ad25298914e894a4a197f9 |
|
MD5 | 46a1ba0eb3823abd8841f9f891c41659 |
|
BLAKE2b-256 | 399bba6ad5a5b1645d2e3a98bd6c58c2888c881e2c72964baab1b2b897b048ca |