Skip to content
v2.278.0

RuleGroupReference Struct ​

A reference to a RuleGroup resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkfirewall as interfaces_networkfirewall } from 'aws-cdk-lib/interfaces';
const ruleGroupReference: interfaces_networkfirewall.RuleGroupReference = {
  ruleGroupArn: 'ruleGroupArn',
};
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_networkfirewall as interfaces_networkfirewall

rule_group_reference = interfaces_networkfirewall.RuleGroupReference(
    rule_group_arn="ruleGroupArn"
)
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.networkfirewall.*;

RuleGroupReference ruleGroupReference = RuleGroupReference.builder()
        .ruleGroupArn("ruleGroupArn")
        .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.NetworkFirewall;

var ruleGroupReference = new RuleGroupReference {
    RuleGroupArn = "ruleGroupArn"
};
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"

ruleGroupReference := &RuleGroupReference{
	RuleGroupArn: jsii.String("ruleGroupArn"),
}

Properties ​

ruleGroupArnstringrule_group_arnstrruleGroupArnStringRuleGroupArnstringRuleGroupArn*string required #
The RuleGroupArn of the RuleGroup resource.