Skip to main content

PRs Welcome GitHub npm (scoped) PyPI Nuget Sonatype Nexus (Releases) GitHub Workflow Status (branch) GitHub release (latest SemVer)

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 Ref return 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,
});

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pepperize_cdk_security_group-0.0.662.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pepperize_cdk_security_group-0.0.662-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file pepperize_cdk_security_group-0.0.662.tar.gz.

File metadata

File hashes

Hashes for pepperize_cdk_security_group-0.0.662.tar.gz
Algorithm Hash digest
SHA256 cf1c9b0ff79fb8fb070115088466221dd411f277ab75c04d86f5d7215f82fb16
MD5 dc1c614719d6f67cc83152a0f2b3431b
BLAKE2b-256 a37d1adb65ca2d63473d255c554b07d9946644c7a2fda77937e01364bea9cbb5

See more details on using hashes here.

File details

Details for the file pepperize_cdk_security_group-0.0.662-py3-none-any.whl.

File metadata

File hashes

Hashes for pepperize_cdk_security_group-0.0.662-py3-none-any.whl
Algorithm Hash digest
SHA256 1641c48cafb1e655504e92c724262d98ecda7cc95422eb50953ad48a1669f31f
MD5 d3678d1ce4791f5247ad9be320801abd
BLAKE2b-256 f8142df7541aa51bcc9c6b030c260485244051a325440b001dde442dac6666ae

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page