Class: Aws::VerifiedPermissions::Types::UpdateStaticPolicyDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::UpdateStaticPolicyDefinition
- Defined in:
- gems/aws-sdk-verifiedpermissions/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.
4350 4351 4352 4353 4354 4355 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 4350 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
orunless
clauses.
You can't change the following elements:
Changing from
StaticPolicy
toTemplateLinkedPolicy
.The effect (
permit
orforbid
) of the policy.The
principal
referenced by the policy.The
resource
referenced by the policy.
4350 4351 4352 4353 4354 4355 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 4350 class UpdateStaticPolicyDefinition < Struct.new( :description, :statement) SENSITIVE = [:description, :statement] include Aws::Structure end |