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

ExampleMetadata:

fixture=_generated

Example:

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

# hosted_zone: route53.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

hosted_zones

A map of hosted zones to use for DNS validation.

Default:
  • use hostedZone

method

Validation method.

Default:

ValidationMethod.EMAIL

validation_domains

Validation domains to use for email validation.

Default:
  • Apex domain