Skip to content
v2.278.0

ReferenceSetsProperty Struct ​

Configures the reference sets for a stateful rule group.

For more information, see the Using IP set references in Suricata compatible rule groups in the Network Firewall User Guide .

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 networkfirewall } from 'aws-cdk-lib';
const referenceSetsProperty: networkfirewall.CfnRuleGroup.ReferenceSetsProperty = {
  ipSetReferences: {
    ipSetReferencesKey: {
      referenceArn: 'referenceArn',
    },
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_networkfirewall as networkfirewall

reference_sets_property = networkfirewall.CfnRuleGroup.ReferenceSetsProperty(
    ip_set_references={
        "ip_set_references_key": {
            "reference_arn": "referenceArn"
        }
    }
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkfirewall.*;

ReferenceSetsProperty referenceSetsProperty = ReferenceSetsProperty.builder()
        .ipSetReferences(Map.of(
                "ipSetReferencesKey", Map.of(
                        "referenceArn", "referenceArn")))
        .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.AWS.NetworkFirewall;

var referenceSetsProperty = new ReferenceSetsProperty {
    IpSetReferences = new Dictionary<string, object> {
        { "ipSetReferencesKey", new Dictionary<string, string?> {
            { "referenceArn", "referenceArn" }
        } }
    }
};
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"

referenceSetsProperty := &ReferenceSetsProperty{
	IpSetReferences: map[string]interface{}{
		"ipSetReferencesKey": map[string]*string{
			"referenceArn": jsii.String("referenceArn"),
		},
	},
}

Properties ​

ipSetReferencesoptionalIResolvable | { [key: string]: IResolvable | CfnRuleGroup.IPSetReferenceProperty }ip_set_referencesoptionaltyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, IPSetReferenceProperty]]]ipSetReferencesoptionalIResolvableIpSetReferencesoptionalIResolvableIpSetReferencesoptionalinterface{} #
The IP set references to use in the stateful rule group.