Skip to content

Commit

Permalink
Fix newlines and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Makoviecki committed Jun 23, 2022
1 parent ea7b52d commit a986534
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/@aws-cdk/aws-servicecatalogappregistry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ You can share your AppRegistry applications and attribute groups with AWS Organi
### Sharing an application

```ts
import * as iam from '@aws-cdk/aws-iam';
declare const application: appreg.Application;
application.shareResource({
accounts: ['123456789012'],
Expand All @@ -144,6 +145,7 @@ application.shareResource({
### Sharing an attribute group

```ts
import * as iam from '@aws-cdk/aws-iam';
declare const attributeGroup: appreg.AttributeGroup;
attributeGroup.shareResource({
accounts: ['123456789012'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ export function getPrincipalsforSharing(options: ShareOptions): string[] {
throw new Error('An entity must be provided for the share');
}
return principals;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@ attributeGroup.shareResource({
});

app.synth();

0 comments on commit a986534

Please sign in to comment.