interface ActionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.CfnRoutingRule.ActionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#CfnRoutingRule_ActionProperty |
![]() | software.amazon.awscdk.services.apigatewayv2.CfnRoutingRule.ActionProperty |
![]() | aws_cdk.aws_apigatewayv2.CfnRoutingRule.ActionProperty |
![]() | aws-cdk-lib » aws_apigatewayv2 » CfnRoutingRule » ActionProperty |
Represents a routing rule action.
The only supported action is invokeApi
.
Example
// 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
Name | Type | Description |
---|---|---|
invoke | IResolvable | Action | Represents an InvokeApi action. |
invokeApi
Type:
IResolvable
|
Action
Represents an InvokeApi action.