Now that X-Ray exists as a feature that can be enabled on AppSync since February 2020 (https://aws.amazon.com/about-aws/whats-new/2020/02/aws-appsync-releases-integration-with-aws-x-ray-and-graphql-info-object-support/) it makes sense to allow it to be enabled through the CDK constructs, similarly to how it's enabled for Lambda constructs for example.
In other words, something like this should be possible:
new GraphQLApi(this, `graphql`, {
name: `graphql`,
tracing: Tracing.ACTIVE,
};
This is a :rocket: Feature Request
also, Xray is supported by CFN https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html
This should be a good first issue to tackle for first time contributors!
boolean prop for xrayEnabledxrayEnabled prop in class CfnGraphQLApi from appsync.generated.ts file that is generated on yarn buildI may be able to implement this feature request.
@tomoki10 fantastic! whenever you start please feel free to label the issue as in-progress :)
Most helpful comment
I may be able to implement this feature request.