AdminAccountArgs

data class AdminAccountArgs(val accountId: Output<String>? = null) : ConvertibleToJava<AdminAccountArgs>

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

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): AdminAccountArgs