HttpsRedirectProps

class aws_cdk.aws_route53_patterns.HttpsRedirectProps(*, target_domain, zone, certificate=None, record_names=None)

Bases: object

__init__(*, target_domain, zone, certificate=None, record_names=None)
Parameters
  • target_domain (str) – The redirect target domain.

  • zone (IHostedZone) – HostedZone of the domain.

  • certificate (Optional[ICertificate]) – The ACM certificate; Has to be in us-east-1 Default: - create a new certificate in us-east-1

  • record_names (Optional[List[str]]) – The domain names to create that will redirect to targetDomain. Default: - the domain name of the zone

stability :stability: experimental

Attributes

certificate

The ACM certificate;

Has to be in us-east-1

default :default: - create a new certificate in us-east-1

stability :stability: experimental

Return type

Optional[ICertificate]

record_names

The domain names to create that will redirect to targetDomain.

default :default: - the domain name of the zone

stability :stability: experimental

Return type

Optional[List[str]]

target_domain

The redirect target domain.

stability :stability: experimental

Return type

str

zone

HostedZone of the domain.

stability :stability: experimental

Return type

IHostedZone