Skip to content
v2.276.0

AutomationRuleV2Reference Struct ​

A reference to a AutomationRuleV2 resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as interfaces_securityhub } from 'aws-cdk-lib/interfaces';
const automationRuleV2Reference: interfaces_securityhub.AutomationRuleV2Reference = {
  ruleArn: 'ruleArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_securityhub as interfaces_securityhub

automation_rule_v2_reference = interfaces_securityhub.AutomationRuleV2Reference(
    rule_arn="ruleArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.securityhub.*;

AutomationRuleV2Reference automationRuleV2Reference = AutomationRuleV2Reference.builder()
        .ruleArn("ruleArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.SecurityHub;

var automationRuleV2Reference = new AutomationRuleV2Reference {
    RuleArn = "ruleArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

automationRuleV2Reference := &AutomationRuleV2Reference{
	RuleArn: jsii.String("ruleArn"),
}

Properties ​

ruleArnstringrule_arnstrruleArnStringRuleArnstringRuleArn*stringrequired#
The RuleArn of the AutomationRuleV2 resource.