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

Class: Aws::CloudDirectory::Types::BatchAttachPolicy

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

Overview

Note:

When making an API call, you may pass BatchAttachPolicy data as a hash:

{
  policy_reference: { # required
    selector: "SelectorObjectReference",
  },
  object_reference: { # required
    selector: "SelectorObjectReference",
  },
}

Attaches a policy object to a regular object inside a BatchRead operation. For more information, see AttachPolicy and BatchReadRequest$Operations.

Instance Attribute Summary collapse

Instance Attribute Details

#object_referenceTypes::ObjectReference

The reference that identifies the object to which the policy will be attached.



565
566
567
568
569
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 565

class BatchAttachPolicy < Struct.new(
  :policy_reference,
  :object_reference)
  include Aws::Structure
end

#policy_referenceTypes::ObjectReference

The reference that is associated with the policy object.



565
566
567
568
569
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 565

class BatchAttachPolicy < Struct.new(
  :policy_reference,
  :object_reference)
  include Aws::Structure
end