Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminAccount ¶
type AdminAccount struct { pulumi.CustomResourceState // 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.StringOutput `pulumi:"accountId"` }
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
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/fms" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := fms.NewAdminAccount(ctx, "example", nil) if err != nil { return err } return nil }) }
```
## Import
Firewall Manager administrator account association can be imported using the account ID, e.g.
```sh
$ pulumi import aws:fms/adminAccount:AdminAccount example 123456789012
```
func GetAdminAccount ¶
func GetAdminAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AdminAccountState, opts ...pulumi.ResourceOption) (*AdminAccount, error)
GetAdminAccount gets an existing AdminAccount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAdminAccount ¶
func NewAdminAccount(ctx *pulumi.Context, name string, args *AdminAccountArgs, opts ...pulumi.ResourceOption) (*AdminAccount, error)
NewAdminAccount registers a new resource with the given unique name, arguments, and options.
func (AdminAccount) ElementType ¶ added in v3.13.0
func (AdminAccount) ElementType() reflect.Type
func (AdminAccount) ToAdminAccountOutput ¶ added in v3.13.0
func (i AdminAccount) ToAdminAccountOutput() AdminAccountOutput
func (AdminAccount) ToAdminAccountOutputWithContext ¶ added in v3.13.0
func (i AdminAccount) ToAdminAccountOutputWithContext(ctx context.Context) AdminAccountOutput
type AdminAccountArgs ¶
type AdminAccountArgs struct { // 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.StringPtrInput }
The set of arguments for constructing a AdminAccount resource.
func (AdminAccountArgs) ElementType ¶
func (AdminAccountArgs) ElementType() reflect.Type
type AdminAccountInput ¶ added in v3.13.0
type AdminAccountInput interface { pulumi.Input ToAdminAccountOutput() AdminAccountOutput ToAdminAccountOutputWithContext(ctx context.Context) AdminAccountOutput }
type AdminAccountOutput ¶ added in v3.13.0
type AdminAccountOutput struct {
*pulumi.OutputState
}
func (AdminAccountOutput) ElementType ¶ added in v3.13.0
func (AdminAccountOutput) ElementType() reflect.Type
func (AdminAccountOutput) ToAdminAccountOutput ¶ added in v3.13.0
func (o AdminAccountOutput) ToAdminAccountOutput() AdminAccountOutput
func (AdminAccountOutput) ToAdminAccountOutputWithContext ¶ added in v3.13.0
func (o AdminAccountOutput) ToAdminAccountOutputWithContext(ctx context.Context) AdminAccountOutput
type AdminAccountState ¶
type AdminAccountState struct { // 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.StringPtrInput }
func (AdminAccountState) ElementType ¶
func (AdminAccountState) ElementType() reflect.Type