AwsApiGatewayRestCustomDomainMappingTargetArgs

interface AwsApiGatewayRestCustomDomainMappingTargetArgs { restApiId?: Input<string>; restApiName?: Input<string>; stageName: Input<string>; }

Optional mapping target override for REST custom domains.

Example

CODE
const mappingTarget: AwsApiGatewayRestCustomDomainMappingTargetArgs = {
  restApiName: 'existing-orders-api',
  stageName: 'prod',
};

Properties

restApiId: Input<string>

Existing REST API ID to map the custom domain base path to. Provide either this or restApiName.

restApiName: Input<string>

Existing REST API name to resolve and map the custom domain base path to. Provide either this or restApiId.

stageName: Input<string>

Existing REST stage name to map the custom domain base path to.