ViewerCertificateOptions

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

Bases: object

Parameters
  • aliases (Optional[Sequence[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 SNI

  • ssl_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

aliases

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

Return type

Optional[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]