cdk-custom-domain-lib
v0.0.10
Published
This package is used to create a custom domain for an API Gateway Construct in AWS CDK.
Downloads
3
Readme
CDK - Custom Domain
This package is used to create a custom domain for an API Gateway Construct in AWS CDK.
API Reference
Classes
ApiGatewayCustomDomain
Initializers
import { ApiGatewayCustomDomain } from 'cdk-custom-domain-lib'
new ApiGatewayCustomDomain(stack: Stack, gateway: RestApi, domainName: string, subdomainName?: string)
| Name | Type | Description | | --- | --- | --- | | stack | aws-cdk-lib.Stack | No description. | | gateway | aws-cdk-lib.aws_apigateway.RestApi | No description. | | domainName | string | No description. | | subdomainName | string | No description. |
stack
Required
- Type: aws-cdk-lib.Stack
gateway
Required
- Type: aws-cdk-lib.aws_apigateway.RestApi
domainName
Required
- Type: string
subdomainName
Optional
- Type: string