aws-cdk-lib.aws_lightsail.CfnDistribution.InputOriginProperty

interface InputOriginProperty

LanguageType name
.NETAmazon.CDK.AWS.Lightsail.CfnDistribution.InputOriginProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnDistribution_InputOriginProperty
Javasoftware.amazon.awscdk.services.lightsail.CfnDistribution.InputOriginProperty
Pythonaws_cdk.aws_lightsail.CfnDistribution.InputOriginProperty
TypeScript aws-cdk-lib » aws_lightsail » CfnDistribution » InputOriginProperty

InputOrigin is a property of the AWS::Lightsail::Distribution 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.

Example

// 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',
};

Properties

NameTypeDescription
name?stringThe name of the origin resource.
protocolPolicy?stringThe protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
regionName?stringThe AWS Region name of the origin resource.

name?

Type: string (optional)

The name of the origin resource.


protocolPolicy?

Type: string (optional)

The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.


regionName?

Type: string (optional)

The AWS Region name of the origin resource.