primaryDomainNameoptionalstringprimary_domain_nameoptionalstrprimaryDomainNameoptionalStringPrimaryDomainNameoptionalstringPrimaryDomainNameoptional*string #The primary domain name associated with the CloudFront managed ACM certificate.
An object that represents the request for the Amazon CloudFront managed ACM certificate.
| Source | Generated at build time |
|---|---|
| Type last changed | v2.194.0 · 2 May 2025 |
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const managedCertificateRequestProperty: cloudfront.CfnDistributionTenant.ManagedCertificateRequestProperty = {
certificateTransparencyLoggingPreference: 'certificateTransparencyLoggingPreference',
primaryDomainName: 'primaryDomainName',
validationTokenHost: 'validationTokenHost',
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront
managed_certificate_request_property = cloudfront.CfnDistributionTenant.ManagedCertificateRequestProperty(
certificate_transparency_logging_preference="certificateTransparencyLoggingPreference",
primary_domain_name="primaryDomainName",
validation_token_host="validationTokenHost"
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;
ManagedCertificateRequestProperty managedCertificateRequestProperty = ManagedCertificateRequestProperty.builder()
.certificateTransparencyLoggingPreference("certificateTransparencyLoggingPreference")
.primaryDomainName("primaryDomainName")
.validationTokenHost("validationTokenHost")
.build();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var managedCertificateRequestProperty = new ManagedCertificateRequestProperty {
CertificateTransparencyLoggingPreference = "certificateTransparencyLoggingPreference",
PrimaryDomainName = "primaryDomainName",
ValidationTokenHost = "validationTokenHost"
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"
managedCertificateRequestProperty := &ManagedCertificateRequestProperty{
CertificateTransparencyLoggingPreference: jsii.String("certificateTransparencyLoggingPreference"),
PrimaryDomainName: jsii.String("primaryDomainName"),
ValidationTokenHost: jsii.String("validationTokenHost"),
}
certificateTransparencyLoggingPreference?optionalstringcertificate_transparency_logging_preference?optionalstrcertificateTransparencyLoggingPreference?optionalStringCertificateTransparencyLoggingPreference?optionalstringCertificateTransparencyLoggingPreference?optional*string #Opt in by specifying enabled . For more information, see Certificate Transparency Logging in the Certificate Manager User Guide .
primaryDomainName?optionalstringprimary_domain_name?optionalstrprimaryDomainName?optionalStringPrimaryDomainName?optionalstringPrimaryDomainName?optional*string #validationTokenHost?optionalstringvalidation_token_host?optionalstrvalidationTokenHost?optionalStringValidationTokenHost?optionalstringValidationTokenHost?optional*string #cloudfront , CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately.self-hosted , you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront.