Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AppMesh

import { AppMesh } from "https://aws-api.deno.dev/v0.3/services/appmesh.ts?docs=full";
class AppMesh {
constructor(apiFactory: client.ApiFactory);
async createGatewayRoute(params: CreateGatewayRouteInput, opts?: client.RequestOptions): Promise<CreateGatewayRouteOutput>;
async createMesh(params: CreateMeshInput, opts?: client.RequestOptions): Promise<CreateMeshOutput>;
async createRoute(params: CreateRouteInput, opts?: client.RequestOptions): Promise<CreateRouteOutput>;
async createVirtualGateway(params: CreateVirtualGatewayInput, opts?: client.RequestOptions): Promise<CreateVirtualGatewayOutput>;
async createVirtualNode(params: CreateVirtualNodeInput, opts?: client.RequestOptions): Promise<CreateVirtualNodeOutput>;
async createVirtualRouter(params: CreateVirtualRouterInput, opts?: client.RequestOptions): Promise<CreateVirtualRouterOutput>;
async createVirtualService(params: CreateVirtualServiceInput, opts?: client.RequestOptions): Promise<CreateVirtualServiceOutput>;
async deleteGatewayRoute(params: DeleteGatewayRouteInput, opts?: client.RequestOptions): Promise<DeleteGatewayRouteOutput>;
async deleteMesh(params: DeleteMeshInput, opts?: client.RequestOptions): Promise<DeleteMeshOutput>;
async deleteRoute(params: DeleteRouteInput, opts?: client.RequestOptions): Promise<DeleteRouteOutput>;
async deleteVirtualGateway(params: DeleteVirtualGatewayInput, opts?: client.RequestOptions): Promise<DeleteVirtualGatewayOutput>;
async deleteVirtualNode(params: DeleteVirtualNodeInput, opts?: client.RequestOptions): Promise<DeleteVirtualNodeOutput>;
async deleteVirtualRouter(params: DeleteVirtualRouterInput, opts?: client.RequestOptions): Promise<DeleteVirtualRouterOutput>;
async deleteVirtualService(params: DeleteVirtualServiceInput, opts?: client.RequestOptions): Promise<DeleteVirtualServiceOutput>;
async describeGatewayRoute(params: DescribeGatewayRouteInput, opts?: client.RequestOptions): Promise<DescribeGatewayRouteOutput>;
async describeMesh(params: DescribeMeshInput, opts?: client.RequestOptions): Promise<DescribeMeshOutput>;
async describeRoute(params: DescribeRouteInput, opts?: client.RequestOptions): Promise<DescribeRouteOutput>;
async describeVirtualGateway(params: DescribeVirtualGatewayInput, opts?: client.RequestOptions): Promise<DescribeVirtualGatewayOutput>;
async describeVirtualNode(params: DescribeVirtualNodeInput, opts?: client.RequestOptions): Promise<DescribeVirtualNodeOutput>;
async describeVirtualRouter(params: DescribeVirtualRouterInput, opts?: client.RequestOptions): Promise<DescribeVirtualRouterOutput>;
async describeVirtualService(params: DescribeVirtualServiceInput, opts?: client.RequestOptions): Promise<DescribeVirtualServiceOutput>;
async listGatewayRoutes(params: ListGatewayRoutesInput, opts?: client.RequestOptions): Promise<ListGatewayRoutesOutput>;
async listMeshes(params?: ListMeshesInput, opts?: client.RequestOptions): Promise<ListMeshesOutput>;
async listRoutes(params: ListRoutesInput, opts?: client.RequestOptions): Promise<ListRoutesOutput>;
async listTagsForResource(params: ListTagsForResourceInput, opts?: client.RequestOptions): Promise<ListTagsForResourceOutput>;
async listVirtualGateways(params: ListVirtualGatewaysInput, opts?: client.RequestOptions): Promise<ListVirtualGatewaysOutput>;
async listVirtualNodes(params: ListVirtualNodesInput, opts?: client.RequestOptions): Promise<ListVirtualNodesOutput>;
async listVirtualRouters(params: ListVirtualRoutersInput, opts?: client.RequestOptions): Promise<ListVirtualRoutersOutput>;
async listVirtualServices(params: ListVirtualServicesInput, opts?: client.RequestOptions): Promise<ListVirtualServicesOutput>;
async tagResource(params: TagResourceInput, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceInput, opts?: client.RequestOptions): Promise<void>;
async updateGatewayRoute(params: UpdateGatewayRouteInput, opts?: client.RequestOptions): Promise<UpdateGatewayRouteOutput>;
async updateMesh(params: UpdateMeshInput, opts?: client.RequestOptions): Promise<UpdateMeshOutput>;
async updateRoute(params: UpdateRouteInput, opts?: client.RequestOptions): Promise<UpdateRouteOutput>;
async updateVirtualGateway(params: UpdateVirtualGatewayInput, opts?: client.RequestOptions): Promise<UpdateVirtualGatewayOutput>;
async updateVirtualNode(params: UpdateVirtualNodeInput, opts?: client.RequestOptions): Promise<UpdateVirtualNodeOutput>;
async updateVirtualRouter(params: UpdateVirtualRouterInput, opts?: client.RequestOptions): Promise<UpdateVirtualRouterOutput>;
async updateVirtualService(params: UpdateVirtualServiceInput, opts?: client.RequestOptions): Promise<UpdateVirtualServiceOutput>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new AppMesh(apiFactory: client.ApiFactory)
[src]

§Methods

§

Creates a gateway route.

A gateway route is attached to a virtual gateway and routes traffic to an existing virtual service. If a route matches a request, it can distribute traffic to a target virtual service.

For more information about gateway routes, see Gateway routes.

§
createMesh(params: CreateMeshInput, opts?: client.RequestOptions): Promise<CreateMeshOutput>
[src]

Creates a service mesh.

A service mesh is a logical boundary for network traffic between services that are represented by resources within the mesh. After you create your service mesh, you can create virtual services, virtual nodes, virtual routers, and routes to distribute traffic between the applications in your mesh.

For more information about service meshes, see Service meshes.

§
createRoute(params: CreateRouteInput, opts?: client.RequestOptions): Promise<CreateRouteOutput>
[src]

Creates a route that is associated with a virtual router.

You can route several different protocols and define a retry policy for a route. Traffic can be routed to one or more virtual nodes.

For more information about routes, see Routes.

§

Creates a virtual gateway.

A virtual gateway allows resources outside your mesh to communicate to resources that are inside your mesh. The virtual gateway represents an Envoy proxy running in an Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual node, which represents an Envoy running with an application, a virtual gateway represents Envoy deployed by itself.

For more information about virtual gateways, see Virtual gateways.

§

Creates a virtual node within a service mesh.

A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS service or a Kubernetes deployment. When you create a virtual node, you can specify the service discovery information for your task group, and whether the proxy running in a task group will communicate with other proxies using Transport Layer Security (TLS).

You define a listener for any inbound traffic that your virtual node expects. Any virtual service that your virtual node expects to communicate to is specified as a backend.

The response metadata for your new virtual node contains the arn that is associated with the virtual node. Set this value to the full ARN; for example, arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp) as the APPMESH_RESOURCE_ARN environment variable for your task group's Envoy proxy container in your task definition or pod spec. This is then mapped to the node.id and node.cluster Envoy parameters.

