# VpcOriginEndpointConfigProperty

An Amazon CloudFront VPC origin endpoint configuration.

- Source: Generated at build time
- Type last changed: v2.264.0 · 10 Aug 2026

## Example

TypeScript:

```ts
// 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,
  ipAddressType: 'ipAddressType',
  originProtocolPolicy: 'originProtocolPolicy',
  originSslProtocols: ['originSslProtocols'],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront

vpc_origin_endpoint_config_property = cloudfront.CfnVpcOrigin.VpcOriginEndpointConfigProperty(
    arn="arn",
    name="name",

    # the properties below are optional
    http_port=123,
    https_port=123,
    ip_address_type="ipAddressType",
    origin_protocol_policy="originProtocolPolicy",
    origin_ssl_protocols=["originSslProtocols"]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;

VpcOriginEndpointConfigProperty vpcOriginEndpointConfigProperty = VpcOriginEndpointConfigProperty.builder()
        .arn("arn")
        .name("name")

        // the properties below are optional
        .httpPort(123)
        .httpsPort(123)
        .ipAddressType("ipAddressType")
        .originProtocolPolicy("originProtocolPolicy")
        .originSslProtocols(List.of("originSslProtocols"))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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,
    IpAddressType = "ipAddressType",
    OriginProtocolPolicy = "originProtocolPolicy",
    OriginSslProtocols = new [] { "originSslProtocols" }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

vpcOriginEndpointConfigProperty := &VpcOriginEndpointConfigProperty{
	Arn: jsii.String("arn"),
	Name: jsii.String("name"),

	// the properties below are optional
	HttpPort: jsii.Number(123),
	HttpsPort: jsii.Number(123),
	IpAddressType: jsii.String("ipAddressType"),
	OriginProtocolPolicy: jsii.String("originProtocolPolicy"),
	OriginSslProtocols: []*string{
		jsii.String("originSslProtocols"),
	},
}
```

## Properties

- `arn`: string (required) — The ARN of the CloudFront VPC origin endpoint configuration.

- `httpPort`: number = 80 — The HTTP port for the CloudFront VPC origin endpoint configuration.

  The default value is `80` .

- `httpsPort`: number = 443 — The HTTPS port of the CloudFront VPC origin endpoint configuration.

  The default value is `443` .

- `ipAddressType`: string = "ipv4"

- `name`: string (required) — The name of the CloudFront VPC origin endpoint configuration.

- `originProtocolPolicy`: string = "match-viewer" — The origin protocol policy for the CloudFront VPC origin endpoint configuration.

- `originSslProtocols`: string[] — 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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginSSLProtocols) in the *Amazon CloudFront Developer Guide* .
