Skip to content

Commit

Permalink
chore(cx-api): Rename feature flag comment to RestApi
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesorlakin committed Nov 8, 2021
1 parent 7a042ca commit bf96867
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/cx-api/lib/features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ export const LAMBDA_RECOGNIZE_VERSION_PROPS = '@aws-cdk/aws-lambda:recognizeVers
export const CLOUDFRONT_DEFAULT_SECURITY_POLICY_TLS_V1_2_2021 = '@aws-cdk/aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021';

/**
* API Gateway's REST API construct always creates a CfnOutput with a blank exportName. That name can be overridden
* API Gateway's RestApi construct always creates a CfnOutput with a blank exportName. That name can be overridden
* by the `endpointExportName` prop but there's no option to simply not have it produce an output in the first
* place.
* If this values is true, no CfnOutput will be created by the RestApi construct, unless `endpointExportName` is
* If this value is true, no CfnOutput will be created by the RestApi construct, unless `endpointExportName` is
* provided. If false (default legacy behaviour), an output will be created but without an explicit `exportName`.
*/
export const APIGATEWAY_REST_API_NO_CFN_OUTPUT = '@aws-cdk/aws-apigateway:noDefaultRestApiCfnOutput';
Expand Down

0 comments on commit bf96867

Please sign in to comment.