Class: Aws::VerifiedPermissions::Types::UpdateStaticPolicyDefinition

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#descriptionString

Specifies the description to be added to or replaced on the static policy.

Returns:

  • (String)


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

#statementString

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.

Returns:

  • (String)


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