AWS cdk documentation change
Summary
Updated API documentation links from v1 to v2 references
Security assessment
Version updates in documentation links without security implications
Diff
diff --git a/cdk/v1/guide/context.md b/cdk/v1/guide/context.md index 2ce19ba92..4eae817e6 100644 --- a//cdk/v1/guide/context.md +++ b//cdk/v1/guide/context.md @@ -67 +67 @@ Your app can read a context value using the `construct.node.tryGetContext` metho -The AWS CDK supports several context methods that enable AWS CDK apps to obtain contextual information from the AWS environment. For example, you can get a list of Availability Zones that are available in a given AWS account and region, using the [stack.availabilityZones](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_core.Stack.html#availabilityzones) method. +The AWS CDK supports several context methods that enable AWS CDK apps to obtain contextual information from the AWS environment. For example, you can get a list of Availability Zones that are available in a given AWS account and region, using the [stack.availabilityZones](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_core.Stack.html#availabilityzones) method. @@ -71 +71 @@ The following are the context methods: -[HostedZone.fromLookup](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-route53.HostedZone.html#static-from-wbr-lookupscope-id-query) +[HostedZone.fromLookup](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-route53.HostedZone.html#static-from-wbr-lookupscope-id-query) @@ -76 +76 @@ Gets the hosted zones in your account. -[stack.availabilityZones](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_core.Stack.html#availabilityzones) +[stack.availabilityZones](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_core.Stack.html#availabilityzones) @@ -81 +81 @@ Gets the supported Availability Zones. -[StringParameter.valueFromLookup](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ssm.StringParameter.html#static-value-wbr-from-wbr-lookupscope-parametername) +[StringParameter.valueFromLookup](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ssm.StringParameter.html#static-value-wbr-from-wbr-lookupscope-parametername) @@ -86 +86 @@ Gets a value from the current Region's Amazon EC2 Systems Manager Parameter Stor -[Vpc.fromLookup](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ec2.Vpc.html#static-from-wbr-lookupscope-id-options) +[Vpc.fromLookup](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ec2.Vpc.html#static-from-wbr-lookupscope-id-options) @@ -91 +91 @@ Gets the existing Amazon Virtual Private Clouds in your accounts. -[LookupMachineImage](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ec2.LookupMachineImage.html) +[LookupMachineImage](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ec2.LookupMachineImage.html)