Class: Aws::VerifiedPermissions::Types::PolicyDefinitionDetail
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::PolicyDefinitionDetail
- Defined in:
- gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb
Overview
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
Defined Under Namespace
Classes: Static, TemplateLinked, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#static ⇒ Types::StaticPolicyDefinitionDetail
Information about a static policy that wasn't created with a policy template.
-
#template_linked ⇒ Types::TemplateLinkedPolicyDefinitionDetail
Information about a template-linked policy that was created by instantiating a policy template.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#static ⇒ Types::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_linked ⇒ Types::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 |
#unknown ⇒ Object
Returns the value of attribute unknown
3115 3116 3117 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3115 def unknown @unknown end |