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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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)


1278
1279
1280
1281
1282
1283
# File 'lib/aws-sdk-schemas/types.rb', line 1278

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

#revision_idString

The revision ID of the policy.

Returns:

  • (String)


1278
1279
1280
1281
1282
1283
# File 'lib/aws-sdk-schemas/types.rb', line 1278

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