IVirtualNode

class aws_cdk.aws_appmesh.IVirtualNode(*args, **kwds)

Bases: aws_cdk.core.IResource, typing_extensions.Protocol

(experimental) Interface which all VirtualNode based classes must implement.

Stability

experimental

Methods

add_backends(*props)

(experimental) Utility method to add backends for existing or new VirtualNodes.

Parameters

props (IVirtualService) –

Stability

experimental

Return type

None

add_listeners(*listeners)

(experimental) Utility method to add Node Listeners for new or existing VirtualNodes.

Parameters

listeners (VirtualNodeListener) –

Stability

experimental

Return type

None

Attributes

env

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.

Return type

ResourceEnvironment

node

The construct tree node for this construct.

Return type

ConstructNode

stack

The stack in which this resource is defined.

Return type

Stack

virtual_node_arn

(experimental) The Amazon Resource Name belonging to the VirtualNdoe.

Set this value as the APPMESH_VIRTUAL_NODE_NAME environment variable for your task group’s Envoy proxy container in your task definition or pod spec.

Stability

experimental

Attribute

true

Return type

str

virtual_node_name

(experimental) The name of the VirtualNode.

Stability

experimental

Attribute

true

Return type

str