Skip to content

Commit e628e6e

Browse files
authored
docs(ssm): fix grammatical errors for StringParameter (#27004)
I found some grammatical errors while debugging an issue. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent a0458b7 commit e628e6e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/aws-cdk-lib/aws-ssm/lib/parameter.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ export interface ParameterOptions {
9999
readonly parameterName?: string;
100100

101101
/**
102-
* Indicates of the parameter name is a simple name (i.e. does not include "/"
102+
* Indicates if the parameter name is a simple name (i.e. does not include "/"
103103
* separators).
104104
*
105-
* This is only required only if `parameterName` is a token, which means we
105+
* This is required only if `parameterName` is a token, which means we
106106
* are unable to detect if the name is simple or "path-like" for the purpose
107107
* of rendering SSM parameter ARNs.
108108
*
@@ -168,7 +168,7 @@ abstract class ParameterBase extends Resource implements IParameter {
168168
/**
169169
* The encryption key that is used to encrypt this parameter.
170170
*
171-
* * @default - default master key
171+
* @default - default master key
172172
*/
173173
public readonly encryptionKey?: kms.IKey;
174174

@@ -337,10 +337,10 @@ export interface CommonStringParameterAttributes {
337337
readonly parameterName: string;
338338

339339
/**
340-
* Indicates of the parameter name is a simple name (i.e. does not include "/"
340+
* Indicates if the parameter name is a simple name (i.e. does not include "/"
341341
* separators).
342342
*
343-
* This is only required only if `parameterName` is a token, which means we
343+
* This is required only if `parameterName` is a token, which means we
344344
* are unable to detect if the name is simple or "path-like" for the purpose
345345
* of rendering SSM parameter ARNs.
346346
*

0 commit comments

Comments
 (0)