Class: Aws::VerifiedPermissions::Types::CedarTagValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::CedarTagValue
- Defined in:
- gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb
Overview
CedarTagValue is a union - when making an API calls you must set exactly one of the members.
The value of an entity's Cedar tag.
This data type is used as a member of the EntityItem structure
that forms the body of the Entities request parameter for the
IsAuthorized, BatchIsAuthorized, IsAuthorizedWithToken,
and BatchIsAuthorizedWithToken operations.
Defined Under Namespace
Classes: Boolean, Datetime, Decimal, Duration, EntityIdentifier, Ipaddr, Long, Record, Set, String, Unknown
Constant Summary collapse
- SENSITIVE =
[:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration]
Instance Attribute Summary collapse
-
#boolean ⇒ Boolean
A Cedar tag value of [Boolean][1] type.
-
#datetime ⇒ String
A Cedar tag value of [datetime][1] type.
-
#decimal ⇒ String
A Cedar tag value of [decimal][1] type.
-
#duration ⇒ String
A Cedar tag value of [duration][1] type.
-
#entity_identifier ⇒ Types::EntityIdentifier
A Cedar tag value of type [EntityIdentifier][1].
-
#ipaddr ⇒ String
A Cedar tag value of [ipaddr][1] type.
-
#long ⇒ Integer
A Cedar tag value of [Long][1] type.
-
#record ⇒ Hash<String,Types::CedarTagValue>
A Cedar tag value of [Record][1] type.
-
#set ⇒ Array<Types::CedarTagValue>
A Cedar tag value of [Set][1] type.
-
#string ⇒ String
A Cedar tag value of [String][1] type.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#boolean ⇒ Boolean
A Cedar tag value of Boolean type.
Example: {"boolean": false}
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 770 class CedarTagValue < Struct.new( :boolean, :entity_identifier, :long, :string, :set, :record, :ipaddr, :decimal, :datetime, :duration, :unknown) SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration] include Aws::Structure include Aws::Structure::Union class Boolean < CedarTagValue; end class EntityIdentifier < CedarTagValue; end class Long < CedarTagValue; end class String < CedarTagValue; end class Set < CedarTagValue; end class Record < CedarTagValue; end class Ipaddr < CedarTagValue; end class Decimal < CedarTagValue; end class Datetime < CedarTagValue; end class Duration < CedarTagValue; end class Unknown < CedarTagValue; end end |
#datetime ⇒ String
A Cedar tag value of datetime type.
Example: {"datetime": "2025-11-04T11:35:00.000+0100"}
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 770 class CedarTagValue < Struct.new( :boolean, :entity_identifier, :long, :string, :set, :record, :ipaddr, :decimal, :datetime, :duration, :unknown) SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration] include Aws::Structure include Aws::Structure::Union class Boolean < CedarTagValue; end class EntityIdentifier < CedarTagValue; end class Long < CedarTagValue; end class String < CedarTagValue; end class Set < CedarTagValue; end class Record < CedarTagValue; end class Ipaddr < CedarTagValue; end class Decimal < CedarTagValue; end class Datetime < CedarTagValue; end class Duration < CedarTagValue; end class Unknown < CedarTagValue; end end |
#decimal ⇒ String
A Cedar tag value of decimal type.
Example: {"decimal": "-2.0"}
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 770 class CedarTagValue < Struct.new( :boolean, :entity_identifier, :long, :string, :set, :record, :ipaddr, :decimal, :datetime, :duration, :unknown) SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration] include Aws::Structure include Aws::Structure::Union class Boolean < CedarTagValue; end class EntityIdentifier < CedarTagValue; end class Long < CedarTagValue; end class String < CedarTagValue; end class Set < CedarTagValue; end class Record < CedarTagValue; end class Ipaddr < CedarTagValue; end class Decimal < CedarTagValue; end class Datetime < CedarTagValue; end class Duration < CedarTagValue; end class Unknown < CedarTagValue; end end |
#duration ⇒ String
A Cedar tag value of duration type.
Example: {"duration": "-1d12h"}
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 770 class CedarTagValue < Struct.new( :boolean, :entity_identifier, :long, :string, :set, :record, :ipaddr, :decimal, :datetime, :duration, :unknown) SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration] include Aws::Structure include Aws::Structure::Union class Boolean < CedarTagValue; end class EntityIdentifier < CedarTagValue; end class Long < CedarTagValue; end class String < CedarTagValue; end class Set < CedarTagValue; end class Record < CedarTagValue; end class Ipaddr < CedarTagValue; end class Decimal < CedarTagValue; end class Datetime < CedarTagValue; end class Duration < CedarTagValue; end class Unknown < CedarTagValue; end end |
#entity_identifier ⇒ Types::EntityIdentifier
A Cedar tag value of type EntityIdentifier.
Example: {"entityIdentifier": { "entityId": "alice", "entityType":
"User"} }
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 770 class CedarTagValue < Struct.new( :boolean, :entity_identifier, :long, :string, :set, :record, :ipaddr, :decimal, :datetime, :duration, :unknown) SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration] include Aws::Structure include Aws::Structure::Union class Boolean < CedarTagValue; end class EntityIdentifier < CedarTagValue; end class Long < CedarTagValue; end class String < CedarTagValue; end class Set < CedarTagValue; end class Record < CedarTagValue; end class Ipaddr < CedarTagValue; end class Decimal < CedarTagValue; end class Datetime < CedarTagValue; end class Duration < CedarTagValue; end class Unknown < CedarTagValue; end end |
#ipaddr ⇒ String
A Cedar tag value of ipaddr type.
Example: {"ip": "10.50.0.0/24"}
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 770 class CedarTagValue < Struct.new( :boolean, :entity_identifier, :long, :string, :set, :record, :ipaddr, :decimal, :datetime, :duration, :unknown) SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration] include Aws::Structure include Aws::Structure::Union class Boolean < CedarTagValue; end class EntityIdentifier < CedarTagValue; end class Long < CedarTagValue; end class String < CedarTagValue; end class Set < CedarTagValue; end class Record < CedarTagValue; end class Ipaddr < CedarTagValue; end class Decimal < CedarTagValue; end class Datetime < CedarTagValue; end class Duration < CedarTagValue; end class Unknown < CedarTagValue; end end |
#long ⇒ Integer
A Cedar tag value of Long type.
Example: {"long": 0}
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 770 class CedarTagValue < Struct.new( :boolean, :entity_identifier, :long, :string, :set, :record, :ipaddr, :decimal, :datetime, :duration, :unknown) SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration] include Aws::Structure include Aws::Structure::Union class Boolean < CedarTagValue; end class EntityIdentifier < CedarTagValue; end class Long < CedarTagValue; end class String < CedarTagValue; end class Set < CedarTagValue; end class Record < CedarTagValue; end class Ipaddr < CedarTagValue; end class Decimal < CedarTagValue; end class Datetime < CedarTagValue; end class Duration < CedarTagValue; end class Unknown < CedarTagValue; end end |
#record ⇒ Hash<String,Types::CedarTagValue>
A Cedar tag value of Record type.
Example: {"record": { "keyName": {} } }
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 770 class CedarTagValue < Struct.new( :boolean, :entity_identifier, :long, :string, :set, :record, :ipaddr, :decimal, :datetime, :duration, :unknown) SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration] include Aws::Structure include Aws::Structure::Union class Boolean < CedarTagValue; end class EntityIdentifier < CedarTagValue; end class Long < CedarTagValue; end class String < CedarTagValue; end class Set < CedarTagValue; end class Record < CedarTagValue; end class Ipaddr < CedarTagValue; end class Decimal < CedarTagValue; end class Datetime < CedarTagValue; end class Duration < CedarTagValue; end class Unknown < CedarTagValue; end end |
#set ⇒ Array<Types::CedarTagValue>
A Cedar tag value of Set type.
Example: {"set": [ { "string": "abc" } ] }
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 770 class CedarTagValue < Struct.new( :boolean, :entity_identifier, :long, :string, :set, :record, :ipaddr, :decimal, :datetime, :duration, :unknown) SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration] include Aws::Structure include Aws::Structure::Union class Boolean < CedarTagValue; end class EntityIdentifier < CedarTagValue; end class Long < CedarTagValue; end class String < CedarTagValue; end class Set < CedarTagValue; end class Record < CedarTagValue; end class Ipaddr < CedarTagValue; end class Decimal < CedarTagValue; end class Datetime < CedarTagValue; end class Duration < CedarTagValue; end class Unknown < CedarTagValue; end end |
#string ⇒ String
A Cedar tag value of String type.
Example: {"string": "abc"}
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 770 class CedarTagValue < Struct.new( :boolean, :entity_identifier, :long, :string, :set, :record, :ipaddr, :decimal, :datetime, :duration, :unknown) SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration] include Aws::Structure include Aws::Structure::Union class Boolean < CedarTagValue; end class EntityIdentifier < CedarTagValue; end class Long < CedarTagValue; end class String < CedarTagValue; end class Set < CedarTagValue; end class Record < CedarTagValue; end class Ipaddr < CedarTagValue; end class Decimal < CedarTagValue; end class Datetime < CedarTagValue; end class Duration < CedarTagValue; end class Unknown < CedarTagValue; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
770 771 772 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 770 def unknown @unknown end |