import * as core from "@terrascript/core"; export interface VirtualServiceArgs extends core.SchemaArgs { virtualServiceName: string | core.StringOut; } export declare class VirtualService extends core.Schema { virtualServiceName: string | core.StringOut; } export interface TargetArgs extends core.SchemaArgs { virtualService: VirtualService; } export declare class Target extends core.Schema { virtualService: VirtualService; } export interface RewriteHostnameArgs extends core.SchemaArgs { defaultTargetHostname: string | core.StringOut; } export declare class RewriteHostname extends core.Schema { defaultTargetHostname: string | core.StringOut; } export interface PrefixArgs extends core.SchemaArgs { defaultPrefix?: string | core.StringOut; value?: string | core.StringOut; } export declare class Prefix extends core.Schema { defaultPrefix?: string | core.StringOut; value?: string | core.StringOut; } export interface RewriteArgs extends core.SchemaArgs { hostname?: RewriteHostname; prefix?: Prefix; } export declare class Rewrite extends core.Schema { hostname?: RewriteHostname; prefix?: Prefix; } export interface Http2RouteActionArgs extends core.SchemaArgs { rewrite?: Rewrite; target: Target; } export declare class Http2RouteAction extends core.Schema { rewrite?: Rewrite; target: Target; } export interface Http2RouteMatchHostnameArgs extends core.SchemaArgs { exact?: string | core.StringOut; suffix?: string | core.StringOut; } export declare class Http2RouteMatchHostname extends core.Schema { exact?: string | core.StringOut; suffix?: string | core.StringOut; } export interface Http2RouteMatchArgs extends core.SchemaArgs { hostname?: Http2RouteMatchHostname; prefix?: string | core.StringOut; } export declare class Http2RouteMatch extends core.Schema { hostname?: Http2RouteMatchHostname; prefix?: string | core.StringOut; } export interface Http2RouteArgs extends core.SchemaArgs { action: Http2RouteAction; match: Http2RouteMatch; } export declare class Http2Route extends core.Schema { action: Http2RouteAction; match: Http2RouteMatch; } export interface HttpRouteArgs extends core.SchemaArgs { action: Http2RouteAction; match: Http2RouteMatch; } export declare class HttpRoute extends core.Schema { action: Http2RouteAction; match: Http2RouteMatch; } export interface GrpcRouteMatchArgs extends core.SchemaArgs { serviceName: string | core.StringOut; } export declare class GrpcRouteMatch extends core.Schema { serviceName: string | core.StringOut; } export interface GrpcRouteActionArgs extends core.SchemaArgs { target: Target; } export declare class GrpcRouteAction extends core.Schema { target: Target; } export interface GrpcRouteArgs extends core.SchemaArgs { action: GrpcRouteAction; match: GrpcRouteMatch; } export declare class GrpcRoute extends core.Schema { action: GrpcRouteAction; match: GrpcRouteMatch; } export interface SpecArgs extends core.SchemaArgs { grpcRoute?: GrpcRoute; http2Route?: Http2Route; httpRoute?: HttpRoute; } export declare class Spec extends core.Schema { grpcRoute?: GrpcRoute; http2Route?: Http2Route; httpRoute?: HttpRoute; } export interface GatewayRouteArgs extends core.ResourceArgs { /** * (Required) The name of the service mesh in which to create the gateway route. Must be between 1 and * 255 characters in length. */ meshName: string | core.StringOut; /** * (Optional) The AWS account ID of the service mesh's owner. Defaults to the account ID the [AWS provi * der][1] is currently connected to. */ meshOwner?: string | core.StringOut; /** * (Required) The name to use for the gateway route. Must be between 1 and 255 characters in length. */ name: string | core.StringOut; /** * (Required) The gateway route 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; /** * (Required) The name of the [virtual gateway](/docs/providers/aws/r/appmesh_virtual_gateway.html) to * associate the gateway route with. Must be between 1 and 255 characters in length. */ virtualGatewayName: string | core.StringOut; } export declare class GatewayRoute extends core.Resource { /** * The ARN of the gateway route. */ arn: string | core.StringOut; /** * The creation date of the gateway route. */ createdDate: string | core.StringOut; /** * The ID of the gateway route. */ id: string | core.StringOut; /** * The last update date of the gateway route. */ lastUpdatedDate: string | core.StringOut; /** * (Required) The name of the service mesh in which to create the gateway route. Must be between 1 and * 255 characters in length. */ meshName: string | core.StringOut; /** * (Optional) The AWS account ID of the service mesh's owner. Defaults to the account ID the [AWS provi * der][1] is currently connected to. */ meshOwner?: string | core.StringOut; /** * (Required) The name to use for the gateway route. Must be between 1 and 255 characters in length. */ name: string | core.StringOut; /** * The resource owner's AWS account ID. */ resourceOwner: string | core.StringOut; /** * (Required) The gateway route 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; /** * (Required) The name of the [virtual gateway](/docs/providers/aws/r/appmesh_virtual_gateway.html) to * associate the gateway route with. Must be between 1 and 255 characters in length. */ virtualGatewayName: string | core.StringOut; constructor(name: string, args?: GatewayRouteArgs); getNamespace(): string; } //# sourceMappingURL=gateway_route.d.ts.map