Mesh

class Mesh : KotlinCustomResource

Provides an AWS App Mesh service mesh resource.

Example Usage

Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appmesh.Mesh;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var simple = new Mesh("simple");
}
}

Egress Filter

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appmesh.Mesh;
import com.pulumi.aws.appmesh.MeshArgs;
import com.pulumi.aws.appmesh.inputs.MeshSpecArgs;
import com.pulumi.aws.appmesh.inputs.MeshSpecEgressFilterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var simple = new Mesh("simple", MeshArgs.builder()
.spec(MeshSpecArgs.builder()
.egressFilter(MeshSpecEgressFilterArgs.builder()
.type("ALLOW_ALL")
.build())
.build())
.build());
}
}

Import

App Mesh service meshes can be imported using the name, e.g.,

$ pulumi import aws:appmesh/mesh:Mesh simple simpleapp

Properties

Link copied to clipboard
val arn: Output<String>

ARN of the service mesh.

Link copied to clipboard
val createdDate: Output<String>

Creation date of the service mesh.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val lastUpdatedDate: Output<String>

Last update date of the service mesh.

Link copied to clipboard
val meshOwner: Output<String>

AWS account ID of the service mesh's owner.

Link copied to clipboard
val name: Output<String>

Name to use for the service mesh. Must be between 1 and 255 characters in length.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceOwner: Output<String>

Resource owner's AWS account ID.

Link copied to clipboard
val spec: Output<MeshSpec>?

Service mesh specification to apply.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>