Show / Hide Table of Contents

Interface CfnNetworkInsightsAnalysis.IAnalysisAclRuleProperty

Describes a network access control (ACL) rule.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnNetworkInsightsAnalysis.IAnalysisAclRuleProperty
Syntax (vb)
Public Interface CfnNetworkInsightsAnalysis.IAnalysisAclRuleProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html

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.EC2;

             var analysisAclRuleProperty = new AnalysisAclRuleProperty {
                 Cidr = "cidr",
                 Egress = false,
                 PortRange = new PortRangeProperty {
                     From = 123,
                     To = 123
                 },
                 Protocol = "protocol",
                 RuleAction = "ruleAction",
                 RuleNumber = 123
             };

Synopsis

Properties

Cidr

The IPv4 address range, in CIDR notation.

Egress

Indicates whether the rule is an outbound rule.

PortRange

The range of ports.

Protocol

The protocol.

RuleAction

Indicates whether to allow or deny traffic that matches the rule.

RuleNumber

The rule number.

Properties

Cidr

The IPv4 address range, in CIDR notation.

string? Cidr { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html#cfn-ec2-networkinsightsanalysis-analysisaclrule-cidr

Egress

Indicates whether the rule is an outbound rule.

object? Egress { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html#cfn-ec2-networkinsightsanalysis-analysisaclrule-egress

Type union: either bool or IResolvable

PortRange

The range of ports.

object? PortRange { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html#cfn-ec2-networkinsightsanalysis-analysisaclrule-portrange

Type union: either IResolvable or CfnNetworkInsightsAnalysis.IPortRangeProperty

Protocol

The protocol.

string? Protocol { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html#cfn-ec2-networkinsightsanalysis-analysisaclrule-protocol

RuleAction

Indicates whether to allow or deny traffic that matches the rule.

string? RuleAction { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html#cfn-ec2-networkinsightsanalysis-analysisaclrule-ruleaction

RuleNumber

The rule number.

double? RuleNumber { get; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html#cfn-ec2-networkinsightsanalysis-analysisaclrule-rulenumber

Back to top Generated by DocFX