1 Answer
- Newest
- Most votes
- Most comments
1
Answering my own question. This is the quoting that is required:
aws apigatewayv2 update-stage --api-id API_ID --stage-name '$default' --access-log-settings '{"DestinationArn": "arn:aws:logs:us-west-1:ACCOUNT_ID:log-group:LOG_GROUP", "Format": "{ "requestId":"$context.requestId", "ip": "$context.identity.sourceIp", "requestTime":"$context.requestTime", "httpMethod":"$context.httpMethod","routeKey":"$context.routeKey", "status":"$context.status","protocol":"$context.protocol", "responseLength":"$context.responseLength" }"}'
Edited by: LosAlamosAl on Nov 20, 2021 4:30 PM
Edited by: LosAlamosAl on Nov 20, 2021 4:32 PM
answered 3 years ago
Relevant content
- asked 10 months ago
- Accepted Answerasked 3 years ago
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago