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

CreateResourcePolicyRequest

import type { CreateResourcePolicyRequest } from "https://aws-api.deno.dev/v0.4/services/lexmodelsv2.ts?docs=full";
interface CreateResourcePolicyRequest {
policy: string;
resourceArn: string;
}

§Properties

§
policy: string
[src]

A resource policy to add to the resource. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see IAM JSON policy reference.

If the policy isn't valid, Amazon Lex returns a validation exception.

§
resourceArn: string
[src]

The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.