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", # required
  policy_reference: { # required
    selector: "SelectorObjectReference",
  },
  object_reference: { # required
    selector: "SelectorObjectReference",
  },
}

Constant Summary collapse

SENSITIVE =
[]

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)


223
224
225
226
227
228
229
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 223

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

#object_referenceTypes::ObjectReference

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



223
224
225
226
227
228
229
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 223

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

#policy_referenceTypes::ObjectReference

The reference that is associated with the policy object.



223
224
225
226
227
228
229
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 223

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