Class: Aws::VerifiedPermissions::Types::PolicyItem

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

Overview

Contains information about a policy.

This data type is used as a response parameter for the ListPolicies operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<Types::ActionIdentifier>

The action that a policy permits or forbids. For example, \{"actions": [\{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"\}, \{"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"\}]\}.

Returns:



3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3267

class PolicyItem < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#created_dateTime

The date and time the policy was created.

Returns:

  • (Time)


3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3267

class PolicyItem < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#definitionTypes::PolicyDefinitionItem

The policy definition of an item in the list of policies returned.



3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3267

class PolicyItem < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#effectString

The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".

Returns:

  • (String)


3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3267

class PolicyItem < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_dateTime

The date and time the policy was most recently updated.

Returns:

  • (Time)


3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3267

class PolicyItem < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#policy_idString

The identifier of the policy you want information about.

Returns:

  • (String)


3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3267

class PolicyItem < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#policy_store_idString

The identifier of the PolicyStore where the policy you want information about is stored.

Returns:

  • (String)


3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3267

class PolicyItem < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#policy_typeString

The type of the policy. This is one of the following values:

  • STATIC

  • TEMPLATE_LINKED

Returns:

  • (String)


3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3267

class PolicyItem < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#principalTypes::EntityIdentifier

The principal associated with the policy.



3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3267

class PolicyItem < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#resourceTypes::EntityIdentifier

The resource associated with the policy.



3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3267

class PolicyItem < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end