Class: AWSCDK::CloudFront::CfnDistributionTenant::ManagedCertificateRequestProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudFront::CfnDistributionTenant::ManagedCertificateRequestProperty
- Defined in:
- cloud_front/cfn_distribution_tenant.rb
Overview
An object that represents the request for the Amazon CloudFront managed ACM certificate.
Instance Attribute Summary collapse
-
#certificate_transparency_logging_preference ⇒ String?
readonly
You can opt out of certificate transparency logging by specifying the
disabledoption. -
#primary_domain_name ⇒ String?
readonly
The primary domain name associated with the CloudFront managed ACM certificate.
-
#validation_token_host ⇒ String?
readonly
Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM certificate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(certificate_transparency_logging_preference: nil, primary_domain_name: nil, validation_token_host: nil) ⇒ ManagedCertificateRequestProperty
constructor
A new instance of ManagedCertificateRequestProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(certificate_transparency_logging_preference: nil, primary_domain_name: nil, validation_token_host: nil) ⇒ ManagedCertificateRequestProperty
Returns a new instance of ManagedCertificateRequestProperty.
849 850 851 852 853 854 855 856 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 849 def initialize(certificate_transparency_logging_preference: nil, primary_domain_name: nil, validation_token_host: nil) @certificate_transparency_logging_preference = certificate_transparency_logging_preference Jsii::Type.check_type(@certificate_transparency_logging_preference, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificateTransparencyLoggingPreference") unless @certificate_transparency_logging_preference.nil? @primary_domain_name = primary_domain_name Jsii::Type.check_type(@primary_domain_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "primaryDomainName") unless @primary_domain_name.nil? @validation_token_host = validation_token_host Jsii::Type.check_type(@validation_token_host, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "validationTokenHost") unless @validation_token_host.nil? end |
Instance Attribute Details
#certificate_transparency_logging_preference ⇒ String? (readonly)
You can opt out of certificate transparency logging by specifying the disabled option.
Opt in by specifying enabled . For more information, see Certificate Transparency Logging in the Certificate Manager User Guide .
864 865 866 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 864 def certificate_transparency_logging_preference @certificate_transparency_logging_preference end |
#primary_domain_name ⇒ String? (readonly)
The primary domain name associated with the CloudFront managed ACM certificate.
869 870 871 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 869 def primary_domain_name @primary_domain_name end |
#validation_token_host ⇒ String? (readonly)
Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM certificate.
- For
cloudfront, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately. - For
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.
877 878 879 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 877 def validation_token_host @validation_token_host end |
Class Method Details
.jsii_properties ⇒ Object
879 880 881 882 883 884 885 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 879 def self.jsii_properties { :certificate_transparency_logging_preference => "certificateTransparencyLoggingPreference", :primary_domain_name => "primaryDomainName", :validation_token_host => "validationTokenHost", } end |
Instance Method Details
#to_jsii ⇒ Object
887 888 889 890 891 892 893 894 895 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 887 def to_jsii result = {} result.merge!({ "certificateTransparencyLoggingPreference" => @certificate_transparency_logging_preference, "primaryDomainName" => @primary_domain_name, "validationTokenHost" => @validation_token_host, }) result.compact end |