Interface CfnApiGatewayManagedOverrides.IRouteOverridesProperty
The RouteOverrides
property overrides the route configuration for an API Gateway-managed route.
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public interface IRouteOverridesProperty
Syntax (vb)
Public Interface IRouteOverridesProperty
Remarks
If you remove this property, API Gateway restores the default values.
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.APIGatewayv2;
var routeOverridesProperty = new RouteOverridesProperty {
AuthorizationScopes = new [] { "authorizationScopes" },
AuthorizationType = "authorizationType",
AuthorizerId = "authorizerId",
OperationName = "operationName",
Target = "target"
};
Synopsis
Properties
AuthorizationScopes | The authorization scopes supported by this route. |
AuthorizationType | The authorization type for the route. |
AuthorizerId | The identifier of the |
OperationName | The operation name for the route. |
Target | For HTTP integrations, specify a fully qualified URL. |
Properties
AuthorizationScopes
The authorization scopes supported by this route.
virtual string[] AuthorizationScopes { get; }
Property Value
System.String[]
Remarks
AuthorizationType
The authorization type for the route.
virtual string AuthorizationType { get; }
Property Value
System.String
Remarks
AuthorizerId
The identifier of the Authorizer
resource to be associated with this route.
virtual string AuthorizerId { get; }
Property Value
System.String
Remarks
The authorizer identifier is generated by API Gateway when you created the authorizer.
OperationName
The operation name for the route.
virtual string OperationName { get; }
Property Value
System.String
Remarks
Target
For HTTP integrations, specify a fully qualified URL.
virtual string Target { get; }
Property Value
System.String
Remarks
For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively.