Skip to content

Commit

Permalink
feat(codeguruprofiler): add support for ComputePlatform in ProfilingG…
Browse files Browse the repository at this point in the history
…roup
  • Loading branch information
SeekerWing committed Aug 1, 2020
1 parent 321c7c9 commit 73d0b13
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/@aws-cdk/aws-codeguruprofiler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,13 @@ const publishAppRole = new Role(stack, 'PublishAppRole', {
const profilingGroup = new ProfilingGroup(stack, 'MyProfilingGroup');
profilingGroup.grantPublish(publishAppRole);
```

### Compute Platform Configuration

Code Guru Profiler supports multiple compute environments and this can be configured while setting up a Profiling Group

```ts
const profilingGroup = new ProfilingGroup(stack, 'MyProfilingGroup', {
computePlatform: ComputePlatform.AWS_LAMBDA,
});
```

0 comments on commit 73d0b13

Please sign in to comment.