interface VpcOriginEndpointConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudFront.CfnVpcOrigin.VpcOriginEndpointConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnVpcOrigin_VpcOriginEndpointConfigProperty |
Java | software.amazon.awscdk.services.cloudfront.CfnVpcOrigin.VpcOriginEndpointConfigProperty |
Python | aws_cdk.aws_cloudfront.CfnVpcOrigin.VpcOriginEndpointConfigProperty |
TypeScript | aws-cdk-lib » aws_cloudfront » CfnVpcOrigin » VpcOriginEndpointConfigProperty |
An Amazon CloudFront VPC origin endpoint configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const vpcOriginEndpointConfigProperty: cloudfront.CfnVpcOrigin.VpcOriginEndpointConfigProperty = {
arn: 'arn',
name: 'name',
// the properties below are optional
httpPort: 123,
httpsPort: 123,
originProtocolPolicy: 'originProtocolPolicy',
originSslProtocols: ['originSslProtocols'],
};
Properties
| Name | Type | Description |
|---|---|---|
| arn | string | The ARN of the CloudFront VPC origin endpoint configuration. |
| name | string | The name of the CloudFront VPC origin endpoint configuration. |
| http | number | The HTTP port for the CloudFront VPC origin endpoint configuration. |
| https | number | The HTTPS port of the CloudFront VPC origin endpoint configuration. |
| origin | string | The origin protocol policy for the CloudFront VPC origin endpoint configuration. |
| origin | string[] | Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. |
arn
Type:
string
The ARN of the CloudFront VPC origin endpoint configuration.
name
Type:
string
The name of the CloudFront VPC origin endpoint configuration.
httpPort?
Type:
number
(optional, default: 80)
The HTTP port for the CloudFront VPC origin endpoint configuration.
The default value is 80 .
httpsPort?
Type:
number
(optional, default: 443)
The HTTPS port of the CloudFront VPC origin endpoint configuration.
The default value is 443 .
originProtocolPolicy?
Type:
string
(optional, default: "match-viewer")
The origin protocol policy for the CloudFront VPC origin endpoint configuration.
originSslProtocols?
Type:
string[]
(optional)
Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS.
Valid values include SSLv3 , TLSv1 , TLSv1.1 , and TLSv1.2 .
For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide .

.NET
Go
Java
Python
TypeScript