Creates a report that shows how your image is used across other Amazon Web Services accounts
Source:R/ec2_operations.R
ec2_create_image_usage_report.RdCreates a report that shows how your image is used across other Amazon Web Services accounts. The report provides visibility into which accounts are using the specified image, and how many resources (EC2 instances or launch templates) are referencing it.
See https://www.paws-r-sdk.com/docs/ec2_create_image_usage_report/ for full documentation.
Usage
ec2_create_image_usage_report(
ImageId,
DryRun = NULL,
ResourceTypes,
AccountIds = NULL,
ClientToken = NULL,
TagSpecifications = NULL
)Arguments
- ImageId
[required] The ID of the image to report on.
- DryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- ResourceTypes
[required] The resource types to include in the report.
- AccountIds
The Amazon Web Services account IDs to include in the report. To include all accounts, omit this parameter.
- ClientToken
A unique, case-sensitive identifier that you provide to ensure idempotency of the request.
The tags to apply to the report on creation. The
ResourceTypemust be set toimage-usage-report; any other value will cause the report creation to fail.To tag a report after it has been created, see
create_tags.