Skip to content

Commit 326580a

Browse files
authored
chore: fix invalid links in docs (#30655)
Removed unnecessary hyphens before links in the @see section of the document. Unnecessary hyphens are breaking the links in the document. Same as #30624. Ref: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.BaseServiceProps.html#launchtype https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_eks.NodegroupOptions.html#instancetypes https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_eks.NodegroupOptions.html#launchtemplatespec ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent efee07d commit 326580a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/aws-cdk-lib/aws-ecs/lib/base/base-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ export interface BaseServiceProps extends BaseServiceOptions {
410410
*
411411
* LaunchType will be omitted if capacity provider strategies are specified on the service.
412412
*
413-
* @see - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-capacityproviderstrategy
413+
* @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-capacityproviderstrategy
414414
*
415415
* Valid values are: LaunchType.ECS or LaunchType.FARGATE or LaunchType.EXTERNAL
416416
*/

packages/aws-cdk-lib/aws-eks/lib/managed-nodegroup.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export interface NodegroupOptions {
245245
/**
246246
* The instance types to use for your node group.
247247
* @default t3.medium will be used according to the cloudformation document.
248-
* @see - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-nodegroup.html#cfn-eks-nodegroup-instancetypes
248+
* @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-nodegroup.html#cfn-eks-nodegroup-instancetypes
249249
*/
250250
readonly instanceTypes?: InstanceType[];
251251
/**
@@ -293,7 +293,7 @@ export interface NodegroupOptions {
293293
readonly tags?: { [name: string]: string };
294294
/**
295295
* Launch template specification used for the nodegroup
296-
* @see - https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
296+
* @see https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
297297
* @default - no launch template
298298
*/
299299
readonly launchTemplateSpec?: LaunchTemplateSpec;

0 commit comments

Comments
 (0)