MDAA TS Docs
    Preparing search index...
    interface RestApiProps {
        adminGroup?: string;
        alarms?: RestApiAlarmConfig;
        apiGwThrottlingRateLimit?: number;
        disableExecuteApiEndpoint?: boolean;
        endpointType?: "REGIONAL" | "EDGE" | "PRIVATE";
        hostedZoneName?: string;
        lambdaArchitecture?: "ARM_64" | "X86_64";
        logGroupAccessLogRetentionDays?: number;
        logGroupNamePathPrefix?: string;
        powertoolsDevLogging?: "false" | "true";
        privateApiSourceVpcEndpointIds?: string[];
        provisionedConcurrentExecutions?: number;
        pythonRuntime?: string;
        restApiDomainName?: string;
        restApiHandlerLambdaMemorySize?: number;
        restApiHandlerLambdaTimeoutInSeconds?: number;
        setApiGateWayAccountCloudwatchRole?: boolean;
        wafArn?: string;
    }
    Index

    Properties

    adminGroup?: string

    Admin group name for access to the admin interface

    CloudWatch alarm configuration for monitoring API health (5XX, 4XX, latency). When provided, alarms and an SNS notification topic are created.

    apiGwThrottlingRateLimit?: number

    Specifies API GW throttling rate limit. The total rate of all requests in your AWS account is limited to 10,000 requests per second (rps). If undefined 2500 is used.

    disableExecuteApiEndpoint?: boolean

    Disable the default execute-api endpoint. When true, clients must use the custom domain. Recommended when a custom domain is configured to enforce TLS 1.2+ exclusively.

    false
    
    endpointType?: "REGIONAL" | "EDGE" | "PRIVATE"

    API Gateway endpoint type

    hostedZoneName?: string

    Route53 hosted zone name for domain setup

    lambdaArchitecture?: "ARM_64" | "X86_64"

    Lambda architecture (ARM64 or x86_64). If undefined, Architecture.X86_64 is used

    logGroupAccessLogRetentionDays?: number

    Number of days to retain access logs in CloudWatch log group for access logs. If undefined, infinite is used.

    logGroupNamePathPrefix?: string

    Prefix for CloudWatch log group names

    powertoolsDevLogging?: "false" | "true"

    Enable PowerTools development logging

    privateApiSourceVpcEndpointIds?: string[]

    VPC endpoint IDs for private API access (Restrict access to specific VPC endpoints if configured).

    provisionedConcurrentExecutions?: number

    Provisioned concurrency for Lambda functions

    pythonRuntime?: string

    Python runtime version. If undefined, Runtime.PYTHON_3_13 is used.

    restApiDomainName?: string

    Custom domain name for REST API. Will be configured if hostedZoneName is specified as well.

    restApiHandlerLambdaMemorySize?: number

    Memory allocation for the REST API handler Lambda function in MB. If undefined, 1024MB is used.

    restApiHandlerLambdaTimeoutInSeconds?: number

    Timeout for the REST API handler Lambda function in seconds. If unspecified, 10 minutes is used (600 seconds)

    setApiGateWayAccountCloudwatchRole?: boolean

    Whether to set API Gateway account CloudWatch role

    wafArn?: string

    WAF ARN for API protection