We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How would I express a template like this (specifically the optional array item in DomainValidationOptions)?
DomainValidationOptions
The type is []certificatemanager.Certificate_DomainValidationOption, but cloudformation.If returns a string
[]certificatemanager.Certificate_DomainValidationOption
cloudformation.If
string
--- Parameters: AltDomain1: AllowedPattern: "^[a-z0-9\\-\\.]*$" Default: '' Description: Alternate domain 1 Type: String Conditions: AltDomain1Exists: Fn::Not: - Fn::Equals: - Ref: AltDomain1 - '' Resources: Certificate: Properties: DomainName: Ref: PrimaryDomain DomainValidationOptions: - DomainName: Ref: PrimaryDomain HostedZoneId: Ref: HostedZone - Fn::If: - AltDomain1Exists - DomainName: Ref: AltDomain1 HostedZoneId: Ref: HostedZone - Ref: AWS::NoValue SubjectAlternativeNames: - Fn::If: - AltDomain1Exists - Ref: AltDomain1 - Ref: AWS::NoValue Tags: - Key: Name Value: Ref: PrimaryDomain ValidationMethod: DNS Type: AWS::CertificateManager::Certificate
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How would I express a template like this (specifically the optional array item in
DomainValidationOptions
)?The type is
[]certificatemanager.Certificate_DomainValidationOption
, butcloudformation.If
returns astring
The text was updated successfully, but these errors were encountered: