ActionProperty Struct
Represents a routing rule action.
The only supported action is invokeApi .
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
const actionProperty: apigatewayv2.CfnRoutingRule.ActionProperty = {
invokeApi: {
apiId: 'apiId',
stage: 'stage',
// the properties below are optional
stripBasePath: false,
},
};
Properties
invokeApiIResolvable | CfnRoutingRule.ActionInvokeApiPropertyinvoke_apityping.Union[IResolvable, ActionInvokeApiProperty]invokeApiIResolvableInvokeApiIResolvableInvokeApiinterface{}required#Represents an InvokeApi action.