aws-cdk-lib.aws_appmesh.VirtualServiceAttributes

interface VirtualServiceAttributes

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.VirtualServiceAttributes
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#VirtualServiceAttributes
Javasoftware.amazon.awscdk.services.appmesh.VirtualServiceAttributes
Pythonaws_cdk.aws_appmesh.VirtualServiceAttributes
TypeScript (source)aws-cdk-lib » aws_appmesh » VirtualServiceAttributes

Interface with properties ncecessary to import a reusable VirtualService.

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

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

Properties

NameTypeDescription
meshIMeshThe Mesh which the VirtualService belongs to.
virtualServiceNamestringThe name of the VirtualService, it is recommended this follows the fully-qualified domain name format.

mesh

Type: IMesh

The Mesh which the VirtualService belongs to.


virtualServiceName

Type: string

The name of the VirtualService, it is recommended this follows the fully-qualified domain name format.