Class: Aws::Lightsail::Types::InputOrigin

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

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
  protocol_policy: "http-only", # accepts http-only, https-only
}

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the origin resource.

Returns:

  • (String)


8110
8111
8112
8113
8114
8115
8116
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 8110

class InputOrigin < Struct.new(
  :name,
  :region_name,
  :protocol_policy)
  SENSITIVE = []
  include Aws::Structure
end

#protocol_policyString

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

Returns:

  • (String)


8110
8111
8112
8113
8114
8115
8116
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 8110

class InputOrigin < Struct.new(
  :name,
  :region_name,
  :protocol_policy)
  SENSITIVE = []
  include Aws::Structure
end

#region_nameString

The AWS Region name of the origin resource.

Returns:

  • (String)


8110
8111
8112
8113
8114
8115
8116
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 8110

class InputOrigin < Struct.new(
  :name,
  :region_name,
  :protocol_policy)
  SENSITIVE = []
  include Aws::Structure
end