Interface IAliasConfiguration
(deprecated) Configuration for custom domain names.
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.AWS.CloudFront.dll
Syntax (csharp)
public interface IAliasConfiguration
Syntax (vb)
Public Interface IAliasConfiguration
Remarks
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.
Stability: Deprecated
ExampleMetadata: fixture=_generated
Examples
// 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 aliasConfiguration = new AliasConfiguration {
AcmCertRef = "acmCertRef",
Names = new [] { "names" },
// the properties below are optional
SecurityPolicy = SecurityPolicyProtocol.SSL_V3,
SslMethod = SSLMethod.SNI
};
Synopsis
Properties
AcmCertRef | (deprecated) ARN of an AWS Certificate Manager (ACM) certificate. |
Names | (deprecated) Domain names on the certificate. |
SecurityPolicy | (deprecated) The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. |
SslMethod | (deprecated) How CloudFront should serve HTTPS requests. |
Properties
AcmCertRef
(deprecated) ARN of an AWS Certificate Manager (ACM) certificate.
string AcmCertRef { get; }
Property Value
System.String
Remarks
Stability: Deprecated
Names
(deprecated) Domain names on the certificate.
string[] Names { get; }
Property Value
System.String[]
Remarks
Both main domain name and Subject Alternative Names.
Stability: Deprecated
SecurityPolicy
(deprecated) The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.
virtual Nullable<SecurityPolicyProtocol> SecurityPolicy { get; }
Property Value
System.Nullable<SecurityPolicyProtocol>
Remarks
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: Deprecated
SslMethod
(deprecated) How CloudFront should serve HTTPS requests.
virtual Nullable<SSLMethod> SslMethod { get; }
Property Value
System.Nullable<SSLMethod>
Remarks
See the notes on SSLMethod if you wish to use other SSL termination types.
Default: SSLMethod.SNI
Stability: Deprecated
See: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ViewerCertificate.html