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.
Namespace: Amazon.VPCLattice.Model
Assembly: AWSSDK.VPCLattice.dll
Version: 3.x.y.z
public class CreateRuleRequest : AmazonVPCLatticeRequest IAmazonWebServiceRequest
The CreateRuleRequest type exposes the following members
Name | Description | |
---|---|---|
CreateRuleRequest() |
Name | Type | Description | |
---|---|---|---|
Action | Amazon.VPCLattice.Model.RuleAction |
Gets and sets the property Action. The action for the default rule. |
|
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. |
|
ListenerIdentifier | System.String |
Gets and sets the property ListenerIdentifier. The ID or ARN of the listener. |
|
Match | Amazon.VPCLattice.Model.RuleMatch |
Gets and sets the property Match. The rule match. |
|
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. |
|
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. |
|
ServiceIdentifier | System.String |
Gets and sets the property ServiceIdentifier. The ID or ARN of the service. |
|
Tags | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Tags. The tags for the rule. |
.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