interface VirtualRouterSpecProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.CfnVirtualRouter.VirtualRouterSpecProperty |
Java | software.amazon.awscdk.services.appmesh.CfnVirtualRouter.VirtualRouterSpecProperty |
Python | aws_cdk.aws_appmesh.CfnVirtualRouter.VirtualRouterSpecProperty |
TypeScript | @aws-cdk/aws-appmesh » CfnVirtualRouter » VirtualRouterSpecProperty |
An object that represents the specification of a virtual router.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as appmesh from '@aws-cdk/aws-appmesh';
const virtualRouterSpecProperty: appmesh.CfnVirtualRouter.VirtualRouterSpecProperty = {
listeners: [{
portMapping: {
port: 123,
protocol: 'protocol',
},
}],
};
Properties
Name | Type | Description |
---|---|---|
listeners | IResolvable | IResolvable | Virtual [] | The listeners that the virtual router is expected to receive inbound traffic from. |
listeners
Type:
IResolvable
|
IResolvable
|
Virtual
[]
The listeners that the virtual router is expected to receive inbound traffic from.