VirtualServiceBaseProps

class aws_cdk.aws_appmesh.VirtualServiceBaseProps(*, virtual_node=None, virtual_router=None, virtual_service_name=None)

Bases: object

__init__(*, virtual_node=None, virtual_router=None, virtual_service_name=None)

The base properties which all classes in VirtualService will inherit from.

Parameters
  • virtual_node (Optional[IVirtualNode]) – The VirtualNode attached to the virtual service. Default: - At most one of virtualRouter and virtualNode is allowed.

  • virtual_router (Optional[IVirtualRouter]) – The VirtualRouter which the VirtualService uses as provider. Default: - At most one of virtualRouter and virtualNode is allowed.

  • virtual_service_name (Optional[str]) – The name of the VirtualService. It is recommended this follows the fully-qualified domain name format, such as “my-service.default.svc.cluster.local”. Default: - A name is automatically generated

stability :stability: experimental

Attributes

virtual_node

The VirtualNode attached to the virtual service.

default :default: - At most one of virtualRouter and virtualNode is allowed.

stability :stability: experimental

Return type

Optional[IVirtualNode]

virtual_router

The VirtualRouter which the VirtualService uses as provider.

default :default: - At most one of virtualRouter and virtualNode is allowed.

stability :stability: experimental

Return type

Optional[IVirtualRouter]

virtual_service_name

The name of the VirtualService.

It is recommended this follows the fully-qualified domain name format, such as “my-service.default.svc.cluster.local”.

default :default: - A name is automatically generated

stability :stability: experimental

Example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
service.domain.local
Return type

Optional[str]