@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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d717b1dddabb8444153e362c6972848ab867c62e4df9bde6895cdb8b1d3e5013 |
|
MD5 | 910545e0e12b6f4b883b83ef7da5e1df |
|
BLAKE2b-256 | b94c5b22078fe6d7a8d7fb889e42b5c38f89983652be8ea17906484479ddff04 |
Close
Hashes for cdklabs.cdk_enterprise_iac-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 773c3c4a5db914bf73f114881a40bc0a0d43eff121401b70e683d481e5860d1b |
|
MD5 | 6e7157dabe46bc2f5e68610191d03807 |
|
BLAKE2b-256 | b87983400220450d6b2fd7b4dd877589c1413558b4bc193bf9ba0e1dbde15cad |