Interface IDomainNameAttributes
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDomainNameAttributes
Syntax (vb)
Public Interface IDomainNameAttributes
Remarks
ExampleMetadata: infused
Examples
RestApi api;
var domainName = DomainName.FromDomainNameAttributes(this, "DomainName", new DomainNameAttributes {
DomainName = "domainName",
DomainNameAliasHostedZoneId = "domainNameAliasHostedZoneId",
DomainNameAliasTarget = "domainNameAliasTarget"
});
new BasePathMapping(this, "BasePathMapping", new BasePathMappingProps {
DomainName = domainName,
RestApi = api
});
Synopsis
Properties
Domain |
The domain name (e.g. |
Domain |
The Route53 hosted zone ID to use in order to connect a record set to this domain through an alias. |
Domain |
The Route53 alias target to use in order to connect a record set to this domain through an alias. |
Properties
DomainName
The domain name (e.g. example.com
).
string DomainName { get; }
Property Value
System.
DomainNameAliasHostedZoneId
The Route53 hosted zone ID to use in order to connect a record set to this domain through an alias.
string DomainNameAliasHostedZoneId { get; }
Property Value
System.
DomainNameAliasTarget
The Route53 alias target to use in order to connect a record set to this domain through an alias.
string DomainNameAliasTarget { get; }
Property Value
System.