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.

Container for the parameters to the CreateRule operation. Creates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. For more information, see Listener rules in the Amazon VPC Lattice User Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.VPCLattice.AmazonVPCLatticeRequest
      Amazon.VPCLattice.Model.CreateRuleRequest

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

Syntax

C#
public class CreateRuleRequest : AmazonVPCLatticeRequest
         IAmazonWebServiceRequest

The CreateRuleRequest type exposes the following members

Constructors

NameDescription
Public Method CreateRuleRequest()

Properties

NameTypeDescription
Public Property Action Amazon.VPCLattice.Model.RuleAction

Gets and sets the property Action.

The action for the default rule.

Public Property ClientToken System.String

Gets and sets the property ClientToken.

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

Public Property ListenerIdentifier System.String

Gets and sets the property ListenerIdentifier.

The ID or ARN of the listener.

Public Property Match Amazon.VPCLattice.Model.RuleMatch

Gets and sets the property Match.

The rule match.

Public Property Name System.String

Gets and sets the property Name.

The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

Public Property Priority System.Int32

Gets and sets the property Priority.

The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.

Public Property ServiceIdentifier System.String

Gets and sets the property ServiceIdentifier.

The ID or ARN of the service.

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

The tags for the rule.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5