AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::OpsWorks::Model::UpdateInstanceRequest Class Reference

#include <UpdateInstanceRequest.h>

+ Inheritance diagram for Aws::OpsWorks::Model::UpdateInstanceRequest:

Public Member Functions

 UpdateInstanceRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetInstanceId () const
 
bool InstanceIdHasBeenSet () const
 
void SetInstanceId (const Aws::String &value)
 
void SetInstanceId (Aws::String &&value)
 
void SetInstanceId (const char *value)
 
UpdateInstanceRequestWithInstanceId (const Aws::String &value)
 
UpdateInstanceRequestWithInstanceId (Aws::String &&value)
 
UpdateInstanceRequestWithInstanceId (const char *value)
 
const Aws::Vector< Aws::String > & GetLayerIds () const
 
bool LayerIdsHasBeenSet () const
 
void SetLayerIds (const Aws::Vector< Aws::String > &value)
 
void SetLayerIds (Aws::Vector< Aws::String > &&value)
 
UpdateInstanceRequestWithLayerIds (const Aws::Vector< Aws::String > &value)
 
UpdateInstanceRequestWithLayerIds (Aws::Vector< Aws::String > &&value)
 
UpdateInstanceRequestAddLayerIds (const Aws::String &value)
 
UpdateInstanceRequestAddLayerIds (Aws::String &&value)
 
UpdateInstanceRequestAddLayerIds (const char *value)
 
const Aws::StringGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const Aws::String &value)
 
void SetInstanceType (Aws::String &&value)
 
void SetInstanceType (const char *value)
 
UpdateInstanceRequestWithInstanceType (const Aws::String &value)
 
UpdateInstanceRequestWithInstanceType (Aws::String &&value)
 
UpdateInstanceRequestWithInstanceType (const char *value)
 
const AutoScalingTypeGetAutoScalingType () const
 
bool AutoScalingTypeHasBeenSet () const
 
void SetAutoScalingType (const AutoScalingType &value)
 
void SetAutoScalingType (AutoScalingType &&value)
 
UpdateInstanceRequestWithAutoScalingType (const AutoScalingType &value)
 
UpdateInstanceRequestWithAutoScalingType (AutoScalingType &&value)
 
const Aws::StringGetHostname () const
 
bool HostnameHasBeenSet () const
 
void SetHostname (const Aws::String &value)
 
void SetHostname (Aws::String &&value)
 
void SetHostname (const char *value)
 
UpdateInstanceRequestWithHostname (const Aws::String &value)
 
UpdateInstanceRequestWithHostname (Aws::String &&value)
 
UpdateInstanceRequestWithHostname (const char *value)
 
const Aws::StringGetOs () const
 
bool OsHasBeenSet () const
 
void SetOs (const Aws::String &value)
 
void SetOs (Aws::String &&value)
 
void SetOs (const char *value)
 
UpdateInstanceRequestWithOs (const Aws::String &value)
 
UpdateInstanceRequestWithOs (Aws::String &&value)
 
UpdateInstanceRequestWithOs (const char *value)
 
const Aws::StringGetAmiId () const
 
bool AmiIdHasBeenSet () const
 
void SetAmiId (const Aws::String &value)
 
void SetAmiId (Aws::String &&value)
 
void SetAmiId (const char *value)
 
UpdateInstanceRequestWithAmiId (const Aws::String &value)
 
UpdateInstanceRequestWithAmiId (Aws::String &&value)
 
UpdateInstanceRequestWithAmiId (const char *value)
 
const Aws::StringGetSshKeyName () const
 
bool SshKeyNameHasBeenSet () const
 
void SetSshKeyName (const Aws::String &value)
 
void SetSshKeyName (Aws::String &&value)
 
void SetSshKeyName (const char *value)
 
UpdateInstanceRequestWithSshKeyName (const Aws::String &value)
 
UpdateInstanceRequestWithSshKeyName (Aws::String &&value)
 
UpdateInstanceRequestWithSshKeyName (const char *value)
 
const ArchitectureGetArchitecture () const
 
