Class: Aws::VerifiedPermissions::Types::PolicyDefinitionDetail
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::PolicyDefinitionDetail
- Includes:
- Structure, Structure::Union
- Defined in:
- 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.
[1]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetPolicy.html
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.
3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 |
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 3270 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.
3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 |
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 3270 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
3270 3271 3272 |
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 3270 def unknown @unknown end |