CertificationValidationProps

class aws_cdk.aws_certificatemanager.CertificationValidationProps(*, hosted_zone=None, hosted_zones=None, method=None, validation_domains=None)

Bases: object

Properties for certificate validation.

Parameters
  • hosted_zone (Optional[IHostedZone]) – Hosted zone to use for DNS validation. Default: - use email validation

  • hosted_zones (Optional[Mapping[str, IHostedZone]]) – A map of hosted zones to use for DNS validation. Default: - use hostedZone

  • method (Optional[ValidationMethod]) – Validation method. Default: ValidationMethod.EMAIL

  • validation_domains (Optional[Mapping[str, str]]) – Validation domains to use for email validation. Default: - Apex domain

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_certificatemanager as certificatemanager
import aws_cdk.aws_route53 as route53

# hosted_zone is of type HostedZone

certification_validation_props = certificatemanager.CertificationValidationProps(
    hosted_zone=hosted_zone,
    hosted_zones={
        "hosted_zones_key": hosted_zone
    },
    method=certificatemanager.ValidationMethod.EMAIL,
    validation_domains={
        "validation_domains_key": "validationDomains"
    }
)

Attributes

hosted_zone

Hosted zone to use for DNS validation.

Default
  • use email validation

Return type

Optional[IHostedZone]

hosted_zones

A map of hosted zones to use for DNS validation.

Default
  • use hostedZone

Return type

Optional[Mapping[str, IHostedZone]]

method

Validation method.

Default

ValidationMethod.EMAIL

Return type

Optional[ValidationMethod]

validation_domains

Validation domains to use for email validation.

Default
  • Apex domain

Return type

Optional[Mapping[str, str]]