AWS cli documentation change
Summary
Added support for 'asnLong' parameter with extended ASN range (1-4294967294) and deprecated 'asn' parameter with reduced range (1-2147483646). Updated documentation to recommend using 'asnLong' and clarify parameter precedence.
Security assessment
The changes introduce expanded ASN range support and parameter deprecation but do not reference any specific security vulnerabilities or weaknesses. The updates focus on functionality improvements rather than addressing security flaws.
Diff
diff --git a/cli/latest/reference/directconnect/create-private-virtual-interface.md b/cli/latest/reference/directconnect/create-private-virtual-interface.md index e36f57439..674c92b31 100644 --- a//cli/latest/reference/directconnect/create-private-virtual-interface.md +++ b//cli/latest/reference/directconnect/create-private-virtual-interface.md @@ -15 +15 @@ - * [AWS CLI 2.28.8 Command Reference](../../index.html) » + * [AWS CLI 2.28.11 Command Reference](../../index.html) » @@ -114 +114 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/direct ->> The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. +>> The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use `asnLong` instead. @@ -116 +116,23 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/direct ->> The valid values are 1-2147483647. +>> ### 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. +>> * If you provide a value in the same API call for both `asn` and `asnLong` , the API will only accept the value for `asnLong` . +>> + +>> +>> The valid values are 1-2147483646. +> +> asnLong -> (long) +> +>> The long ASN for a new private virtual interface. The valid range is from 1 to 4294967294 for BGP configuration. +>> +>> ### 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. +>> * If you provide a value in the same API call for both `asn` and `asnLong` , the API will only accept the value for `asnLong` . +>> + @@ -169 +191 @@ Shorthand Syntax: - virtualInterfaceName=string,vlan=integer,asn=integer,mtu=integer,authKey=string,amazonAddress=string,customerAddress=string,addressFamily=string,virtualGatewayId=string,directConnectGatewayId=string,tags=[{key=string,value=string},{key=string,value=string}],enableSiteLink=boolean + virtualInterfaceName=string,vlan=integer,asn=integer,asnLong=long,mtu=integer,authKey=string,amazonAddress=string,customerAddress=string,addressFamily=string,virtualGatewayId=string,directConnectGatewayId=string,tags=[{key=string,value=string},{key=string,value=string}],enableSiteLink=boolean @@ -178,0 +201 @@ JSON Syntax: + "asnLong": long, @@ -364 +387,5 @@ asn -> (integer) -> The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. +> The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use `asnLong` instead. +> +> ### Note +> +> You can use `asnLong` or `asn` , but not both. We recommend using `asnLong` as it supports a greater pool of numbers. @@ -366 +393,17 @@ asn -> (integer) -> The valid values are 1-2147483647. +> * The `asnLong` attribute accepts both ASN and long ASN ranges. +> * If you provide a value in the same API call for both `asn` and `asnLong` , the API will only accept the value for `asnLong` . +> + + +asnLong -> (long) + +> The long ASN for the virtual interface. The valid range is from 1 to 4294967294 for BGP configuration. +> +> ### 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. +> * If you provide a value in the same API call for both `asn` and `asnLong` , the API will only accept the value for `asnLong` . +> + @@ -370 +413 @@ amazonSideAsn -> (long) -> The autonomous system number (ASN) for the Amazon side of the connection. +> The autonomous system number (AS) for the Amazon side of the connection. @@ -451 +494,23 @@ bgpPeers -> (list) ->>> The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. +>>> The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use `asnLong` instead. +>>> +>>> ### 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. +>>> * If you provide a value in the same API call for both `asn` and `asnLong` , the API will only accept the value for `asnLong` . +>>> + +>> +>> asnLong -> (long) +>> +>>> The long ASN for the BGP peer. The valid range is from 1 to 4294967294 for BGP configuration. +>>> +>>> ### 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. +>>> * If you provide a value in the same API call for both `asn` and `asnLong` , the API will only accept the value for `asnLong` . +>>> + @@ -541 +606 @@ siteLinkEnabled -> (boolean) - * [AWS CLI 2.28.8 Command Reference](../../index.html) » + * [AWS CLI 2.28.11 Command Reference](../../index.html) »