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

AddLayerVersionPermissionRequest

import type { AddLayerVersionPermissionRequest } from "https://aws-api.deno.dev/v0.4/services/lambda.ts?docs=full";
interface AddLayerVersionPermissionRequest {
Action: string;
LayerName: string;
OrganizationId?: string | null;
Principal: string;
RevisionId?: string | null;
StatementId: string;
VersionNumber: number;
}

§Properties

§
Action: string
[src]

The API action that grants access to the layer. For example, lambda:GetLayerVersion.

§
LayerName: string
[src]

The name or Amazon Resource Name (ARN) of the layer.

§
OrganizationId?: string | null
[src]

With the principal set to *, grant permission to all accounts in the specified organization.

§
Principal: string
[src]

An account ID, or * to grant layer usage permission to all accounts in an organization, or all Amazon Web Services accounts (if organizationId is not specified). For the last case, make sure that you really do want all Amazon Web Services accounts to have usage permission to this layer.

§
RevisionId?: string | null
[src]

Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.

§
StatementId: string
[src]

An identifier that distinguishes the policy from others on the same layer version.

§
VersionNumber: number
[src]

The version number.