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(example-library): update example resource (aws#32802)
### Issue # (if applicable) N/A ### Reason for this change The `example-resource.ts` library is slightly out of date with how CDK is structured today. These changes aim to align the file with what we do today. ### Description of changes Altered the core import, as we do not (AFAIK) follow this convention any more: ```ts import * as core from 'aws-cdk-lib/core'; // before import { ... } from 'aws-cdk-lib/core'; // after ``` In addition, slightly changed around some comment phrasing. ### Describe any new or updated permissions being added N/A ### Description of how you validated changes Semantic changes; tests still continue to pass. ### 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
1 changed file
with
14 additions
and
14 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