Documentation
¶
Overview ¶
nolint: lll Package appmesh exports types, functions, subpackages for provisioning appmesh resources.
> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-aws) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-aws` repo](https://github.com/pulumi/pulumi-aws/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-aws` repo](https://github.com/terraform-providers/terraform-provider-aws/issues).
Index ¶
- type Mesh
- func (r *Mesh) Arn() *pulumi.StringOutput
- func (r *Mesh) CreatedDate() *pulumi.StringOutput
- func (r *Mesh) ID() *pulumi.IDOutput
- func (r *Mesh) LastUpdatedDate() *pulumi.StringOutput
- func (r *Mesh) Name() *pulumi.StringOutput
- func (r *Mesh) Spec() *pulumi.Output
- func (r *Mesh) Tags() *pulumi.MapOutput
- func (r *Mesh) URN() *pulumi.URNOutput
- type MeshArgs
- type MeshState
- type Route
- func (r *Route) Arn() *pulumi.StringOutput
- func (r *Route) CreatedDate() *pulumi.StringOutput
- func (r *Route) ID() *pulumi.IDOutput
- func (r *Route) LastUpdatedDate() *pulumi.StringOutput
- func (r *Route) MeshName() *pulumi.StringOutput
- func (r *Route) Name() *pulumi.StringOutput
- func (r *Route) Spec() *pulumi.Output
- func (r *Route) Tags() *pulumi.MapOutput
- func (r *Route) URN() *pulumi.URNOutput
- func (r *Route) VirtualRouterName() *pulumi.StringOutput
- type RouteArgs
- type RouteState
- type VirtualNode
- func (r *VirtualNode) Arn() *pulumi.StringOutput
- func (r *VirtualNode) CreatedDate() *pulumi.StringOutput
- func (r *VirtualNode) ID() *pulumi.IDOutput
- func (r *VirtualNode) LastUpdatedDate() *pulumi.StringOutput
- func (r *VirtualNode) MeshName() *pulumi.StringOutput
- func (r *VirtualNode) Name() *pulumi.StringOutput
- func (r *VirtualNode) Spec() *pulumi.Output
- func (r *VirtualNode) Tags() *pulumi.MapOutput
- func (r *VirtualNode) URN() *pulumi.URNOutput
- type VirtualNodeArgs
- type VirtualNodeState
- type VirtualRouter
- func (r *VirtualRouter) Arn() *pulumi.StringOutput
- func (r *VirtualRouter) CreatedDate() *pulumi.StringOutput
- func (r *VirtualRouter) ID() *pulumi.IDOutput
- func (r *VirtualRouter) LastUpdatedDate() *pulumi.StringOutput
- func (r *VirtualRouter) MeshName() *pulumi.StringOutput
- func (r *VirtualRouter) Name() *pulumi.StringOutput
- func (r *VirtualRouter) Spec() *pulumi.Output
- func (r *VirtualRouter) Tags() *pulumi.MapOutput
- func (r *VirtualRouter) URN() *pulumi.URNOutput
- type VirtualRouterArgs
- type VirtualRouterState
- type VirtualService
- func (r *VirtualService) Arn() *pulumi.StringOutput
- func (r *VirtualService) CreatedDate() *pulumi.StringOutput
- func (r *VirtualService) ID() *pulumi.IDOutput
- func (r *VirtualService) LastUpdatedDate() *pulumi.StringOutput
- func (r *VirtualService) MeshName() *pulumi.StringOutput
- func (r *VirtualService) Name() *pulumi.StringOutput
- func (r *VirtualService) Spec() *pulumi.Output
- func (r *VirtualService) Tags() *pulumi.MapOutput
- func (r *VirtualService) URN() *pulumi.URNOutput
- type VirtualServiceArgs
- type VirtualServiceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mesh ¶
type Mesh struct {
// contains filtered or unexported fields
}
Provides an AWS App Mesh service mesh resource.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/appmesh_mesh.html.markdown.
func GetMesh ¶
func GetMesh(ctx *pulumi.Context, name string, id pulumi.ID, state *MeshState, opts ...pulumi.ResourceOpt) (*Mesh, error)
GetMesh gets an existing Mesh resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewMesh ¶
func NewMesh(ctx *pulumi.Context, name string, args *MeshArgs, opts ...pulumi.ResourceOpt) (*Mesh, error)
NewMesh registers a new resource with the given unique name, arguments, and options.
func (*Mesh) CreatedDate ¶
func (r *Mesh) CreatedDate() *pulumi.StringOutput
The creation date of the service mesh.
func (*Mesh) LastUpdatedDate ¶
func (r *Mesh) LastUpdatedDate() *pulumi.StringOutput
The last update date of the service mesh.
func (*Mesh) Name ¶
func (r *Mesh) Name() *pulumi.StringOutput
The name to use for the service mesh.
type MeshArgs ¶
type MeshArgs struct { // The name to use for the service mesh. Name interface{} // The service mesh specification to apply. Spec interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a Mesh resource.
type MeshState ¶
type MeshState struct { // The ARN of the service mesh. Arn interface{} // The creation date of the service mesh. CreatedDate interface{} // The last update date of the service mesh. LastUpdatedDate interface{} // The name to use for the service mesh. Name interface{} // The service mesh specification to apply. Spec interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering Mesh resources.
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
Provides an AWS App Mesh route resource.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/appmesh_route.html.markdown.
func GetRoute ¶
func GetRoute(ctx *pulumi.Context, name string, id pulumi.ID, state *RouteState, opts ...pulumi.ResourceOpt) (*Route, error)
GetRoute gets an existing Route resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRoute ¶
func NewRoute(ctx *pulumi.Context, name string, args *RouteArgs, opts ...pulumi.ResourceOpt) (*Route, error)
NewRoute registers a new resource with the given unique name, arguments, and options.
func (*Route) CreatedDate ¶
func (r *Route) CreatedDate() *pulumi.StringOutput
The creation date of the route.
func (*Route) LastUpdatedDate ¶
func (r *Route) LastUpdatedDate() *pulumi.StringOutput
The last update date of the route.
func (*Route) MeshName ¶
func (r *Route) MeshName() *pulumi.StringOutput
The name of the service mesh in which to create the route.
func (*Route) VirtualRouterName ¶
func (r *Route) VirtualRouterName() *pulumi.StringOutput
The name of the virtual router in which to create the route.
type RouteArgs ¶
type RouteArgs struct { // The name of the service mesh in which to create the route. MeshName interface{} // The name to use for the route. Name interface{} // The route specification to apply. Spec interface{} // A mapping of tags to assign to the resource. Tags interface{} // The name of the virtual router in which to create the route. VirtualRouterName interface{} }
The set of arguments for constructing a Route resource.
type RouteState ¶
type RouteState struct { // The ARN of the route. Arn interface{} // The creation date of the route. CreatedDate interface{} // The last update date of the route. LastUpdatedDate interface{} // The name of the service mesh in which to create the route. MeshName interface{} // The name to use for the route. Name interface{} // The route specification to apply. Spec interface{} // A mapping of tags to assign to the resource. Tags interface{} // The name of the virtual router in which to create the route. VirtualRouterName interface{} }
Input properties used for looking up and filtering Route resources.
type VirtualNode ¶
type VirtualNode struct {
// contains filtered or unexported fields
}
Provides an AWS App Mesh virtual node resource.
## Breaking Changes
Because of backward incompatible API changes (read [here](https://github.com/awslabs/aws-app-mesh-examples/issues/92)), `appmesh.VirtualNode` resource definitions created with provider versions earlier than v2.3.0 will need to be modified:
* Rename the `serviceName` attribute of the `dns` object to `hostname`.
* Replace the `backends` attribute of the `spec` object with one or more `backend` configuration blocks, setting `virtualServiceName` to the name of the service.
The state associated with existing resources will automatically be migrated.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/appmesh_virtual_node.html.markdown.
func GetVirtualNode ¶
func GetVirtualNode(ctx *pulumi.Context, name string, id pulumi.ID, state *VirtualNodeState, opts ...pulumi.ResourceOpt) (*VirtualNode, error)
GetVirtualNode gets an existing VirtualNode resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVirtualNode ¶
func NewVirtualNode(ctx *pulumi.Context, name string, args *VirtualNodeArgs, opts ...pulumi.ResourceOpt) (*VirtualNode, error)
NewVirtualNode registers a new resource with the given unique name, arguments, and options.
func (*VirtualNode) Arn ¶
func (r *VirtualNode) Arn() *pulumi.StringOutput
The ARN of the virtual node.
func (*VirtualNode) CreatedDate ¶
func (r *VirtualNode) CreatedDate() *pulumi.StringOutput
The creation date of the virtual node.
func (*VirtualNode) ID ¶
func (r *VirtualNode) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*VirtualNode) LastUpdatedDate ¶
func (r *VirtualNode) LastUpdatedDate() *pulumi.StringOutput
The last update date of the virtual node.
func (*VirtualNode) MeshName ¶
func (r *VirtualNode) MeshName() *pulumi.StringOutput
The name of the service mesh in which to create the virtual node.
func (*VirtualNode) Name ¶
func (r *VirtualNode) Name() *pulumi.StringOutput
The name to use for the virtual node.
func (*VirtualNode) Spec ¶
func (r *VirtualNode) Spec() *pulumi.Output
The virtual node specification to apply.
func (*VirtualNode) Tags ¶ added in v0.18.18
func (r *VirtualNode) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*VirtualNode) URN ¶
func (r *VirtualNode) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type VirtualNodeArgs ¶
type VirtualNodeArgs struct { // The name of the service mesh in which to create the virtual node. MeshName interface{} // The name to use for the virtual node. Name interface{} // The virtual node specification to apply. Spec interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a VirtualNode resource.
type VirtualNodeState ¶
type VirtualNodeState struct { // The ARN of the virtual node. Arn interface{} // The creation date of the virtual node. CreatedDate interface{} // The last update date of the virtual node. LastUpdatedDate interface{} // The name of the service mesh in which to create the virtual node. MeshName interface{} // The name to use for the virtual node. Name interface{} // The virtual node specification to apply. Spec interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering VirtualNode resources.
type VirtualRouter ¶
type VirtualRouter struct {
// contains filtered or unexported fields
}
Provides an AWS App Mesh virtual router resource.
## Breaking Changes
Because of backward incompatible API changes (read [here](https://github.com/awslabs/aws-app-mesh-examples/issues/92) and [here](https://github.com/awslabs/aws-app-mesh-examples/issues/94)), `appmesh.VirtualRouter` resource definitions created with provider versions earlier than v2.3.0 will need to be modified:
* Remove service `serviceNames` 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/appmesh_virtual_router.html.markdown.
func GetVirtualRouter ¶
func GetVirtualRouter(ctx *pulumi.Context, name string, id pulumi.ID, state *VirtualRouterState, opts ...pulumi.ResourceOpt) (*VirtualRouter, error)
GetVirtualRouter gets an existing VirtualRouter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVirtualRouter ¶
func NewVirtualRouter(ctx *pulumi.Context, name string, args *VirtualRouterArgs, opts ...pulumi.ResourceOpt) (*VirtualRouter, error)
NewVirtualRouter registers a new resource with the given unique name, arguments, and options.
func (*VirtualRouter) Arn ¶
func (r *VirtualRouter) Arn() *pulumi.StringOutput
The ARN of the virtual router.
func (*VirtualRouter) CreatedDate ¶
func (r *VirtualRouter) CreatedDate() *pulumi.StringOutput
The creation date of the virtual router.
func (*VirtualRouter) ID ¶
func (r *VirtualRouter) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*VirtualRouter) LastUpdatedDate ¶
func (r *VirtualRouter) LastUpdatedDate() *pulumi.StringOutput
The last update date of the virtual router.
func (*VirtualRouter) MeshName ¶
func (r *VirtualRouter) MeshName() *pulumi.StringOutput
The name of the service mesh in which to create the virtual router.
func (*VirtualRouter) Name ¶
func (r *VirtualRouter) Name() *pulumi.StringOutput
The name to use for the virtual router.
func (*VirtualRouter) Spec ¶
func (r *VirtualRouter) Spec() *pulumi.Output
The virtual router specification to apply.
func (*VirtualRouter) Tags ¶ added in v0.18.21
func (r *VirtualRouter) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*VirtualRouter) URN ¶
func (r *VirtualRouter) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type VirtualRouterArgs ¶
type VirtualRouterArgs struct { // The name of the service mesh in which to create the virtual router. MeshName interface{} // The name to use for the virtual router. Name interface{} // The virtual router specification to apply. Spec interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a VirtualRouter resource.
type VirtualRouterState ¶
type VirtualRouterState struct { // The ARN of the virtual router. Arn interface{} // The creation date of the virtual router. CreatedDate interface{} // The last update date of the virtual router. LastUpdatedDate interface{} // The name of the service mesh in which to create the virtual router. MeshName interface{} // The name to use for the virtual router. Name interface{} // The virtual router specification to apply. Spec interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering VirtualRouter resources.
type VirtualService ¶ added in v0.18.1
type VirtualService struct {
// contains filtered or unexported fields
}
Provides an AWS App Mesh virtual service resource.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/appmesh_virtual_service.html.markdown.
func GetVirtualService ¶ added in v0.18.1
func GetVirtualService(ctx *pulumi.Context, name string, id pulumi.ID, state *VirtualServiceState, opts ...pulumi.ResourceOpt) (*VirtualService, error)
GetVirtualService gets an existing VirtualService resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVirtualService ¶ added in v0.18.1
func NewVirtualService(ctx *pulumi.Context, name string, args *VirtualServiceArgs, opts ...pulumi.ResourceOpt) (*VirtualService, error)
NewVirtualService registers a new resource with the given unique name, arguments, and options.
func (*VirtualService) Arn ¶ added in v0.18.1
func (r *VirtualService) Arn() *pulumi.StringOutput
The ARN of the virtual service.
func (*VirtualService) CreatedDate ¶ added in v0.18.1
func (r *VirtualService) CreatedDate() *pulumi.StringOutput
The creation date of the virtual service.
func (*VirtualService) ID ¶ added in v0.18.1
func (r *VirtualService) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*VirtualService) LastUpdatedDate ¶ added in v0.18.1
func (r *VirtualService) LastUpdatedDate() *pulumi.StringOutput
The last update date of the virtual service.
func (*VirtualService) MeshName ¶ added in v0.18.1
func (r *VirtualService) MeshName() *pulumi.StringOutput
The name of the service mesh in which to create the virtual service.
func (*VirtualService) Name ¶ added in v0.18.1
func (r *VirtualService) Name() *pulumi.StringOutput
The name to use for the virtual service.
func (*VirtualService) Spec ¶ added in v0.18.1
func (r *VirtualService) Spec() *pulumi.Output
The virtual service specification to apply.
func (*VirtualService) Tags ¶ added in v0.18.21
func (r *VirtualService) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*VirtualService) URN ¶ added in v0.18.1
func (r *VirtualService) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type VirtualServiceArgs ¶ added in v0.18.1
type VirtualServiceArgs struct { // The name of the service mesh in which to create the virtual service. MeshName interface{} // The name to use for the virtual service. Name interface{} // The virtual service specification to apply. Spec interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a VirtualService resource.
type VirtualServiceState ¶ added in v0.18.1
type VirtualServiceState struct { // The ARN of the virtual service. Arn interface{} // The creation date of the virtual service. CreatedDate interface{} // The last update date of the virtual service. LastUpdatedDate interface{} // The name of the service mesh in which to create the virtual service. MeshName interface{} // The name to use for the virtual service. Name interface{} // The virtual service specification to apply. Spec interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering VirtualService resources.