Skip to content

Commit

Permalink
Updated readme - removed the name property from JobRunnerProps (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
ujwalbukka authored Jul 9, 2024
1 parent f3f43e3 commit f923125
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/public/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ Notice the use of the `provisioning.sh` and `deprovisioning.sh` scripts at the t

```typescript
const provisioningJobRunnerProps = {
name: 'provisioning',
permissions: PolicyDocument.fromJson(/*See below*/),
script: '' /*See below*/,
environmentStringVariablesFromIncomingEvent: ['tenantId', 'tier'],
Expand All @@ -223,7 +222,6 @@ Let's take a moment and dissect this object.

| Key | Type | Purpose |
| ----------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| **name** | string | The **name** key is just a name for this job. |
| **script** | string | A string in bash script format that represents the job to be run (example below) |
| **permissions** | [PolicyDocument](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iam.PolicyDocument.html) | An IAM policy document giving this job the IAM permisisons it needs to do what it's being asked to do |
| **environmentStringVariablesFromIncomingEvent** | string[] | The environment variables to import into the BashJobRunner from event details field. |
Expand Down Expand Up @@ -373,7 +371,6 @@ export class AppPlaneStack extends cdk.Stack {
super(scope, id, props);

const provisioningJobRunnerProps = {
name: 'provisioning',
permissions: new PolicyDocument({
statements: [
new PolicyStatement({
Expand Down

0 comments on commit f923125

Please sign in to comment.