AWS::ApiGatewayV2::RoutingRuleSchema for AWS::ApiGatewayV2::RoutingRule
4 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Actions | Array<Action> | Required |
Conditions | Array<Condition> | Required |
DomainNameArn | string | RequiredCreate-only |
Priority | integer | Required |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
RoutingRuleArn | string | Amazon Resource Name (ARN) of the resource. |
RoutingRuleId | string | RoutingRule Id generated by service |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ApiGatewayV2::RoutingRule
Resources:
MyResource:
Type: AWS::ApiGatewayV2::RoutingRule
Properties:
DomainNameArn: "arn:aws:service:region:account:resource"
Priority: 1
Conditions: []
Actions: []Permissions CloudFormation needs in your IAM role to manage this resource.
apigateway:CreateRoutingRuleapigateway:GetRoutingRuleapigateway:UpdateRoutingRuleapigateway:DeleteRoutingRuleapigateway:ListRoutingRulesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterRoutingRuleArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
DomainNameArn