@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
69 lines (68 loc) • 3.16 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a resource to associate/disassociate an AWS Firewall Manager administrator account. This operation must be performed in the `us-east-1` region.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = new aws.fms.AdminAccount("example", {});
* ```
*
* ## Import
*
* Using `pulumi import`, import Firewall Manager administrator account association using the account ID. For example:
*
* ```sh
* $ pulumi import aws:fms/adminAccount:AdminAccount example 123456789012
* ```
*/
export declare class AdminAccount extends pulumi.CustomResource {
/**
* Get an existing AdminAccount 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<pulumi.ID>, state?: AdminAccountState, opts?: pulumi.CustomResourceOptions): AdminAccount;
/**
* Returns true if the given object is an instance of AdminAccount. 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 AdminAccount;
/**
* The AWS account ID to associate with AWS Firewall Manager as the AWS Firewall Manager administrator account. This can be an AWS Organizations master account or a member account. Defaults to the current account. Must be configured to perform drift detection.
*/
readonly accountId: pulumi.Output<string>;
/**
* Create a AdminAccount 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?: AdminAccountArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering AdminAccount resources.
*/
export interface AdminAccountState {
/**
* The AWS account ID to associate with AWS Firewall Manager as the AWS Firewall Manager administrator account. This can be an AWS Organizations master account or a member account. Defaults to the current account. Must be configured to perform drift detection.
*/
accountId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a AdminAccount resource.
*/
export interface AdminAccountArgs {
/**
* The AWS account ID to associate with AWS Firewall Manager as the AWS Firewall Manager administrator account. This can be an AWS Organizations master account or a member account. Defaults to the current account. Must be configured to perform drift detection.
*/
accountId?: pulumi.Input<string>;
}