Struct aws_sdk_ec2::output::describe_instance_attribute_output::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for DescribeInstanceAttributeOutput
Implementations
Appends an item to groups
.
To override the contents of this collection use set_groups
.
The security groups associated with the instance.
The security groups associated with the instance.
Appends an item to block_device_mappings
.
To override the contents of this collection use set_block_device_mappings
.
The block device mapping of the instance.
pub fn set_block_device_mappings(
self,
input: Option<Vec<InstanceBlockDeviceMapping>>
) -> Self
pub fn set_block_device_mappings(
self,
input: Option<Vec<InstanceBlockDeviceMapping>>
) -> Self
The block device mapping of the instance.
If the value is true
, you can't terminate the instance through the Amazon
EC2 console, CLI, or API; otherwise, you can.
If the value is true
, you can't terminate the instance through the Amazon
EC2 console, CLI, or API; otherwise, you can.
Indicates whether enhanced networking with ENA is enabled.
Indicates whether enhanced networking with ENA is enabled.
To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to true
; otherwise,
set it to false
.
To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to true
; otherwise,
set it to false
.
Indicates whether the instance is optimized for Amazon EBS I/O.
Indicates whether the instance is optimized for Amazon EBS I/O.
The ID of the instance.
The ID of the instance.
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
The instance type.
The instance type.
The kernel ID.
The kernel ID.
Appends an item to product_codes
.
To override the contents of this collection use set_product_codes
.
A list of product codes.
A list of product codes.
The RAM disk ID.
The RAM disk ID.
The device name of the root device volume (for example,
/dev/sda1
).
The device name of the root device volume (for example,
/dev/sda1
).
Enable or disable source/destination checks, which ensure that the instance
is either the source or the destination of any traffic that it receives.
If the value is true
, source/destination checks are enabled;
otherwise, they are disabled. The default value is true
.
You must disable source/destination checks if the instance runs services
such as network address translation, routing, or firewalls.
Enable or disable source/destination checks, which ensure that the instance
is either the source or the destination of any traffic that it receives.
If the value is true
, source/destination checks are enabled;
otherwise, they are disabled. The default value is true
.
You must disable source/destination checks if the instance runs services
such as network address translation, routing, or firewalls.
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
The user data.
The user data.
Consumes the builder and constructs a DescribeInstanceAttributeOutput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more