Show / Hide Table of Contents

Class CfnNetworkInsightsAnalysis.AnalysisAclRuleProperty

Describes a network access control (ACL) rule.

Inheritance
System.Object
CfnNetworkInsightsAnalysis.AnalysisAclRuleProperty
Implements
CfnNetworkInsightsAnalysis.IAnalysisAclRuleProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class AnalysisAclRuleProperty : Object, CfnNetworkInsightsAnalysis.IAnalysisAclRuleProperty
Syntax (vb)
Public Class AnalysisAclRuleProperty
    Inherits Object
    Implements CfnNetworkInsightsAnalysis.IAnalysisAclRuleProperty
Remarks

Link: 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;

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

Synopsis

Constructors

AnalysisAclRuleProperty()

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.

Constructors

AnalysisAclRuleProperty()

public AnalysisAclRuleProperty()

Properties

Cidr

The IPv4 address range, in CIDR notation.

public string Cidr { get; set; }
Property Value

System.String

Remarks

Link: 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.

public object Egress { get; set; }
Property Value

System.Object

Remarks

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

PortRange

The range of ports.

public object PortRange { get; set; }
Property Value

System.Object

Remarks

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

Protocol

The protocol.

public string Protocol { get; set; }
Property Value

System.String

Remarks

Link: 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.

public string RuleAction { get; set; }
Property Value

System.String

Remarks

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

RuleNumber

The rule number.

public Nullable<double> RuleNumber { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

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

Implements

CfnNetworkInsightsAnalysis.IAnalysisAclRuleProperty
Back to top Generated by DocFX