bool ArchitectureHasBeenSet () const
 
void SetArchitecture (const Architecture &value)
 
void SetArchitecture (Architecture &&value)
 
UpdateInstanceRequestWithArchitecture (const Architecture &value)
 
UpdateInstanceRequestWithArchitecture (Architecture &&value)
 
bool GetInstallUpdatesOnBoot () const
 
bool InstallUpdatesOnBootHasBeenSet () const
 
void SetInstallUpdatesOnBoot (bool value)
 
UpdateInstanceRequestWithInstallUpdatesOnBoot (bool value)
 
bool GetEbsOptimized () const
 
bool EbsOptimizedHasBeenSet () const
 
void SetEbsOptimized (bool value)
 
UpdateInstanceRequestWithEbsOptimized (bool value)
 
const Aws::StringGetAgentVersion () const
 
bool AgentVersionHasBeenSet () const
 
void SetAgentVersion (const Aws::String &value)
 
void SetAgentVersion (Aws::String &&value)
 
void SetAgentVersion (const char *value)
 
UpdateInstanceRequestWithAgentVersion (const Aws::String &value)
 
UpdateInstanceRequestWithAgentVersion (Aws::String &&value)
 
UpdateInstanceRequestWithAgentVersion (const char *value)
 
- Public Member Functions inherited from Aws::OpsWorks::OpsWorksRequest
virtual ~OpsWorksRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 24 of file UpdateInstanceRequest.h.

Constructor & Destructor Documentation

◆ UpdateInstanceRequest()

Aws::OpsWorks::Model::UpdateInstanceRequest::UpdateInstanceRequest ( )

Member Function Documentation

