Skip to content
v2.278.0

FirewallRuleGroupReference Struct ​

A reference to a FirewallRuleGroup resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53resolver as interfaces_route53resolver } from 'aws-cdk-lib/interfaces';
const firewallRuleGroupReference: interfaces_route53resolver.FirewallRuleGroupReference = {
  firewallRuleGroupArn: 'firewallRuleGroupArn',
  firewallRuleGroupId: 'firewallRuleGroupId',
};
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_route53resolver as interfaces_route53resolver

firewall_rule_group_reference = interfaces_route53resolver.FirewallRuleGroupReference(
    firewall_rule_group_arn="firewallRuleGroupArn",
    firewall_rule_group_id="firewallRuleGroupId"
)
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.route53resolver.*;

FirewallRuleGroupReference firewallRuleGroupReference = FirewallRuleGroupReference.builder()
        .firewallRuleGroupArn("firewallRuleGroupArn")
        .firewallRuleGroupId("firewallRuleGroupId")
        .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.Route53Resolver;

var firewallRuleGroupReference = new FirewallRuleGroupReference {
    FirewallRuleGroupArn = "firewallRuleGroupArn",
    FirewallRuleGroupId = "firewallRuleGroupId"
};
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"

firewallRuleGroupReference := &FirewallRuleGroupReference{
	FirewallRuleGroupArn: jsii.String("firewallRuleGroupArn"),
	FirewallRuleGroupId: jsii.String("firewallRuleGroupId"),
}

Properties ​

firewallRuleGroupArnstringfirewall_rule_group_arnstrfirewallRuleGroupArnStringFirewallRuleGroupArnstringFirewallRuleGroupArn*string required #
The ARN of the FirewallRuleGroup resource.
firewallRuleGroupIdstringfirewall_rule_group_idstrfirewallRuleGroupIdStringFirewallRuleGroupIdstringFirewallRuleGroupId*string required #
The Id of the FirewallRuleGroup resource.