Skip to content

Commit 7b4162a

Browse files
authored
docs(iot-actions-alpha): fix typos (#32891)
### Issue # (if applicable) None ### Reason for this change Fixed typos in code comments. ### 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*
1 parent 64b865b commit 7b4162a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/@aws-cdk/aws-iot-actions-alpha/lib/firehose-put-record-action.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export enum FirehoseRecordSeparator {
2424
WINDOWS_NEWLINE = '\r\n',
2525

2626
/**
27-
* Separate by a commma
27+
* Separate by a comma
2828
*/
2929
COMMA = ',',
3030
}

packages/@aws-cdk/aws-iot-actions-alpha/lib/kinesis-put-record-action.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface KinesisPutRecordActionProps extends CommonActionProps {
1414
*
1515
* @see https://docs.aws.amazon.com/iot/latest/developerguide/iot-substitution-templates.html
1616
*
17-
* You can use the expression '${newuuid()}' if your payload does not have a high cardinarity property.
17+
* You can use the expression '${newuuid()}' if your payload does not have a high cardinality property.
1818
* If you use empty string, this action use no partition key and all records will put same one shard.
1919
*
2020
* @see https://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecord.html#API_PutRecord_RequestParameters

packages/@aws-cdk/aws-iot-actions-alpha/lib/step-functions-state-machine-action.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class StepFunctionsStateMachineAction implements iot.IAction {
2828
private readonly role?: iam.IRole;
2929

3030
/**
31-
* @param stateMachine The Step Functions Start Machine which shoud be executed.
31+
* @param stateMachine The Step Functions Start Machine which should be executed.
3232
* @param props Optional properties to not use default
3333
*/
3434
constructor(private readonly stateMachine: stepfunctions.IStateMachine, props?: StepFunctionsStateMachineActionProps) {

packages/@aws-cdk/aws-iot-actions-alpha/test/kinesis-firehose/firehose-put-record-action.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ test('can set batchMode', () => {
9090
});
9191
});
9292

93-
test('can set separotor', () => {
93+
test('can set separator', () => {
9494
// GIVEN
9595
const stack = new cdk.Stack();
9696
const topicRule = new iot.TopicRule(stack, 'MyTopicRule', {

0 commit comments

Comments
 (0)