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.14.tar.gz (18.9 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.14-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pepperize.cdk-security-group-0.0.14.tar.gz
  • Upload date:
  • Size: 18.9 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.10.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.14.tar.gz
Algorithm Hash digest
SHA256 ca7fed69b6936141c2eb6d4d7f123174c42e5602bbdca50a417b6e74fa8ccee9
MD5 ac5ad0aaf14fc1b1f411df066cbd17ac
BLAKE2b-256 dfdf6e1e49bb0cbea900827f0438cace0e9922b28dd63499879bf25b934e5d47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pepperize.cdk_security_group-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 19.4 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.10.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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 25d97c7dc66b195cfbbeaa5641d79371a419e04031fb65c764cdda92d08aa492
MD5 f614b07b2f08e03f27f1e54255e99321
BLAKE2b-256 72bf678d7aaa731b9e08b9798590c1e907d6d6cc18fe92c126d043eac8b1e302

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