MDAA TS Docs
    Preparing search index...

    Interface MdaaEC2InstanceProps

    Properties for creating a Compliance EC2 instance

    interface MdaaEC2InstanceProps {
        allowAllOutbound?: boolean;
        availabilityZone?: string;
        blockDeviceProps: BlockDeviceProps[];
        createOutputs?: boolean;
        createParams?: boolean;
        init?: CloudFormationInit;
        initOptions?: ApplyCloudFormationInitOptions;
        instanceName?: string;
        instanceSubnet: ISubnet;
        instanceType: InstanceType;
        keyName?: string;
        kmsKey: IKey;
        machineImage: IMachineImage;
        naming: IMdaaResourceNaming;
        privateIpAddress?: string;
        propagateTagsToVolumeOnCreation?: boolean;
        resourceSignalTimeout?: Duration;
        role: IRole;
        securityGroup?: ISecurityGroup;
        sourceDestCheck?: boolean;
        userData?: UserData;
        userDataCausesReplacement?: boolean;
        vpc: IVpc;
    }

    Hierarchy (View Summary)

    Index

    Properties

    allowAllOutbound?: boolean
    availabilityZone?: string

    Availability zone specification for precise instance placement within the VPC

    blockDeviceProps: BlockDeviceProps[]
    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

    init?: CloudFormationInit

    CloudFormation Init configuration for automated instance setup and software installation

    initOptions?: ApplyCloudFormationInitOptions

    Configuration options for CloudFormation Init execution controlling timeout, retry

    instanceName?: string
    instanceSubnet: ISubnet
    instanceType: InstanceType

    EC2 instance type determining compute capacity, memory, and network performance characteristics

    keyName?: string
    kmsKey: IKey
    machineImage: IMachineImage
    naming: IMdaaResourceNaming

    MDAA naming implementation for consistent resource naming across all MDAA constructs

    privateIpAddress?: string
    propagateTagsToVolumeOnCreation?: boolean

    Propagate the EC2 instance tags to the EBS volumes.

    resourceSignalTimeout?: Duration

    The length of time to wait for the resourceSignalCount.

    role: IRole

    An IAM role to associate with the instance profile assigned to this instance.

    securityGroup?: ISecurityGroup

    Security Group to assign to this instance.

    sourceDestCheck?: boolean

    Specifies whether to enable an instance launched in a VPC to perform NAT.

    userData?: UserData

    Specific UserData to use.

    userDataCausesReplacement?: boolean

    Changes to the UserData force replacement. Depending the EC2 instance type, changing UserData either restarts the instance or replaces the instance. Instance store-backed instances are replaced. EBS-backed instances are restarted. By default, restarting does not execute the new UserData so you will need a different mechanism to ensure the instance is restarted. Setting this to true will make the instance's Logical ID depend on the UserData, which will cause CloudFormation to replace it if the UserData changes. default: true iff initOptions is specified, false otherwise.

    vpc: IVpc

    VPC for instance deployment providing network isolation and security controls