import * as core from "@terrascript/core"; export interface VirtualNodeArgs extends core.SchemaArgs { virtualNodeName: string | core.StringOut; } export class VirtualNode extends core.Schema { @core.attr(String, { computed: true }) public virtualNodeName!: string | core.StringOut; } export interface VirtualRouterArgs extends core.SchemaArgs { virtualRouterName: string | core.StringOut; } export class VirtualRouter extends core.Schema { @core.attr(String, { computed: true }) public virtualRouterName!: string | core.StringOut; } export interface ProviderArgs extends core.SchemaArgs { virtualNode: core.Array | core.ArrayOut; virtualRouter: core.Array | core.ArrayOut; } export class Provider extends core.Schema { @core.attr(VirtualNode, { computed: true, kind: "array" }) public virtualNode!: core.Array | core.ArrayOut; @core.attr(VirtualRouter, { computed: true, kind: "array" }) public virtualRouter!: | core.Array | core.ArrayOut; } export interface SpecArgs extends core.SchemaArgs { provider: core.Array | core.ArrayOut; } export class Spec extends core.Schema { @core.attr(Provider, { computed: true, kind: "array" }) public provider!: core.Array | core.ArrayOut; } export interface DsVirtualServiceArgs { /** * (Required) The name of the service mesh in which the virtual service exists. */ meshName: string | core.StringOut; /** * (Optional) The AWS account ID of the service mesh's owner. */ meshOwner?: string | core.StringOut; /** * (Required) The name of the virtual service. */ name: string | core.StringOut; /** * A map of tags. */ tags?: core.Map | core.MapOut; } export class DsVirtualService extends core.Data { /** * The ARN of the virtual service. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The creation date of the virtual service. */ @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 virtual service. */ @core.attr(String, { computed: true }) public lastUpdatedDate!: string | core.StringOut; /** * (Required) The name of the service mesh in which the virtual service exists. */ @core.attr(String) public meshName!: 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 virtual service. */ @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 virtual service specification */ @core.attr(Spec, { computed: true, kind: "array" }) public spec!: core.Array | core.ArrayOut; /** * A map of tags. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsVirtualServiceArgs) { super(name, "aws_appmesh_virtual_service", args); } public override getNamespace(): string { return "aws_appmesh"; } }