Stiofán Ó Lorcáin
05/11/2022, 7:14 AMAppSyncApi
1. My company is requiring all resources in a stack to follow a particular structure. I know you added stackName
to the StackProps to allow for this but it doesn't seem to propagate to the AppSyncApi
, just wondering if there is a way to do this?
2. Is it possible to create a custom graphqlUrl
? At the moment, it is readonly with no set
method
Thanks for any help 🙂thdxr
05/11/2022, 2:12 PMStiofán Ó Lorcáin
05/11/2022, 2:19 PMLambdas
the name can be custom using the stackName
property but it doesn't seem possible to do the same for an AppSync apithdxr
05/11/2022, 2:20 PMconst api = new AppSyncApi(stack, "Api", {
cdk: {
graphqlApi: {
name: "whatever"
}
},
});
Stiofán Ó Lorcáin
05/11/2022, 2:27 PMFrank
Is it possible to create a custom@Stiofán Ó Lorcáin do you mean using custom domain? Here’s an example https://docs.serverless-stack.com/constructs/AppSyncApi#custom-domainsgraphqlUrl
Stiofán Ó Lorcáin
05/12/2022, 4:34 AM