interface TcpRouteProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppMesh.CfnRoute.TcpRouteProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnRoute_TcpRouteProperty |
![]() | software.amazon.awscdk.services.appmesh.CfnRoute.TcpRouteProperty |
![]() | aws_cdk.aws_appmesh.CfnRoute.TcpRouteProperty |
![]() | aws-cdk-lib » aws_appmesh » CfnRoute » 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-lib';
const tcpRouteProperty: appmesh.CfnRoute.TcpRouteProperty = {
action: {
weightedTargets: [{
virtualNode: 'virtualNode',
weight: 123,
// the properties below are optional
port: 123,
}],
},
// the properties below are optional
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
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.