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

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


3494
3495
3496
3497
3498
3499
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3494

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)


3494
3495
3496
3497
3498
3499
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3494

class UpdateStaticPolicyDefinition < Struct.new(
  :description,
  :statement)
  SENSITIVE = [:description, :statement]
  include Aws::Structure
end