VirtualServiceAttributes

class aws_cdk.aws_appmesh.VirtualServiceAttributes(*, mesh, virtual_service_name)

Bases: object

Interface with properties ncecessary to import a reusable VirtualService.

Parameters:
  • mesh (IMesh) – The Mesh which the VirtualService belongs to.

  • virtual_service_name (str) – The name of the VirtualService, it is recommended this follows the fully-qualified domain name format.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appmesh as appmesh

# mesh: appmesh.Mesh

virtual_service_attributes = appmesh.VirtualServiceAttributes(
    mesh=mesh,
    virtual_service_name="virtualServiceName"
)

Attributes

mesh

The Mesh which the VirtualService belongs to.

virtual_service_name

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