AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes a security group rule.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.AnalysisSecurityGroupRule

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class AnalysisSecurityGroupRule

The AnalysisSecurityGroupRule type exposes the following members

Constructors

NameDescription
Public Method AnalysisSecurityGroupRule()

Properties

NameTypeDescription
Public Property Cidr System.String

Gets and sets the property Cidr.

The IPv4 address range, in CIDR notation.

Public Property Direction System.String

Gets and sets the property Direction.

The direction. The following are the possible values:

  • egress

  • ingress

Public Property PortRange Amazon.EC2.Model.PortRange

Gets and sets the property PortRange.

The port range.

Public Property PrefixListId System.String

Gets and sets the property PrefixListId.

The prefix list ID.

Public Property Protocol System.String

Gets and sets the property Protocol.

The protocol name.

Public Property SecurityGroupId System.String

Gets and sets the property SecurityGroupId.

The security group ID.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5