Class: Aws::VerifiedPermissions::Types::UpdatePolicyTemplateInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::UpdatePolicyTemplateInput
- Includes:
- Structure
- Defined in:
- 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.
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_id ⇒ String
Specifies the ID of the policy store that contains the policy template that you want to update.
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_id ⇒ String
Specifies the ID of the policy template that you want to update.
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 |
#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` 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.
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 |