@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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b17940f912fc08855bc6e3cd318a12a72e03e023e13daec558d6528aece2dbce |
|
MD5 | 5a014bcd2eb5ba5e0242340c106da576 |
|
BLAKE2b-256 | 7dde01d814a38dbeb074967fd03cabc9f49979431b3258cd7543f2c57a484a70 |
Close
Hashes for cdklabs.cdk_enterprise_iac-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f0e09046717aabad8a75166589745bc7dc20a96f6c638245a134bba16386da1 |
|
MD5 | de24d5b9d9a26a70d843f469fc61fcdc |
|
BLAKE2b-256 | d5a224d2964c1d0a65ae219678ee9c89ce9c65b5f1adbf8f3ef911c42aef02d6 |