Module appmesh

@pulumi/aws > appmesh

class Mesh

extends CustomResource

Provides an AWS App Mesh service mesh resource.

constructor

new Mesh(name: string, args?: MeshArgs, opts?: pulumi.CustomResourceOptions)

Create a Mesh resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MeshState, opts?: pulumi.CustomResourceOptions): Mesh

Get an existing Mesh resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property lastUpdatedDate

public lastUpdatedDate: pulumi.Output<string>;

The last update date of the service mesh.

property name

public name: pulumi.Output<string>;

The name to use for the service mesh.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property arn

public arn: pulumi.Output<string>;

The ARN of the service mesh.

property createdDate

public createdDate: pulumi.Output<string>;

The creation date of the service mesh.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

class Route

extends CustomResource

Provides an AWS App Mesh route resource.

constructor

new Route(name: string, args: RouteArgs, opts?: pulumi.CustomResourceOptions)

Create a Route resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteState, opts?: pulumi.CustomResourceOptions): Route

Get an existing Route resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property lastUpdatedDate

public lastUpdatedDate: pulumi.Output<string>;

The last update date of the route.

property meshName

public meshName: pulumi.Output<string>;

The name of the service mesh in which to create the route.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property spec

public spec: pulumi.Output<{
    httpRoute: {
        action: {
            weightedTargets: {
                virtualNode: string;
                weight: number;
            }[];
        };
        match: {
            prefix: string;
        };
    };
}>;

The route specification to apply.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property virtualRouterName

public virtualRouterName: pulumi.Output<string>;

property createdDate

public createdDate: pulumi.Output<string>;

The creation date of the route.

property arn

public arn: pulumi.Output<string>;

The ARN of the route.

property name

public name: pulumi.Output<string>;

The name to use for the route.

class VirtualNode

extends CustomResource

Provides an AWS App Mesh virtual node resource.

constructor

new VirtualNode(name: string, args: VirtualNodeArgs, opts?: pulumi.CustomResourceOptions)

Create a VirtualNode resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VirtualNodeState, opts?: pulumi.CustomResourceOptions): VirtualNode

Get an existing VirtualNode resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property arn

public arn: pulumi.Output<string>;

The ARN of the virtual node.

property createdDate

public createdDate: pulumi.Output<string>;

The creation date of the virtual node.

property name

public name: pulumi.Output<string>;

The name to use for the virtual node.

property spec

public spec: pulumi.Output<{
    backends: string[];
    listener: {
        portMapping: {
            port: number;
            protocol: string;
        };
    };
    serviceDiscovery: {
        dns: {
            serviceName: string;
        };
    };
}>;

The virtual node specification to apply.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property lastUpdatedDate

public lastUpdatedDate: pulumi.Output<string>;

The last update date of the virtual node.

property meshName

public meshName: pulumi.Output<string>;

The name of the service mesh in which to create the virtual node.

class VirtualRouter

extends CustomResource

Provides an AWS App Mesh virtual router resource.

constructor

new VirtualRouter(name: string, args: VirtualRouterArgs, opts?: pulumi.CustomResourceOptions)

Create a VirtualRouter resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VirtualRouterState, opts?: pulumi.CustomResourceOptions): VirtualRouter

Get an existing VirtualRouter resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property arn

public arn: pulumi.Output<string>;

The ARN of the virtual router.

property createdDate

public createdDate: pulumi.Output<string>;

The creation date of the virtual router.

property name

public name: pulumi.Output<string>;

The name to use for the virtual router.

property spec

public spec: pulumi.Output<{
    serviceNames: string[];
}>;

The virtual router specification to apply.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property lastUpdatedDate

public lastUpdatedDate: pulumi.Output<string>;

The last update date of the virtual router.

property meshName

public meshName: pulumi.Output<string>;

The name of the service mesh in which to create the virtual router.

interface MeshArgs

The set of arguments for constructing a Mesh resource.

property name

name?: pulumi.Input<string>;

The name to use for the service mesh.

interface MeshState

Input properties used for looking up and filtering Mesh resources.

property arn

arn?: pulumi.Input<string>;

The ARN of the service mesh.

property createdDate

createdDate?: pulumi.Input<string>;

The creation date of the service mesh.

property lastUpdatedDate

lastUpdatedDate?: pulumi.Input<string>;

The last update date of the service mesh.

property name

name?: pulumi.Input<string>;

The name to use for the service mesh.

interface RouteArgs

The set of arguments for constructing a Route resource.

property meshName

meshName: pulumi.Input<string>;

