AWS cli documentation change
Summary
Updated ASN documentation with clearer limitations and added new 'rateLimit' parameter for bandwidth control
Security assessment
Changes clarify ASN usage constraints and add bandwidth rate limiting, but lack evidence of addressing specific vulnerabilities. Rate limiting is a standard networking control, not explicitly security-focused.
Diff
diff --git a/cli/latest/reference/directconnect/create-public-virtual-interface.md b/cli/latest/reference/directconnect/create-public-virtual-interface.md index 79a2304d2..375ebba1f 100644 --- a//cli/latest/reference/directconnect/create-public-virtual-interface.md +++ b//cli/latest/reference/directconnect/create-public-virtual-interface.md @@ -15 +15 @@ - * [AWS CLI 2.35.5 Command Reference](../../index.html) » + * [AWS CLI 2.35.8 Command Reference](../../index.html) » @@ -117,5 +117 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/direct ->> ### Note ->> ->> You can use `asnLong` or `asn` , but not both. We recommend using `asnLong` as it supports a greater pool of numbers. ->> ->> * The `asnLong` attribute accepts both ASN and long ASN ranges. +>> * You can use `asnLong` or `asn` , but not both. We recommend using `asnLong` as it supports a greater pool of numbers. @@ -122,0 +119,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/direct +>> * If you enter a 4-byte ASN for the `asn` parameter, the API returns an error. +>> * If you are using a 2-byte ASN, the API response will include the 2-byte value for both the `asn` and `asnLong` fields. @@ -130 +128 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/direct ->> ### Note +>> Note the following limitations when using `asnLong` : @@ -132,3 +130,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/direct ->> You can use `asnLong` or `asn` , but not both. We recommend using `asnLong` as it supports a greater pool of numbers. ->> ->> * The `asnLong` attribute accepts both ASN and long ASN ranges. +>> * You can use `asnLong` or `asn` , but not both. We recommend using `asnLong` as it supports a greater pool of numbers. +>> * `asnLong` accepts any valid ASN value, regardless if it’s 2-byte or 4-byte. +>> * When using a 4-byte `asnLong` , the API response returns `0` for the legacy `asn` attribute since 4-byte ASN values exceed the maximum supported value of 2,147,483,647. +>> * If you are using a 2-byte ASN, the API response will include the 2-byte value for both the `asn` and `asnLong` fields. @@ -210,0 +210,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/direct +> +> rateLimit -> (string) +> +>> The rate limit (bandwidth allocation) to apply to the virtual interface. The rate limit restricts the maximum bandwidth that the virtual interface can use on the parent connection. @@ -215 +218 @@ Shorthand Syntax: - virtualInterfaceName=string,vlan=integer,asn=integer,asnLong=long,authKey=string,amazonAddress=string,customerAddress=string,addressFamily=string,routeFilterPrefixes=[{cidr=string},{cidr=string}],tags=[{key=string,value=string},{key=string,value=string}] + virtualInterfaceName=string,vlan=integer,asn=integer,asnLong=long,authKey=string,amazonAddress=string,customerAddress=string,addressFamily=string,routeFilterPrefixes=[{cidr=string},{cidr=string}],tags=[{key=string,value=string},{key=string,value=string}],rateLimit=string @@ -242 +245,2 @@ JSON Syntax: - ] + ], + "rateLimit": "string" @@ -435,5 +439 @@ asn -> (integer) -> ### Note -> -> You can use `asnLong` or `asn` , but not both. We recommend using `asnLong` as it supports a greater pool of numbers. -> -> * The `asnLong` attribute accepts both ASN and long ASN ranges. +> * You can use `asnLong` or `asn` , but not both. We recommend using `asnLong` as it supports a greater pool of numbers. @@ -440,0 +441,2 @@ asn -> (integer) +> * If you enter a 4-byte ASN for the `asn` parameter, the API returns an error. +> * If you are using a 2-byte ASN, the API response will include the 2-byte value for both the `asn` and `asnLong` fields. @@ -448,3 +450 @@ asnLong -> (long) -> ### Note -> -> You can use `asnLong` or `asn` , but not both. We recommend using `asnLong` as it supports a greater pool of numbers. +> Note the following limitations when using `asnLong` : @@ -452 +452,4 @@ asnLong -> (long) -> * The `asnLong` attribute accepts both ASN and long ASN ranges. +> * You can use `asnLong` or `asn` , but not both. We recommend using `asnLong` as it supports a greater pool of numbers. +> * `asnLong` accepts any valid ASN value, regardless if it’s 2-byte or 4-byte. +> * When using a 4-byte `asnLong` , the API response returns `0` for the legacy `asn` attribute since 4-byte ASN values exceed the maximum supported value of 2,147,483,647. +> * If you are using a 2-byte ASN, the API response will include the 2-byte value for both the `asn` and `asnLong` fields. @@ -564,5 +567 @@ bgpPeers -> (list) ->>> ### Note ->>> ->>> You can use `asnLong` or `asn` , but not both. We recommend using `asnLong` as it supports a greater pool of numbers. ->>> ->>> * The `asnLong` attribute accepts both ASN and long ASN ranges. +>>> * You can use `asnLong` or `asn` , but not both. We recommend using `asnLong` as it supports a greater pool of numbers. @@ -569,0 +569,2 @@ bgpPeers -> (list) +>>> * If you enter a 4-byte ASN for the `asn` parameter, the API returns an error. +>>> * If you are using a 2-byte ASN, the API response will include the 2-byte value for both the `asn` and `asnLong` fields. @@ -577 +578 @@ bgpPeers -> (list) ->>> ### Note +>>> Note the following limitations when using `asnLong` : @@ -579,3 +580,4 @@ bgpPeers -> (list) ->>> You can use `asnLong` or `asn` , but not both. We recommend using `asnLong` as it supports a greater pool of numbers. ->>> ->>> * The `asnLong` attribute accepts both ASN and long ASN ranges. +>>> * You can use `asnLong` or `asn` , but not both. We recommend using `asnLong` as it supports a greater pool of numbers. +>>> * `asnLong` accepts any valid ASN value, regardless if it’s 2-byte or 4-byte. +>>> * When using a 4-byte `asnLong` , the API response returns `0` for the legacy `asn` attribute since 4-byte ASN values exceed the maximum supported value of 2,147,483,647. +>>> * If you are using a 2-byte ASN, the API response will include the 2-byte value for both the `asn` and `asnLong` fields. @@ -710,0 +713,4 @@ siteLinkEnabled -> (boolean) +rateLimit -> (string) + +> The rate limit (bandwidth allocation) applied to the virtual interface. The possible values are `50 Mbps` , `100 Mbps` , `200 Mbps` , `300 Mbps` , `400 Mbps` , `500 Mbps` , `1 Gbps` , `2 Gbps` , `5 Gbps` , or `10 Gbps` . + @@ -721 +727 @@ siteLinkEnabled -> (boolean) - * [AWS CLI 2.35.5 Command Reference](../../index.html) » + * [AWS CLI 2.35.8 Command Reference](../../index.html) »