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

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
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. To delete the schema, run [PutSchema] with ‘{}` for this parameter. For more information, see [Policy store schema] in the *Amazon Verified Permissions User Guide*.

[1]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_PutSchema.html [2]: docs.aws.amazon.com/verifiedpermissions/latest/userguide/schema.html

Returns:

  • (String)


3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 3632

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



3632
3633
3634
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 3632

def unknown
  @unknown
end