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

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

Overview

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

An origin can be a Lightsail instance, bucket, container service, 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)


9828
9829
9830
9831
9832
9833
9834
9835
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9828

class InputOrigin < Struct.new(
  :name,
  :region_name,
  :protocol_policy,
  :response_timeout)
  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)


9828
9829
9830
9831
9832
9833
9834
9835
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9828

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

#region_nameString

The AWS Region name of the origin resource.

Returns:

  • (String)


9828
9829
9830
9831
9832
9833
9834
9835
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9828

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

#response_timeoutInteger

The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.

Returns:

  • (Integer)


9828
9829
9830
9831
9832
9833
9834
9835
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9828

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