interface TcpRouteProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AppMesh.CfnRoutePropsMixin.TcpRouteProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsappmesh#CfnRoutePropsMixin_TcpRouteProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnRoutePropsMixin.TcpRouteProperty |
Python | aws_cdk.cfn_property_mixins.aws_appmesh.CfnRoutePropsMixin.TcpRouteProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_appmesh » 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 { aws_appmesh as appmesh } from '@aws-cdk/cfn-property-mixins';
const tcpRouteProperty: appmesh.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