Class: Aws::Schemas::Types::PutResourcePolicyInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-schemas/lib/aws-sdk-schemas/types.rb

Overview

Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

The resource-based policy.

Returns:

  • (String)


1506
1507
1508
1509
1510
1511
# File 'gems/aws-sdk-schemas/lib/aws-sdk-schemas/types.rb', line 1506

class PutResourcePolicyInput < Struct.new(
  :policy,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#revision_idString

The revision ID of the policy.

Returns:

  • (String)


1506
1507
1508
1509
1510
1511
# File 'gems/aws-sdk-schemas/lib/aws-sdk-schemas/types.rb', line 1506

class PutResourcePolicyInput < Struct.new(
  :policy,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end