Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PutResourcePolicyRequest

import type { PutResourcePolicyRequest } from "https://aws-api.deno.dev/v0.3/services/glue.ts?docs=full";
interface PutResourcePolicyRequest {
EnableHybrid?: EnableHybridValues | null;
PolicyExistsCondition?: ExistCondition | null;
PolicyHashCondition?: string | null;
PolicyInJson: string;
ResourceArn?: string | null;
}

§Properties

§
EnableHybrid?: EnableHybridValues | null
[src]

If 'TRUE', indicates that you are using both methods to grant cross-account access to Data Catalog resources:

  • By directly updating the resource policy with PutResourePolicy
  • By using the Grant permissions command on the Amazon Web Services Management Console.

Must be set to 'TRUE' if you have already used the Management Console to grant cross-account access, otherwise the call fails. Default is 'FALSE'.

§
PolicyExistsCondition?: ExistCondition | null
[src]

A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is used to create a new policy. If a value of NONE or a null value is used, the call does not depend on the existence of a policy.

§
PolicyHashCondition?: string | null
[src]

The hash value returned when the previous policy was set using PutResourcePolicy. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.

§
PolicyInJson: string
[src]

Contains the policy document to set, in JSON format.

§
ResourceArn?: string | null
[src]

Do not use. For internal use only.