Note: By default, App Mesh uses the name of the resource you specified in APPMESH_RESOURCE_ARN when Envoy is referring to itself in metrics and traces. You can override this behavior by setting the APPMESH_RESOURCE_CLUSTER environment variable with your own name.

For more information about virtual nodes, see Virtual nodes. You must be using 1.15.0 or later of the Envoy image when setting these variables. For more information aboutApp Mesh Envoy variables, see Envoy image in the AWS App Mesh User Guide.

§

Creates a virtual router within a service mesh.

Specify a listener for any inbound traffic that your virtual router receives. Create a virtual router for each protocol and port that you need to route. Virtual routers handle traffic for one or more virtual services within your mesh. After you create your virtual router, create and associate routes for your virtual router that direct incoming requests to different virtual nodes.

For more information about virtual routers, see Virtual routers.

§

Creates a virtual service within a service mesh.

A virtual service is an abstraction of a real service that is provided by a virtual node directly or indirectly by means of a virtual router. Dependent services call your virtual service by its virtualServiceName, and those requests are routed to the virtual node or virtual router that is specified as the provider for the virtual service.

For more information about virtual services, see Virtual services.

§

Deletes an existing gateway route.

§
deleteMesh(params: DeleteMeshInput, opts?: client.RequestOptions): Promise<DeleteMeshOutput>
[src]

