View source: R/ec2_operations.R
ec2_modify_image_attribute | R Documentation |
Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time.
See https://www.paws-r-sdk.com/docs/ec2_modify_image_attribute/ for full documentation.
ec2_modify_image_attribute(
Attribute = NULL,
Description = NULL,
ImageId,
LaunchPermission = NULL,
OperationType = NULL,
ProductCodes = NULL,
UserGroups = NULL,
UserIds = NULL,
Value = NULL,
DryRun = NULL,
OrganizationArns = NULL,
OrganizationalUnitArns = NULL,
ImdsSupport = NULL
)
Attribute |
The name of the attribute to modify. Valid values: |
Description |
A new description for the AMI. |
ImageId |
[required] The ID of the AMI. |
LaunchPermission |
A new launch permission for the AMI. |
OperationType |
The operation type. This parameter can be used only when the |
ProductCodes |
Not supported. |
UserGroups |
The user groups. This parameter can be used only when the |
UserIds |
The Amazon Web Services account IDs. This parameter can be used only
when the |
Value |
The value of the attribute being modified. This parameter can be used
only when the |
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 |
OrganizationArns |
The Amazon Resource Name (ARN) of an organization. This parameter can be
used only when the |
OrganizationalUnitArns |
The Amazon Resource Name (ARN) of an organizational unit (OU). This
parameter can be used only when the |
ImdsSupport |
Set to Do not use this parameter unless your AMI software supports IMDSv2.
After you set the value to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.