Class: Aws::VerifiedPermissions::Types::UpdatePolicyTemplateInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::UpdatePolicyTemplateInput
- Defined in:
- gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:description, :statement]
Instance Attribute Summary collapse
-
#description ⇒ String
Specifies a new description to apply to the policy template.
-
#policy_store_id ⇒ String
Specifies the ID of the policy store that contains the policy template that you want to update.
-
#policy_template_id ⇒ String
Specifies the ID of the policy template that you want to update.
-
#statement ⇒ String
Specifies new statement content written in Cedar policy language to replace the current body of the policy template.
Instance Attribute Details
#description ⇒ String
Specifies a new description to apply to the policy template.
4281 4282 4283 4284 4285 4286 4287 4288 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 4281 class UpdatePolicyTemplateInput < Struct.new( :policy_store_id, :policy_template_id, :description, :statement) SENSITIVE = [:description, :statement] include Aws::Structure end |
#policy_store_id ⇒ String
Specifies the ID of the policy store that contains the policy template that you want to update.
4281 4282 4283 4284 4285 4286 4287 4288 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 4281 class UpdatePolicyTemplateInput < Struct.new( :policy_store_id, :policy_template_id, :description, :statement) SENSITIVE = [:description, :statement] include Aws::Structure end |
#policy_template_id ⇒ String
Specifies the ID of the policy template that you want to update.
4281 4282 4283 4284 4285 4286 4287 4288 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 4281 class UpdatePolicyTemplateInput < Struct.new( :policy_store_id, :policy_template_id, :description, :statement) SENSITIVE = [:description, :statement] include Aws::Structure end |
#statement ⇒ String
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
orunless
clauses.
You can't change the following elements:
The effect (
permit
orforbid
) of the policy template.The
principal
referenced by the policy template.The
resource
referenced by the policy template.
4281 4282 4283 4284 4285 4286 4287 4288 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 4281 class UpdatePolicyTemplateInput < Struct.new( :policy_store_id, :policy_template_id, :description, :statement) SENSITIVE = [:description, :statement] include Aws::Structure end |