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.2.tar.gz (15.1 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.2-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pepperize.cdk-security-group-0.0.2.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for pepperize.cdk-security-group-0.0.2.tar.gz
Algorithm Hash digest
SHA256 89283fbaf10ca8f4dcef5dae41537fc4a06ef6398062cf1b1c4e8317b3f32a95
MD5 6d1cb01feb4a6e245fb1e4d7d6f40ed5
BLAKE2b-256 6dc80e12e6405ea1a252b0f669c1e35f65d283704940dcdb2b4f3fe85fdaa3a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pepperize.cdk_security_group-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for pepperize.cdk_security_group-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8f0a64f711d6cf3952c961d8f9431452fe0b6753ffcb7376d076605f0d869c64
MD5 1af9285387e793907f88403f540391eb
BLAKE2b-256 e2b194667a3ccd229f37ca5a6787151b18d9d93264b9773fe50ca88fc9a73f41

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