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

Class: Aws::CloudDirectory::Types::AttachPolicyRequest

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 AttachPolicyRequest data as a hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#directory_arnString

The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.

Returns:

  • (String)


201
202
203
204
205
206
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 201

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

#object_referenceTypes::ObjectReference

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



201
202
203
204
205
206
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 201

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

#policy_referenceTypes::ObjectReference

The reference that is associated with the policy object.



201
202
203
204
205
206
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 201

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