View source: R/opsworks_operations.R
opsworks_update_instance | R Documentation |
Updates a specified instance.
See https://www.paws-r-sdk.com/docs/opsworks_update_instance/ for full documentation.
opsworks_update_instance(
InstanceId,
LayerIds = NULL,
InstanceType = NULL,
AutoScalingType = NULL,
Hostname = NULL,
Os = NULL,
AmiId = NULL,
SshKeyName = NULL,
Architecture = NULL,
InstallUpdatesOnBoot = NULL,
EbsOptimized = NULL,
AgentVersion = NULL
)
InstanceId |
[required] The instance ID. |
LayerIds |
The instance's layer IDs. |
InstanceType |
The instance type, such as |
AutoScalingType |
For load-based or time-based instances, the type. Windows stacks can use only time-based instances. |
Hostname |
The instance host name. The following are character limits for instance host names.
|
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.
Not all operating systems are supported with all versions of Chef. For more information about supported operating systems, see OpsWorks Stacks Operating Systems. The default option is the current Amazon Linux version. If you set this
parameter to You can specify a different Linux operating system for the updated stack, but you cannot change from Linux to Windows or Windows to Linux. |
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. |
SshKeyName |
The instance's Amazon EC2 key name. |
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. |
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 |
EbsOptimized |
This property cannot be updated. |
AgentVersion |
The default OpsWorks Stacks agent version. You have the following options:
The default setting is AgentVersion cannot be set to Chef 12.2. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.