import * as core from "@terrascript/core"; export interface EgressFilterArgs extends core.SchemaArgs { type?: string | core.StringOut; } export class EgressFilter extends core.Schema { @core.attr(String) public type?: string | core.StringOut; } export interface SpecArgs extends core.SchemaArgs { egressFilter?: EgressFilter; } export class Spec extends core.Schema { @core.attr(EgressFilter) public egressFilter?: EgressFilter; } export interface MeshArgs extends core.ResourceArgs { /** * (Required) The name to use for the service mesh. Must be between 1 and 255 characters in length. */ name: string | core.StringOut; /** * (Optional) The service mesh specification to apply. */ spec?: Spec; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class Mesh extends core.Resource { /** * The ARN of the service mesh. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The creation date of the service mesh. */ @core.attr(String, { computed: true }) public createdDate!: string | core.StringOut; /** * The ID of the service mesh. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The last update date of the service mesh. */ @core.attr(String, { computed: true }) public lastUpdatedDate!: string | core.StringOut; /** * The AWS account ID of the service mesh's owner. */ @core.attr(String, { computed: true }) public meshOwner!: string | core.StringOut; /** * (Required) The name to use for the service mesh. Must be between 1 and 255 characters in length. */ @core.attr(String) public name!: string | core.StringOut; /** * The resource owner's AWS account ID. */ @core.attr(String, { computed: true }) public resourceOwner!: string | core.StringOut; /** * (Optional) The service mesh specification to apply. */ @core.attr(Spec) public spec?: Spec; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: MeshArgs) { super(name, "aws_appmesh_mesh", args); } public override getNamespace(): string { return "aws_appmesh"; } }