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, { computed: true }) public type!: string | core.StringOut; } export interface SpecArgs extends core.SchemaArgs { egressFilter: core.Array | core.ArrayOut; } export class Spec extends core.Schema { @core.attr(EgressFilter, { computed: true, kind: "array" }) public egressFilter!: core.Array | core.ArrayOut; } export interface DsMeshArgs { /** * (Optional) The AWS account ID of the service mesh's owner. */ meshOwner?: string | core.StringOut; /** * (Required) The name of the service mesh. */ name: string | core.StringOut; /** * A map of tags. */ tags?: core.Map | core.MapOut; } export class DsMesh extends core.Data { /** * 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; @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; /** * (Optional) The AWS account ID of the service mesh's owner. */ @core.attr(String, { computed: true }) public meshOwner?: string | core.StringOut; /** * (Required) The name of the service mesh. */ @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; /** * The service mesh specification. */ @core.attr(Spec, { computed: true, kind: "array" }) public spec!: core.Array | core.ArrayOut; /** * A map of tags. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsMeshArgs) { super(name, "aws_appmesh_mesh", args); } public override getNamespace(): string { return "aws_appmesh"; } }