自動修復テンプレートの詳細をクエリします。
操作説明
本トピックでは、自動修復テンプレート ACS-ALB-BulkyEnableDeletionProtection の詳細をクエリする方法について説明します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
config:GetRemediationTemplate |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| TemplateIdentifier |
string |
任意 |
自動修復テンプレートの識別子。 修復テンプレートの識別子の取得方法については、「コンプライアンスライブラリ」をご参照ください。 |
ACS-ALB-BulkyEnableDeletionProtection |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
E232FC35-BD40-51E3-B2EB-09416A23**** |
| RemediationTemplates |
array<object> |
自動修復テンプレートに関する情報。 |
|
|
object |
|||
| RemediationType |
string |
自動修復テンプレートのタイプ。有効な値:OOS (Operation Orchestration)。 |
OOS |
| TemplateIdentifier |
string |
自動修復テンプレートの識別子。 |
ACS-ALB-BulkyEnableDeletionProtection |
| TemplateName |
string |
自動修復テンプレートの名前。 |
Enable ALB instance deletion protection |
| TemplateDefinition |
string |
テンプレートパラメーターの定義。 |
{\"Parameters\":{\"regionId\":{\"AllowValues\":\"\",\"AssociationProperty\":\"RegionId\",\"CreateDated\":\"2025-08-04T09:54:57\",\"Default\":\"{regionId}\",\"Description\":{\"en\":\"regionId\",\"zh-cn\":\"regionId\"},\"Id\":688,\"MaxKeyLength\":\"125\",\"MaxValueLength\":\"255\",\"ModifiedDate\":\"2025-08-04T09:54:57\",\"Name\":\"regionId\",\"Optional\":1,\"TemplateIdentifier\":\"ACS-ALB-BulkyEnableDeletionProtection\",\"Type\":\"String\",\"Version\":\"LASTEST\"},\"loadBalancerIds\":{\"AllowValues\":\"\",\"AssociationProperty\":\"\",\"CreateDated\":\"2025-08-04T09:54:57\",\"Default\":\"[\\\"{resourceId}\\\"]\",\"Description\":{\"en\":\"loadBalancerIds\",\"zh-cn\":\"loadBalancerIds\"},\"Id\":689,\"MaxKeyLength\":\"125\",\"MaxValueLength\":\"255\",\"ModifiedDate\":\"2025-08-04T09:54:57\",\"Name\":\"loadBalancerIds\",\"Optional\":1,\"TemplateIdentifier\":\"ACS-ALB-BulkyEnableDeletionProtection\",\"Type\":\"ARRAY\",\"Version\":\"LASTEST\"}}} |
| ManagedRuleIdentifier |
string |
サポートされているルールテンプレートの識別子。 |
alb-delete-protection-enabled |
| TemplateDescription |
string |
自動修復テンプレートの説明。 |
Call the EnableDeletionProtection interface to enable ALB instance deletion protection. Be aware of the risks and exercise caution. |
例
成功レスポンス
JSONJSON
{
"RequestId": "E232FC35-BD40-51E3-B2EB-09416A23****",
"RemediationTemplates": [
{
"RemediationType": "OOS",
"TemplateIdentifier": "ACS-ALB-BulkyEnableDeletionProtection",
"TemplateName": "Enable ALB instance deletion protection",
"TemplateDefinition": "{\\\"Parameters\\\":{\\\"regionId\\\":{\\\"AllowValues\\\":\\\"\\\",\\\"AssociationProperty\\\":\\\"RegionId\\\",\\\"CreateDated\\\":\\\"2025-08-04T09:54:57\\\",\\\"Default\\\":\\\"{regionId}\\\",\\\"Description\\\":{\\\"en\\\":\\\"regionId\\\",\\\"zh-cn\\\":\\\"regionId\\\"},\\\"Id\\\":688,\\\"MaxKeyLength\\\":\\\"125\\\",\\\"MaxValueLength\\\":\\\"255\\\",\\\"ModifiedDate\\\":\\\"2025-08-04T09:54:57\\\",\\\"Name\\\":\\\"regionId\\\",\\\"Optional\\\":1,\\\"TemplateIdentifier\\\":\\\"ACS-ALB-BulkyEnableDeletionProtection\\\",\\\"Type\\\":\\\"String\\\",\\\"Version\\\":\\\"LASTEST\\\"},\\\"loadBalancerIds\\\":{\\\"AllowValues\\\":\\\"\\\",\\\"AssociationProperty\\\":\\\"\\\",\\\"CreateDated\\\":\\\"2025-08-04T09:54:57\\\",\\\"Default\\\":\\\"[\\\\\\\"{resourceId}\\\\\\\"]\\\",\\\"Description\\\":{\\\"en\\\":\\\"loadBalancerIds\\\",\\\"zh-cn\\\":\\\"loadBalancerIds\\\"},\\\"Id\\\":689,\\\"MaxKeyLength\\\":\\\"125\\\",\\\"MaxValueLength\\\":\\\"255\\\",\\\"ModifiedDate\\\":\\\"2025-08-04T09:54:57\\\",\\\"Name\\\":\\\"loadBalancerIds\\\",\\\"Optional\\\":1,\\\"TemplateIdentifier\\\":\\\"ACS-ALB-BulkyEnableDeletionProtection\\\",\\\"Type\\\":\\\"ARRAY\\\",\\\"Version\\\":\\\"LASTEST\\\"}}}",
"ManagedRuleIdentifier": "alb-delete-protection-enabled",
"TemplateDescription": "Call the EnableDeletionProtection interface to enable ALB instance deletion protection. Be aware of the risks and exercise caution."
}
]
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。