Class: Aws::VerifiedPermissions::Types::SchemaDefinition

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

Overview

Note:

SchemaDefinition is a union - when making an API calls you must set exactly one of the members.

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.

Direct Known Subclasses

CedarJson, Unknown

Defined Under Namespace

Classes: CedarJson, Unknown

Constant Summary collapse

SENSITIVE =
[:cedar_json]

Instance Attribute Summary collapse

Instance Attribute Details

#cedar_jsonString

A JSON string representation of the schema supported by applications that use this policy store. For more information, see Policy store schema in the Amazon Verified Permissions User Guide.

Returns:

  • (String)


2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2823

class SchemaDefinition < Struct.new(
  :cedar_json,
  :unknown)
  SENSITIVE = [:cedar_json]
  include Aws::Structure
  include Aws::Structure::Union

  class CedarJson < SchemaDefinition; end
  class Unknown < SchemaDefinition; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2823
2824
2825
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2823

def unknown
  @unknown
end