DomainNameAttributes

class aws_cdk.aws_apigateway.DomainNameAttributes(*, domain_name, domain_name_alias_hosted_zone_id, domain_name_alias_target)

Bases: object

Parameters:
  • domain_name (str) – The domain name (e.g. example.com).

  • domain_name_alias_hosted_zone_id (str) – The Route53 hosted zone ID to use in order to connect a record set to this domain through an alias.

  • domain_name_alias_target (str) – The Route53 alias target to use in order to connect a record set to this domain through an alias.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apigateway as apigateway

domain_name_attributes = apigateway.DomainNameAttributes(
    domain_name="domainName",
    domain_name_alias_hosted_zone_id="domainNameAliasHostedZoneId",
    domain_name_alias_target="domainNameAliasTarget"
)

Attributes

domain_name

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

domain_name_alias_hosted_zone_id

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

domain_name_alias_target

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