AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the UpdateInstance operation. Updates a specified instance.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
public class UpdateInstanceRequest : AmazonOpsWorksRequest IAmazonWebServiceRequest
The UpdateInstanceRequest type exposes the following members
Gets and sets the property AgentVersion.
The default AWS OpsWorks Stacks agent version. You have the following options:
The default setting is
AgentVersion cannot be set to Chef 12.2.
Gets and sets the property AmiId.
The ID of the AMI that was used to create the instance. The value of this parameter must be the same AMI ID that the instance is already using. You cannot apply a new AMI to an instance by running UpdateInstance. UpdateInstance does not work on instances that are using custom AMIs.
Gets and sets the property Architecture.
The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.
Gets and sets the property AutoScalingType.
For load-based or time-based instances, the type. Windows stacks can use only time-based instances.
Gets and sets the property EbsOptimized.
This property cannot be updated.
Gets and sets the property Hostname.
The instance host name.
Gets and sets the property InstallUpdatesOnBoot.
Whether to install operating system and package updates when the instance boots. The
default value is
We strongly recommend using the default value of
Gets and sets the property InstanceId.
The instance ID.
Gets and sets the property InstanceType.
The instance type, such as
Gets and sets the property LayerIds.
The instance's layer IDs.
Gets and sets the property Os.
The instance's operating system, which must be set to one of the following. You cannot update an instance that is using a custom AMI.
For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems.
The default option is the current Amazon Linux version. If you set this parameter
You can specify a different Linux operating system for the updated stack, but you cannot change from Linux to Windows or Windows to Linux.
Gets and sets the property SshKeyName.
The instance's Amazon EC2 key name.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms