Show / Hide Table of Contents

Class OrganizationAdminAccount

Manages a GuardDuty Organization Admin Account. The AWS account utilizing this resource must be an Organizations master account. More information about Organizations support in GuardDuty can be found in the GuardDuty User Guide.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var exampleOrganization = new Aws.Organizations.Organization("exampleOrganization", new Aws.Organizations.OrganizationArgs
    {
        AwsServiceAccessPrincipals = 
        {
            "guardduty.amazonaws.com",
        },
        FeatureSet = "ALL",
    });
    var exampleDetector = new Aws.GuardDuty.Detector("exampleDetector", new Aws.GuardDuty.DetectorArgs
    {
    });
    var exampleOrganizationAdminAccount = new Aws.GuardDuty.OrganizationAdminAccount("exampleOrganizationAdminAccount", new Aws.GuardDuty.OrganizationAdminAccountArgs
    {
        AdminAccountId = "123456789012",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
OrganizationAdminAccount
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.GuardDuty
Assembly: Pulumi.Aws.dll
Syntax
public class OrganizationAdminAccount : CustomResource

Constructors

View Source

OrganizationAdminAccount(String, OrganizationAdminAccountArgs, CustomResourceOptions)

Create a OrganizationAdminAccount resource with the given unique name, arguments, and options.

Declaration
public OrganizationAdminAccount(string name, OrganizationAdminAccountArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

OrganizationAdminAccountArgs 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

AdminAccountId

AWS account identifier to designate as a delegated administrator for GuardDuty.

Declaration
public Output<string> AdminAccountId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, OrganizationAdminAccountState, CustomResourceOptions)

Get an existing OrganizationAdminAccount resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static OrganizationAdminAccount Get(string name, Input<string> id, OrganizationAdminAccountState 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.

OrganizationAdminAccountState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
OrganizationAdminAccount
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.