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

CustomPolicyDetails

import type { CustomPolicyDetails } from "https://aws-api.deno.dev/v0.4/services/configservice.ts?docs=full";

Provides the runtime system, policy definition, and whether debug logging enabled. You can specify the following CustomPolicyDetails parameter values only for Config Custom Policy rules.

interface CustomPolicyDetails {
EnableDebugLogDelivery?: boolean | null;
PolicyRuntime: string;
PolicyText: string;
}

§Properties

§
EnableDebugLogDelivery?: boolean | null
[src]

The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is false.

§
PolicyRuntime: string
[src]

The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.

§
PolicyText: string
[src]

The policy definition containing the logic for your Config Custom Policy rule.