Class AdminAccount
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
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Fms.AdminAccount("example", new Aws.Fms.AdminAccountArgs
{
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Fms
Assembly: Pulumi.Aws.dll
Syntax
public class AdminAccount : CustomResource
Constructors
View SourceAdminAccount(String, AdminAccountArgs, CustomResourceOptions)
Create a AdminAccount resource with the given unique name, arguments, and options.
Declaration
public AdminAccount(string name, AdminAccountArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| AdminAccountArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccountId
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.
Declaration
public Output<string> AccountId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, AdminAccountState, CustomResourceOptions)
Get an existing AdminAccount resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static AdminAccount Get(string name, Input<string> id, AdminAccountState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| AdminAccountState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| AdminAccount |