class Aws::CloudDirectory::Types::AttachPolicyRequest

@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",
      },
    }

@!attribute [rw] directory_arn

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

@!attribute [rw] policy_reference

The reference that is associated with the policy object.
@return [Types::ObjectReference]

@!attribute [rw] object_reference

The reference that identifies the object to which the policy will be
attached.
@return [Types::ObjectReference]

@see docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachPolicyRequest AWS API Documentation

Constants

SENSITIVE