From 326580a415ed5d5a6b2261b9c7b239f1388d91d0 Mon Sep 17 00:00:00 2001 From: mazyu36 Date: Wed, 26 Jun 2024 03:35:46 +0900 Subject: [PATCH] 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* --- packages/aws-cdk-lib/aws-ecs/lib/base/base-service.ts | 2 +- packages/aws-cdk-lib/aws-eks/lib/managed-nodegroup.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/aws-cdk-lib/aws-ecs/lib/base/base-service.ts b/packages/aws-cdk-lib/aws-ecs/lib/base/base-service.ts index 42f1e3a1b5c97..2cbea1c5eb0b4 100644 --- a/packages/aws-cdk-lib/aws-ecs/lib/base/base-service.ts +++ b/packages/aws-cdk-lib/aws-ecs/lib/base/base-service.ts @@ -410,7 +410,7 @@ export interface BaseServiceProps extends BaseServiceOptions { * * LaunchType will be omitted if capacity provider strategies are specified on the service. * - * @see - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-capacityproviderstrategy + * @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-capacityproviderstrategy * * Valid values are: LaunchType.ECS or LaunchType.FARGATE or LaunchType.EXTERNAL */ diff --git a/packages/aws-cdk-lib/aws-eks/lib/managed-nodegroup.ts b/packages/aws-cdk-lib/aws-eks/lib/managed-nodegroup.ts index 4f653269ef4b0..fe0df0fd7cc37 100644 --- a/packages/aws-cdk-lib/aws-eks/lib/managed-nodegroup.ts +++ b/packages/aws-cdk-lib/aws-eks/lib/managed-nodegroup.ts @@ -245,7 +245,7 @@ export interface NodegroupOptions { /** * The instance types to use for your node group. * @default t3.medium will be used according to the cloudformation document. - * @see - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-nodegroup.html#cfn-eks-nodegroup-instancetypes + * @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-nodegroup.html#cfn-eks-nodegroup-instancetypes */ readonly instanceTypes?: InstanceType[]; /** @@ -293,7 +293,7 @@ export interface NodegroupOptions { readonly tags?: { [name: string]: string }; /** * Launch template specification used for the nodegroup - * @see - https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html + * @see https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html * @default - no launch template */ readonly launchTemplateSpec?: LaunchTemplateSpec;