Class: Aws::VerifiedPermissions::Types::IsAuthorizedInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionTypes::ActionIdentifier

Specifies the requested action to be authorized. For example, is the principal authorized to perform this action on the resource?



2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2502

class IsAuthorizedInput < Struct.new(
  :policy_store_id,
  :principal,
  :action,
  :resource,
  :context,
  :entities)
  SENSITIVE = []
  include Aws::Structure
end

#contextTypes::ContextDefinition

Specifies additional context that can be used to make more granular authorization decisions.



2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2502

class IsAuthorizedInput < Struct.new(
  :policy_store_id,
  :principal,
  :action,
  :resource,
  :context,
  :entities)
  SENSITIVE = []
  include Aws::Structure
end

#entitiesTypes::EntitiesDefinition

(Optional) Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies. These additional entities and their attributes can be referenced and checked by conditional elements in the policies in the specified policy store.

<note markdown=“1”> You can include only principal and resource entities in this parameter; you can’t include actions. You must specify actions in the schema.

</note>


2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2502

class IsAuthorizedInput < Struct.new(
  :policy_store_id,
  :principal,
  :action,
  :resource,
  :context,
  :entities)
  SENSITIVE = []
  include Aws::Structure
end

#policy_store_idString

Specifies the ID of the policy store. Policies in this policy store will be used to make an authorization decision for the input.

Returns:

  • (String)


2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2502

class IsAuthorizedInput < Struct.new(
  :policy_store_id,
  :principal,
  :action,
  :resource,
  :context,
  :entities)
  SENSITIVE = []
  include Aws::Structure
end

#principalTypes::EntityIdentifier

Specifies the principal for which the authorization decision is to be made.



2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2502

class IsAuthorizedInput < Struct.new(
  :policy_store_id,
  :principal,
  :action,
  :resource,
  :context,
  :entities)
  SENSITIVE = []
  include Aws::Structure
end

#resourceTypes::EntityIdentifier

Specifies the resource for which the authorization decision is to be made.



2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2502

class IsAuthorizedInput < Struct.new(
  :policy_store_id,
  :principal,
  :action,
  :resource,
  :context,
  :entities)
  SENSITIVE = []
  include Aws::Structure
end