Skip to content

Commit

Permalink
chore: fix typos in aws-guidelines (#1836)
Browse files Browse the repository at this point in the history
  • Loading branch information
SoManyHs authored and Elad Ben-Israel committed Feb 26, 2019
1 parent cbfc1ec commit 1d28571
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions design/aws-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ and represents an "imported resource".

> <a id="import-props-interface">awslint: import-props-interface</a>
The "props" argument is `XxxImportProps`, which an interface that declares
The "props" argument is `XxxImportProps`, which is an interface that declares
properties that allow the user to specify an external resource identity, usually
by providing one or more resource attributes such as ARN, physical name, etc.

Expand All @@ -216,7 +216,7 @@ The recommended way to implement the `import` method is as follows:
1. A public abstract base class called `XxxBase` which implements `IXxx` and
extends `cdk.Construct`.
2. The base class should provide as much of the implementation of `IXxx` as possible given the
context it has. In most cases, `grant` methods, `metric` methods, etc can be implemented at
context it has. In most cases, `grant` methods, `metric` methods, etc. can be implemented at
at that level.
5. A private class called `ImportedXxx` which extends `XxxBase` and implements
any remaining abstract members.
Expand Down Expand Up @@ -320,8 +320,7 @@ export interface IFoo extends cdk.IConstruct, ISomething {

// attributes
readonly fooArn: string;
readonly fooFoo: string;
readonly fooBar: string;
readonly fooBoo: string;

// security group connections (if applicable)
readonly connections: ec2.Connections;
Expand Down

0 comments on commit 1d28571

Please sign in to comment.