Resource: awsAppmeshMesh
Provides an AWS App Mesh service mesh resource.
Example Usage
Basic
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.appmeshMesh.AppmeshMesh(this, "simple", {
name: "simpleapp",
});
Egress Filter
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.appmeshMesh.AppmeshMesh(this, "simple", {
name: "simpleapp",
spec: {
egressFilter: {
type: "ALLOW_ALL",
},
},
});
Argument Reference
The following arguments are supported:
name
- (Required) Name to use for the service mesh. Must be between 1 and 255 characters in length.spec
- (Optional) Service mesh specification to apply.tags
- (Optional) Map of tags to assign to the resource. If configured with a providerdefaultTags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
The spec
object supports the following:
egressFilter
- (Optional) Egress filter rules for the service mesh.
The egressFilter
object supports the following:
type
- (Optional) Egress filter type. By default, the type isDROP_ALL
. Valid values areALLOW_ALL
andDROP_ALL
.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- ID of the service mesh.arn
- ARN of the service mesh.createdDate
- Creation date of the service mesh.lastUpdatedDate
- Last update date of the service mesh.meshOwner
- AWS account ID of the service mesh's owner.resourceOwner
- Resource owner's AWS account ID.tagsAll
- Map of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.
Import
App Mesh service meshes can be imported using the name
, e.g.,