import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * An example resource schema demonstrating some basic constructs and validation rules. */ export declare class Grant extends pulumi.CustomResource { /** * Get an existing Grant resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Grant; /** * Returns true if the given object is an instance of Grant. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Grant; /** * Allowed operations for the grant. */ readonly allowedOperations: pulumi.Output; /** * Arn of the grant. */ readonly grantArn: pulumi.Output; /** * Name for the created Grant. */ readonly grantName: pulumi.Output; /** * Home region for the created grant. */ readonly homeRegion: pulumi.Output; /** * License Arn for the grant. */ readonly licenseArn: pulumi.Output; /** * The grant principals. You can specify one of the following as an Amazon Resource Name (ARN): * * - An AWS account, which includes only the account specified. * * - An organizational unit (OU), which includes all accounts in the OU. * * - An organization, which will include all accounts across your organization. */ readonly principals: pulumi.Output; /** * Granted license status. */ readonly status: pulumi.Output; /** * A list of tags to attach. */ readonly tags: pulumi.Output; /** * The version of the grant. */ readonly version: pulumi.Output; /** * Create a Grant resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: GrantArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Grant resource. */ export interface GrantArgs { /** * Allowed operations for the grant. */ allowedOperations?: pulumi.Input[]>; /** * Name for the created Grant. */ grantName?: pulumi.Input; /** * Home region for the created grant. */ homeRegion?: pulumi.Input; /** * License Arn for the grant. */ licenseArn?: pulumi.Input; /** * The grant principals. You can specify one of the following as an Amazon Resource Name (ARN): * * - An AWS account, which includes only the account specified. * * - An organizational unit (OU), which includes all accounts in the OU. * * - An organization, which will include all accounts across your organization. */ principals?: pulumi.Input[]>; /** * Granted license status. */ status?: pulumi.Input; /** * A list of tags to attach. */ tags?: pulumi.Input[]>; }