

This parameter is only required if you want to use a non-default CMK if this parameter is not specified, the default CMK for EBS is used. Type Rep CopyImage = D1 ( MetaData "CopyImage" "" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) ( C1 ( MetaCons "CopyImage'" PrefixI True) ((( S1 ( MetaSel ( Just "_ciClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) ( Rec0 ( Maybe Text)) :*: S1 ( MetaSel ( Just "_ciEncrypted") NoSourceUnpackedness SourceStrict DecidedStrict) ( Rec0 ( Maybe Bool))) :*: ( S1 ( MetaSel ( Just "_ciKMSKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) ( Rec0 ( Maybe Text)) :*: S1 ( MetaSel ( Just "_ciDescription") NoSourceUnpackedness SourceStrict DecidedStrict) ( Rec0 ( Maybe Text)))) :*: (( S1 ( MetaSel ( Just "_ciDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) ( Rec0 ( Maybe Bool)) :*: S1 ( MetaSel ( Just "_ciName") NoSourceUnpackedness SourceStrict DecidedStrict) ( Rec0 Text)) :*: ( S1 ( MetaSel ( Just "_ciSourceImageId") NoSourceUnpackedness SourceStrict DecidedStrict) ( Rec0 Text) :*: S1 ( MetaSel ( Just "_ciSourceRegion") NoSourceUnpackedness SourceStrict DecidedStrict) ( Rec0 Text)))))Īn identifier for the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted volume. Data d => d -> m d) -> CopyImage -> m CopyImage # Data b => b -> b) -> CopyImage -> CopyImage # ( Data d, Data e) => c (t d e)) -> Maybe (c CopyImage) # Data d => c (t d)) -> Maybe (c CopyImage) #ĭataCast2 :: Typeable t => ( forall d e. r -> c r) -> Constr -> c CopyImage #ĭataCast1 :: Typeable t => ( forall d. Data b => c (b -> r) -> c r) -> ( forall r. Data d => c (d -> b) -> d -> c b) -> ( forall g. ciSourceRegion - The name of the region that contains the AMI to copy.

ciSourceImageId - The ID of the AMI to copy.ciName - The name of the new AMI in the destination region.If you have the required permissions, the error response is DryRunOperation. ciDryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.ciDescription - A description for the new AMI in the destination region.The specified CMK must exist in the region that the snapshot is being copied to. This action will eventually report failure. AWS parses KmsKeyId asynchronously, meaning that the action you call may appear to complete even though you provided an invalid identifier. The alias ARN contains the arn:aws:kms namespace, followed by the region of the CMK, the AWS account ID of the CMK owner, the alias namespace, and then the CMK alias. The ID ARN contains the arn:aws:kms namespace, followed by the region of the CMK, the AWS account ID of the CMK owner, the key namespace, and then the CMK ID. The CMK identifier may be provided in any of the following formats: * Key ID * Key alias, in the form alias/ ExampleAlias * ARN using key ID. If a KmsKeyId is specified, the Encrypted flag must also be set.

#Ec2 copyimage how to#
For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide. ciClientToken - Unique, case-sensitive identifier you provide to ensure idempotency of the request.Use one of the following lenses to modify other fields as desired: Creates a value of CopyImage with the minimum fields required to make a request.
