AliasConfiguration¶
-
class
aws_cdk.aws_cloudfront.
AliasConfiguration
(*, acm_cert_ref, names, security_policy=None, ssl_method=None)¶ Bases:
object
Configuration for custom domain names.
CloudFront can use a custom domain that you provide instead of a “cloudfront.net” domain. To use this feature you must provide the list of additional domains, and the ACM Certificate that CloudFront should use for these additional domains.
- Parameters
acm_cert_ref (
str
) – ARN of an AWS Certificate Manager (ACM) certificate.names (
List
[str
]) – Domain names on the certificate. Both main domain name and Subject Alternative Names.security_policy (
Optional
[SecurityPolicyProtocol
]) – The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. CloudFront serves your objects only to browsers or devices that support at least the SSL version that you specify. Default: - SSLv3 if sslMethod VIP, TLSv1 if sslMethod SNIssl_method (
Optional
[SSLMethod
]) – How CloudFront should serve HTTPS requests. See the notes on SSLMethod if you wish to use other SSL termination types. Default: SSLMethod.SNI
Attributes
-
acm_cert_ref
¶ ARN of an AWS Certificate Manager (ACM) certificate.
- Return type
str
-
names
¶ Domain names on the certificate.
Both main domain name and Subject Alternative Names.
- Return type
List
[str
]
-
security_policy
¶ The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.
CloudFront serves your objects only to browsers or devices that support at least the SSL version that you specify.
- Default
SSLv3 if sslMethod VIP, TLSv1 if sslMethod SNI
- Return type
Optional
[SecurityPolicyProtocol
]
-
ssl_method
¶ How CloudFront should serve HTTPS requests.
See the notes on SSLMethod if you wish to use other SSL termination types.
- Default
SSLMethod.SNI
- See
https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ViewerCertificate.html
- Return type
Optional
[SSLMethod
]