Class: Aws::VerifiedPermissions::Types::UpdateStaticPolicyDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::UpdateStaticPolicyDefinition
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-verifiedpermissions/types.rb
Overview
Contains information about an update to a static policy.
Constant Summary collapse
- SENSITIVE =
[:description, :statement]
Instance Attribute Summary collapse
-
#description ⇒ String
Specifies the description to be added to or replaced on the static policy.
-
#statement ⇒ String
Specifies the Cedar policy language text to be added to or replaced on the static policy.
Instance Attribute Details
#description ⇒ String
Specifies the description to be added to or replaced on the static policy.
4505 4506 4507 4508 4509 4510 |
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 4505 class UpdateStaticPolicyDefinition < Struct.new( :description, :statement) SENSITIVE = [:description, :statement] include Aws::Structure end |
#statement ⇒ String
Specifies the Cedar policy language text to be added to or replaced on the static policy.
You can change only the following elements from the original content:
* The `action` referenced by the policy.
-
Any conditional clauses, such as ‘when` or `unless` clauses.
You **can't** change the following elements:
* Changing from `StaticPolicy` to `TemplateLinkedPolicy`.
-
The effect (‘permit` or `forbid`) of the policy.
-
The ‘principal` referenced by the policy.
-
The ‘resource` referenced by the policy.
4505 4506 4507 4508 4509 4510 |
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 4505 class UpdateStaticPolicyDefinition < Struct.new( :description, :statement) SENSITIVE = [:description, :statement] include Aws::Structure end |