Class: Aws::VerifiedPermissions::Types::UpdatePolicyInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::UpdatePolicyInput
- Defined in:
- gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#definition ⇒ Types::UpdatePolicyDefinition
Specifies the updated policy content that you want to replace on the specified policy.
-
#policy_id ⇒ String
Specifies the ID of the policy that you want to update.
-
#policy_store_id ⇒ String
Specifies the ID of the policy store that contains the policy that you want to update.
Instance Attribute Details
#definition ⇒ Types::UpdatePolicyDefinition
Specifies the updated policy content that you want to replace on the specified policy. The content must be valid Cedar policy language text.
You can change only the following elements from the policy definition:
The
actionreferenced by the policy.Any conditional clauses, such as
whenorunlessclauses.
You can't change the following elements:
Changing from
statictotemplateLinked.Changing the effect of the policy from
permitorforbid.The
principalreferenced by the policy.The
resourcereferenced by the policy.
4643 4644 4645 4646 4647 4648 4649 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 4643 class UpdatePolicyInput < Struct.new( :policy_store_id, :policy_id, :definition) SENSITIVE = [] include Aws::Structure end |
#policy_id ⇒ String
Specifies the ID of the policy that you want to update. To find this value, you can use ListPolicies.
4643 4644 4645 4646 4647 4648 4649 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 4643 class UpdatePolicyInput < Struct.new( :policy_store_id, :policy_id, :definition) SENSITIVE = [] include Aws::Structure end |
#policy_store_id ⇒ String
Specifies the ID of the policy store that contains the policy that you want to update.
4643 4644 4645 4646 4647 4648 4649 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 4643 class UpdatePolicyInput < Struct.new( :policy_store_id, :policy_id, :definition) SENSITIVE = [] include Aws::Structure end |