AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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.

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

The resource-based policy.

Returns:

  • (String)

    The resource-based policy.

#revision_idString

The revision ID of the policy.

Returns:

  • (String)

    The revision ID of the policy.