UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

54 lines (53 loc) 3.12 kB
import * as pulumi from "@pulumi/pulumi"; import * as enums from "../types/enums"; /** * The ``AWS::SecurityHub::DelegatedAdmin`` resource designates the delegated ASHlong administrator account for an organization. You must enable the integration between ASH and AOlong before you can designate a delegated ASH administrator. Only the management account for an organization can designate the delegated ASH administrator account. For more information, see [Designating the delegated administrator](https://docs.aws.amazon.com/securityhub/latest/userguide/designate-orgs-admin-account.html#designate-admin-instructions) in the *User Guide*. * To change the delegated administrator account, remove the current delegated administrator account, and then designate the new account. * To designate multiple delegated administrators in different organizations and AWS-Regions, we recommend using [mappings](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/mappings-section-structure.html). * Tags aren't supported for this resource. */ export declare class DelegatedAdmin extends pulumi.CustomResource { /** * Get an existing DelegatedAdmin 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<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DelegatedAdmin; /** * Returns true if the given object is an instance of DelegatedAdmin. 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 DelegatedAdmin; /** * The AWS-account identifier of the account to designate as the Security Hub administrator account. */ readonly adminAccountId: pulumi.Output<string>; /** * The ID of the delegated Security Hub CSPM administrator account, in the format of `accountID/Region` . */ readonly delegatedAdminIdentifier: pulumi.Output<string>; /** * Whether the delegated Security Hub CSPM administrator is set for the organization. */ readonly status: pulumi.Output<enums.securityhub.DelegatedAdminStatus>; /** * Create a DelegatedAdmin 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: DelegatedAdminArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DelegatedAdmin resource. */ export interface DelegatedAdminArgs { /** * The AWS-account identifier of the account to designate as the Security Hub administrator account. */ adminAccountId: pulumi.Input<string>; }