Show / Hide Table of Contents

Class DomainNameAttributes

Inheritance
System.Object
DomainNameAttributes
Implements
IDomainNameAttributes
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DomainNameAttributes : Object, IDomainNameAttributes
Syntax (vb)
Public Class DomainNameAttributes
    Inherits Object
    Implements 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

Constructors

DomainNameAttributes()

Properties

DomainName

The domain name (e.g. example.com).

DomainNameAliasHostedZoneId

The Route53 hosted zone ID to use in order to connect a record set to this domain through an alias.

DomainNameAliasTarget

The Route53 alias target to use in order to connect a record set to this domain through an alias.

Constructors

DomainNameAttributes()

public DomainNameAttributes()

Properties

DomainName

The domain name (e.g. example.com).

public string DomainName { get; set; }
Property Value

System.String

DomainNameAliasHostedZoneId

The Route53 hosted zone ID to use in order to connect a record set to this domain through an alias.

public string DomainNameAliasHostedZoneId { get; set; }
Property Value

System.String

DomainNameAliasTarget

The Route53 alias target to use in order to connect a record set to this domain through an alias.

public string DomainNameAliasTarget { get; set; }
Property Value

System.String

Implements

IDomainNameAttributes
Back to top Generated by DocFX