我希望能够从Virtual Private Clouds(VPC)开始描述我的网络?
答案 0 :(得分:1)
要描述VPC,请使用DescribeVpcs:
$result = $client->describeVpcs([
'DryRun' => true || false,
'Filters' => [
[
'Name' => '<string>',
'Values' => ['<string>', ...],
],
// ...
],
'VpcIds' => ['<string>', ...],
]);
要列出安全组,请使用DescribeSecurityGroups:
$result = $client->describeSecurityGroups([
'DryRun' => true || false,
'Filters' => [
[
'Name' => '<string>',
'Values' => ['<string>', ...],
],
// ...
],
'GroupIds' => ['<string>', ...],
'GroupNames' => ['<string>', ...],
]);
或者,您可能希望configure AWS Config to provide a daily configuration snapshot进入包含所有这些信息的Amazon S3存储桶。