Class: Aws::AmplifyGen3::Types::Routing
- Inherits:
-
Struct
- Object
- Struct
- Aws::AmplifyGen3::Types::Routing
- 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
-
#alias ⇒ Types::AliasRouting
Routes traffic for the domain to an alias.
-
#redirect ⇒ Types::RedirectRouting
Redirects traffic for the domain to another URL.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#alias ⇒ Types::AliasRouting
Routes traffic for the domain to an alias.
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
6362 6363 6364 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 6362 def unknown @unknown end |