Parameters for the policies.create operation.

interface CreatePolicyParams {
    action: string;
    effect: string;
    headers?: OutgoingHttpHeaders;
    resource: string;
    signal?: AbortSignal;
    subject: string;
}

Hierarchy (view full)

Properties

action: string

The action to perform on the policy, either read or write.

effect: string

The effect that the policy is to have, either allow or deny.

headers?: OutgoingHttpHeaders
resource: string

The resource ID that the policy affects.

signal?: AbortSignal
subject: string

The subject that the policy pertains to.