AdminAccount

class AdminAccount : KotlinCustomResource

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

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fms.AdminAccount;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new AdminAccount("example");
}
}

Import

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

$ pulumi import aws:fms/adminAccount:AdminAccount example 123456789012

Properties

Link copied to clipboard
val accountId: Output<String>

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.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>