Skip to content

Resource: awsFmsAdminAccount

Provides a resource to associate/disassociate an AWS Firewall Manager administrator account. This operation must be performed in the usEast1 region.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.fmsAdminAccount.FmsAdminAccount(this, "example", {});

Argument Reference

The following arguments are supported:

  • accountId - (Optional) 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.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The AWS account ID of the AWS Firewall Manager administrator account.

Import

Firewall Manager administrator account association can be imported using the account ID, e.g.,

$ terraform import aws_fms_admin_account.example 123456789012