Show / Hide Table of Contents

Class 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"),
    });
}

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

Constructors

View Source

ProductSubscription(String, ProductSubscriptionArgs, CustomResourceOptions)

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

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

The unique name of the resource

ProductSubscriptionArgs 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

Arn

The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub.

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

ProductArn

The ARN of the product that generates findings that you want to import into Security Hub - see below.

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

Methods

View Source

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

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

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

ProductSubscriptionState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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