Skip to content

ITrafficQosRule

Represents a TrafficQosRule.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrDstCidr java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DstCidr: The destination IPv4 CIDR block that matches the QoS rule traffic.
attrDstIpv6Cidr java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DstIpv6Cidr: The QoS rule traffic matches the Destination IPv6 network segment.
attrDstPortRange java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DstPortRange: QoS rule traffic matches the destination port number range.
attrMatchDscp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute MatchDscp: The DSCP value of the traffic matched by the QoS rule.
attrPriority java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Priority: QoS rule priority.
attrProtocol java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Protocol: QoS rule protocol type.
attrQosId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute QosId: The QoS policy ID.
attrQueueId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute QueueId: The QoS queue ID.
attrRemarkingDscp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RemarkingDscp: Modify The DSCP value in the flow.
attrRuleDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RuleDescription: The description of the QoS rule.
attrRuleId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RuleId: The ID of the QoS rule.
attrRuleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RuleName: The name of the QoS rule.
attrSrcCidr java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SrcCidr: The source IPv4 CIDR block that matches the QoS rule traffic.
attrSrcIpv6Cidr java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SrcIpv6Cidr: The QoS rule traffic matches the source IPv6 network segment.
attrSrcPortRange java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SrcPortRange: The source port number of the QoS rule traffic matching.
props TrafficQosRuleProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node for this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


attrDstCidrRequired

public java.lang.Object getAttrDstCidr();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DstCidr: The destination IPv4 CIDR block that matches the QoS rule traffic.


attrDstIpv6CidrRequired

public java.lang.Object getAttrDstIpv6Cidr();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DstIpv6Cidr: The QoS rule traffic matches the Destination IPv6 network segment.


attrDstPortRangeRequired

public java.lang.Object getAttrDstPortRange();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DstPortRange: QoS rule traffic matches the destination port number range.

Value range: 0 to 65535. If not, the value is -1. Currently, only a single port number is supported, and the start and end of the port number must be the same. The corresponding destination port number range is fixed for different protocol types.


attrMatchDscpRequired

public java.lang.Object getAttrMatchDscp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute MatchDscp: The DSCP value of the traffic matched by the QoS rule.

Value range: 0 to 63. If not, the value is -1.


attrPriorityRequired

public java.lang.Object getAttrPriority();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Priority: QoS rule priority.

Value range: 1 to 9000. The larger the number, the higher the priority. The priority of a QoS rule cannot be repeated in the same QoS policy.


attrProtocolRequired

public java.lang.Object getAttrProtocol();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Protocol: QoS rule protocol type.


attrQosIdRequired

public java.lang.Object getAttrQosId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute QosId: The QoS policy ID.


attrQueueIdRequired

public java.lang.Object getAttrQueueId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute QueueId: The QoS queue ID.


attrRemarkingDscpRequired

public java.lang.Object getAttrRemarkingDscp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute RemarkingDscp: Modify The DSCP value in the flow.

Value range: 0 to 63. If the value is not modified, the value is -1.


attrRuleDescriptionRequired

public java.lang.Object getAttrRuleDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute RuleDescription: The description of the QoS rule.


attrRuleIdRequired

public java.lang.Object getAttrRuleId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute RuleId: The ID of the QoS rule.


attrRuleNameRequired

public java.lang.Object getAttrRuleName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute RuleName: The name of the QoS rule.


attrSrcCidrRequired

public java.lang.Object getAttrSrcCidr();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SrcCidr: The source IPv4 CIDR block that matches the QoS rule traffic.


attrSrcIpv6CidrRequired

public java.lang.Object getAttrSrcIpv6Cidr();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SrcIpv6Cidr: The QoS rule traffic matches the source IPv6 network segment.


attrSrcPortRangeRequired

public java.lang.Object getAttrSrcPortRange();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SrcPortRange: The source port number of the QoS rule traffic matching.

The value range is 0 to 65535. If the traffic does not match, the value is -1. Currently, only a single port number is supported, and the start and end of the port number must be the same.


propsRequired

public TrafficQosRuleProps getProps();