AWS Doc SDK Examples
翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。
DescribeConfigurationRecorders
で を使用する CLI
以下のコード例は、DescribeConfigurationRecorders
の使用方法を示しています。
- CLI
-
- AWS CLI
-
設定レコーダーの詳細を取得するには
次のコマンドは、デフォルト設定レコーダーの詳細を返します。
aws configservice describe-configuration-recorders
出力:
{ "ConfigurationRecorders": [ { "recordingGroup": { "allSupported": true, "resourceTypes": [], "includeGlobalResourceTypes": true }, "roleARN": "arn:aws:iam::123456789012:role/config-ConfigRole-A1B2C3D4E5F6", "name": "default" } ] }
-
API 詳細については、AWS CLI 「 コマンドリファレンスDescribeConfigurationRecorders
」の「」を参照してください。
-
- PowerShell
-
- のツール PowerShell
-
例 1: この例では、設定レコーダーの詳細を返します。
Get-CFGConfigurationRecorder | Format-List
出力:
Name : default RecordingGroup : Amazon.ConfigService.Model.RecordingGroup RoleARN : arn:aws:iam::123456789012:role/aws-service-role/config.amazonaws.com/AWSServiceRoleForConfig
-
API 詳細については、「 コマンドレットリファレンスDescribeConfigurationRecorders」の「」を参照してください。 AWS Tools for PowerShell
-
DescribeConfigurationRecorderStatus
DescribeDeliveryChannels