forked from aws/aws-cdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(vpcv2): adding rosetta for ReadMe (aws#31191)
### Issue # (if applicable) Closes #. ### Reason for this change Adding rosetta lib to populate documentation for VPCv2. ### Description of changes Adding rosetta lib to populate documentation for VPCv2. ### Description of how you validated changes Validated that readMe has no failures with below command `yarn rosetta:extract` ### 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*
- Loading branch information
Showing
2 changed files
with
80 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
packages/@aws-cdk/aws-ec2-alpha/rosetta/default.ts-fixture
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Fixture with packages imported, but nothing else | ||
import { Construct } from 'constructs'; | ||
import { Stack, App, Fn } from 'aws-cdk-lib'; | ||
import * as vpc_v2 from '@aws-cdk/aws-ec2-alpha'; | ||
import { Ipam, AwsServiceName, IpCidr } from '@aws-cdk/aws-ec2-alpha'; | ||
import { NatConnectivityType } from '@aws-cdk/aws-ec2-alpha' | ||
import * as ec2 from 'aws-cdk-lib/aws-ec2'; | ||
|
||
class Fixture extends Stack { | ||
constructor(scope: Construct, id: string) { | ||
super(scope, id); | ||
|
||
/// here | ||
} | ||
} |