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.

Example:

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

# mesh is of type Mesh

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

Attributes

mesh

The Mesh which the VirtualService belongs to.

Return type

IMesh

virtual_service_name

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

Return type

str