AWS cli documentation change
Summary
Updated CLI version reference, reordered parameters, modified regex patterns for name/tags/ARN fields, and restructured auth-type/sharing-config documentation
Security assessment
Changes include documentation restructuring and regex pattern adjustments but lack explicit references to security vulnerabilities or mitigations. The auth-type documentation (IAM policy configuration) was moved but not substantively changed. Regex pattern relaxations (e.g., allowing wider character ranges) could theoretically impact input validation, but there's no direct evidence these changes address specific security issues.
Diff
diff --git a/cli/latest/reference/vpc-lattice/create-service-network.md b/cli/latest/reference/vpc-lattice/create-service-network.md index a1afdcbda..f8674f3eb 100644 --- a//cli/latest/reference/vpc-lattice/create-service-network.md +++ b//cli/latest/reference/vpc-lattice/create-service-network.md @@ -15 +15 @@ - * [AWS CLI 2.31.3 Command Reference](../../index.html) » + * [AWS CLI 2.31.5 Command Reference](../../index.html) » @@ -70 +69,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la - [--auth-type <value>] @@ -73 +72 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la - [--sharing-config <value>] + [--auth-type <value>] @@ -74,0 +74 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la + [--sharing-config <value>] @@ -99,16 +98,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -`--auth-type` (string) - -> The type of IAM policy. -> -> * `NONE` : The resource does not use an IAM policy. This is the default. -> * `AWS_IAM` : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required. -> - -> -> Possible values: -> -> * `NONE` -> * `AWS_IAM` -> - - @@ -123 +107 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -> * pattern: `[!-~]+` +> * pattern: `.*[!-~]+.*` @@ -135 +119 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -> * pattern: `^(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$` +> * pattern: `(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+` @@ -139 +123 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -`--sharing-config` (structure) +`--auth-type` (string) @@ -141 +125 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -> Specify if the service network should be enabled for sharing. +> The type of IAM policy. @@ -143 +127,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -> enabled -> (boolean) +> * `NONE` : The resource does not use an IAM policy. This is the default. +> * `AWS_IAM` : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required. @@ -145 +129,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la ->> Specifies if the service network is enabled for sharing. @@ -147,12 +131,6 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -Shorthand Syntax: - - - enabled=boolean - - -JSON Syntax: - - - { - "enabled": true|false - } +> +> Possible values: +> +> * `NONE` +> * `AWS_IAM` +> @@ -210,0 +189,22 @@ JSON Syntax: +`--sharing-config` (structure) + +> Specify if the service network should be enabled for sharing. +> +> enabled -> (boolean) +> +>> Specifies if the service network is enabled for sharing. + +Shorthand Syntax: + + + enabled=boolean + + +JSON Syntax: + + + { + "enabled": true|false + } + + @@ -340,23 +339,0 @@ For more information, see [Service networks](https://docs.aws.amazon.com/vpc-lat -arn -> (string) - -> The Amazon Resource Name (ARN) of the service network. -> -> Constraints: -> -> * min: `32` -> * max: `2048` -> * pattern: `^arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetwork/sn-[0-9a-z]{17}$` -> - - -authType -> (string) - -> The type of IAM policy. -> -> Possible values: -> -> * `NONE` -> * `AWS_IAM` -> - - @@ -371 +348 @@ id -> (string) -> * pattern: `^sn-[0-9a-z]{17}$` +> * pattern: `sn-[0-9a-z]{17}` @@ -383 +360,13 @@ name -> (string) -> * pattern: `^(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$` +> * pattern: `(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+` +> + + +arn -> (string) + +> The Amazon Resource Name (ARN) of the service network. +> +> Constraints: +> +> * min: `32` +> * max: `2048` +> * pattern: `arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetwork/sn-[0-9a-z]{17}` @@ -394,0 +384,11 @@ sharingConfig -> (structure) +authType -> (string) + +> The type of IAM policy. +> +> Possible values: +> +> * `NONE` +> * `AWS_IAM` +> + + @@ -405 +405 @@ sharingConfig -> (structure) - * [AWS CLI 2.31.3 Command Reference](../../index.html) » + * [AWS CLI 2.31.5 Command Reference](../../index.html) »