Adrián Mouly
09/10/2021, 7:19 AMWAF v2
with APIGW v2
? I’m trying to use both, but my httpApi
is created by SST, and not sure how to get the ARN.
new waf.CfnWebACLAssociation(this, 'WebACLAssociation', {
webAclArn: webACL.attrArn,
resourceArn: 'XXXX',
});
I need resourceArn
but not sure how to get it.Frank
Frank
arn:_partition_:apigateway:_region_::/apis/_api-id_
?Frank
Frank
arn:aws:apigateway:${app.region}::/apis/${myApi.httpApi.apiId}
Adrián Mouly
09/10/2021, 1:04 PMAdrián Mouly
09/10/2021, 1:04 PMFrank
Frank
httpApiArn
to sst.Api
https://github.com/serverless-stack/serverless-stack/issues/805Adrián Mouly
09/10/2021, 6:43 PMAdrián Mouly
09/11/2021, 5:02 AM:
is that right? region::/apis
.Frank