Class: Aws::VerifiedPermissions::Types::PolicyDefinitionDetail

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

Overview

Note:

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

A structure that describes a policy definition. It must always have either an static or a templateLinked element.

This data type is used as a response parameter for the GetPolicy operation.

Direct Known Subclasses

Static, TemplateLinked, Unknown

Defined Under Namespace

Classes: Static, TemplateLinked, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#staticTypes::StaticPolicyDefinitionDetail

Information about a static policy that wasn't created with a policy template.



3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3115

class PolicyDefinitionDetail < Struct.new(
  :static,
  :template_linked,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Static < PolicyDefinitionDetail; end
  class TemplateLinked < PolicyDefinitionDetail; end
  class Unknown < PolicyDefinitionDetail; end
end

#template_linkedTypes::TemplateLinkedPolicyDefinitionDetail

Information about a template-linked policy that was created by instantiating a policy template.



3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3115

class PolicyDefinitionDetail < Struct.new(
  :static,
  :template_linked,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Static < PolicyDefinitionDetail; end
  class TemplateLinked < PolicyDefinitionDetail; end
  class Unknown < PolicyDefinitionDetail; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3115
3116
3117
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3115

def unknown
  @unknown
end