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

#include <CloneStackRequest.h>

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

Public Member Functions

 CloneStackRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetSourceStackId () const
 
bool SourceStackIdHasBeenSet () const
 
void SetSourceStackId (const Aws::String &value)
 
void SetSourceStackId (Aws::String &&value)
 
void SetSourceStackId (const char *value)
 
CloneStackRequestWithSourceStackId (const Aws::String &value)
 
CloneStackRequestWithSourceStackId (Aws::String &&value)
 
CloneStackRequestWithSourceStackId (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
CloneStackRequestWithName (const Aws::String &value)
 
CloneStackRequestWithName (Aws::String &&value)
 
CloneStackRequestWithName (const char *value)
 
const Aws::StringGetRegion () const
 
bool RegionHasBeenSet () const
 
void SetRegion (const Aws::String &value)
 
void SetRegion (Aws::String &&value)
 
void SetRegion (const char *value)
 
CloneStackRequestWithRegion (const Aws::String &value)
 
CloneStackRequestWithRegion (Aws::String &&value)
 
CloneStackRequestWithRegion (const char *value)
 
const Aws::StringGetVpcId () const
 
bool VpcIdHasBeenSet () const
 
void SetVpcId (const Aws::String &value)
 
void SetVpcId (Aws::String &&value)
 
void SetVpcId (const char *value)
 
CloneStackRequestWithVpcId (const Aws::String &value)
 
CloneStackRequestWithVpcId (Aws::String &&value)
 
CloneStackRequestWithVpcId (const char *value)
 
const Aws::Map< StackAttributesKeys, Aws::String > & GetAttributes () const
 
bool AttributesHasBeenSet () const
 
void SetAttributes (const Aws::Map< StackAttributesKeys, Aws::String > &value)
 
void SetAttributes (Aws::Map< StackAttributesKeys, Aws::String > &&value)
 
CloneStackRequestWithAttributes (const Aws::Map< StackAttributesKeys, Aws::String > &value)
 
CloneStackRequestWithAttributes (Aws::Map< StackAttributesKeys, Aws::String > &&value)
 
CloneStackRequestAddAttributes (const StackAttributesKeys &key, const Aws::String &value)
 
CloneStackRequestAddAttributes (StackAttributesKeys &&key, const Aws::String &value)
 
CloneStackRequestAddAttributes (const StackAttributesKeys &key, Aws::String &&value)
 
CloneStackRequestAddAttributes (StackAttributesKeys &&key, Aws::String &&value)
 
CloneStackRequestAddAttributes (StackAttributesKeys &&key, const char *value)
 
CloneStackRequestAddAttributes (const StackAttributesKeys &key, const char *value)
 
const Aws::StringGetServiceRoleArn () const
 
bool ServiceRoleArnHasBeenSet () const
 
void SetServiceRoleArn (const Aws::String &value)
 
void SetServiceRoleArn (Aws::String &&value)
 
void SetServiceRoleArn (const char *value)
 
CloneStackRequestWithServiceRoleArn (const Aws::String &value)
 
CloneStackRequestWithServiceRoleArn (Aws::String &&value)
 
CloneStackRequestWithServiceRoleArn (const char *value)
 
const Aws::StringGetDefaultInstanceProfileArn () const
 
bool DefaultInstanceProfileArnHasBeenSet () const
 
void SetDefaultInstanceProfileArn (const Aws::String &value)
 
void SetDefaultInstanceProfileArn (Aws::String &&value)
 
void SetDefaultInstanceProfileArn (const char *value)
 
CloneStackRequestWithDefaultInstanceProfileArn (const Aws::String &value)
 
CloneStackRequestWithDefaultInstanceProfileArn (Aws::String &&value)
 
CloneStackRequestWithDefaultInstanceProfileArn (const char *value)
 
const Aws::StringGetDefaultOs () const
 
bool DefaultOsHasBeenSet () const
 
void SetDefaultOs (const Aws::String &value)
 
void SetDefaultOs (Aws::String &&value)
 
void SetDefaultOs (const char *value)
 
CloneStackRequestWithDefaultOs (const Aws::String &value)
 
CloneStackRequestWithDefaultOs (Aws::String &&value)
 
CloneStackRequestWithDefaultOs (const char *value)
 
const Aws::StringGetHostnameTheme () const
 
bool HostnameThemeHasBeenSet () const
 
void SetHostnameTheme (const Aws::String &value)
 
void SetHostnameTheme (Aws::String &&value)
 
void SetHostnameTheme (const char *value)
 
CloneStackRequestWithHostnameTheme (const Aws::String &value)
 
CloneStackRequestWithHostnameTheme (Aws::String &&value)
 
CloneStackRequestWithHostnameTheme (const char *value)
 
const Aws::StringGetDefaultAvailabilityZone () const
 
bool DefaultAvailabilityZoneHasBeenSet () const
 
void SetDefaultAvailabilityZone (const Aws::String &value)
 
void SetDefaultAvailabilityZone (Aws::String &&value)
 
void SetDefaultAvailabilityZone (const char *value)
 
CloneStackRequestWithDefaultAvailabilityZone (const Aws::String &value)
 
CloneStackRequestWithDefaultAvailabilityZone (Aws::String &&value)
 
CloneStackRequestWithDefaultAvailabilityZone (const char *value)
 
const Aws::StringGetDefaultSubnetId () const
 
bool DefaultSubnetIdHasBeenSet () const
 
void SetDefaultSubnetId (const Aws::String &value)
 
void SetDefaultSubnetId (Aws::String &&value)
 
void SetDefaultSubnetId (const char *value)
 
CloneStackRequestWithDefaultSubnetId (const Aws::String &value)
 
CloneStackRequestWithDefaultSubnetId (Aws::String &&value)
 
CloneStackRequestWithDefaultSubnetId (const char *value)
 
const Aws::StringGetCustomJson () const
 
bool CustomJsonHasBeenSet () const
 
void SetCustomJson (const Aws::String &value)
 
void SetCustomJson (Aws::String &&value)
 
void SetCustomJson (const char *value)
 
CloneStackRequestWithCustomJson (const Aws::String &value)
 
CloneStackRequestWithCustomJson (Aws::String &&value)
 
CloneStackRequestWithCustomJson (const char *value)
 
const StackConfigurationManagerGetConfigurationManager () const
 
bool ConfigurationManagerHasBeenSet () const
 
void SetConfigurationManager (const StackConfigurationManager &value)
 
void SetConfigurationManager (StackConfigurationManager &&value)
 
CloneStackRequestWithConfigurationManager (const StackConfigurationManager &value)
 
CloneStackRequestWithConfigurationManager (StackConfigurationManager &&value)
 
const ChefConfigurationGetChefConfiguration () const
 
bool ChefConfigurationHasBeenSet () const
 
void SetChefConfiguration (const ChefConfiguration &value)
 
void SetChefConfiguration (ChefConfiguration &&value)
 
CloneStackRequestWithChefConfiguration (const ChefConfiguration &value)
 
CloneStackRequestWithChefConfiguration (ChefConfiguration &&value)
 
bool GetUseCustomCookbooks () const
 
bool UseCustomCookbooksHasBeenSet () const
 
void SetUseCustomCookbooks (bool value)
 
CloneStackRequestWithUseCustomCookbooks (bool value)
 
bool GetUseOpsworksSecurityGroups () const
 
bool UseOpsworksSecurityGroupsHasBeenSet () const
 
void SetUseOpsworksSecurityGroups (bool value)
 
CloneStackRequestWithUseOpsworksSecurityGroups (bool value)
 
const SourceGetCustomCookbooksSource () const
 
bool CustomCookbooksSourceHasBeenSet () const
 
void SetCustomCookbooksSource (const Source &value)
 
void SetCustomCookbooksSource (Source &&value)
 
CloneStackRequestWithCustomCookbooksSource (const Source &value)
 
CloneStackRequestWithCustomCookbooksSource (Source &&value)
 
const Aws::StringGetDefaultSshKeyName () const
 
bool DefaultSshKeyNameHasBeenSet () const
 
void SetDefaultSshKeyName (const Aws::String &value)
 
void SetDefaultSshKeyName (Aws::String &&value)
 
void SetDefaultSshKeyName (const char *value)
 
CloneStackRequestWithDefaultSshKeyName (const Aws::String &value)
 
CloneStackRequestWithDefaultSshKeyName (Aws::String &&value)
 
CloneStackRequestWithDefaultSshKeyName (const char *value)
 
bool GetClonePermissions () const
 
bool ClonePermissionsHasBeenSet () const
 
void SetClonePermissions (bool value)
 
CloneStackRequestWithClonePermissions (bool value)
 
const Aws::Vector< Aws::String > & GetCloneAppIds () const
 
bool CloneAppIdsHasBeenSet () const
 
void SetCloneAppIds (const Aws::Vector< Aws::String > &value)
 
void SetCloneAppIds (Aws::Vector< Aws::String > &&value)
 
CloneStackRequestWithCloneAppIds (const Aws::Vector< Aws::String > &value)
 
CloneStackRequestWithCloneAppIds (Aws::Vector< Aws::String > &&value)
 
CloneStackRequestAddCloneAppIds (const Aws::String &value)
 
CloneStackRequestAddCloneAppIds (Aws::String &&value)
 
CloneStackRequestAddCloneAppIds (const char *value)
 
const RootDeviceTypeGetDefaultRootDeviceType () const
 
bool DefaultRootDeviceTypeHasBeenSet () const
 
void SetDefaultRootDeviceType (const RootDeviceType &value)
 
void SetDefaultRootDeviceType (RootDeviceType &&value)
 
CloneStackRequestWithDefaultRootDeviceType (const RootDeviceType &value)
 
CloneStackRequestWithDefaultRootDeviceType (RootDeviceType &&value)
 
const Aws::StringGetAgentVersion () const
 
bool AgentVersionHasBeenSet () const
 
void SetAgentVersion (const Aws::String &value)
 
void SetAgentVersion (Aws::String &&value)
 
void SetAgentVersion (const char *value)
 
CloneStackRequestWithAgentVersion (const Aws::String &value)
 
CloneStackRequestWithAgentVersion (Aws::String &&value)
 
CloneStackRequestWithAgentVersion (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 28 of file CloneStackRequest.h.

Constructor & Destructor Documentation

◆ CloneStackRequest()

Aws::OpsWorks::Model::CloneStackRequest::CloneStackRequest ( )

Member Function Documentation

◆ AddAttributes() [1/6]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::AddAttributes ( const StackAttributesKeys key,
const Aws::String value 
)
inline

A list of stack attributes and values as key/value pairs to be added to the cloned stack.

Definition at line 432 of file CloneStackRequest.h.

◆ AddAttributes() [2/6]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::AddAttributes ( StackAttributesKeys &&  key,
const Aws::String value 
)
inline

A list of stack attributes and values as key/value pairs to be added to the cloned stack.

Definition at line 438 of file CloneStackRequest.h.

◆ AddAttributes() [3/6]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::AddAttributes ( const StackAttributesKeys key,
Aws::String &&  value 
)
inline

A list of stack attributes and values as key/value pairs to be added to the cloned stack.

Definition at line 444 of file CloneStackRequest.h.

◆ AddAttributes() [4/6]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::AddAttributes ( StackAttributesKeys &&  key,
Aws::String &&  value 
)
inline

A list of stack attributes and values as key/value pairs to be added to the cloned stack.

Definition at line 450 of file CloneStackRequest.h.

◆ AddAttributes() [5/6]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::AddAttributes ( StackAttributesKeys &&  key,
const char *  value 
)
inline

A list of stack attributes and values as key/value pairs to be added to the cloned stack.

Definition at line 456 of file CloneStackRequest.h.

◆ AddAttributes() [6/6]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::AddAttributes ( const StackAttributesKeys key,
const char *  value 
)
inline

A list of stack attributes and values as key/value pairs to be added to the cloned stack.

Definition at line 462 of file CloneStackRequest.h.

◆ AddCloneAppIds() [1/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::AddCloneAppIds ( const Aws::String value)
inline

A list of source stack app IDs to be included in the cloned stack.

Definition at line 1718 of file CloneStackRequest.h.

◆ AddCloneAppIds() [2/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::AddCloneAppIds ( Aws::String &&  value)
inline

A list of source stack app IDs to be included in the cloned stack.

Definition at line 1723 of file CloneStackRequest.h.

◆ AddCloneAppIds() [3/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::AddCloneAppIds ( const char *  value)
inline

A list of source stack app IDs to be included in the cloned stack.

Definition at line 1728 of file CloneStackRequest.h.

◆ AgentVersionHasBeenSet()

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

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

  • Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available.

  • Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances.

The default setting is LATEST. 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.

You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.

Definition at line 1820 of file CloneStackRequest.h.

◆ AttributesHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::AttributesHasBeenSet ( ) const
inline

A list of stack attributes and values as key/value pairs to be added to the cloned stack.

Definition at line 402 of file CloneStackRequest.h.

◆ ChefConfigurationHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::ChefConfigurationHasBeenSet ( ) const
inline

A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack.

Definition at line 1337 of file CloneStackRequest.h.

◆ CloneAppIdsHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::CloneAppIdsHasBeenSet ( ) const
inline

A list of source stack app IDs to be included in the cloned stack.

Definition at line 1693 of file CloneStackRequest.h.

◆ ClonePermissionsHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::ClonePermissionsHasBeenSet ( ) const
inline

Whether to clone the source stack's permissions.

Definition at line 1672 of file CloneStackRequest.h.

◆ ConfigurationManagerHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::ConfigurationManagerHasBeenSet ( ) const
inline

The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.

Definition at line 1286 of file CloneStackRequest.h.

◆ CustomCookbooksSourceHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::CustomCookbooksSourceHasBeenSet ( ) const
inline

Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.

Definition at line 1500 of file CloneStackRequest.h.

◆ CustomJsonHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::CustomJsonHasBeenSet ( ) const
inline

A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format:

"{\"key1": "value1", "key2": "value2",...}"</code> </p> <p>For more information about custom JSON, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html">Use Custom JSON to Modify the Stack Configuration Attributes

Definition at line 1209 of file CloneStackRequest.h.

◆ DefaultAvailabilityZoneHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::DefaultAvailabilityZoneHasBeenSet ( ) const
inline

The cloned stack's default Availability Zone, which must be in the specified region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see the VpcId parameter description.

Definition at line 1047 of file CloneStackRequest.h.

◆ DefaultInstanceProfileArnHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::DefaultInstanceProfileArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

Definition at line 602 of file CloneStackRequest.h.

◆ DefaultOsHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::DefaultOsHasBeenSet ( ) const
inline

The stack's operating system, which must be set to one of the following.

  • 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

  • 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.

  • A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

The default option is the parent stack's operating system. For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems.

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

Definition at line 711 of file CloneStackRequest.h.

◆ DefaultRootDeviceTypeHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::DefaultRootDeviceTypeHasBeenSet ( ) const
inline

The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.

Definition at line 1747 of file CloneStackRequest.h.

◆ DefaultSshKeyNameHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::DefaultSshKeyNameHasBeenSet ( ) const
inline

A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance.

Definition at line 1571 of file CloneStackRequest.h.

◆ DefaultSubnetIdHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::DefaultSubnetIdHasBeenSet ( ) const
inline

The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description.

Definition at line 1128 of file CloneStackRequest.h.

◆ GetAgentVersion()

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

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

  • Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available.

  • Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances.

The default setting is LATEST. 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.

You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.

Definition at line 1802 of file CloneStackRequest.h.

◆ GetAttributes()

const Aws::Map<StackAttributesKeys, Aws::String>& Aws::OpsWorks::Model::CloneStackRequest::GetAttributes ( ) const
inline

A list of stack attributes and values as key/value pairs to be added to the cloned stack.

Definition at line 396 of file CloneStackRequest.h.

◆ GetChefConfiguration()

const ChefConfiguration& Aws::OpsWorks::Model::CloneStackRequest::GetChefConfiguration ( ) const
inline

A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack.

Definition at line 1328 of file CloneStackRequest.h.

◆ GetCloneAppIds()

const Aws::Vector<Aws::String>& Aws::OpsWorks::Model::CloneStackRequest::GetCloneAppIds ( ) const
inline

A list of source stack app IDs to be included in the cloned stack.

Definition at line 1688 of file CloneStackRequest.h.

◆ GetClonePermissions()

bool Aws::OpsWorks::Model::CloneStackRequest::GetClonePermissions ( ) const
inline

Whether to clone the source stack's permissions.

Definition at line 1667 of file CloneStackRequest.h.

◆ GetConfigurationManager()

const StackConfigurationManager& Aws::OpsWorks::Model::CloneStackRequest::GetConfigurationManager ( ) const
inline

The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.

Definition at line 1278 of file CloneStackRequest.h.

◆ GetCustomCookbooksSource()

const Source& Aws::OpsWorks::Model::CloneStackRequest::GetCustomCookbooksSource ( ) const
inline

Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.

Definition at line 1490 of file CloneStackRequest.h.

◆ GetCustomJson()

const Aws::String& Aws::OpsWorks::Model::CloneStackRequest::GetCustomJson ( ) const
inline

A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format:

"{\"key1": "value1", "key2": "value2",...}"</code> </p> <p>For more information about custom JSON, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html">Use Custom JSON to Modify the Stack Configuration Attributes

Definition at line 1199 of file CloneStackRequest.h.

◆ GetDefaultAvailabilityZone()

const Aws::String& Aws::OpsWorks::Model::CloneStackRequest::GetDefaultAvailabilityZone ( ) const
inline

The cloned stack's default Availability Zone, which must be in the specified region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see the VpcId parameter description.

Definition at line 1037 of file CloneStackRequest.h.

◆ GetDefaultInstanceProfileArn()

const Aws::String& Aws::OpsWorks::Model::CloneStackRequest::GetDefaultInstanceProfileArn ( ) const
inline

The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

Definition at line 593 of file CloneStackRequest.h.

◆ GetDefaultOs()

const Aws::String& Aws::OpsWorks::Model::CloneStackRequest::GetDefaultOs ( ) const
inline

The stack's operating system, which must be set to one of the following.

  • 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

  • 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.

  • A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

The default option is the parent stack's operating system. For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems.

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

Definition at line 684 of file CloneStackRequest.h.

◆ GetDefaultRootDeviceType()

const RootDeviceType& Aws::OpsWorks::Model::CloneStackRequest::GetDefaultRootDeviceType ( ) const
inline

The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.

Definition at line 1738 of file CloneStackRequest.h.

◆ GetDefaultSshKeyName()

const Aws::String& Aws::OpsWorks::Model::CloneStackRequest::GetDefaultSshKeyName ( ) const
inline

A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance.

Definition at line 1556 of file CloneStackRequest.h.

◆ GetDefaultSubnetId()

const Aws::String& Aws::OpsWorks::Model::CloneStackRequest::GetDefaultSubnetId ( ) const
inline

The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description.

Definition at line 1118 of file CloneStackRequest.h.

◆ GetHostnameTheme()

const Aws::String& Aws::OpsWorks::Model::CloneStackRequest::GetHostnameTheme ( ) const
inline

The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:

  • Baked_Goods

  • Clouds

  • Europe_Cities

  • Fruits

  • Greek_Deities_and_Titans

  • Legendary_creatures_from_Japan

  • Planets_and_Moons

  • Roman_Deities

  • Scottish_Islands

  • US_Cities

  • Wild_Cats

To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme.

Definition at line 893 of file CloneStackRequest.h.

◆ GetName()

const Aws::String& Aws::OpsWorks::Model::CloneStackRequest::GetName ( ) const
inline

The cloned stack name.

Definition at line 88 of file CloneStackRequest.h.

◆ GetRegion()

const Aws::String& Aws::OpsWorks::Model::CloneStackRequest::GetRegion ( ) const
inline

The cloned stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.

Definition at line 132 of file CloneStackRequest.h.

◆ GetRequestSpecificHeaders()

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

Reimplemented from Aws::OpsWorks::OpsWorksRequest.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 37 of file CloneStackRequest.h.

◆ GetServiceRoleArn()

const Aws::String& Aws::OpsWorks::Model::CloneStackRequest::GetServiceRoleArn ( ) const
inline

The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks Stacks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers.

You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.

Definition at line 478 of file CloneStackRequest.h.

◆ GetSourceStackId()

const Aws::String& Aws::OpsWorks::Model::CloneStackRequest::GetSourceStackId ( ) const
inline

The source stack ID.

Definition at line 47 of file CloneStackRequest.h.

◆ GetUseCustomCookbooks()

bool Aws::OpsWorks::Model::CloneStackRequest::GetUseCustomCookbooks ( ) const
inline

Whether to use custom cookbooks.

Definition at line 1379 of file CloneStackRequest.h.

◆ GetUseOpsworksSecurityGroups()

bool Aws::OpsWorks::Model::CloneStackRequest::GetUseOpsworksSecurityGroups ( ) const
inline

Whether to associate the AWS OpsWorks Stacks built-in security groups with the stack's layers.

AWS OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. With UseOpsworksSecurityGroups you can instead provide your own custom security groups. UseOpsworksSecurityGroups has the following settings:

  • True - AWS OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it but you cannot delete the built-in security group.

  • False - AWS OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate Amazon Elastic Compute Cloud (Amazon EC2) security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on creation; custom security groups are required only for those layers that need custom settings.

For more information, see Create a New Stack.

Definition at line 1416 of file CloneStackRequest.h.

◆ GetVpcId()

const Aws::String& Aws::OpsWorks::Model::CloneStackRequest::GetVpcId ( ) const
inline

The ID of the VPC that the cloned stack is to be launched into. It must be in the specified region. All instances are launched into this VPC, and you cannot change the ID later.

  • If your account supports EC2 Classic, the default value is no VPC.

  • If your account does not support EC2 Classic, the default value is the default VPC for the specified region.

If the VPC ID corresponds to a default VPC and you have specified either the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively.

If you specify a nondefault VPC ID, note the following:

  • It must belong to a VPC in your account that is in the specified region.

  • You must specify a value for DefaultSubnetId.

For more information about how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a VPC. For more information about default VPC and EC2 Classic, see Supported Platforms.

Definition at line 214 of file CloneStackRequest.h.

◆ HostnameThemeHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::HostnameThemeHasBeenSet ( ) const
inline

The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:

  • Baked_Goods

  • Clouds

  • Europe_Cities

  • Fruits

  • Greek_Deities_and_Titans

  • Legendary_creatures_from_Japan

  • Planets_and_Moons

  • Roman_Deities

  • Scottish_Islands

  • US_Cities

  • Wild_Cats

To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme.

Definition at line 912 of file CloneStackRequest.h.

◆ NameHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::NameHasBeenSet ( ) const
inline

The cloned stack name.

Definition at line 93 of file CloneStackRequest.h.

◆ RegionHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::RegionHasBeenSet ( ) const
inline

The cloned stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.

Definition at line 140 of file CloneStackRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ ServiceRoleArnHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::ServiceRoleArnHasBeenSet ( ) const
inline

The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks Stacks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers.

You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.

Definition at line 493 of file CloneStackRequest.h.

◆ SetAgentVersion() [1/3]

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

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

  • Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available.

  • Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances.

The default setting is LATEST. 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.

You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.

Definition at line 1838 of file CloneStackRequest.h.

◆ SetAgentVersion() [2/3]

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

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

  • Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available.

  • Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances.

The default setting is LATEST. 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.

You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.

Definition at line 1856 of file CloneStackRequest.h.

◆ SetAgentVersion() [3/3]

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

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

  • Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available.

  • Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances.

The default setting is LATEST. 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.

You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.

Definition at line 1874 of file CloneStackRequest.h.

◆ SetAttributes() [1/2]

void Aws::OpsWorks::Model::CloneStackRequest::SetAttributes ( const Aws::Map< StackAttributesKeys, Aws::String > &  value)
inline

A list of stack attributes and values as key/value pairs to be added to the cloned stack.

Definition at line 408 of file CloneStackRequest.h.

◆ SetAttributes() [2/2]

void Aws::OpsWorks::Model::CloneStackRequest::SetAttributes ( Aws::Map< StackAttributesKeys, Aws::String > &&  value)
inline

A list of stack attributes and values as key/value pairs to be added to the cloned stack.

Definition at line 414 of file CloneStackRequest.h.

◆ SetChefConfiguration() [1/2]

void Aws::OpsWorks::Model::CloneStackRequest::SetChefConfiguration ( const ChefConfiguration value)
inline

A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack.

Definition at line 1346 of file CloneStackRequest.h.

◆ SetChefConfiguration() [2/2]

void Aws::OpsWorks::Model::CloneStackRequest::SetChefConfiguration ( ChefConfiguration &&  value)
inline

A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack.

Definition at line 1355 of file CloneStackRequest.h.

◆ SetCloneAppIds() [1/2]

void Aws::OpsWorks::Model::CloneStackRequest::SetCloneAppIds ( const Aws::Vector< Aws::String > &  value)
inline

A list of source stack app IDs to be included in the cloned stack.

Definition at line 1698 of file CloneStackRequest.h.

◆ SetCloneAppIds() [2/2]

void Aws::OpsWorks::Model::CloneStackRequest::SetCloneAppIds ( Aws::Vector< Aws::String > &&  value)
inline

A list of source stack app IDs to be included in the cloned stack.

Definition at line 1703 of file CloneStackRequest.h.

◆ SetClonePermissions()

void Aws::OpsWorks::Model::CloneStackRequest::SetClonePermissions ( bool  value)
inline

Whether to clone the source stack's permissions.

Definition at line 1677 of file CloneStackRequest.h.

◆ SetConfigurationManager() [1/2]

void Aws::OpsWorks::Model::CloneStackRequest::SetConfigurationManager ( const StackConfigurationManager value)
inline

The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.

Definition at line 1294 of file CloneStackRequest.h.

◆ SetConfigurationManager() [2/2]

void Aws::OpsWorks::Model::CloneStackRequest::SetConfigurationManager ( StackConfigurationManager &&  value)
inline

The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.

Definition at line 1302 of file CloneStackRequest.h.

◆ SetCustomCookbooksSource() [1/2]

void Aws::OpsWorks::Model::CloneStackRequest::SetCustomCookbooksSource ( const Source value)
inline

Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.

Definition at line 1510 of file CloneStackRequest.h.

◆ SetCustomCookbooksSource() [2/2]

void Aws::OpsWorks::Model::CloneStackRequest::SetCustomCookbooksSource ( Source &&  value)
inline

Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.

Definition at line 1520 of file CloneStackRequest.h.

◆ SetCustomJson() [1/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetCustomJson ( const Aws::String value)
inline

A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format:

"{\"key1": "value1", "key2": "value2",...}"</code> </p> <p>For more information about custom JSON, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html">Use Custom JSON to Modify the Stack Configuration Attributes

Definition at line 1219 of file CloneStackRequest.h.

◆ SetCustomJson() [2/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetCustomJson ( Aws::String &&  value)
inline

A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format:

"{\"key1": "value1", "key2": "value2",...}"</code> </p> <p>For more information about custom JSON, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html">Use Custom JSON to Modify the Stack Configuration Attributes

Definition at line 1229 of file CloneStackRequest.h.

◆ SetCustomJson() [3/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetCustomJson ( const char *  value)
inline

A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format:

"{\"key1": "value1", "key2": "value2",...}"</code> </p> <p>For more information about custom JSON, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html">Use Custom JSON to Modify the Stack Configuration Attributes

Definition at line 1239 of file CloneStackRequest.h.

◆ SetDefaultAvailabilityZone() [1/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultAvailabilityZone ( const Aws::String value)
inline

The cloned stack's default Availability Zone, which must be in the specified region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see the VpcId parameter description.

Definition at line 1057 of file CloneStackRequest.h.

◆ SetDefaultAvailabilityZone() [2/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultAvailabilityZone ( Aws::String &&  value)
inline

The cloned stack's default Availability Zone, which must be in the specified region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see the VpcId parameter description.

Definition at line 1067 of file CloneStackRequest.h.

◆ SetDefaultAvailabilityZone() [3/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultAvailabilityZone ( const char *  value)
inline

The cloned stack's default Availability Zone, which must be in the specified region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see the VpcId parameter description.

Definition at line 1077 of file CloneStackRequest.h.

◆ SetDefaultInstanceProfileArn() [1/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultInstanceProfileArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

Definition at line 611 of file CloneStackRequest.h.

◆ SetDefaultInstanceProfileArn() [2/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultInstanceProfileArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

Definition at line 620 of file CloneStackRequest.h.

◆ SetDefaultInstanceProfileArn() [3/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultInstanceProfileArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

Definition at line 629 of file CloneStackRequest.h.

◆ SetDefaultOs() [1/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultOs ( const Aws::String value)
inline

The stack's operating system, which must be set to one of the following.

  • 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

  • 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.

  • A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

The default option is the parent stack's operating system. For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems.

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

Definition at line 738 of file CloneStackRequest.h.

◆ SetDefaultOs() [2/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultOs ( Aws::String &&  value)
inline

The stack's operating system, which must be set to one of the following.

  • 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

  • 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.

  • A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

The default option is the parent stack's operating system. For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems.

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

Definition at line 765 of file CloneStackRequest.h.

◆ SetDefaultOs() [3/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultOs ( const char *  value)
inline

The stack's operating system, which must be set to one of the following.

  • 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

  • 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.

  • A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

The default option is the parent stack's operating system. For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems.

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

Definition at line 792 of file CloneStackRequest.h.

◆ SetDefaultRootDeviceType() [1/2]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultRootDeviceType ( const RootDeviceType value)
inline

The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.

Definition at line 1756 of file CloneStackRequest.h.

◆ SetDefaultRootDeviceType() [2/2]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultRootDeviceType ( RootDeviceType &&  value)
inline

The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.

Definition at line 1765 of file CloneStackRequest.h.

◆ SetDefaultSshKeyName() [1/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultSshKeyName ( const Aws::String value)
inline

A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance.

Definition at line 1586 of file CloneStackRequest.h.

◆ SetDefaultSshKeyName() [2/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultSshKeyName ( Aws::String &&  value)
inline

A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance.

Definition at line 1601 of file CloneStackRequest.h.

◆ SetDefaultSshKeyName() [3/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultSshKeyName ( const char *  value)
inline

A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance.

Definition at line 1616 of file CloneStackRequest.h.

◆ SetDefaultSubnetId() [1/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultSubnetId ( const Aws::String value)
inline

The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description.

Definition at line 1138 of file CloneStackRequest.h.

◆ SetDefaultSubnetId() [2/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultSubnetId ( Aws::String &&  value)
inline

The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description.

Definition at line 1148 of file CloneStackRequest.h.

◆ SetDefaultSubnetId() [3/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetDefaultSubnetId ( const char *  value)
inline

The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description.

Definition at line 1158 of file CloneStackRequest.h.

◆ SetHostnameTheme() [1/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetHostnameTheme ( const Aws::String value)
inline

The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:

  • Baked_Goods

  • Clouds

  • Europe_Cities

  • Fruits

  • Greek_Deities_and_Titans

  • Legendary_creatures_from_Japan

  • Planets_and_Moons

  • Roman_Deities

  • Scottish_Islands

  • US_Cities

  • Wild_Cats

To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme.

Definition at line 931 of file CloneStackRequest.h.

◆ SetHostnameTheme() [2/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetHostnameTheme ( Aws::String &&  value)
inline

The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:

  • Baked_Goods

  • Clouds

  • Europe_Cities

  • Fruits

  • Greek_Deities_and_Titans

  • Legendary_creatures_from_Japan

  • Planets_and_Moons

  • Roman_Deities

  • Scottish_Islands

  • US_Cities

  • Wild_Cats

To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme.

Definition at line 950 of file CloneStackRequest.h.

◆ SetHostnameTheme() [3/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetHostnameTheme ( const char *  value)
inline

The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:

  • Baked_Goods

  • Clouds

  • Europe_Cities

  • Fruits

  • Greek_Deities_and_Titans

  • Legendary_creatures_from_Japan

  • Planets_and_Moons

  • Roman_Deities

  • Scottish_Islands

  • US_Cities

  • Wild_Cats

To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme.

Definition at line 969 of file CloneStackRequest.h.

◆ SetName() [1/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetName ( const Aws::String value)
inline

The cloned stack name.

Definition at line 98 of file CloneStackRequest.h.

◆ SetName() [2/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetName ( Aws::String &&  value)
inline

The cloned stack name.

Definition at line 103 of file CloneStackRequest.h.

◆ SetName() [3/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetName ( const char *  value)
inline

The cloned stack name.

Definition at line 108 of file CloneStackRequest.h.

◆ SetRegion() [1/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetRegion ( const Aws::String value)
inline

The cloned stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.

Definition at line 148 of file CloneStackRequest.h.

◆ SetRegion() [2/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetRegion ( Aws::String &&  value)
inline

The cloned stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.

Definition at line 156 of file CloneStackRequest.h.

◆ SetRegion() [3/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetRegion ( const char *  value)
inline

The cloned stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.

Definition at line 164 of file CloneStackRequest.h.

◆ SetServiceRoleArn() [1/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetServiceRoleArn ( const Aws::String value)
inline

The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks Stacks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers.

You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.

Definition at line 508 of file CloneStackRequest.h.

◆ SetServiceRoleArn() [2/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetServiceRoleArn ( Aws::String &&  value)
inline

The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks Stacks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers.

You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.

Definition at line 523 of file CloneStackRequest.h.

◆ SetServiceRoleArn() [3/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetServiceRoleArn ( const char *  value)
inline

The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks Stacks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers.

You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.

Definition at line 538 of file CloneStackRequest.h.

◆ SetSourceStackId() [1/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetSourceStackId ( const Aws::String value)
inline

The source stack ID.

Definition at line 57 of file CloneStackRequest.h.

◆ SetSourceStackId() [2/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetSourceStackId ( Aws::String &&  value)
inline

The source stack ID.

Definition at line 62 of file CloneStackRequest.h.

◆ SetSourceStackId() [3/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetSourceStackId ( const char *  value)
inline

The source stack ID.

Definition at line 67 of file CloneStackRequest.h.

◆ SetUseCustomCookbooks()

void Aws::OpsWorks::Model::CloneStackRequest::SetUseCustomCookbooks ( bool  value)
inline

Whether to use custom cookbooks.

Definition at line 1389 of file CloneStackRequest.h.

◆ SetUseOpsworksSecurityGroups()

void Aws::OpsWorks::Model::CloneStackRequest::SetUseOpsworksSecurityGroups ( bool  value)
inline

Whether to associate the AWS OpsWorks Stacks built-in security groups with the stack's layers.

AWS OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. With UseOpsworksSecurityGroups you can instead provide your own custom security groups. UseOpsworksSecurityGroups has the following settings:

  • True - AWS OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it but you cannot delete the built-in security group.

  • False - AWS OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate Amazon Elastic Compute Cloud (Amazon EC2) security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on creation; custom security groups are required only for those layers that need custom settings.

For more information, see Create a New Stack.

Definition at line 1458 of file CloneStackRequest.h.

◆ SetVpcId() [1/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetVpcId ( const Aws::String value)
inline

The ID of the VPC that the cloned stack is to be launched into. It must be in the specified region. All instances are launched into this VPC, and you cannot change the ID later.

  • If your account supports EC2 Classic, the default value is no VPC.

  • If your account does not support EC2 Classic, the default value is the default VPC for the specified region.

If the VPC ID corresponds to a default VPC and you have specified either the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively.

If you specify a nondefault VPC ID, note the following:

  • It must belong to a VPC in your account that is in the specified region.

  • You must specify a value for DefaultSubnetId.

For more information about how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a VPC. For more information about default VPC and EC2 Classic, see Supported Platforms.

Definition at line 264 of file CloneStackRequest.h.

◆ SetVpcId() [2/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetVpcId ( Aws::String &&  value)
inline

The ID of the VPC that the cloned stack is to be launched into. It must be in the specified region. All instances are launched into this VPC, and you cannot change the ID later.

  • If your account supports EC2 Classic, the default value is no VPC.

  • If your account does not support EC2 Classic, the default value is the default VPC for the specified region.

If the VPC ID corresponds to a default VPC and you have specified either the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively.

If you specify a nondefault VPC ID, note the following:

  • It must belong to a VPC in your account that is in the specified region.

  • You must specify a value for DefaultSubnetId.

For more information about how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a VPC. For more information about default VPC and EC2 Classic, see Supported Platforms.

Definition at line 289 of file CloneStackRequest.h.

◆ SetVpcId() [3/3]

void Aws::OpsWorks::Model::CloneStackRequest::SetVpcId ( const char *  value)
inline

The ID of the VPC that the cloned stack is to be launched into. It must be in the specified region. All instances are launched into this VPC, and you cannot change the ID later.

  • If your account supports EC2 Classic, the default value is no VPC.

  • If your account does not support EC2 Classic, the default value is the default VPC for the specified region.

If the VPC ID corresponds to a default VPC and you have specified either the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively.

If you specify a nondefault VPC ID, note the following:

  • It must belong to a VPC in your account that is in the specified region.

  • You must specify a value for DefaultSubnetId.

For more information about how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a VPC. For more information about default VPC and EC2 Classic, see Supported Platforms.

Definition at line 314 of file CloneStackRequest.h.

◆ SourceStackIdHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::SourceStackIdHasBeenSet ( ) const
inline

The source stack ID.

Definition at line 52 of file CloneStackRequest.h.

◆ UseCustomCookbooksHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::UseCustomCookbooksHasBeenSet ( ) const
inline

Whether to use custom cookbooks.

Definition at line 1384 of file CloneStackRequest.h.

◆ UseOpsworksSecurityGroupsHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::UseOpsworksSecurityGroupsHasBeenSet ( ) const
inline

Whether to associate the AWS OpsWorks Stacks built-in security groups with the stack's layers.

AWS OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. With UseOpsworksSecurityGroups you can instead provide your own custom security groups. UseOpsworksSecurityGroups has the following settings:

  • True - AWS OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it but you cannot delete the built-in security group.

  • False - AWS OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate Amazon Elastic Compute Cloud (Amazon EC2) security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on creation; custom security groups are required only for those layers that need custom settings.

For more information, see Create a New Stack.

Definition at line 1437 of file CloneStackRequest.h.

◆ VpcIdHasBeenSet()

bool Aws::OpsWorks::Model::CloneStackRequest::VpcIdHasBeenSet ( ) const
inline

The ID of the VPC that the cloned stack is to be launched into. It must be in the specified region. All instances are launched into this VPC, and you cannot change the ID later.

  • If your account supports EC2 Classic, the default value is no VPC.

  • If your account does not support EC2 Classic, the default value is the default VPC for the specified region.

If the VPC ID corresponds to a default VPC and you have specified either the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively.

If you specify a nondefault VPC ID, note the following:

  • It must belong to a VPC in your account that is in the specified region.

  • You must specify a value for DefaultSubnetId.

For more information about how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a VPC. For more information about default VPC and EC2 Classic, see Supported Platforms.

Definition at line 239 of file CloneStackRequest.h.

◆ WithAgentVersion() [1/3]

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

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

  • Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available.

  • Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances.

The default setting is LATEST. 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.

You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.

Definition at line 1892 of file CloneStackRequest.h.

◆ WithAgentVersion() [2/3]

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

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

  • Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available.

  • Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances.

The default setting is LATEST. 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.

You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.

Definition at line 1910 of file CloneStackRequest.h.

◆ WithAgentVersion() [3/3]

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

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

  • Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available.

  • Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances.

The default setting is LATEST. 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.

You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.

Definition at line 1928 of file CloneStackRequest.h.

◆ WithAttributes() [1/2]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithAttributes ( const Aws::Map< StackAttributesKeys, Aws::String > &  value)
inline

A list of stack attributes and values as key/value pairs to be added to the cloned stack.

Definition at line 420 of file CloneStackRequest.h.

◆ WithAttributes() [2/2]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithAttributes ( Aws::Map< StackAttributesKeys, Aws::String > &&  value)
inline

A list of stack attributes and values as key/value pairs to be added to the cloned stack.

Definition at line 426 of file CloneStackRequest.h.

◆ WithChefConfiguration() [1/2]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithChefConfiguration ( const ChefConfiguration value)
inline

A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack.

Definition at line 1364 of file CloneStackRequest.h.

◆ WithChefConfiguration() [2/2]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithChefConfiguration ( ChefConfiguration &&  value)
inline

A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack.

Definition at line 1373 of file CloneStackRequest.h.

◆ WithCloneAppIds() [1/2]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithCloneAppIds ( const Aws::Vector< Aws::String > &  value)
inline

A list of source stack app IDs to be included in the cloned stack.

Definition at line 1708 of file CloneStackRequest.h.

◆ WithCloneAppIds() [2/2]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithCloneAppIds ( Aws::Vector< Aws::String > &&  value)
inline

A list of source stack app IDs to be included in the cloned stack.

Definition at line 1713 of file CloneStackRequest.h.

◆ WithClonePermissions()

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithClonePermissions ( bool  value)
inline

Whether to clone the source stack's permissions.

Definition at line 1682 of file CloneStackRequest.h.

◆ WithConfigurationManager() [1/2]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithConfigurationManager ( const StackConfigurationManager value)
inline

The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.

Definition at line 1310 of file CloneStackRequest.h.

◆ WithConfigurationManager() [2/2]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithConfigurationManager ( StackConfigurationManager &&  value)
inline

The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.

Definition at line 1318 of file CloneStackRequest.h.

◆ WithCustomCookbooksSource() [1/2]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithCustomCookbooksSource ( const Source value)
inline

Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.

Definition at line 1530 of file CloneStackRequest.h.

◆ WithCustomCookbooksSource() [2/2]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithCustomCookbooksSource ( Source &&  value)
inline

Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.

Definition at line 1540 of file CloneStackRequest.h.

◆ WithCustomJson() [1/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithCustomJson ( const Aws::String value)
inline

A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format:

"{\"key1": "value1", "key2": "value2",...}"</code> </p> <p>For more information about custom JSON, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html">Use Custom JSON to Modify the Stack Configuration Attributes

Definition at line 1249 of file CloneStackRequest.h.

◆ WithCustomJson() [2/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithCustomJson ( Aws::String &&  value)
inline

A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format:

"{\"key1": "value1", "key2": "value2",...}"</code> </p> <p>For more information about custom JSON, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html">Use Custom JSON to Modify the Stack Configuration Attributes

Definition at line 1259 of file CloneStackRequest.h.

◆ WithCustomJson() [3/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithCustomJson ( const char *  value)
inline

A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format:

"{\"key1": "value1", "key2": "value2",...}"</code> </p> <p>For more information about custom JSON, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html">Use Custom JSON to Modify the Stack Configuration Attributes

Definition at line 1269 of file CloneStackRequest.h.

◆ WithDefaultAvailabilityZone() [1/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultAvailabilityZone ( const Aws::String value)
inline

The cloned stack's default Availability Zone, which must be in the specified region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see the VpcId parameter description.

Definition at line 1087 of file CloneStackRequest.h.

◆ WithDefaultAvailabilityZone() [2/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultAvailabilityZone ( Aws::String &&  value)
inline

The cloned stack's default Availability Zone, which must be in the specified region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see the VpcId parameter description.

Definition at line 1097 of file CloneStackRequest.h.

◆ WithDefaultAvailabilityZone() [3/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultAvailabilityZone ( const char *  value)
inline

The cloned stack's default Availability Zone, which must be in the specified region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see the VpcId parameter description.

Definition at line 1107 of file CloneStackRequest.h.

◆ WithDefaultInstanceProfileArn() [1/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultInstanceProfileArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

Definition at line 638 of file CloneStackRequest.h.

◆ WithDefaultInstanceProfileArn() [2/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultInstanceProfileArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

Definition at line 647 of file CloneStackRequest.h.

◆ WithDefaultInstanceProfileArn() [3/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultInstanceProfileArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

Definition at line 656 of file CloneStackRequest.h.

◆ WithDefaultOs() [1/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultOs ( const Aws::String value)
inline

The stack's operating system, which must be set to one of the following.

  • 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

  • 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.

  • A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

The default option is the parent stack's operating system. For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems.

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

Definition at line 819 of file CloneStackRequest.h.

◆ WithDefaultOs() [2/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultOs ( Aws::String &&  value)
inline

The stack's operating system, which must be set to one of the following.

  • 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

  • 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.

  • A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

The default option is the parent stack's operating system. For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems.

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

Definition at line 846 of file CloneStackRequest.h.

◆ WithDefaultOs() [3/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultOs ( const char *  value)
inline

The stack's operating system, which must be set to one of the following.

  • 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

  • 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.

  • A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs.

The default option is the parent stack's operating system. For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems.

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

Definition at line 873 of file CloneStackRequest.h.

◆ WithDefaultRootDeviceType() [1/2]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultRootDeviceType ( const RootDeviceType value)
inline

The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.

Definition at line 1774 of file CloneStackRequest.h.

◆ WithDefaultRootDeviceType() [2/2]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultRootDeviceType ( RootDeviceType &&  value)
inline

The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.

Definition at line 1783 of file CloneStackRequest.h.

◆ WithDefaultSshKeyName() [1/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultSshKeyName ( const Aws::String value)
inline

A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance.

Definition at line 1631 of file CloneStackRequest.h.

◆ WithDefaultSshKeyName() [2/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultSshKeyName ( Aws::String &&  value)
inline

A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance.

Definition at line 1646 of file CloneStackRequest.h.

◆ WithDefaultSshKeyName() [3/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultSshKeyName ( const char *  value)
inline

A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance.

Definition at line 1661 of file CloneStackRequest.h.

◆ WithDefaultSubnetId() [1/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultSubnetId ( const Aws::String value)
inline

The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description.

Definition at line 1168 of file CloneStackRequest.h.

◆ WithDefaultSubnetId() [2/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultSubnetId ( Aws::String &&  value)
inline

The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description.

Definition at line 1178 of file CloneStackRequest.h.

◆ WithDefaultSubnetId() [3/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithDefaultSubnetId ( const char *  value)
inline

The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description.

Definition at line 1188 of file CloneStackRequest.h.

◆ WithHostnameTheme() [1/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithHostnameTheme ( const Aws::String value)
inline

The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:

  • Baked_Goods

  • Clouds

  • Europe_Cities

  • Fruits

  • Greek_Deities_and_Titans

  • Legendary_creatures_from_Japan

  • Planets_and_Moons

  • Roman_Deities

  • Scottish_Islands

  • US_Cities

  • Wild_Cats

To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme.

Definition at line 988 of file CloneStackRequest.h.

◆ WithHostnameTheme() [2/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithHostnameTheme ( Aws::String &&  value)
inline

The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:

  • Baked_Goods

  • Clouds

  • Europe_Cities

  • Fruits

  • Greek_Deities_and_Titans

  • Legendary_creatures_from_Japan

  • Planets_and_Moons

  • Roman_Deities

  • Scottish_Islands

  • US_Cities

  • Wild_Cats

To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme.

Definition at line 1007 of file CloneStackRequest.h.

◆ WithHostnameTheme() [3/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithHostnameTheme ( const char *  value)
inline

The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:

  • Baked_Goods

  • Clouds

  • Europe_Cities

  • Fruits

  • Greek_Deities_and_Titans

  • Legendary_creatures_from_Japan

  • Planets_and_Moons

  • Roman_Deities

  • Scottish_Islands

  • US_Cities

  • Wild_Cats

To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme.

Definition at line 1026 of file CloneStackRequest.h.

◆ WithName() [1/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithName ( const Aws::String value)
inline

The cloned stack name.

Definition at line 113 of file CloneStackRequest.h.

◆ WithName() [2/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithName ( Aws::String &&  value)
inline

The cloned stack name.

Definition at line 118 of file CloneStackRequest.h.

◆ WithName() [3/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithName ( const char *  value)
inline

The cloned stack name.

Definition at line 123 of file CloneStackRequest.h.

◆ WithRegion() [1/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithRegion ( const Aws::String value)
inline

The cloned stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.

Definition at line 172 of file CloneStackRequest.h.

◆ WithRegion() [2/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithRegion ( Aws::String &&  value)
inline

The cloned stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.

Definition at line 180 of file CloneStackRequest.h.

◆ WithRegion() [3/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithRegion ( const char *  value)
inline

The cloned stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.

Definition at line 188 of file CloneStackRequest.h.

◆ WithServiceRoleArn() [1/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithServiceRoleArn ( const Aws::String value)
inline

The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks Stacks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers.

You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.

Definition at line 553 of file CloneStackRequest.h.

◆ WithServiceRoleArn() [2/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithServiceRoleArn ( Aws::String &&  value)
inline

The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks Stacks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers.

You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.

Definition at line 568 of file CloneStackRequest.h.

◆ WithServiceRoleArn() [3/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithServiceRoleArn ( const char *  value)
inline

The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks Stacks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers.

You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.

Definition at line 583 of file CloneStackRequest.h.

◆ WithSourceStackId() [1/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithSourceStackId ( const Aws::String value)
inline

The source stack ID.

Definition at line 72 of file CloneStackRequest.h.

◆ WithSourceStackId() [2/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithSourceStackId ( Aws::String &&  value)
inline

The source stack ID.

Definition at line 77 of file CloneStackRequest.h.

◆ WithSourceStackId() [3/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithSourceStackId ( const char *  value)
inline

The source stack ID.

Definition at line 82 of file CloneStackRequest.h.

◆ WithUseCustomCookbooks()

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithUseCustomCookbooks ( bool  value)
inline

Whether to use custom cookbooks.

Definition at line 1394 of file CloneStackRequest.h.

◆ WithUseOpsworksSecurityGroups()

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithUseOpsworksSecurityGroups ( bool  value)
inline

Whether to associate the AWS OpsWorks Stacks built-in security groups with the stack's layers.

AWS OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. With UseOpsworksSecurityGroups you can instead provide your own custom security groups. UseOpsworksSecurityGroups has the following settings:

  • True - AWS OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it but you cannot delete the built-in security group.

  • False - AWS OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate Amazon Elastic Compute Cloud (Amazon EC2) security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on creation; custom security groups are required only for those layers that need custom settings.

For more information, see Create a New Stack.

Definition at line 1479 of file CloneStackRequest.h.

◆ WithVpcId() [1/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithVpcId ( const Aws::String value)
inline

The ID of the VPC that the cloned stack is to be launched into. It must be in the specified region. All instances are launched into this VPC, and you cannot change the ID later.

  • If your account supports EC2 Classic, the default value is no VPC.

  • If your account does not support EC2 Classic, the default value is the default VPC for the specified region.

If the VPC ID corresponds to a default VPC and you have specified either the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively.

If you specify a nondefault VPC ID, note the following:

  • It must belong to a VPC in your account that is in the specified region.

  • You must specify a value for DefaultSubnetId.

For more information about how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a VPC. For more information about default VPC and EC2 Classic, see Supported Platforms.

Definition at line 339 of file CloneStackRequest.h.

◆ WithVpcId() [2/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithVpcId ( Aws::String &&  value)
inline

The ID of the VPC that the cloned stack is to be launched into. It must be in the specified region. All instances are launched into this VPC, and you cannot change the ID later.

  • If your account supports EC2 Classic, the default value is no VPC.

  • If your account does not support EC2 Classic, the default value is the default VPC for the specified region.

If the VPC ID corresponds to a default VPC and you have specified either the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively.

If you specify a nondefault VPC ID, note the following:

  • It must belong to a VPC in your account that is in the specified region.

  • You must specify a value for DefaultSubnetId.

For more information about how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a VPC. For more information about default VPC and EC2 Classic, see Supported Platforms.

Definition at line 364 of file CloneStackRequest.h.

◆ WithVpcId() [3/3]

CloneStackRequest& Aws::OpsWorks::Model::CloneStackRequest::WithVpcId ( const char *  value)
inline

The ID of the VPC that the cloned stack is to be launched into. It must be in the specified region. All instances are launched into this VPC, and you cannot change the ID later.

  • If your account supports EC2 Classic, the default value is no VPC.

  • If your account does not support EC2 Classic, the default value is the default VPC for the specified region.

If the VPC ID corresponds to a default VPC and you have specified either the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively.

If you specify a nondefault VPC ID, note the following:

  • It must belong to a VPC in your account that is in the specified region.

  • You must specify a value for DefaultSubnetId.

For more information about how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a VPC. For more information about default VPC and EC2 Classic, see Supported Platforms.

Definition at line 389 of file CloneStackRequest.h.


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