AWS cli documentation change
Summary
Updated CLI version reference, reordered parameters, modified parameter descriptions/constraints, added explicit resource type documentation, and adjusted regex patterns for validation.
Security assessment
Changes include routine version updates, parameter reordering, and validation pattern adjustments without explicit security context. No concrete evidence of addressing vulnerabilities.
Diff
diff --git a/cli/latest/reference/vpc-lattice/create-resource-configuration.md b/cli/latest/reference/vpc-lattice/create-resource-configuration.md index fb2986ccb..9167cc511 100644 --- a//cli/latest/reference/vpc-lattice/create-resource-configuration.md +++ b//cli/latest/reference/vpc-lattice/create-resource-configuration.md @@ -15 +15 @@ - * [AWS CLI 2.31.3 Command Reference](../../index.html) » + * [AWS CLI 2.31.5 Command Reference](../../index.html) » @@ -68,2 +67,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la - [--allow-association-to-shareable-service-network | --no-allow-association-to-shareable-service-network] - [--client-token <value>] @@ -70,0 +69 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la + --type <value> @@ -73,2 +71,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la - [--resource-configuration-definition <value>] - [--resource-configuration-group-identifier <value>] @@ -75,0 +73,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la + [--resource-configuration-group-identifier <value>] + [--resource-configuration-definition <value>] + [--allow-association-to-shareable-service-network | --no-allow-association-to-shareable-service-network] + [--client-token <value>] @@ -77 +77,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la - --type <value> @@ -102,5 +102 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -`--allow-association-to-shareable-service-network` | `--no-allow-association-to-shareable-service-network` (boolean) - -> (SINGLE, GROUP, ARN) Specifies whether the resource configuration can be associated with a sharable service network. The default is false. - -`--client-token` (string) +`--name` (string) [required] @@ -108 +104 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -> A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren’t identical, the retry fails. +> The name of the resource configuration. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can’t use a hyphen as the first or last character, or immediately after another hyphen. @@ -112,3 +108,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -> * min: `1` -> * max: `64` -> * pattern: `[!-~]+` +> * min: `3` +> * max: `40` +> * pattern: `(?!rcfg-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+` @@ -118 +114 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -`--name` (string) [required] +`--type` (string) [required] @@ -120 +116 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -> The name of the resource configuration. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can’t use a hyphen as the first or last character, or immediately after another hyphen. +> The type of resource configuration. A resource configuration can be one of the following types: @@ -122 +118,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -> Constraints: +> * **SINGLE** \- A single resource. +> * **GROUP** \- A group of resources. You must create a group resource configuration before you create a child resource configuration. +> * **CHILD** \- A single resource that is part of a group resource configuration. +> * **ARN** \- An Amazon Web Services resource. @@ -124,3 +123,8 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -> * min: `3` -> * max: `40` -> * pattern: `^(?!rcfg-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$` + +> +> Possible values: +> +> * `GROUP` +> * `CHILD` +> * `SINGLE` +> * `ARN` @@ -140 +144 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la ->> * pattern: `^((\d{1,5}\-\d{1,5})|(\d+))$` +>> * pattern: `((\d{1,5}\-\d{1,5})|(\d+))` @@ -160 +164 @@ Syntax: -`--resource-configuration-definition` (tagged union structure) +`--resource-gateway-identifier` (string) @@ -162 +166 @@ Syntax: -> (SINGLE, CHILD, ARN) The resource configuration. +> (SINGLE, GROUP, ARN) The ID or ARN of the resource gateway used to connect to the resource configuration. For a child resource configuration, this value is inherited from the parent resource configuration. @@ -164 +168 @@ Syntax: -> ### Note +> Constraints: @@ -166 +170,3 @@ Syntax: -> This is a Tagged Union structure. Only one of the following top level keys can be set: `arnResource`, `dnsResource`, `ipResource`. +> * min: `17` +> * max: `2048` +> * pattern: `((rgw-[0-9a-z]{17})|(arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:resourcegateway/rgw-[0-9a-z]{17}))` @@ -168 +174,11 @@ Syntax: -> arnResource -> (structure) + + +`--resource-configuration-group-identifier` (string) + +> (CHILD) The ID or ARN of the parent resource configuration of type `GROUP` . This is used to associate a child resource configuration with a group resource configuration. +> +> Constraints: +> +> * min: `20` +> * max: `2048` +> * pattern: `((rcfg-[0-9a-z]{17})|(arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:resourceconfiguration/rcfg-[0-9a-z]{17}))` @@ -170,12 +185,0 @@ Syntax: ->> The Amazon Resource Name (ARN) of the resource. ->> ->> arn -> (string) ->> ->>> The Amazon Resource Name (ARN) of the resource. ->>> ->>> Constraints: ->>> ->>> * min: `20` ->>> * max: `2048` ->>> * pattern: `^arn:[a-z0-9][-.a-z0-9]{0,62}:[a-z0-9][-.a-z0-9]{0,62}:([a-z0-9][-.a-z0-9]{0,62})?:\d{12}?:[^/].{0,1023}$` ->>> @@ -182,0 +187,14 @@ Syntax: + +`--resource-configuration-definition` (tagged union structure) + +> Identifies the resource configuration in one of the following ways: +> +> * **Amazon Resource Name (ARN)** \- Supported resource-types that are provisioned by Amazon Web Services services, such as RDS databases, can be identified by their ARN. +> * **Domain name** \- Any domain name that is publicly resolvable. +> * **IP address** \- For IPv4 and IPv6, only IP addresses in the VPC are supported. +> + +> +> ### Note +> +> This is a Tagged Union structure. Only one of the following top level keys can be set: `dnsResource`, `ipResource`, `arnResource`. @@ -201 +219 @@ Syntax: ->>> The type of IP address. +>>> The type of IP address. Dualstack is currently not supported. @@ -224,0 +243,16 @@ Syntax: +> +> arnResource -> (structure) +> +>> The Amazon Resource Name (ARN) of the resource. +>> +>> arn -> (string) +>> +>>> The Amazon Resource Name (ARN) of the resource. +>>> +>>> Constraints: +>>> +>>> * min: `20` +>>> * max: `2048` +>>> * pattern: `arn:[a-z0-9][-.a-z0-9]{0,62}:[a-z0-9][-.a-z0-9]{0,62}:([a-z0-9][-.a-z0-9]{0,62})?:\d{12}?:[^/].{0,1023}` +>>> + @@ -229 +263 @@ Shorthand Syntax: - arnResource={arn=string},dnsResource={domainName=string,ipAddressType=string},ipResource={ipAddress=string} + dnsResource={domainName=string,ipAddressType=string},ipResource={ipAddress=string},arnResource={arn=string} @@ -236,3 +269,0 @@ JSON Syntax: - "arnResource": { - "arn": "string" - }, @@ -244,0 +276,3 @@ JSON Syntax: + }, + "arnResource": { + "arn": "string" @@ -249,10 +283 @@ JSON Syntax: -`--resource-configuration-group-identifier` (string) - -> (CHILD) The ID or ARN of the parent resource configuration (type is `GROUP` ). This is used to associate a child resource configuration with a group resource configuration. -> -> Constraints: -> -> * min: `20` -> * max: `2048` -> * pattern: `^((rcfg-[0-9a-z]{17})|(arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:resourceconfiguration/rcfg-[0-9a-z]{17}))$` -> +`--allow-association-to-shareable-service-network` | `--no-allow-association-to-shareable-service-network` (boolean) @@ -259,0 +285 @@ JSON Syntax: +> (SINGLE, GROUP, ARN) Specifies whether the resource configuration can be associated with a sharable service network. The default is false. @@ -261 +287 @@ JSON Syntax: -`--resource-gateway-identifier` (string) +`--client-token` (string) @@ -263 +289 @@ JSON Syntax: -> (SINGLE, GROUP, ARN) The ID or ARN of the resource gateway used to connect to the resource configuration. For a child resource configuration, this value is inherited from the parent resource configuration. +> A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren’t identical, the retry fails. @@ -267,3 +293,3 @@ JSON Syntax: -> * min: `17` -> * max: `2048` -> * pattern: `^((rgw-[0-9a-z]{17})|(arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:resourcegateway/rgw-[0-9a-z]{17}))$` +> * min: `1` +> * max: `64` +> * pattern: `.*[!-~]+.*` @@ -323,20 +348,0 @@ JSON Syntax: -`--type` (string) [required] - -> The type of resource configuration. -> -> * `SINGLE` \- A single resource. -> * `GROUP` \- A group of resources. You must create a group resource configuration before you create a child resource configuration. -> * `CHILD` \- A single resource that is part of a group resource configuration. -> * `ARN` \- An Amazon Web Services resource. -> - -> -> Possible values: -> -> * `GROUP` -> * `CHILD` -> * `SINGLE` -> * `ARN` -> - -