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

CreatePolicyVersionRequest

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

The input for the CreatePolicyVersion operation.

interface CreatePolicyVersionRequest {
policyDocument: string;
policyName: string;
setAsDefault?: boolean | null;
}

§Properties

§
policyDocument: string
[src]

The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.

§
policyName: string
[src]

The policy name.

§
setAsDefault?: boolean | null
[src]

Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached).