Class Mesh
Provides an AWS App Mesh service mesh resource.
Example Usage
Basic
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var simple = new Aws.AppMesh.Mesh("simple", new Aws.AppMesh.MeshArgs
{
});
}
}
Egress Filter
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var simple = new Aws.AppMesh.Mesh("simple", new Aws.AppMesh.MeshArgs
{
Spec = new Aws.AppMesh.Inputs.MeshSpecArgs
{
EgressFilter = new Aws.AppMesh.Inputs.MeshSpecEgressFilterArgs
{
Type = "ALLOW_ALL",
},
},
});
}
}
Inherited Members
Namespace: Pulumi.Aws.AppMesh
Assembly: Pulumi.Aws.dll
Syntax
public class Mesh : CustomResource
Constructors
View SourceMesh(String, MeshArgs, CustomResourceOptions)
Create a Mesh resource with the given unique name, arguments, and options.
Declaration
public Mesh(string name, MeshArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| MeshArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceArn
The ARN of the service mesh.
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CreatedDate
The creation date of the service mesh.
Declaration
public Output<string> CreatedDate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LastUpdatedDate
The last update date of the service mesh.
Declaration
public Output<string> LastUpdatedDate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name to use for the service mesh.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Spec
The service mesh specification to apply.
Declaration
public Output<MeshSpec> Spec { get; }
Property Value
| Type | Description |
|---|---|
| Output<MeshSpec> |
Tags
A map of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Methods
View SourceGet(String, Input<String>, MeshState, CustomResourceOptions)
Get an existing Mesh resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Mesh Get(string name, Input<string> id, MeshState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| MeshState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Mesh |