A CDK construct library to create a VPC with public and private subnets.
Project description
CDK construct lib
Welcome to Toumoro's AWS Service Wrapper CDK Construct Library! This library is designed to make it easy and efficient to deploy and manage AWS services within your CDK projects. Whether you're provisioning infrastructure for a simple web application or orchestrating a complex cloud-native architecture, this library aims to streamline your development process by providing high-level constructs for common AWS services.
Features
- Simplified Service Provisioning: Easily create and configure AWS services using intuitive CDK constructs.
- Best Practices Built-In: Leverage pre-configured settings and defaults based on AWS best practices to ensure reliable and secure deployments.
- Modular and Extensible: Compose your infrastructure using modular constructs, allowing for flexibility and reusability across projects.
Contributing to CDK Construct Toumoro
Examples
Documentation API
Developpement Guide
Naming Conventions
-
Prefixes:
- Cfn for CloudFormation resources.
- Fn for constructs generating CloudFormation functions.
- As for abstract classes.
- I for interfaces.
- Vpc for constructs related to Virtual Private Cloud.
- Lambda for constructs related to AWS Lambda.
- Example: CfnStack, FnSub, Aspects, IVpc, VpcNetwork, LambdaFunction.
-
Construct Names:
- Use descriptive names that reflect the purpose of the construct.
- CamelCase for multi-word names.
- Avoid abbreviations unless they are widely understood.
- Example: BucketStack, RestApiConstruct, DatabaseCluster.
-
Property Names:
- Follow AWS resource naming conventions where applicable.
- Use camelCase for property names.
- Use clear and concise names that reflect the purpose of the property.
- Example: bucketName, vpcId, functionName.
-
Method Names:
- Use verbs or verb phrases to describe actions performed by methods.
- Use camelCase.
- Example: addBucketPolicy, createVpc, invokeLambda.
-
Interface Names:
- Start with an uppercase I.
- Use clear and descriptive names.
- Example: IInstance, ISecurityGroup, IVpc.
-
Module Names:
- Use lowercase with hyphens for separating words.
- Be descriptive but concise.
- Follow a hierarchy if necessary, e.g., aws-cdk.aws_s3 for S3-related constructs.
- Example: aws-cdk.aws_s3, aws-cdk.aws_ec2, aws-cdk.aws_lambda.
-
Variable Names:
- Use descriptive names.
- CamelCase for multi-word names.
- Keep variable names concise but meaningful.
- Example: instanceCount, subnetIds, roleArn.
-
Enum and Constant Names:
- Use uppercase for constants.
- CamelCase for multi-word names.
- Be descriptive about the purpose of the constant or enum.
- Example: MAX_RETRIES, HTTP_STATUS_CODES, VPC_CONFIG.
-
File Names:
- Use lowercase with hyphens for separating words.
- Reflect the content of the file.
- Include version numbers if necessary.
- Example: s3-bucket-stack.ts, vpc-network.ts, lambda-function.ts.
-
Documentation Comments:
- Use JSDoc or similar conventions to provide clear documentation for each construct, method, property, etc.
- Ensure that the documentation is up-to-date and accurately reflects the purpose and usage of the code.
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
File details
Details for the file cdk-vpc-toumoro-projen-1.5.1.tar.gz
.
File metadata
- Download URL: cdk-vpc-toumoro-projen-1.5.1.tar.gz
- Upload date:
- Size: 54.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8465677872af03690b52c77bc0e571c1d52eaf720e6e0f37a125f30ab3404b62 |
|
MD5 | 980f93f399e4380f75228e596833ffcc |
|
BLAKE2b-256 | 44bd504a0bd3a3ad45f466e1311035c9cec8c0d04cc3cf861ac08c4ebfc507e1 |
File details
Details for the file cdk_vpc_toumoro_projen-1.5.1-py3-none-any.whl
.
File metadata
- Download URL: cdk_vpc_toumoro_projen-1.5.1-py3-none-any.whl
- Upload date:
- Size: 52.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53184a2506eb119823c6129bbe50ae65720262d5e9dd53abbc28829d0c2f77d7 |
|
MD5 | dedf6822ef2781c36b4a93ad4e51f3ce |
|
BLAKE2b-256 | c2fc18955d241bcf33e285621359029ab346c3587f201e6ddb51ddd30ddc4124 |