Show / Hide Table of Contents

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
    {
    });
}

}
Inheritance
System.Object
Resource
CustomResource
AdminAccount
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Fms
Assembly: Pulumi.Aws.dll
Syntax
public class AdminAccount : CustomResource

Constructors

View Source

AdminAccount(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 Source

AccountId

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.