Module appmesh

appmesh

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.
class pulumi_aws.appmesh.Mesh(resource_name, opts=None, name=None, spec=None, tags=None, __props__=None, __name__=None, __opts__=None)

Provides an AWS App Mesh service mesh resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – The name to use for the service mesh.
  • spec (pulumi.Input[dict]) – The service mesh specification to apply.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
arn = None

The ARN of the service mesh.

created_date = None

The creation date of the service mesh.

last_updated_date = None

The last update date of the service mesh.

name = None

The name to use for the service mesh.

spec = None

The service mesh specification to apply.

tags = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, arn=None, created_date=None, last_updated_date=None, name=None, spec=None, tags=None)

Get an existing Mesh resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] arn: The ARN of the service mesh. :param pulumi.Input[str] created_date: The creation date of the service mesh. :param pulumi.Input[str] last_updated_date: The last update date of the service mesh. :param pulumi.Input[str] name: The name to use for the service mesh. :param pulumi.Input[dict] spec: The service mesh specification to apply. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.appmesh.Route(resource_name, opts=None, mesh_name=None, name=None, spec=None, tags=None, virtual_router_name=None, __props__=None, __name__=None, __opts__=None)

Provides an AWS App Mesh route resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • mesh_name (pulumi.Input[str]) – The name of the service mesh in which to create the route.
  • name (pulumi.Input[str]) – The name to use for the route.
  • spec (pulumi.Input[dict]) – The route specification to apply.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • virtual_router_name (pulumi.Input[str]) – The name of the virtual router in which to create the route.
arn = None

The ARN of the route.

created_date = None

The creation date of the route.

last_updated_date = None

The last update date of the route.

mesh_name = None

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

name = None

The name to use for the route.

spec = None

The route specification to apply.

tags = None

A mapping of tags to assign to the resource.

virtual_router_name = None

The name of the virtual router in which to create the route.

static get(resource_name, id, opts=None, arn=None, created_date=None, last_updated_date=None, mesh_name=None, name=None, spec=None, tags=None, virtual_router_name=None)

Get an existing Route resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] arn: The ARN of the route. :param pulumi.Input[str] created_date: The creation date of the route. :param pulumi.Input[str] last_updated_date: The last update date of the route. :param pulumi.Input[str] mesh_name: The name of the service mesh in which to create the route. :param pulumi.Input[str] name: The name to use for the route. :param pulumi.Input[dict] spec: The route specification to apply. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[str] virtual_router_name: The name of the virtual router in which to create the route.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.appmesh.VirtualNode(resource_name, opts=None, mesh_name=None, name=None, spec=None, tags=None, __props__=None, __name__=None, __opts__=None)

Provides an AWS App Mesh virtual node resource.

Because of backward incompatible API changes (read here), appmesh.VirtualNode resource definitions created with provider versions earlier than v2.3.0 will need to be modified:

  • Rename the service_name attribute of the dns object to hostname.
  • Replace the backends attribute of the spec object with one or more backend configuration blocks, setting virtual_service_name to the name of the service.

The state associated with existing resources will automatically be migrated.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • mesh_name (pulumi.Input[str]) – The name of the service mesh in which to create the virtual node.
  • name (pulumi.Input[str]) – The name to use for the virtual node.
  • spec (pulumi.Input[dict]) – The virtual node specification to apply.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
arn = None

The ARN of the virtual node.

created_date = None

The creation date of the virtual node.

last_updated_date = None

The last update date of the virtual node.

mesh_name = None

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

name = None

The name to use for the virtual node.

spec = None

The virtual node specification to apply.

tags = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, arn=None, created_date=None, last_updated_date=None, mesh_name=None, name=None, spec=None, tags=None)

Get an existing VirtualNode resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] arn: The ARN of the virtual node. :param pulumi.Input[str] created_date: The creation date of the virtual node. :param pulumi.Input[str] last_updated_date: The last update date of the virtual node. :param pulumi.Input[str] mesh_name: The name of the service mesh in which to create the virtual node. :param pulumi.Input[str] name: The name to use for the virtual node. :param pulumi.Input[dict] spec: The virtual node specification to apply. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.appmesh.VirtualRouter(resource_name, opts=None, mesh_name=None, name=None, spec=None, tags=None, __props__=None, __name__=None, __opts__=None)

Provides an AWS App Mesh virtual router resource.

Because of backward incompatible API changes (read here and here), appmesh.VirtualRouter resource definitions created with provider versions earlier than v2.3.0 will need to be modified:

  • Remove service service_names from the spec argument. AWS has created a appmesh.VirtualService resource for each of service names. These resource can be imported using import.
  • Add a listener configuration block to the spec argument.

The state associated with existing resources will automatically be migrated.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • mesh_name (pulumi.Input[str]) – The name of the service mesh in which to create the virtual router.
  • name (pulumi.Input[str]) – The name to use for the virtual router.
  • spec (pulumi.Input[dict]) – The virtual router specification to apply.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
arn = None

The ARN of the virtual router.

created_date = None

The creation date of the virtual router.

last_updated_date = None

The last update date of the virtual router.

mesh_name = None

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

name = None

The name to use for the virtual router.

spec = None

The virtual router specification to apply.

tags = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, arn=None, created_date=None, last_updated_date=None, mesh_name=None, name=None, spec=None, tags=None)

Get an existing VirtualRouter resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] arn: The ARN of the virtual router. :param pulumi.Input[str] created_date: The creation date of the virtual router. :param pulumi.Input[str] last_updated_date: The last update date of the virtual router. :param pulumi.Input[str] mesh_name: The name of the service mesh in which to create the virtual router. :param pulumi.Input[str] name: The name to use for the virtual router. :param pulumi.Input[dict] spec: The virtual router specification to apply. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.appmesh.VirtualService(resource_name, opts=None, mesh_name=None, name=None, spec=None, tags=None, __props__=None, __name__=None, __opts__=None)

Provides an AWS App Mesh virtual service resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • mesh_name (pulumi.Input[str]) – The name of the service mesh in which to create the virtual service.
  • name (pulumi.Input[str]) – The name to use for the virtual service.
  • spec (pulumi.Input[dict]) – The virtual service specification to apply.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
arn = None

The ARN of the virtual service.

created_date = None

The creation date of the virtual service.

last_updated_date = None

The last update date of the virtual service.

mesh_name = None

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

name = None

The name to use for the virtual service.

spec = None

The virtual service specification to apply.

tags = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, arn=None, created_date=None, last_updated_date=None, mesh_name=None, name=None, spec=None, tags=None)

Get an existing VirtualService resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] arn: The ARN of the virtual service. :param pulumi.Input[str] created_date: The creation date of the virtual service. :param pulumi.Input[str] last_updated_date: The last update date of the virtual service. :param pulumi.Input[str] mesh_name: The name of the service mesh in which to create the virtual service. :param pulumi.Input[str] name: The name to use for the virtual service. :param pulumi.Input[dict] spec: The virtual service specification to apply. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str