Class: Aws::VerifiedPermissions::Types::UpdatePolicyTemplateInput

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

Overview

Constant Summary collapse

SENSITIVE =
[:description, :statement]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

Specifies a new description to apply to the policy template.

Returns:

  • (String)


4436
4437
4438
4439
4440
4441
4442
4443
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 4436

class UpdatePolicyTemplateInput < Struct.new(
  :policy_store_id,
  :policy_template_id,
  :description,
  :statement)
  SENSITIVE = [:description, :statement]
  include Aws::Structure
end

#policy_store_idString

Specifies the ID of the policy store that contains the policy template that you want to update.

Returns:

  • (String)


4436
4437
4438
4439
4440
4441
4442
4443
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 4436

class UpdatePolicyTemplateInput < Struct.new(
  :policy_store_id,
  :policy_template_id,
  :description,
  :statement)
  SENSITIVE = [:description, :statement]
  include Aws::Structure
end

#policy_template_idString

Specifies the ID of the policy template that you want to update.

Returns:

  • (String)


4436
4437
4438
4439
4440
4441
4442
4443
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 4436

class UpdatePolicyTemplateInput < Struct.new(
  :policy_store_id,
  :policy_template_id,
  :description,
  :statement)
  SENSITIVE = [:description, :statement]
  include Aws::Structure
end

#statementString

Specifies new statement content written in Cedar policy language to replace the current body of the policy template.

You can change only the following elements of the policy body:

  • The ‘action` referenced by the policy template.

  • Any conditional clauses, such as ‘when` or `unless` clauses.

You **can’t** change the following elements:

  • The effect (‘permit` or `forbid`) of the policy template.

  • The ‘principal` referenced by the policy template.

  • The ‘resource` referenced by the policy template.

Returns:

  • (String)


4436
4437
4438
4439
4440
4441
4442
4443
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 4436

class UpdatePolicyTemplateInput < Struct.new(
  :policy_store_id,
  :policy_template_id,
  :description,
  :statement)
  SENSITIVE = [:description, :statement]
  include Aws::Structure
end