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

GetRolePolicyResponse

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

Contains the response to a successful "GetRolePolicy" request.

interface GetRolePolicyResponse {
PolicyDocument: string;
PolicyName: string;
RoleName: string;
}

§Properties

§
PolicyDocument: string
[src]

The policy document.

IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

§
PolicyName: string
[src]

The name of the policy.

§
RoleName: string
[src]

The role the policy is associated with.