Interface IDomainNameProps
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
public interface IDomainNameProps : IDomainNameOptions
- Inherited Members
Examples
var acm;
new DomainName(this, "domain-name", new DomainNameProps {
DomainName = "example.com",
Certificate = acm.Certificate.FromCertificateArn(this, "cert", "arn:aws:acm:us-east-1:1111111:certificate/11-3336f1-44483d-adc7-9cd375c5169d"),
Mtls = new MTLSConfig {
Bucket = new Bucket(this, "bucket"),
Key = "truststore.pem",
Version = "version"
}
});
Remarks
ExampleMetadata: infused
Properties
Mapping
If specified, all requests to this domain will be mapped to the production deployment of this API.
IRestApi? Mapping { get; }
Property Value
Remarks
If you wish to map this domain to multiple APIs
with different base paths, don't specify this option and use
addBasePathMapping
.
Default: - you will have to call addBasePathMapping
to map this domain to
API endpoints.