IPSetProperty Struct
A list of IP addresses and address ranges, in CIDR notation.
This is part of a rule variable.
| Source | |
|---|---|
| Type last changed |
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 iPSetProperty: networkfirewall.CfnFirewallPolicy.IPSetProperty = {
definition: ['definition'],
};
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
i_p_set_property = {
"definition": ["definition"]
}
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.*;
IPSetProperty iPSetProperty = Map.of(
"definition", List.of("definition"));
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 iPSetProperty = new Dictionary<string, string[]?> {
{ "definition", new [] { "definition" } }
};
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"
iPSetProperty := map[string][]*string{
"definition": []*string{
jsii.String("definition"),
},
}
Properties
definitionoptionalstring[]definitionoptionaltyping.List[str]definitionoptionalList<String>Definitionoptionalstring[]Definitionoptional*[]*string #The list of IP addresses and address ranges, in CIDR notation.