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.
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.
Namespace: Amazon.OpsWorks.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class UpdateInstanceRequest : AmazonOpsWorksRequest IRequestEvents
The UpdateInstanceRequest type exposes the following members
Name | Description | |
---|---|---|
UpdateInstanceRequest() |
Name | Type | Description | |
---|---|---|---|
AgentVersion | System.String |
Gets and sets the property AgentVersion.
The default AWS OpsWorks agent version. You have the following options:
The default setting is |
|
AmiId | System.String |
Gets and sets the property AmiId.
A custom AMI ID to be used to create the instance. The AMI must be based on one of the supported operating systems. For more information, see Instances Os to Custom . |
|
Architecture | Amazon.OpsWorks.Architecture |
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. |
|
AutoScalingType | Amazon.OpsWorks.AutoScalingType |
Gets and sets the property AutoScalingType.
For load-based or time-based instances, the type. Windows stacks can use only time-based instances. |
|
EbsOptimized | System.Boolean |
Gets and sets the property EbsOptimized.
This property cannot be updated. |
|
Hostname | System.String |
Gets and sets the property Hostname.
The instance host name. |
|
InstallUpdatesOnBoot | System.Boolean |
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 |
|
InstanceId | System.String |
Gets and sets the property InstanceId.
The instance ID. |
|
InstanceType | System.String |
Gets and sets the property InstanceType.
The instance type, such as |
|
LayerIds | System.Collections.Generic.List<System.String> |
Gets and sets the property LayerIds.
The instance's layer IDs. |
|
Os | System.String |
Gets and sets the property Os.
The instance's operating system, which must be set to one of the following.
For more information on the supported operating systems, see AWS OpsWorks Operating Systems.
The default option is the current Amazon Linux version. If you set this parameter
to |
|
SshKeyName | System.String |
Gets and sets the property SshKeyName.
The instance's Amazon EC2 key name. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8