Mengkueri kebijakan keamanan TLS yang diatur untuk instans Network Load Balancer (NLB).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nlb:ListSecurityPolicy |
get |
*SecurityPolicy
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SecurityPolicyIds |
array |
No |
ID kebijakan keamanan TLS. Anda dapat menentukan hingga 20 ID kebijakan dalam setiap panggilan. |
|
|
string |
No |
The ID of the TLS security policy. You can specify at most 20 policy IDs in each call. |
tls-bp14bb1e7dll4f**** |
|
| SecurityPolicyNames |
array |
No |
Nama kebijakan keamanan TLS. Anda dapat menentukan hingga 20 nama kebijakan. |
|
|
string |
No |
The name of the TLS security policy. You can specify at most 20 policy names. |
TLSCipherPolicy |
|
| Tag |
array<object> |
No |
Tag. |
|
|
object |
No |
The tag. |
||
| Key |
string |
No |
The tag key. You can specify up to 10 tag keys. The tag key can be up to 64 characters in length. It cannot start with |
Test |
| Value |
string |
No |
The tag value. You can specify up to 10 tag values. The tag value can be up to 128 characters in length. It cannot start with |
Test |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-atstuj3rtop**** |
| NextToken |
string |
No |
Token paginasi yang digunakan dalam permintaan berikutnya untuk mengambil halaman hasil baru. Nilai valid:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| MaxResults |
integer |
No |
Jumlah entri yang dikembalikan per halaman. Nilai valid: 1 hingga 100. Nilai default: 20. |
20 |
| RegionId |
string |
No |
ID Wilayah instans NLB. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The details about the queried TLS security policies. |
||
| RequestId |
string |
The request ID. |
D7A8875F-373A-5F48-8484-25B07A61F2AF |
| SecurityPolicies |
array<object> |
The TLS security policies. |
|
|
array<object> |
The TLS security policy. |
||
| SecurityPolicyId |
string |
The ID of the TLS security policy. |
tls-bp14bb1e7dll4f**** |
| SecurityPolicyName |
string |
The name of the TLS security policy. |
TLSCipherPolicy |
| TlsVersion |
string |
The supported versions of the TLS protocol. Valid values: TLSv1.0, TLSv1.1, TLSv1.2, and TLSv1.3. |
TLSv1.0 |
| Ciphers |
string |
The cipher suites supported by the security policy. Valid values of this parameter vary based on the value of TlsVersions. A security policy supports up to 32 cipher suites. TLSv1.0 and TLSv1.1 support the following cipher suites:
TLSv1.2 supports the following cipher suites:
TLSv1.3 supports the following cipher suites:
|
ECDHE-ECDSA-AES128-SHA |
| RegionId |
string |
The region ID of the NLB instance. |
cn-hangzhou |
| Tags |
array<object> |
The tags. |
|
|
object |
|||
| Key |
string |
The tag key. You can specify up to 10 tag keys. The tag key can be up to 64 characters in length, and cannot contain |
Test |
| Value |
string |
The tag value. You can specify up to 10 tag values. The tag value can be up to 128 characters in length, and cannot contain |
Test |
| RelatedListeners |
array<object> |
The listeners that are associated with the NLB instance. |
|
|
object |
The listeners that are associated with the NLB instance. |
||
| ListenerId |
string |
The listener ID. |
lsn-bp1bpn0kn908w4nbw****@443 |
| ListenerPort |
integer |
The listener port. |
443 |
| ListenerProtocol |
string |
The listener protocol. Valid value: TCPSSL. |
TCPSSL |
| LoadBalancerId |
string |
The NLB instance ID. |
nlb-83ckzc8d4xlp8o**** |
| ResourceGroupId |
string |
The resource group ID. |
rg-atstuj3rtop**** |
| SecurityPolicyStatus |
string |
The status of the TLS security policy. Valid values:
|
Available |
| TotalCount |
integer |
The total number of entries returned. |
10 |
| NextToken |
string |
A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| MaxResults |
integer |
The number of entries per page. |
20 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "D7A8875F-373A-5F48-8484-25B07A61F2AF",
"SecurityPolicies": [
{
"SecurityPolicyId": "tls-bp14bb1e7dll4f****",
"SecurityPolicyName": "TLSCipherPolicy",
"TlsVersion": "TLSv1.0",
"Ciphers": "ECDHE-ECDSA-AES128-SHA",
"RegionId": "cn-hangzhou",
"Tags": [
{
"Key": "Test",
"Value": "Test"
}
],
"RelatedListeners": [
{
"ListenerId": "lsn-bp1bpn0kn908w4nbw****@443",
"ListenerPort": 443,
"ListenerProtocol": "TCPSSL",
"LoadBalancerId": "nlb-83ckzc8d4xlp8o****"
}
],
"ResourceGroupId": "rg-atstuj3rtop****",
"SecurityPolicyStatus": "Available"
}
],
"TotalCount": 10,
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"MaxResults": 20
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | SystemBusy | System is busy, please try again later. | |
| 403 | Forbidden.NoPermission | Authentication is failed for NoPermission. | Authentication is failed for NoPermission. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.