class Aws::Lightsail::Types::InputOrigin

Describes the origin resource of an Amazon Lightsail content delivery network (CDN) distribution.

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

@note When making an API call, you may pass InputOrigin

data as a hash:

    {
      name: "ResourceName",
      region_name: "us-east-1", # accepts us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, eu-north-1
      protocol_policy: "http-only", # accepts http-only, https-only
    }

@!attribute [rw] name

The name of the origin resource.
@return [String]

@!attribute [rw] region_name

The AWS Region name of the origin resource.
@return [String]

@!attribute [rw] protocol_policy

The protocol that your Amazon Lightsail distribution uses when
establishing a connection with your origin to pull content.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InputOrigin AWS API Documentation

Constants

SENSITIVE