MDAA TS Docs
    Preparing search index...

    Interface MdaaSecurityGroupProps

    interface MdaaSecurityGroupProps {
        addSelfReferenceRule?: boolean;
        allowAllIpv6Outbound?: boolean;
        allowAllOutbound?: boolean;
        createOutputs?: boolean;
        createParams?: boolean;
        description?: string;
        disableInlineRules?: boolean;
        egressRules?: MdaaSecurityGroupRuleProps;
        ingressRules?: MdaaSecurityGroupRuleProps;
        naming: IMdaaResourceNaming;
        securityGroupName?: string;
        vpc: IVpc;
    }

    Hierarchy (View Summary)

    Index

    Properties

    addSelfReferenceRule?: boolean

    Whether to add a self-referencing rule allowing all TCP connections within the same security group

    allowAllIpv6Outbound?: boolean

    Whether to allow all outbound ipv6 traffic by default. If this is set to true, there will only be a single egress rule which allows all outbound ipv6 traffic. If this is set to false, no outbound traffic will be allowed by default and all egress ipv6 traffic must be explicitly authorized. To allow all ipv4 traffic use allowAllOutbound

    false
    
    allowAllOutbound?: boolean

    Whether to allow all outbound traffic by default. If this is set to true, there will only be a single egress rule which allows all outbound traffic. If this is set to false, no outbound traffic will be allowed by default and all egress traffic must be explicitly authorized. To allow all ipv6 traffic use allowAllIpv6Outbound

    false
    
    createOutputs?: boolean

    Flag controlling CloudFormation output and stack export creation for construct resources

    createParams?: boolean

    Flag controlling SSM parameter creation for construct resource references enabling

    description?: string

    A description of the security group.

    The default name will be the construct's CDK path.
    
    disableInlineRules?: boolean

    Whether to disable inline ingress and egress rule optimization. If this is set to true, ingress and egress rules will not be declared under the SecurityGroup in cloudformation, but will be separate elements. Inlining rules is an optimization for producing smaller stack templates. Sometimes this is not desirable, for example when security group access is managed via tags. The default value can be overriden globally by setting the context variable '@aws-cdk/aws-ec2.securityGroupDisableInlineRules'.

    false
    

    Egress rules configuration for outbound traffic control from the security group defining allowed outbound connections

    Ingress rules configuration for inbound traffic control to the security group defining allowed inbound connections

    naming: IMdaaResourceNaming

    MDAA naming implementation for consistent resource naming across all MDAA constructs

    securityGroupName?: string

    The name of the security group. For valid values, see the GroupName parameter of the CreateSecurityGroup action in the Amazon EC2 API Reference. It is not recommended to use an explicit group name.

    If you don't specify a GroupName, AWS CloudFormation generates a
    unique physical ID and uses that ID for the group name.
    vpc: IVpc

    The VPC in which to create the security group.