import * as pulumi from "@pulumi/pulumi"; /** * Manages UXC Account Customizations for an AWS Account. This resource controls the console experience for the account, including the account color and which AWS regions and services are visible in the AWS Management Console. * * > **Note:** There is only a single set of account customizations per AWS account. * * > **Note:** This resource operates globally and always targets the `us-east-1` region regardless of the provider region configuration. * * > **Note:** The UXC API does not provide a delete operation. Destroying this resource resets all customizations to their defaults: `accountColor` is set to `none`, and both `visibleRegions` and `visibleServices` are cleared to allow all regions and services. * * ## Example Usage * * ### Set Account Color * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.uxc.AccountCustomizations("example", {accountColor: "lightBlue"}); * ``` * * ### Restrict Visible Regions and Services * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.uxc.AccountCustomizations("example", { * accountColor: "green", * visibleRegions: [ * "us-east-1", * "us-west-2", * "eu-west-1", * ], * visibleServices: [ * "ec2", * "s3", * "rds", * ], * }); * ``` * * ## Import * * ### Identity Schema * * #### Optional * * * `accountId` (String) Account ID where this resource is managed. * * Using `pulumi import`, import UXC Account Customizations using the AWS account ID. For example: * * ```sh * $ pulumi import aws:uxc/accountCustomizations:AccountCustomizations example 123456789012 * ``` */ export declare class AccountCustomizations extends pulumi.CustomResource { /** * Get an existing AccountCustomizations 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?: AccountCustomizationsState, opts?: pulumi.CustomResourceOptions): AccountCustomizations; /** * Returns true if the given object is an instance of AccountCustomizations. 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 AccountCustomizations; /** * Color used to identify the account in the AWS Management Console. Valid values are `none`, `red`, `darkBlue`, `lightBlue`, `green`, `yellow`, `orange`, `pink`, `purple`, and `teal`. Defaults to `none`. */ readonly accountColor: pulumi.Output; /** * Set of AWS region codes to display in the console. When omitted or empty, all regions are visible. */ readonly visibleRegions: pulumi.Output; /** * Set of AWS service identifiers to display in the console. When omitted or empty, all services are visible. */ readonly visibleServices: pulumi.Output; /** * Create a AccountCustomizations 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?: AccountCustomizationsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AccountCustomizations resources. */ export interface AccountCustomizationsState { /** * Color used to identify the account in the AWS Management Console. Valid values are `none`, `red`, `darkBlue`, `lightBlue`, `green`, `yellow`, `orange`, `pink`, `purple`, and `teal`. Defaults to `none`. */ accountColor?: pulumi.Input; /** * Set of AWS region codes to display in the console. When omitted or empty, all regions are visible. */ visibleRegions?: pulumi.Input[] | undefined>; /** * Set of AWS service identifiers to display in the console. When omitted or empty, all services are visible. */ visibleServices?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a AccountCustomizations resource. */ export interface AccountCustomizationsArgs { /** * Color used to identify the account in the AWS Management Console. Valid values are `none`, `red`, `darkBlue`, `lightBlue`, `green`, `yellow`, `orange`, `pink`, `purple`, and `teal`. Defaults to `none`. */ accountColor?: pulumi.Input; /** * Set of AWS region codes to display in the console. When omitted or empty, all regions are visible. */ visibleRegions?: pulumi.Input[] | undefined>; /** * Set of AWS service identifiers to display in the console. When omitted or empty, all services are visible. */ visibleServices?: pulumi.Input[] | undefined>; } //# sourceMappingURL=accountCustomizations.d.ts.map