Class: Aws::AmplifyGen3::Types::Routing

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

Overview

Note:

Routing is a union - when making an API calls you must set exactly one of the members.

Note:

Routing is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Routing corresponding to the set member.

The routing configuration for a domain.

Defined Under Namespace

Classes: Alias, Redirect, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alias ⇒ Types::AliasRouting

Routes traffic for the domain to an alias.

Returns:



6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 6362

class Routing < Struct.new(
  :alias,
  :redirect,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Alias < Routing; end
  class Redirect < Routing; end
  class Unknown < Routing; end
end

#redirect ⇒ Types::RedirectRouting

Redirects traffic for the domain to another URL.



6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 6362

class Routing < Struct.new(
  :alias,
  :redirect,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Alias < Routing; end
  class Redirect < Routing; end
  class Unknown < Routing; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



6362
6363
6364
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 6362

def unknown
  @unknown
end