UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

46 lines (45 loc) 1.46 kB
import * as pulumi from "@pulumi/pulumi"; /** * Data source for managing an AWS Organizations Policies. * * ## Example Usage */ export declare function getPolicies(args: GetPoliciesArgs, opts?: pulumi.InvokeOptions): Promise<GetPoliciesResult>; /** * A collection of arguments for invoking getPolicies. */ export interface GetPoliciesArgs { /** * The type of policies to be returned in the response. Valid values are `AISERVICES_OPT_OUT_POLICY | BACKUP_POLICY | RESOURCE_CONTROL_POLICY | SERVICE_CONTROL_POLICY | TAG_POLICY` */ filter: string; } /** * A collection of values returned by getPolicies. */ export interface GetPoliciesResult { readonly filter: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of all the policy ids found. */ readonly ids: string[]; } /** * Data source for managing an AWS Organizations Policies. * * ## Example Usage */ export declare function getPoliciesOutput(args: GetPoliciesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPoliciesResult>; /** * A collection of arguments for invoking getPolicies. */ export interface GetPoliciesOutputArgs { /** * The type of policies to be returned in the response. Valid values are `AISERVICES_OPT_OUT_POLICY | BACKUP_POLICY | RESOURCE_CONTROL_POLICY | SERVICE_CONTROL_POLICY | TAG_POLICY` */ filter: pulumi.Input<string>; }