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

Policy

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

Contains information about a managed policy.

This data type is used as a response element in the "CreatePolicy", "GetPolicy", and "ListPolicies" operations.

For more information about managed policies, refer to Managed policies and inline policies in the IAM User Guide.

interface Policy {
Arn?: string | null;
AttachmentCount?: number | null;
CreateDate?: Date | number | null;
DefaultVersionId?: string | null;
Description?: string | null;
IsAttachable?: boolean | null;
Path?: string | null;
PermissionsBoundaryUsageCount?: number | null;
PolicyId?: string | null;
PolicyName?: string | null;
Tags: Tag[];
UpdateDate?: Date | number | null;
}

§Properties

§
Arn?: string | null
[src]
§
AttachmentCount?: number | null
[src]

The number of entities (users, groups, and roles) that the policy is attached to.

§
CreateDate?: Date | number | null
[src]

The date and time, in ISO 8601 date-time format, when the policy was created.

§
DefaultVersionId?: string | null
[src]

The identifier for the version of the policy that is set as the default version.

§
Description?: string | null
[src]

A friendly description of the policy.

This element is included in the response to the "GetPolicy" operation. It is not included in the response to the "ListPolicies" operation.

§
IsAttachable?: boolean | null
[src]

Specifies whether the policy can be attached to an IAM user, group, or role.

§
Path?: string | null
[src]

The path to the policy.

For more information about paths, see IAM identifiers in the IAM User Guide.

§
PermissionsBoundaryUsageCount?: number | null
[src]

The number of entities (users and roles) for which the policy is used to set the permissions boundary.

For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.

§
PolicyId?: string | null
[src]

The stable and unique string identifying the policy.

For more information about IDs, see IAM identifiers in the IAM User Guide.

§
PolicyName?: string | null
[src]

The friendly name (not ARN) identifying the policy.

§
Tags: Tag[]
[src]

A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

§
UpdateDate?: Date | number | null
[src]

The date and time, in ISO 8601 date-time format, when the policy was last updated.

When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.