-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnCertificate_DomainValidationOptionProperty.go
53 lines (50 loc) · 3.43 KB
/
CfnCertificate_DomainValidationOptionProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package awscertificatemanager
// `DomainValidationOption` is a property of the [AWS::CertificateManager::Certificate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html) resource that specifies the AWS Certificate Manager ( ACM ) certificate domain to validate. Depending on the chosen validation method, ACM checks the domain's DNS record for a validation CNAME, or it attempts to send a validation email message to the domain owner.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// domainValidationOptionProperty := &DomainValidationOptionProperty{
// DomainName: jsii.String("domainName"),
//
// // the properties below are optional
// HostedZoneId: jsii.String("hostedZoneId"),
// ValidationDomain: jsii.String("validationDomain"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html
//
type CfnCertificate_DomainValidationOptionProperty struct {
// A fully qualified domain name (FQDN) in the certificate request.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoption-domainname
//
DomainName *string `field:"required" json:"domainName" yaml:"domainName"`
// The `HostedZoneId` option, which is available if you are using Route 53 as your domain registrar, causes ACM to add your CNAME to the domain record.
//
// Your list of `DomainValidationOptions` must contain one and only one of the domain-validation options, and the `HostedZoneId` can be used only when `DNS` is specified as your validation method.
//
// Use the Route 53 `ListHostedZones` API to discover IDs for available hosted zones.
//
// This option is required for publicly trusted certificates.
//
// > The `ListHostedZones` API returns IDs in the format "/hostedzone/Z111111QQQQQQQ", but CloudFormation requires the IDs to be in the format "Z111111QQQQQQQ".
//
// When you change your `DomainValidationOptions` , a new resource is created.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoption-hostedzoneid
//
HostedZoneId *string `field:"optional" json:"hostedZoneId" yaml:"hostedZoneId"`
// The domain name to which you want ACM to send validation emails.
//
// This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the `DomainName` value or a superdomain of the `DomainName` value. For example, if you request a certificate for `testing.example.com` , you can specify `example.com` as this value. In that case, ACM sends domain validation emails to the following five addresses:
//
// - admin@example.com
// - administrator@example.com
// - hostmaster@example.com
// - postmaster@example.com
// - webmaster@example.com
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoption-validationdomain
//
ValidationDomain *string `field:"optional" json:"validationDomain" yaml:"validationDomain"`
}