Class CfnVpcOrigin.VpcOriginEndpointConfigProperty
An Amazon CloudFront VPC origin endpoint configuration.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVpcOrigin.VpcOriginEndpointConfigProperty : CfnVpcOrigin.IVpcOriginEndpointConfigProperty
Syntax (vb)
Public Class CfnVpcOrigin.VpcOriginEndpointConfigProperty Implements CfnVpcOrigin.IVpcOriginEndpointConfigProperty
Remarks
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 vpcOriginEndpointConfigProperty = new VpcOriginEndpointConfigProperty {
Arn = "arn",
Name = "name",
// the properties below are optional
HttpPort = 123,
HttpsPort = 123,
OriginProtocolPolicy = "originProtocolPolicy",
OriginSslProtocols = new [] { "originSslProtocols" }
};
Synopsis
Constructors
| VpcOriginEndpointConfigProperty() | An Amazon CloudFront VPC origin endpoint configuration. |
Properties
| Arn | The ARN of the CloudFront VPC origin endpoint configuration. |
| HttpPort | The HTTP port for the CloudFront VPC origin endpoint configuration. |
| HttpsPort | The HTTPS port of the CloudFront VPC origin endpoint configuration. |
| Name | The name of the CloudFront VPC origin endpoint configuration. |
| OriginProtocolPolicy | The origin protocol policy for the CloudFront VPC origin endpoint configuration. |
| OriginSslProtocols | Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. |
Constructors
VpcOriginEndpointConfigProperty()
An Amazon CloudFront VPC origin endpoint configuration.
public VpcOriginEndpointConfigProperty()
Remarks
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 vpcOriginEndpointConfigProperty = new VpcOriginEndpointConfigProperty {
Arn = "arn",
Name = "name",
// the properties below are optional
HttpPort = 123,
HttpsPort = 123,
OriginProtocolPolicy = "originProtocolPolicy",
OriginSslProtocols = new [] { "originSslProtocols" }
};
Properties
Arn
The ARN of the CloudFront VPC origin endpoint configuration.
public string Arn { get; set; }
Property Value
Remarks
HttpPort
The HTTP port for the CloudFront VPC origin endpoint configuration.
public double? HttpPort { get; set; }
Property Value
Remarks
HttpsPort
The HTTPS port of the CloudFront VPC origin endpoint configuration.
public double? HttpsPort { get; set; }
Property Value
Remarks
The default value is 443 .
Default: - 443
Name
The name of the CloudFront VPC origin endpoint configuration.
public string Name { get; set; }
Property Value
Remarks
OriginProtocolPolicy
The origin protocol policy for the CloudFront VPC origin endpoint configuration.
public string? OriginProtocolPolicy { get; set; }
Property Value
Remarks
OriginSslProtocols
Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS.
public string[]? OriginSslProtocols { get; set; }
Property Value
string[]
Remarks
Valid values include SSLv3 , TLSv1 , TLSv1.1 , and TLSv1.2 .
For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide .