AWS CDK SecurityGroup
This project provides a CDK construct to create an EC2 SecurityGroup, which property securityGroupName returns the
GroupName.
The CDK EC2 SecurityGroup returns the GroupId from the
Refreturn value of AWS::EC2::SecurityGroup, rather than the GroupName.
Install
TypeScript
npm install @pepperize/cdk-security-group
or
yarn add @pepperize/cdk-security-group
Python
pip install pepperize.cdk-security-group
C# / .Net
dotnet add package Pepperize.CDK.SecurityGroup
Java
<dependency>
<groupId>com.pepperize</groupId>
<artifactId>cdk-security-group</artifactId>
<version>${cdkSecurityGroup.version}</version>
</dependency>
Example
npm install @pepperize/cdk-security-group
See API.md.
import { SecurityGroup } from "@pepperize/cdk-security-group";
const securityGroup = new SecurityGroup(this, "SecurityGroup", {});
// Pass to another construct
new OtherConstruct(this, OtherConstruct, {
SecurityGroupName: securityGroup.securityGroupName,
});
Metadata
Release files for pepperize.cdk-security-group 0.0.662
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pepperize_cdk_security_group-0.0.662.tar.gz | 23.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pepperize_cdk_security_group-0.0.662-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.8 kB
Release files / pepperize_cdk_security_group-0.0.662.tar.gz
| Download URL | pepperize_cdk_security_group-0.0.662.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf1c9b0ff79fb8fb070115088466221dd411f277ab75c04d86f5d7215f82fb16
|
|
BLAKE2b-256 checksum How to use checksums |
a37d1adb65ca2d63473d255c554b07d9946644c7a2fda77937e01364bea9cbb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / pepperize_cdk_security_group-0.0.662-py3-none-any.whl
| Download URL | pepperize_cdk_security_group-0.0.662-py3-none-any.whl |
|---|---|
| Size | 23.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1641c48cafb1e655504e92c724262d98ecda7cc95422eb50953ad48a1669f31f
|
|
BLAKE2b-256 checksum How to use checksums |
f8142df7541aa51bcc9c6b030c260485244051a325440b001dde442dac6666ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|