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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-verifiedpermissions/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)


3425
3426
3427
3428
3429
3430
3431
3432
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3425

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)


3425
3426
3427
3428
3429
3430
3431
3432
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3425

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)


3425
3426
3427
3428
3429
3430
3431
3432
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3425

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)


3425
3426
3427
3428
3429
3430
3431
3432
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3425

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