Class: Aws::Continuum::Types::PolicyListEntry

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

Overview

Note:

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

One customer-owned or service-managed policy returned by the list operation.

Defined Under Namespace

Classes: ManagedPolicy, Policy, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#managed_policy ⇒ Types::ManagedPolicySummary

A service-managed policy.



4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 4661

class PolicyListEntry < Struct.new(
  :policy,
  :managed_policy,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Policy < PolicyListEntry; end
  class ManagedPolicy < PolicyListEntry; end
  class Unknown < PolicyListEntry; end
end

#policy ⇒ Types::PolicySummary

A customer-managed policy.



4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 4661

class PolicyListEntry < Struct.new(
  :policy,
  :managed_policy,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Policy < PolicyListEntry; end
  class ManagedPolicy < PolicyListEntry; end
  class Unknown < PolicyListEntry; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



4661
4662
4663
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 4661

def unknown
  @unknown
end