Show / Hide Table of Contents

Class OrganizationConfiguration

Manages the GuardDuty Organization Configuration in the current AWS Region. The AWS account utilizing this resource must have been assigned as a delegated Organization administrator account, e.g. via the aws.guardduty.OrganizationAdminAccount resource. More information about Organizations support in GuardDuty can be found in the GuardDuty User Guide.

NOTE: This is an advanced resource. The provider will automatically assume management of the GuardDuty Organization Configuration without import and perform no actions on removal from the resource configuration.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var exampleDetector = new Aws.GuardDuty.Detector("exampleDetector", new Aws.GuardDuty.DetectorArgs
    {
        Enable = true,
    });
    var exampleOrganizationConfiguration = new Aws.GuardDuty.OrganizationConfiguration("exampleOrganizationConfiguration", new Aws.GuardDuty.OrganizationConfigurationArgs
    {
        AutoEnable = true,
        DetectorId = exampleDetector.Id,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
OrganizationConfiguration
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 OrganizationConfiguration : CustomResource

Constructors

View Source

OrganizationConfiguration(String, OrganizationConfigurationArgs, CustomResourceOptions)

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

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

The unique name of the resource

OrganizationConfigurationArgs 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

AutoEnable

When this setting is enabled, all new accounts that are created in, or added to, the organization are added as a member accounts of the organization’s GuardDuty delegated administrator and GuardDuty is enabled in that AWS Region.

Declaration
public Output<bool> AutoEnable { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

DetectorId

The detector ID of the GuardDuty account.

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

Methods

View Source

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

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

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

OrganizationConfigurationState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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