# InputOriginProperty

`InputOrigin` is a property of the [AWS::Lightsail::Distribution](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-distribution.html) resource. It describes the origin resource of an Amazon Lightsail content delivery network (CDN) distribution.

An origin can be a instance, bucket, or load balancer. A distribution pulls content from an origin, caches it, and serves it to viewers through a worldwide network of edge servers.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const inputOriginProperty: lightsail.CfnDistribution.InputOriginProperty = {
  name: 'name',
  protocolPolicy: 'protocolPolicy',
  regionName: 'regionName',
};
```

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_lightsail as lightsail

input_origin_property = lightsail.CfnDistribution.InputOriginProperty(
    name="name",
    protocol_policy="protocolPolicy",
    region_name="regionName"
)
```

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.lightsail.*;

InputOriginProperty inputOriginProperty = InputOriginProperty.builder()
        .name("name")
        .protocolPolicy("protocolPolicy")
        .regionName("regionName")
        .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.Lightsail;

var inputOriginProperty = new InputOriginProperty {
    Name = "name",
    ProtocolPolicy = "protocolPolicy",
    RegionName = "regionName"
};
```

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"

inputOriginProperty := &InputOriginProperty{
	Name: jsii.String("name"),
	ProtocolPolicy: jsii.String("protocolPolicy"),
	RegionName: jsii.String("regionName"),
}
```

## Properties

- `name`: string — The name of the origin resource.

- `protocolPolicy`: string — The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

- `regionName`: string — The AWS Region name of the origin resource.
