Skip to content
v2.275.0

VirtualServiceAttributes Struct ​

Interface with properties ncecessary to import a reusable VirtualService.

Example ​

ts
// 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';

declare const mesh: appmesh.Mesh;
const virtualServiceAttributes: appmesh.VirtualServiceAttributes = {
  mesh: mesh,
  virtualServiceName: 'virtualServiceName',
};

Properties ​

meshIMeshmeshIMeshmeshIMeshMeshIMeshMeshIMeshrequired#
The Mesh which the VirtualService belongs to.
virtualServiceNamestringvirtual_service_namestrvirtualServiceNameStringVirtualServiceNamestringVirtualServiceName*stringrequired#
The name of the VirtualService, it is recommended this follows the fully-qualified domain name format.