VirtualServiceBaseProps

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

Bases: object

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

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

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

  • virtual_service_name (Optional[str]) – (experimental) 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

experimental

Attributes

virtual_node

(experimental) The VirtualNode attached to the virtual service.

Default
  • At most one of virtualRouter and virtualNode is allowed.

Stability

experimental

Return type

Optional[IVirtualNode]

virtual_router

(experimental) The VirtualRouter which the VirtualService uses as provider.

Default
  • At most one of virtualRouter and virtualNode is allowed.

Stability

experimental

Return type

Optional[IVirtualRouter]

virtual_service_name

(experimental) 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

experimental

Example:

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

Optional[str]