◆ AddLayerIds() [1/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::AddLayerIds ( const Aws::String value)
inline

The instance's layer IDs.

Definition at line 114 of file UpdateInstanceRequest.h.

◆ AddLayerIds() [2/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::AddLayerIds ( Aws::String &&  value)
inline

The instance's layer IDs.

Definition at line 119 of file UpdateInstanceRequest.h.

◆ AddLayerIds() [3/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::AddLayerIds ( const char *  value)
inline

The instance's layer IDs.

Definition at line 124 of file UpdateInstanceRequest.h.

◆ AgentVersionHasBeenSet()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::AgentVersionHasBeenSet ( ) const
inline

The default AWS OpsWorks Stacks agent version. You have the following options:

  • INHERIT - Use the stack's default agent version setting.

  • version_number - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, you must edit the instance configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the instance.

The default setting is INHERIT. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions.

AgentVersion cannot be set to Chef 12.2.

Definition at line 822 of file UpdateInstanceRequest.h.

◆ AmiIdHasBeenSet()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::AmiIdHasBeenSet ( ) const
inline

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.

Definition at line 573 of file UpdateInstanceRequest.h.

◆ ArchitectureHasBeenSet()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::ArchitectureHasBeenSet ( ) const
inline

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.

Definition at line 681 of file UpdateInstanceRequest.h.

◆ AutoScalingTypeHasBeenSet()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::AutoScalingTypeHasBeenSet ( ) const
inline

For load-based or time-based instances, the type. Windows stacks can use only time-based instances.

Definition at line 234 of file UpdateInstanceRequest.h.

◆ EbsOptimizedHasBeenSet()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::EbsOptimizedHasBeenSet ( ) const
inline

This property cannot be updated.

Definition at line 781 of file UpdateInstanceRequest.h.

◆ GetAgentVersion()

const Aws::String& Aws::OpsWorks::Model::UpdateInstanceRequest::GetAgentVersion ( ) const
inline

The default AWS OpsWorks Stacks agent version. You have the following options:

  • INHERIT - Use the stack's default agent version setting.

  • version_number - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, you must edit the instance configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the instance.

The default setting is INHERIT. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions.

AgentVersion cannot be set to Chef 12.2.

Definition at line 807 of file UpdateInstanceRequest.h.

◆ GetAmiId()

const Aws::String& Aws::OpsWorks::Model::UpdateInstanceRequest::GetAmiId ( ) const
inline

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.

Definition at line 565 of file UpdateInstanceRequest.h.

◆ GetArchitecture()

const Architecture& Aws::OpsWorks::Model::UpdateInstanceRequest::GetArchitecture ( ) const
inline

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.

Definition at line 672 of file UpdateInstanceRequest.h.

◆ GetAutoScalingType()

const AutoScalingType& Aws::OpsWorks::Model::UpdateInstanceRequest::GetAutoScalingType ( ) const
inline

For load-based or time-based instances, the type. Windows stacks can use only time-based instances.

Definition at line 228 of file UpdateInstanceRequest.h.

◆ GetEbsOptimized()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::GetEbsOptimized ( ) const
inline

This property cannot be updated.

Definition at line 776 of file UpdateInstanceRequest.h.

◆ GetHostname()

const Aws::String& Aws::OpsWorks::Model::UpdateInstanceRequest::GetHostname ( ) const
inline

The instance host name.

Definition at line 264 of file UpdateInstanceRequest.h.

◆ GetInstallUpdatesOnBoot()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::GetInstallUpdatesOnBoot ( ) const
inline

Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value 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.

Definition at line 731 of file UpdateInstanceRequest.h.

◆ GetInstanceId()

const Aws::String& Aws::OpsWorks::Model::UpdateInstanceRequest::GetInstanceId ( ) const
inline

The instance ID.

Definition at line 43 of file UpdateInstanceRequest.h.

◆ GetInstanceType()

const Aws::String& Aws::OpsWorks::Model::UpdateInstanceRequest::GetInstanceType ( ) const
inline

The instance type, such as t2.micro. For a list of supported instance types, open the stack in the console, choose Instances, and choose + Instance. The Size list contains the currently supported types. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

Definition at line 137 of file UpdateInstanceRequest.h.

◆ GetLayerIds()

const Aws::Vector<Aws::String>& Aws::OpsWorks::Model::UpdateInstanceRequest::GetLayerIds ( ) const
inline

The instance's layer IDs.

Definition at line 84 of file UpdateInstanceRequest.h.

◆ GetOs()

const Aws::String& Aws::OpsWorks::Model::UpdateInstanceRequest::GetOs ( ) const
inline

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.

  • A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03.

  • A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS.

  • CentOS Linux 7

  • Red Hat Enterprise Linux 7

  • A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web.

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 to Custom, you must use the AmiId parameter to specify the custom AMI that you want to use. For more information about supported operating systems, see Operating Systems. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

You can specify a different Linux operating system for the updated stack, but you cannot change from Linux to Windows or Windows to Linux.

Definition at line 332 of file UpdateInstanceRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::OpsWorks::Model::UpdateInstanceRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::OpsWorks::OpsWorksRequest.

◆ GetServiceRequestName()

virtual const char* Aws::OpsWorks::Model::UpdateInstanceRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file UpdateInstanceRequest.h.

◆ GetSshKeyName()

const Aws::String& Aws::OpsWorks::Model::UpdateInstanceRequest::GetSshKeyName ( ) const
inline

The instance's Amazon EC2 key name.

Definition at line 627 of file UpdateInstanceRequest.h.

◆ HostnameHasBeenSet()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::HostnameHasBeenSet ( ) const
inline

The instance host name.

Definition at line 269 of file UpdateInstanceRequest.h.

◆ InstallUpdatesOnBootHasBeenSet()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::InstallUpdatesOnBootHasBeenSet ( ) const
inline

Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value 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.

Definition at line 744 of file UpdateInstanceRequest.h.

◆ InstanceIdHasBeenSet()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::InstanceIdHasBeenSet ( ) const
inline

The instance ID.

Definition at line 48 of file UpdateInstanceRequest.h.

◆ InstanceTypeHasBeenSet()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::InstanceTypeHasBeenSet ( ) const
inline

The instance type, such as t2.micro. For a list of supported instance types, open the stack in the console, choose Instances, and choose + Instance. The Size list contains the currently supported types. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

Definition at line 149 of file UpdateInstanceRequest.h.

◆ LayerIdsHasBeenSet()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::LayerIdsHasBeenSet ( ) const
inline

The instance's layer IDs.

Definition at line 89 of file UpdateInstanceRequest.h.

◆ OsHasBeenSet()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::OsHasBeenSet ( ) const
inline

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.

  • A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03.

  • A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS.

  • CentOS Linux 7

  • Red Hat Enterprise Linux 7

  • A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web.

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 to Custom, you must use the AmiId parameter to specify the custom AMI that you want to use. For more information about supported operating systems, see Operating Systems. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

You can specify a different Linux operating system for the updated stack, but you cannot change from Linux to Windows or Windows to Linux.

Definition at line 364 of file UpdateInstanceRequest.h.

◆ SerializePayload()

Aws::String Aws::OpsWorks::Model::UpdateInstanceRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAgentVersion() [1/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetAgentVersion ( const Aws::String value)
inline

The default AWS OpsWorks Stacks agent version. You have the following options:

  • INHERIT - Use the stack's default agent version setting.

  • version_number - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, you must edit the instance configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the instance.

The default setting is INHERIT. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions.

AgentVersion cannot be set to Chef 12.2.

Definition at line 837 of file UpdateInstanceRequest.h.

◆ SetAgentVersion() [2/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetAgentVersion ( Aws::String &&  value)
inline

The default AWS OpsWorks Stacks agent version. You have the following options:

  • INHERIT - Use the stack's default agent version setting.

  • version_number - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, you must edit the instance configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the instance.

The default setting is INHERIT. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions.

AgentVersion cannot be set to Chef 12.2.

Definition at line 852 of file UpdateInstanceRequest.h.

◆ SetAgentVersion() [3/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetAgentVersion ( const char *  value)
inline

The default AWS OpsWorks Stacks agent version. You have the following options:

  • INHERIT - Use the stack's default agent version setting.

  • version_number - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, you must edit the instance configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the instance.

The default setting is INHERIT. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions.

AgentVersion cannot be set to Chef 12.2.

Definition at line 867 of file UpdateInstanceRequest.h.

◆ SetAmiId() [1/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetAmiId ( const Aws::String value)
inline

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.

Definition at line 581 of file UpdateInstanceRequest.h.

◆ SetAmiId() [2/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetAmiId ( Aws::String &&  value)
inline

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.

Definition at line 589 of file UpdateInstanceRequest.h.

◆ SetAmiId() [3/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetAmiId ( const char *  value)
inline

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.

Definition at line 597 of file UpdateInstanceRequest.h.

◆ SetArchitecture() [1/2]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetArchitecture ( const Architecture value)
inline

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.

Definition at line 690 of file UpdateInstanceRequest.h.

◆ SetArchitecture() [2/2]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetArchitecture ( Architecture &&  value)
inline

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.

Definition at line 699 of file UpdateInstanceRequest.h.

◆ SetAutoScalingType() [1/2]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetAutoScalingType ( const AutoScalingType value)
inline

For load-based or time-based instances, the type. Windows stacks can use only time-based instances.

Definition at line 240 of file UpdateInstanceRequest.h.

◆ SetAutoScalingType() [2/2]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetAutoScalingType ( AutoScalingType &&  value)
inline

For load-based or time-based instances, the type. Windows stacks can use only time-based instances.

Definition at line 246 of file UpdateInstanceRequest.h.

◆ SetEbsOptimized()

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetEbsOptimized ( bool  value)
inline

This property cannot be updated.

Definition at line 786 of file UpdateInstanceRequest.h.

◆ SetHostname() [1/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetHostname ( const Aws::String value)
inline

The instance host name.

Definition at line 274 of file UpdateInstanceRequest.h.

◆ SetHostname() [2/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetHostname ( Aws::String &&  value)
inline

The instance host name.

Definition at line 279 of file UpdateInstanceRequest.h.

◆ SetHostname() [3/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetHostname ( const char *  value)
inline

The instance host name.

Definition at line 284 of file UpdateInstanceRequest.h.

◆ SetInstallUpdatesOnBoot()

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetInstallUpdatesOnBoot ( bool  value)
inline

Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value 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.

Definition at line 757 of file UpdateInstanceRequest.h.

◆ SetInstanceId() [1/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetInstanceId ( const Aws::String value)
inline

The instance ID.

Definition at line 53 of file UpdateInstanceRequest.h.

◆ SetInstanceId() [2/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetInstanceId ( Aws::String &&  value)
inline

The instance ID.

Definition at line 58 of file UpdateInstanceRequest.h.

◆ SetInstanceId() [3/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetInstanceId ( const char *  value)
inline

The instance ID.

Definition at line 63 of file UpdateInstanceRequest.h.

◆ SetInstanceType() [1/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetInstanceType ( const Aws::String value)
inline

The instance type, such as t2.micro. For a list of supported instance types, open the stack in the console, choose Instances, and choose + Instance. The Size list contains the currently supported types. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

Definition at line 161 of file UpdateInstanceRequest.h.

◆ SetInstanceType() [2/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetInstanceType ( Aws::String &&  value)
inline

The instance type, such as t2.micro. For a list of supported instance types, open the stack in the console, choose Instances, and choose + Instance. The Size list contains the currently supported types. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

Definition at line 173 of file UpdateInstanceRequest.h.

◆ SetInstanceType() [3/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetInstanceType ( const char *  value)
inline

The instance type, such as t2.micro. For a list of supported instance types, open the stack in the console, choose Instances, and choose + Instance. The Size list contains the currently supported types. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

Definition at line 185 of file UpdateInstanceRequest.h.

◆ SetLayerIds() [1/2]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetLayerIds ( const Aws::Vector< Aws::String > &  value)
inline

The instance's layer IDs.

Definition at line 94 of file UpdateInstanceRequest.h.

◆ SetLayerIds() [2/2]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetLayerIds ( Aws::Vector< Aws::String > &&  value)
inline

The instance's layer IDs.

Definition at line 99 of file UpdateInstanceRequest.h.

◆ SetOs() [1/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetOs ( const Aws::String value)
inline

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.

  • A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03.

  • A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS.

  • CentOS Linux 7

  • Red Hat Enterprise Linux 7

  • A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web.

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 to Custom, you must use the AmiId parameter to specify the custom AMI that you want to use. For more information about supported operating systems, see Operating Systems. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

You can specify a different Linux operating system for the updated stack, but you cannot change from Linux to Windows or Windows to Linux.

Definition at line 396 of file UpdateInstanceRequest.h.

◆ SetOs() [2/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetOs ( Aws::String &&  value)
inline

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.

  • A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03.

  • A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS.

  • CentOS Linux 7

  • Red Hat Enterprise Linux 7

  • A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web.

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 to Custom, you must use the AmiId parameter to specify the custom AMI that you want to use. For more information about supported operating systems, see Operating Systems. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

You can specify a different Linux operating system for the updated stack, but you cannot change from Linux to Windows or Windows to Linux.

Definition at line 428 of file UpdateInstanceRequest.h.

◆ SetOs() [3/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetOs ( const char *  value)
inline

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.

  • A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03.

  • A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS.

  • CentOS Linux 7

  • Red Hat Enterprise Linux 7

  • A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web.

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 to Custom, you must use the AmiId parameter to specify the custom AMI that you want to use. For more information about supported operating systems, see Operating Systems. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

You can specify a different Linux operating system for the updated stack, but you cannot change from Linux to Windows or Windows to Linux.

Definition at line 460 of file UpdateInstanceRequest.h.

◆ SetSshKeyName() [1/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetSshKeyName ( const Aws::String value)
inline

The instance's Amazon EC2 key name.

Definition at line 637 of file UpdateInstanceRequest.h.

◆ SetSshKeyName() [2/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetSshKeyName ( Aws::String &&  value)
inline

The instance's Amazon EC2 key name.

Definition at line 642 of file UpdateInstanceRequest.h.

◆ SetSshKeyName() [3/3]

void Aws::OpsWorks::Model::UpdateInstanceRequest::SetSshKeyName ( const char *  value)
inline

The instance's Amazon EC2 key name.

Definition at line 647 of file UpdateInstanceRequest.h.

◆ SshKeyNameHasBeenSet()

bool Aws::OpsWorks::Model::UpdateInstanceRequest::SshKeyNameHasBeenSet ( ) const
inline

The instance's Amazon EC2 key name.

Definition at line 632 of file UpdateInstanceRequest.h.

◆ WithAgentVersion() [1/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithAgentVersion ( const Aws::String value)
inline

The default AWS OpsWorks Stacks agent version. You have the following options:

  • INHERIT - Use the stack's default agent version setting.

  • version_number - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, you must edit the instance configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the instance.

The default setting is INHERIT. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions.

AgentVersion cannot be set to Chef 12.2.

Definition at line 882 of file UpdateInstanceRequest.h.

◆ WithAgentVersion() [2/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithAgentVersion ( Aws::String &&  value)
inline

The default AWS OpsWorks Stacks agent version. You have the following options:

  • INHERIT - Use the stack's default agent version setting.

  • version_number - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, you must edit the instance configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the instance.

The default setting is INHERIT. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions.

AgentVersion cannot be set to Chef 12.2.

Definition at line 897 of file UpdateInstanceRequest.h.

◆ WithAgentVersion() [3/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithAgentVersion ( const char *  value)
inline

The default AWS OpsWorks Stacks agent version. You have the following options:

  • INHERIT - Use the stack's default agent version setting.

  • version_number - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, you must edit the instance configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the instance.

The default setting is INHERIT. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions.

AgentVersion cannot be set to Chef 12.2.

Definition at line 912 of file UpdateInstanceRequest.h.

◆ WithAmiId() [1/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithAmiId ( const Aws::String value)
inline

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.

Definition at line 605 of file UpdateInstanceRequest.h.

◆ WithAmiId() [2/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithAmiId ( Aws::String &&  value)
inline

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.

Definition at line 613 of file UpdateInstanceRequest.h.

◆ WithAmiId() [3/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithAmiId ( const char *  value)
inline

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.

Definition at line 621 of file UpdateInstanceRequest.h.

◆ WithArchitecture() [1/2]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithArchitecture ( const Architecture value)
inline

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.

Definition at line 708 of file UpdateInstanceRequest.h.

◆ WithArchitecture() [2/2]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithArchitecture ( Architecture &&  value)
inline

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.

Definition at line 717 of file UpdateInstanceRequest.h.

◆ WithAutoScalingType() [1/2]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithAutoScalingType ( const AutoScalingType value)
inline

For load-based or time-based instances, the type. Windows stacks can use only time-based instances.

Definition at line 252 of file UpdateInstanceRequest.h.

◆ WithAutoScalingType() [2/2]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithAutoScalingType ( AutoScalingType &&  value)
inline

For load-based or time-based instances, the type. Windows stacks can use only time-based instances.

Definition at line 258 of file UpdateInstanceRequest.h.

◆ WithEbsOptimized()

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithEbsOptimized ( bool  value)
inline

This property cannot be updated.

Definition at line 791 of file UpdateInstanceRequest.h.

◆ WithHostname() [1/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithHostname ( const Aws::String value)
inline

The instance host name.

Definition at line 289 of file UpdateInstanceRequest.h.

◆ WithHostname() [2/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithHostname ( Aws::String &&  value)
inline

The instance host name.

Definition at line 294 of file UpdateInstanceRequest.h.

◆ WithHostname() [3/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithHostname ( const char *  value)
inline

The instance host name.

Definition at line 299 of file UpdateInstanceRequest.h.

◆ WithInstallUpdatesOnBoot()

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithInstallUpdatesOnBoot ( bool  value)
inline

Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value 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.

Definition at line 770 of file UpdateInstanceRequest.h.

◆ WithInstanceId() [1/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithInstanceId ( const Aws::String value)
inline

The instance ID.

Definition at line 68 of file UpdateInstanceRequest.h.

◆ WithInstanceId() [2/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithInstanceId ( Aws::String &&  value)
inline

The instance ID.

Definition at line 73 of file UpdateInstanceRequest.h.

◆ WithInstanceId() [3/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithInstanceId ( const char *  value)
inline

The instance ID.

Definition at line 78 of file UpdateInstanceRequest.h.

◆ WithInstanceType() [1/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithInstanceType ( const Aws::String value)
inline

The instance type, such as t2.micro. For a list of supported instance types, open the stack in the console, choose Instances, and choose + Instance. The Size list contains the currently supported types. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

Definition at line 197 of file UpdateInstanceRequest.h.

◆ WithInstanceType() [2/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithInstanceType ( Aws::String &&  value)
inline

The instance type, such as t2.micro. For a list of supported instance types, open the stack in the console, choose Instances, and choose + Instance. The Size list contains the currently supported types. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

Definition at line 209 of file UpdateInstanceRequest.h.

◆ WithInstanceType() [3/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithInstanceType ( const char *  value)
inline

The instance type, such as t2.micro. For a list of supported instance types, open the stack in the console, choose Instances, and choose + Instance. The Size list contains the currently supported types. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

Definition at line 221 of file UpdateInstanceRequest.h.

◆ WithLayerIds() [1/2]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithLayerIds ( const Aws::Vector< Aws::String > &  value)
inline

The instance's layer IDs.

Definition at line 104 of file UpdateInstanceRequest.h.

◆ WithLayerIds() [2/2]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithLayerIds ( Aws::Vector< Aws::String > &&  value)
inline

The instance's layer IDs.

Definition at line 109 of file UpdateInstanceRequest.h.

◆ WithOs() [1/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithOs ( const Aws::String value)
inline

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.

  • A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03.

  • A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS.

  • CentOS Linux 7

  • Red Hat Enterprise Linux 7

  • A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web.

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 to Custom, you must use the AmiId parameter to specify the custom AMI that you want to use. For more information about supported operating systems, see Operating Systems. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

You can specify a different Linux operating system for the updated stack, but you cannot change from Linux to Windows or Windows to Linux.

Definition at line 492 of file UpdateInstanceRequest.h.

◆ WithOs() [2/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithOs ( Aws::String &&  value)
inline

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.

  • A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03.

  • A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS.

  • CentOS Linux 7

  • Red Hat Enterprise Linux 7

  • A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web.

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 to Custom, you must use the AmiId parameter to specify the custom AMI that you want to use. For more information about supported operating systems, see Operating Systems. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

You can specify a different Linux operating system for the updated stack, but you cannot change from Linux to Windows or Windows to Linux.

Definition at line 524 of file UpdateInstanceRequest.h.

◆ WithOs() [3/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithOs ( const char *  value)
inline

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.

  • A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03.

  • A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS.

  • CentOS Linux 7

  • Red Hat Enterprise Linux 7

  • A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web.

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 to Custom, you must use the AmiId parameter to specify the custom AMI that you want to use. For more information about supported operating systems, see Operating Systems. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

You can specify a different Linux operating system for the updated stack, but you cannot change from Linux to Windows or Windows to Linux.

Definition at line 556 of file UpdateInstanceRequest.h.

◆ WithSshKeyName() [1/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithSshKeyName ( const Aws::String value)
inline

The instance's Amazon EC2 key name.

Definition at line 652 of file UpdateInstanceRequest.h.

◆ WithSshKeyName() [2/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithSshKeyName ( Aws::String &&  value)
inline

The instance's Amazon EC2 key name.

Definition at line 657 of file UpdateInstanceRequest.h.

◆ WithSshKeyName() [3/3]

UpdateInstanceRequest& Aws::OpsWorks::Model::UpdateInstanceRequest::WithSshKeyName ( const char *  value)
inline

The instance's Amazon EC2 key name.

Definition at line 662 of file UpdateInstanceRequest.h.


The documentation for this class was generated from the following file: