interface APIRestConfig {
    endpoint: string;
    region?: string;
    service?: string;
}

Properties

endpoint: string

Required REST endpoint, must be a valid URL string.

region?: string

Optional region string used to sign the request with IAM credentials. If Omitted, region will be extracted from the endpoint.

Default

'us-east-1'
service?: string

Optional service name string to sign the request with IAM credentials.

Default

'execute-api'