Struct rusoto_ec2::RegisterImageRequest
source · [−]pub struct RegisterImageRequest {Show 14 fields
pub architecture: Option<String>,
pub billing_products: Option<Vec<String>>,
pub block_device_mappings: Option<Vec<BlockDeviceMapping>>,
pub boot_mode: Option<String>,
pub description: Option<String>,
pub dry_run: Option<bool>,
pub ena_support: Option<bool>,
pub image_location: Option<String>,
pub kernel_id: Option<String>,
pub name: String,
pub ramdisk_id: Option<String>,
pub root_device_name: Option<String>,
pub sriov_net_support: Option<String>,
pub virtualization_type: Option<String>,
}
Expand description
Contains the parameters for RegisterImage.
Fields
architecture: Option<String>
The architecture of the AMI.
Default: For Amazon EBS-backed AMIs, i386
. For instance store-backed AMIs, the architecture specified in the manifest file.
billing_products: Option<Vec<String>>
The billing product codes. Your account must be authorized to specify billing product codes. Otherwise, you can use the AWS Marketplace to bill for the use of an AMI.
block_device_mappings: Option<Vec<BlockDeviceMapping>>
The block device mapping entries.
If you specify an EBS volume using the ID of an EBS snapshot, you can't specify the encryption state of the volume.
If you create an AMI on an Outpost, then all backing snapshots must be on the same Outpost or in the Region of that Outpost. AMIs on an Outpost that include local snapshots can be used to launch instances on the same Outpost only. For more information, Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud User Guide.
boot_mode: Option<String>
The boot mode of the AMI. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
description: Option<String>
A description for your AMI.
dry_run: Option<bool>
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 is UnauthorizedOperation
.
ena_support: Option<bool>
Set to true
to enable enhanced networking with ENA for the AMI and any instances that you launch from the AMI.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
image_location: Option<String>
The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the aws-exec-read
canned access control list (ACL) to ensure that it can be accessed by Amazon EC2. For more information, see Canned ACLs in the Amazon S3 Service Developer Guide.
kernel_id: Option<String>
The ID of the kernel.
name: String
A name for your AMI.
Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)
ramdisk_id: Option<String>
The ID of the RAM disk.
root_device_name: Option<String>
The device name of the root device volume (for example, /dev/sda1
).
sriov_net_support: Option<String>
Set to simple
to enable enhanced networking with the Intel 82599 Virtual Function interface for the AMI and any instances that you launch from the AMI.
There is no way to disable sriovNetSupport
at this time.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
virtualization_type: Option<String>
The type of virtualization (hvm
| paravirtual
).
Default: paravirtual
Trait Implementations
sourceimpl Clone for RegisterImageRequest
impl Clone for RegisterImageRequest
sourcefn clone(&self) -> RegisterImageRequest
fn clone(&self) -> RegisterImageRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RegisterImageRequest
impl Debug for RegisterImageRequest
sourceimpl Default for RegisterImageRequest
impl Default for RegisterImageRequest
sourcefn default() -> RegisterImageRequest
fn default() -> RegisterImageRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<RegisterImageRequest> for RegisterImageRequest
impl PartialEq<RegisterImageRequest> for RegisterImageRequest
sourcefn eq(&self, other: &RegisterImageRequest) -> bool
fn eq(&self, other: &RegisterImageRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RegisterImageRequest) -> bool
fn ne(&self, other: &RegisterImageRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for RegisterImageRequest
Auto Trait Implementations
impl RefUnwindSafe for RegisterImageRequest
impl Send for RegisterImageRequest
impl Sync for RegisterImageRequest
impl Unpin for RegisterImageRequest
impl UnwindSafe for RegisterImageRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more