import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing AWS User Notifications Organizations Access. This resource enables or disables organizations access for AWS User Notifications in AWS Organizations, allowing the service to access organization information. * * > **NOTE:** This resource can only be used in the management account of an AWS Organization. * * > **NOTE:** Deleting this resource will always disable organizations access for AWS User Notifications, regardless of the `enabled` attribute value. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.notifications.OrganizationsAccess("example", {enabled: true}); * ``` * * ## Import * * Using `pulumi import`, import User Notifications Organizations Access using the AWS account ID. For example: * * ```sh * $ pulumi import aws:notifications/organizationsAccess:OrganizationsAccess example 123456789012 * ``` */ export declare class OrganizationsAccess extends pulumi.CustomResource { /** * Get an existing OrganizationsAccess 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OrganizationsAccessState, opts?: pulumi.CustomResourceOptions): OrganizationsAccess; /** * Returns true if the given object is an instance of OrganizationsAccess. 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 OrganizationsAccess; /** * Whether to enable organizations access for AWS User Notifications in AWS Organizations. When set to `true`, enables organizations access. When set to `false`, disables organizations access. */ readonly enabled: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a OrganizationsAccess 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: OrganizationsAccessArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OrganizationsAccess resources. */ export interface OrganizationsAccessState { /** * Whether to enable organizations access for AWS User Notifications in AWS Organizations. When set to `true`, enables organizations access. When set to `false`, disables organizations access. */ enabled?: pulumi.Input; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a OrganizationsAccess resource. */ export interface OrganizationsAccessArgs { /** * Whether to enable organizations access for AWS User Notifications in AWS Organizations. When set to `true`, enables organizations access. When set to `false`, disables organizations access. */ enabled: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=organizationsAccess.d.ts.map