Class CfnRuleGroup.AddressProperty
A single IP address specification.
Inheritance
System.Object
CfnRuleGroup.AddressProperty
Implements
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.AWS.NetworkFirewall.dll
Syntax (csharp)
public class AddressProperty : Object, CfnRuleGroup.IAddressProperty
Syntax (vb)
Public Class AddressProperty
Inherits Object
Implements CfnRuleGroup.IAddressProperty
Remarks
This is used in the RuleGroup.MatchAttributes
source and destination specifications.
ExampleMetadata: fixture=_generated
Examples
// 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 addressProperty = new AddressProperty {
AddressDefinition = "addressDefinition"
};
Synopsis
Constructors
AddressProperty() |
Properties
AddressDefinition | Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. |
Constructors
AddressProperty()
public AddressProperty()
Properties
AddressDefinition
Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation.
public string AddressDefinition { get; set; }
Property Value
System.String
Remarks
Network Firewall supports all address ranges for IPv4 and IPv6.
Examples:
For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing .