ViewerCertificateOptions

class aws_cdk.aws_cloudfront.ViewerCertificateOptions(*, aliases=None, security_policy=None, ssl_method=None)

Bases: object

Parameters
  • aliases (Optional[List[str]]) – (experimental) Domain names on the certificate (both main domain name and Subject Alternative names).

  • security_policy (Optional[SecurityPolicyProtocol]) – (experimental) 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

  • ssl_method (Optional[SSLMethod]) – (experimental) How CloudFront should serve HTTPS requests. See the notes on SSLMethod if you wish to use other SSL termination types. Default: SSLMethod.SNI

Stability

experimental

Attributes

aliases

(experimental) Domain names on the certificate (both main domain name and Subject Alternative names).

Stability

experimental

Return type

Optional[List[str]]

security_policy

(experimental) 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

Stability

experimental

Return type

Optional[SecurityPolicyProtocol]

ssl_method

(experimental) 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

Stability

experimental

Return type

Optional[SSLMethod]