VirtualServiceProviderConfig

class aws_cdk.aws_appmesh.VirtualServiceProviderConfig(*, mesh, virtual_node_provider=None, virtual_router_provider=None)

Bases: object

Properties for a VirtualService provider.

Parameters

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_provider_config = appmesh.VirtualServiceProviderConfig(
    mesh=mesh,

    # the properties below are optional
    virtual_node_provider=appmesh.CfnVirtualService.VirtualNodeServiceProviderProperty(
        virtual_node_name="virtualNodeName"
    ),
    virtual_router_provider=appmesh.CfnVirtualService.VirtualRouterServiceProviderProperty(
        virtual_router_name="virtualRouterName"
    )
)

Attributes

mesh

Mesh the Provider is using.

Default
  • none

Return type

IMesh

virtual_node_provider

Virtual Node based provider.

Default
  • none

Return type

Optional[VirtualNodeServiceProviderProperty]

virtual_router_provider

Virtual Router based provider.

Default
  • none

Return type

Optional[VirtualRouterServiceProviderProperty]