Class 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",
});
}
}
Inherited Members
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 StandardsSubscription : CustomResource
Constructors
View SourceStandardsSubscription(String, StandardsSubscriptionArgs, CustomResourceOptions)
Create a StandardsSubscription resource with the given unique name, arguments, and options.
Declaration
public StandardsSubscription(string name, StandardsSubscriptionArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| StandardsSubscriptionArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceStandardsArn
The ARN of a standard - see below.
Declaration
public Output<string> StandardsArn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, StandardsSubscriptionState, CustomResourceOptions)
Get an existing StandardsSubscription resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static StandardsSubscription Get(string name, Input<string> id, StandardsSubscriptionState 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. |
| StandardsSubscriptionState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| StandardsSubscription |