interface VpcOriginEndpointConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFront.CfnVpcOrigin.VpcOriginEndpointConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnVpcOrigin_VpcOriginEndpointConfigProperty |
![]() | software.amazon.awscdk.services.cloudfront.CfnVpcOrigin.VpcOriginEndpointConfigProperty |
![]() | aws_cdk.aws_cloudfront.CfnVpcOrigin.VpcOriginEndpointConfigProperty |
![]() | 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[] |
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)