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.4/services/organizations.ts?docs=full";
interface PutResourcePolicyRequest {
Content: string;
Tags?: Tag[] | null;
}

§Properties

§
Content: string
[src]

If provided, the new content for the resource policy. The text must be correctly formatted JSON that complies with the syntax for the resource policy's type. For more information, see Service Control Policy Syntax in the Organizations User Guide.

§
Tags?: Tag[] | null
[src]

Updates the list of tags that you want to attach to the newly-created resource policy. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging Organizations resources in the Organizations User Guide.

Note: Calls with tags apply to the initial creation of the resource policy, otherwise an exception is thrown. If any one of the tags is invalid or if you exceed the allowed number of tags for the resource policy, then the entire request fails and the resource policy is not created.