Struct aws_sdk_opsworks::model::instance::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for Instance
Implementations
The agent version. This parameter is set to INHERIT
if
the instance inherits the default stack setting or to a
a version number for a fixed agent version.
The agent version. This parameter is set to INHERIT
if
the instance inherits the default stack setting or to a
a version number for a fixed agent version.
A custom AMI ID to be used to create the instance. For more information, see Instances
A custom AMI ID to be used to create the instance. For more information, see Instances
The instance architecture: "i386" or "x86_64".
The instance architecture: "i386" or "x86_64".
The instance's Amazon Resource Number (ARN).
For load-based or time-based instances, the type.
For load-based or time-based instances, the type.
The instance Availability Zone. For more information, see Regions and Endpoints.
The instance Availability Zone. For more information, see Regions and Endpoints.
Appends an item to block_device_mappings
.
To override the contents of this collection use set_block_device_mappings
.
An array of BlockDeviceMapping
objects that specify the instance's block device
mappings.
An array of BlockDeviceMapping
objects that specify the instance's block device
mappings.
The time that the instance was created.
The time that the instance was created.
Whether this is an Amazon EBS-optimized instance.
Whether this is an Amazon EBS-optimized instance.
The ID of the associated Amazon EC2 instance.
The ID of the associated Amazon EC2 instance.
For container instances, the Amazon ECS cluster's ARN.
For container instances, the Amazon ECS cluster's ARN.
For container instances, the instance's ARN.
For container instances, the instance's ARN.
The instance Elastic IP address .
The instance Elastic IP address .
The instance host name.
For registered instances, the infrastructure class: ec2
or
on-premises
.
For registered instances, the infrastructure class: ec2
or
on-premises
.
Whether to install operating system and package updates when the instance boots. The default
value is true
. If this value is set to false
, you must then update
your instances manually by using CreateDeployment to run the
update_dependencies
stack command or
by manually running yum
(Amazon
Linux) or apt-get
(Ubuntu) on the instances.
We strongly recommend using the default value of true
, to ensure that your
instances have the latest security updates.
Whether to install operating system and package updates when the instance boots. The default
value is true
. If this value is set to false
, you must then update
your instances manually by using CreateDeployment to run the
update_dependencies
stack command or
by manually running yum
(Amazon
Linux) or apt-get
(Ubuntu) on the instances.
We strongly recommend using the default value of true
, to ensure that your
instances have the latest security updates.
The instance ID.
The instance ID.
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
The instance type, such as t2.micro
.
The instance type, such as t2.micro
.
The ID of the last service error. For more information, call DescribeServiceErrors.
The ID of the last service error. For more information, call DescribeServiceErrors.
Appends an item to layer_ids
.
To override the contents of this collection use set_layer_ids
.
An array containing the instance layer IDs.
An array containing the instance layer IDs.
The instance's platform.
The instance's private DNS name.
The instance's private DNS name.
The instance's private IP address.
The instance's private IP address.
The instance public DNS name.
The instance public DNS name.
The instance public IP address.
For registered instances, who performed the registration.
For registered instances, who performed the registration.
The instance's reported AWS OpsWorks Stacks agent version.
The instance's reported AWS OpsWorks Stacks agent version.
For registered instances, the reported operating system.
For registered instances, the reported operating system.
The instance's root device type. For more information, see Storage for the Root Device.
The instance's root device type. For more information, see Storage for the Root Device.
The root device volume ID.
The root device volume ID.
Appends an item to security_group_ids
.
To override the contents of this collection use set_security_group_ids
.
An array containing the instance security group IDs.
An array containing the instance security group IDs.
The SSH key's Deep Security Agent (DSA) fingerprint.
The SSH key's Deep Security Agent (DSA) fingerprint.
The SSH key's RSA fingerprint.
The SSH key's RSA fingerprint.
The instance's Amazon EC2 key-pair name.
The instance's Amazon EC2 key-pair name.
The stack ID.
The instance status:
-
booting
-
connection_lost
-
online
-
pending
-
rebooting
-
requested
-
running_setup
-
setup_failed
-
shutting_down
-
start_failed
-
stop_failed
-
stopped
-
stopping
-
terminated
-
terminating
The instance status:
-
booting
-
connection_lost
-
online
-
pending
-
rebooting
-
requested
-
running_setup
-
setup_failed
-
shutting_down
-
start_failed
-
stop_failed
-
stopped
-
stopping
-
terminated
-
terminating
The instance's subnet ID; applicable only if the stack is running in a VPC.
The instance's subnet ID; applicable only if the stack is running in a VPC.
The instance's tenancy option, such as dedicated
or host
.
The instance's tenancy option, such as dedicated
or host
.
The instance's virtualization type: paravirtual
or hvm
.
The instance's virtualization type: paravirtual
or hvm
.
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