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 }) }
```
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.
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 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
Click to show internal directories.
Click to hide internal directories.