UNPKG

@pepperize/cdk-security-group

Version:

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

12 lines (11 loc) 414 B
import { aws_ec2 } from "aws-cdk-lib"; import { Construct } from "constructs"; export interface SecurityGroupProps extends aws_ec2.SecurityGroupProps { } export declare class SecurityGroup extends aws_ec2.SecurityGroup { /** * An attribute that represents the security group name. */ readonly securityGroupName: string; constructor(scope: Construct, id: string, props: SecurityGroupProps); }