Deletes an existing service mesh.

You must delete all resources (virtual services, routes, virtual routers, and virtual nodes) in the service mesh before you can delete the mesh itself.

§
deleteRoute(params: DeleteRouteInput, opts?: client.RequestOptions): Promise<DeleteRouteOutput>
[src]

Deletes an existing route.

§

Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway routes are associated to it.

§

Deletes an existing virtual node.

You must delete any virtual services that list a virtual node as a service provider before you can delete the virtual node itself.

§

Deletes an existing virtual router.

You must delete any routes associated with the virtual router before you can delete the router itself.

§

Deletes an existing virtual service.

§

Describes an existing gateway route.

§
describeMesh(params: DescribeMeshInput, opts?: client.RequestOptions): Promise<DescribeMeshOutput>
[src]

Describes an existing service mesh.

§
describeRoute(params: DescribeRouteInput, opts?: client.RequestOptions): Promise<DescribeRouteOutput>
[src]

Describes an existing route.

§

Describes an existing virtual gateway.

§

Describes an existing virtual node.

§

Describes an existing virtual router.

§

Describes an existing virtual service.

§

Returns a list of existing gateway routes that are associated to a virtual gateway.

§
listMeshes(params?: ListMeshesInput, opts?: client.RequestOptions): Promise<ListMeshesOutput>
[src]

Returns a list of existing service meshes.

§
listRoutes(params: ListRoutesInput, opts?: client.RequestOptions): Promise<ListRoutesOutput>
[src]

Returns a list of existing routes in a service mesh.

§

List the tags for an App Mesh resource.

§

Returns a list of existing virtual gateways in a service mesh.

§
listVirtualNodes(params: ListVirtualNodesInput, opts?: client.RequestOptions): Promise<ListVirtualNodesOutput>
[src]

Returns a list of existing virtual nodes.

§

Returns a list of existing virtual routers in a service mesh.

§

Returns a list of existing virtual services in a service mesh.

§
tagResource(params: TagResourceInput, opts?: client.RequestOptions): Promise<void>
[src]

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags associated with that resource are also deleted.

§
untagResource(params: UntagResourceInput, opts?: client.RequestOptions): Promise<void>
[src]

Deletes specified tags from a resource.

§

Updates an existing gateway route that is associated to a specified virtual gateway in a service mesh.

§
updateMesh(params: UpdateMeshInput, opts?: client.RequestOptions): Promise<UpdateMeshOutput>
[src]

Updates an existing service mesh.

§
updateRoute(params: UpdateRouteInput, opts?: client.RequestOptions): Promise<UpdateRouteOutput>
[src]

Updates an existing route for a specified service mesh and virtual router.

§

Updates an existing virtual gateway in a specified service mesh.

§

Updates an existing virtual node in a specified service mesh.

§

Updates an existing virtual router in a specified service mesh.

§

Updates an existing virtual service in a specified service mesh.

§Static Properties