Skip to main content

This project provides a CDK construct to create an EC2 SecurityGroup, which property `securityGroupName` returns the GroupName.

Project description

GitHub npm (scoped) PyPI Nuget 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

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

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

pepperize.cdk-security-group-0.0.27.tar.gz (19.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.27-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file pepperize.cdk-security-group-0.0.27.tar.gz.

File metadata

  • Download URL: pepperize.cdk-security-group-0.0.27.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pepperize.cdk-security-group-0.0.27.tar.gz
Algorithm Hash digest
SHA256 ce8876937e027a74c609fac40915a13855981dd4102c6e6b72b31fef7de53730
MD5 94de79725760364b742b16c821e49bb1
BLAKE2b-256 589e8cb29345312e68d318b9bbf7a260eef0f7f4c9400005c0bc43e9382de1b0

See more details on using hashes here.

File details

Details for the file pepperize.cdk_security_group-0.0.27-py3-none-any.whl.

File metadata

  • Download URL: pepperize.cdk_security_group-0.0.27-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pepperize.cdk_security_group-0.0.27-py3-none-any.whl
Algorithm Hash digest
SHA256 5af5fb8d8cd0e1e7aa05a77c77ed52e3606f0fde7ace9d4fa304a2be3581aa42
MD5 29701311bb9d6cb2b79f2e95f0793884
BLAKE2b-256 9e7e818f02ff1494046077f8c47b3a8e646ddfb4bc330dac6728b2a3e3ff0750

See more details on using hashes here.

Supported by

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