MDAA TS Docs
    Preparing search index...

    Interface MdaaNetworkInterfaceProps

    Properties for creating a compliant elastic network interface.

    interface MdaaNetworkInterfaceProps {
        createOutputs?: boolean;
        createParams?: boolean;
        description?: string;
        naming: IMdaaResourceNaming;
        networkInterfaceName: string;
        privateIpAddress?: string;
        securityGroupIds: string[];
        sourceDestCheck?: boolean;
        subnetId: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    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

    Description surfaced in the EC2 console to help operators identify the interface

    naming: IMdaaResourceNaming

    MDAA naming implementation for consistent resource naming across all MDAA constructs

    networkInterfaceName: string

    Name used to generate the interface's MDAA-conventional Name tag and SSM parameter paths

    privateIpAddress?: string

    Fixed primary private IPv4 address. Must fall inside the subnet CIDR. AWS assigns one when omitted

    securityGroupIds: string[]

    Security groups governing traffic on this interface, independent of the instance's own groups. At least one is required: EC2 places an interface created with no group in the VPC default security group, which permits all traffic between its members and all outbound traffic. That association is made by EC2 rather than CloudFormation, so it is invisible to both the template and CDK Nag -- an empty group set is rejected here instead. To use the VPC default group deliberately, pass its id explicitly.

    sourceDestCheck?: boolean

    Set false to allow the interface to forward traffic it is neither the source nor destination of

    subnetId: string

    Subnet in which the interface is created. Determines the interface's availability zone