Class: Aws::SupportAuthZ::Types::ResourceSet

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

Overview

Note:

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

Note:

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

The set of resources authorized by a permit. Specify either all resources in the Region or a list of specific resources.

Defined Under Namespace

Classes: AllResourcesInRegion, Resources, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#all_resources_in_region ⇒ Types::Unit

Authorizes the support operator to act on all resources in the Region.

Returns:

  • (Types::Unit)


663
664
665
666
667
668
669
670
671
672
673
674
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/types.rb', line 663

class ResourceSet < Struct.new(
  :all_resources_in_region,
  :resources,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AllResourcesInRegion < ResourceSet; end
  class Resources < ResourceSet; end
  class Unknown < ResourceSet; end
end

#resources ⇒ Array<String>

A list of specific resource identifiers that the support operator is authorized to act upon. Maximum of 5 resources.

Returns:

  • (Array<String>)


663
664
665
666
667
668
669
670
671
672
673
674
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/types.rb', line 663

class ResourceSet < Struct.new(
  :all_resources_in_region,
  :resources,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AllResourcesInRegion < ResourceSet; end
  class Resources < ResourceSet; end
  class Unknown < ResourceSet; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



663
664
665
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/types.rb', line 663

def unknown
  @unknown
end