The name of the service mesh in which to create the route.

property name

name?: pulumi.Input<string>;

The name to use for the route.

property spec

spec: pulumi.Input<{
    httpRoute: pulumi.Input<{
        action: pulumi.Input<{
            weightedTargets: pulumi.Input<pulumi.Input<{
                virtualNode: pulumi.Input<string>;
                weight: pulumi.Input<number>;
            }>[]>;
        }>;
        match: pulumi.Input<{
            prefix: pulumi.Input<string>;
        }>;
    }>;
}>;

The route specification to apply.

property virtualRouterName

virtualRouterName: pulumi.Input<string>;

interface RouteState

Input properties used for looking up and filtering Route resources.

property arn

arn?: pulumi.Input<string>;

The ARN of the route.

property createdDate

createdDate?: pulumi.Input<string>;

The creation date of the route.

property lastUpdatedDate

lastUpdatedDate?: pulumi.Input<string>;

The last update date of the route.

property meshName

meshName?: pulumi.Input<string>;

The name of the service mesh in which to create the route.

property name

name?: pulumi.Input<string>;

The name to use for the route.

property spec

spec?: pulumi.Input<{
    httpRoute: pulumi.Input<{
        action: pulumi.Input<{
            weightedTargets: pulumi.Input<pulumi.Input<{
                virtualNode: pulumi.Input<string>;
                weight: pulumi.Input<number>;
            }>[]>;
        }>;
        match: pulumi.Input<{
            prefix: pulumi.Input<string>;
        }>;
    }>;
}>;

The route specification to apply.

property virtualRouterName

virtualRouterName?: pulumi.Input<string>;

interface VirtualNodeArgs

The set of arguments for constructing a VirtualNode resource.

property meshName

meshName: pulumi.Input<string>;

The name of the service mesh in which to create the virtual node.

property name

name?: pulumi.Input<string>;

The name to use for the virtual node.

property spec

spec: pulumi.Input<{
    backends: pulumi.Input<pulumi.Input<string>[]>;
    listener: pulumi.Input<{
        portMapping: pulumi.Input<{
            port: pulumi.Input<number>;
            protocol: pulumi.Input<string>;
        }>;
    }>;
    serviceDiscovery: pulumi.Input<{
        dns: pulumi.Input<{
            serviceName: pulumi.Input<string>;
        }>;
    }>;
}>;

The virtual node specification to apply.

interface VirtualNodeState

Input properties used for looking up and filtering VirtualNode resources.

property arn

arn?: pulumi.Input<string>;

The ARN of the virtual node.

property createdDate

createdDate?: pulumi.Input<string>;

The creation date of the virtual node.

property lastUpdatedDate

lastUpdatedDate?: pulumi.Input<string>;

The last update date of the virtual node.

property meshName

meshName?: pulumi.Input<string>;

The name of the service mesh in which to create the virtual node.

property name

name?: pulumi.Input<string>;

The name to use for the virtual node.

property spec

spec?: pulumi.Input<{
    backends: pulumi.Input<pulumi.Input<string>[]>;
    listener: pulumi.Input<{
        portMapping: pulumi.Input<{
            port: pulumi.Input<number>;
            protocol: pulumi.Input<string>;
        }>;
    }>;
    serviceDiscovery: pulumi.Input<{
        dns: pulumi.Input<{
            serviceName: pulumi.Input<string>;
        }>;
    }>;
}>;

The virtual node specification to apply.

interface VirtualRouterArgs

The set of arguments for constructing a VirtualRouter resource.

property meshName

meshName: pulumi.Input<string>;

The name of the service mesh in which to create the virtual router.

property name

name?: pulumi.Input<string>;

The name to use for the virtual router.

property spec

spec: pulumi.Input<{
    serviceNames: pulumi.Input<pulumi.Input<string>[]>;
}>;

The virtual router specification to apply.

interface VirtualRouterState

Input properties used for looking up and filtering VirtualRouter resources.

property arn

arn?: pulumi.Input<string>;

The ARN of the virtual router.

property createdDate

createdDate?: pulumi.Input<string>;

The creation date of the virtual router.

property lastUpdatedDate

lastUpdatedDate?: pulumi.Input<string>;

The last update date of the virtual router.

property meshName

meshName?: pulumi.Input<string>;

The name of the service mesh in which to create the virtual router.

property name

name?: pulumi.Input<string>;

The name to use for the virtual router.

property spec

spec?: pulumi.Input<{
    serviceNames: pulumi.Input<pulumi.Input<string>[]>;
}>;

The virtual router specification to apply.