CmdID

CmdID / aws / aws ec2

aws ec2 modify-fpga-image-attribute

Modifies the specified attribute of the specified Amazon FPGA Image (AFI). AWS CLI reference

1 example 10 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To modify the attributes of an Amazon FPGA image

The following modify-fpga-image-attribute example adds load permissions for account ID 123456789012 for the specified AFI.

aws ec2 modify-fpga-image-attribute --attribute loadPermission --fpga-image-id afi-0d123e123bfc85abc --load-permission Add=[{UserId=123456789012}]Identify
--attributeThe name of the attribute.
--fpga-image-idThe ID of the AFI.
--load-permissionThe load permission for the AFI.
Its output
{
    "FpgaImageAttribute": {
        "FpgaImageId": "afi-0d123e123bfc85abc",
        "LoadPermissions": [
            {
                "UserId": "123456789012"
            }
        ]
    }
}

For more information, see Specifications for Amazon EC2 accelerated computing instances in the Amazon EC2 Instance Types Guide.

Options

10 in the AWS CLI reference
--attributeThe name of the attribute.
--descriptionA description for the AFI.
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--fpga-image-idThe ID of the AFI.
--load-permissionThe load permission for the AFI.
--nameA name for the AFI.
--operation-typeThe operation type.
--product-codesThe product codes.
--user-groupsThe user groups.
--user-idsThe Amazon Web Services account IDs.