interface TcpRouteProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnRoutePropsMixin.TcpRouteProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnRoutePropsMixin_TcpRouteProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnRoutePropsMixin.TcpRouteProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnRoutePropsMixin.TcpRouteProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnRoutePropsMixin » TcpRouteProperty |
An object that represents a TCP route type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const tcpRouteProperty: appmesh_mixins.CfnRoutePropsMixin.TcpRouteProperty = {
action: {
weightedTargets: [{
port: 123,
virtualNode: 'virtualNode',
weight: 123,
}],
},
match: {
port: 123,
},
timeout: {
idle: {
unit: 'unit',
value: 123,
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| action? | IResolvable | Tcp | The action to take if a match is determined. |
| match? | IResolvable | Tcp | An object that represents the criteria for determining a request match. |
| timeout? | IResolvable | Tcp | An object that represents types of timeouts. |
action?
Type:
IResolvable | Tcp
(optional)
The action to take if a match is determined.
match?
Type:
IResolvable | Tcp
(optional)
An object that represents the criteria for determining a request match.
timeout?
Type:
IResolvable | Tcp
(optional)
An object that represents types of timeouts.

.NET
Go
Java
Python
TypeScript