Show / Hide Table of Contents

Namespace Pulumi.Aws.SecurityHub

Classes

Account

Enables Security Hub for this AWS account.

NOTE: Destroying this resource will disable Security Hub for this AWS account.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.SecurityHub.Account("example", new Aws.SecurityHub.AccountArgs
    {
    });
}

}

AccountArgs

AccountState

Member

Provides a Security Hub member resource.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var exampleAccount = new Aws.SecurityHub.Account("exampleAccount", new Aws.SecurityHub.AccountArgs
    {
    });
    var exampleMember = new Aws.SecurityHub.Member("exampleMember", new Aws.SecurityHub.MemberArgs
    {
        AccountId = "123456789012",
        Email = "example@example.com",
        Invite = true,
    });
}

}

MemberArgs

MemberState

ProductSubscription

Subscribes to a Security Hub product.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var exampleAccount = new Aws.SecurityHub.Account("exampleAccount", new Aws.SecurityHub.AccountArgs
    {
    });
    var current = Output.Create(Aws.GetRegion.InvokeAsync());
    var exampleProductSubscription = new Aws.SecurityHub.ProductSubscription("exampleProductSubscription", new Aws.SecurityHub.ProductSubscriptionArgs
    {
        ProductArn = current.Apply(current => $"arn:aws:securityhub:{current.Name}:733251395267:product/alertlogic/althreatmanagement"),
    });
}

}

ProductSubscriptionArgs

ProductSubscriptionState

StandardsSubscription

Subscribes to a Security Hub standard.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.SecurityHub.Account("example", new Aws.SecurityHub.AccountArgs
    {
    });
    var cis = new Aws.SecurityHub.StandardsSubscription("cis", new Aws.SecurityHub.StandardsSubscriptionArgs
    {
        StandardsArn = "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0",
    });
    var pci321 = new Aws.SecurityHub.StandardsSubscription("pci321", new Aws.SecurityHub.StandardsSubscriptionArgs
    {
        StandardsArn = "arn:aws:securityhub:us-east-1::standards/pci-dss/v/3.2.1",
    });
}

}

StandardsSubscriptionArgs

StandardsSubscriptionState

Back to top Copyright 2016-2020, Pulumi Corporation.