Show / Hide Table of Contents

Interface CfnGatewayRoute.IGrpcGatewayRouteActionProperty

An object that represents the action to take if a match is determined.

Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnGatewayRoute.IGrpcGatewayRouteActionProperty
Syntax (vb)
Public Interface CfnGatewayRoute.IGrpcGatewayRouteActionProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayrouteaction.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.AppMesh;

             var grpcGatewayRouteActionProperty = new GrpcGatewayRouteActionProperty {
                 Target = new GatewayRouteTargetProperty {
                     VirtualService = new GatewayRouteVirtualServiceProperty {
                         VirtualServiceName = "virtualServiceName"
                     },

                     // the properties below are optional
                     Port = 123
                 },

                 // the properties below are optional
                 Rewrite = new GrpcGatewayRouteRewriteProperty {
                     Hostname = new GatewayRouteHostnameRewriteProperty {
                         DefaultTargetHostname = "defaultTargetHostname"
                     }
                 }
             };

Synopsis

Properties

Rewrite

The gateway route action to rewrite.

Target

An object that represents the target that traffic is routed to when a request matches the gateway route.

Properties

Rewrite

The gateway route action to rewrite.

object? Rewrite { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayrouteaction.html#cfn-appmesh-gatewayroute-grpcgatewayrouteaction-rewrite

Type union: either IResolvable or CfnGatewayRoute.IGrpcGatewayRouteRewriteProperty

Target

An object that represents the target that traffic is routed to when a request matches the gateway route.

object Target { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayrouteaction.html#cfn-appmesh-gatewayroute-grpcgatewayrouteaction-target

Type union: either IResolvable or CfnGatewayRoute.IGatewayRouteTargetProperty

Back to top Generated by DocFX