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

CreatePolicyRequest

import type { CreatePolicyRequest } from "https://aws-api.deno.dev/v0.3/services/iot.ts?docs=full";

The input for the CreatePolicy operation.

interface CreatePolicyRequest {
policyDocument: string;
policyName: string;
tags?: Tag[] | null;
}

§Properties

§
policyDocument: string
[src]

The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.

§
policyName: string
[src]

The policy name.

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

Metadata which can be used to manage the policy.

Note: For URI Request parameters use format: ...key1=value1&key2=value2... For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..." For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."