Class: AWSCDK::Verifiedpermissions::CfnPolicyStore::SchemaDefinitionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Verifiedpermissions::CfnPolicyStore::SchemaDefinitionProperty
- Defined in:
- verifiedpermissions/cfn_policy_store.rb
Overview
Contains a list of principal types, resource types, and actions that can be specified in policies stored in the same policy store.
If the validation mode for the policy store is set to STRICT , then policies that can't be validated by this schema are rejected by Verified Permissions and can't be stored in the policy store.
Instance Attribute Summary collapse
-
#cedar_json ⇒ String?
readonly
A JSON string representation of the schema supported by applications that use this policy store.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cedar_json: nil) ⇒ SchemaDefinitionProperty
constructor
A new instance of SchemaDefinitionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cedar_json: nil) ⇒ SchemaDefinitionProperty
Returns a new instance of SchemaDefinitionProperty.
814 815 816 817 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 814 def initialize(cedar_json: nil) @cedar_json = cedar_json Jsii::Type.check_type(@cedar_json, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cedarJson") unless @cedar_json.nil? end |
Instance Attribute Details
#cedar_json ⇒ String? (readonly)
A JSON string representation of the schema supported by applications that use this policy store.
For more information, see Policy store schema in the AVP User Guide.
825 826 827 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 825 def cedar_json @cedar_json end |
Class Method Details
.jsii_properties ⇒ Object
827 828 829 830 831 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 827 def self.jsii_properties { :cedar_json => "cedarJson", } end |
Instance Method Details
#to_jsii ⇒ Object
833 834 835 836 837 838 839 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 833 def to_jsii result = {} result.merge!({ "cedarJson" => @cedar_json, }) result.compact end |