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

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

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

Overview

Note:

When passing AttachPolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  directory_arn: "Arn", # required
  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)

    The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside.

#object_referenceTypes::ObjectReference

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

Returns:

#policy_referenceTypes::ObjectReference

The reference that is associated with the policy object.

Returns: