Documentation

Overview

Package opsworks provides the client and types for making API requests to AWS OpsWorks.

Welcome to the AWS OpsWorks Stacks API Reference. This guide provides descriptions, syntax, and usage examples for AWS OpsWorks Stacks actions and data types, including common parameters and error codes.

AWS OpsWorks Stacks is an application management service that provides an integrated experience for overseeing the complete application lifecycle. For information about this product, go to the AWS OpsWorks (http://aws.amazon.com/opsworks/) details page.

SDKs and CLI

The most common way to use the AWS OpsWorks Stacks API is by using the AWS Command Line Interface (CLI) or by using one of the AWS SDKs to implement applications in your preferred language. For more information, see:

* AWS CLI (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html)

* AWS SDK for Java (https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/opsworks/AWSOpsWorksClient.html)

* AWS SDK for .NET (https://docs.aws.amazon.com/sdkfornet/latest/apidocs/html/N_Amazon_OpsWorks.htm)

* AWS SDK for PHP 2 (https://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.OpsWorks.OpsWorksClient.html)

* AWS SDK for Ruby (http://docs.aws.amazon.com/sdkforruby/api/)

* AWS SDK for Node.js (http://aws.amazon.com/documentation/sdkforjavascript/)

* AWS SDK for Python(Boto) (http://docs.pythonboto.org/en/latest/ref/opsworks.html)

Endpoints

AWS OpsWorks Stacks supports the following endpoints, all HTTPS. You must connect to one of the following endpoints. Stacks can only be accessed or managed within the endpoint in which they are created.

* opsworks.us-east-1.amazonaws.com

* opsworks.us-east-2.amazonaws.com

* opsworks.us-west-1.amazonaws.com

* opsworks.us-west-2.amazonaws.com

* opsworks.ca-central-1.amazonaws.com (API only; not available in the
AWS console)

* opsworks.eu-west-1.amazonaws.com

* opsworks.eu-west-2.amazonaws.com

* opsworks.eu-west-3.amazonaws.com

* opsworks.eu-central-1.amazonaws.com

* opsworks.ap-northeast-1.amazonaws.com

* opsworks.ap-northeast-2.amazonaws.com

* opsworks.ap-south-1.amazonaws.com

* opsworks.ap-southeast-1.amazonaws.com

* opsworks.ap-southeast-2.amazonaws.com

* opsworks.sa-east-1.amazonaws.com

Chef Versions

When you call CreateStack, CloneStack, or UpdateStack we recommend you use the ConfigurationManager parameter to specify the Chef version. The recommended and default value for Linux stacks is currently 12. Windows stacks use Chef 12.2. For more information, see Chef Versions (https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-chef11.html).

You can specify Chef 12, 11.10, or 11.4 for your Linux stack. We recommend migrating your existing Linux stacks to Chef 12 as soon as possible.

See https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18 for more information on this service.

See opsworks package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/opsworks/

Using the Client

To contact AWS OpsWorks with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS OpsWorks client OpsWorks for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/opsworks/#New

Index

Constants

View Source
const (
	// AppAttributesKeysDocumentRoot is a AppAttributesKeys enum value
	AppAttributesKeysDocumentRoot = "DocumentRoot"

	// AppAttributesKeysRailsEnv is a AppAttributesKeys enum value
	AppAttributesKeysRailsEnv = "RailsEnv"

	// AppAttributesKeysAutoBundleOnDeploy is a AppAttributesKeys enum value
	AppAttributesKeysAutoBundleOnDeploy = "AutoBundleOnDeploy"

	// AppAttributesKeysAwsFlowRubySettings is a AppAttributesKeys enum value
	AppAttributesKeysAwsFlowRubySettings = "AwsFlowRubySettings"
)
View Source
const (
	// AppTypeAwsFlowRuby is a AppType enum value
	AppTypeAwsFlowRuby = "aws-flow-ruby"

	// AppTypeJava is a AppType enum value
	AppTypeJava = "java"

	// AppTypeRails is a AppType enum value
	AppTypeRails = "rails"

	// AppTypePhp is a AppType enum value
	AppTypePhp = "php"

	// AppTypeNodejs is a AppType enum value
	AppTypeNodejs = "nodejs"

	// AppTypeStatic is a AppType enum value
	AppTypeStatic = "static"

	// AppTypeOther is a AppType enum value
	AppTypeOther = "other"
)
View Source
const (
	// ArchitectureX8664 is a Architecture enum value
	ArchitectureX8664 = "x86_64"

	// ArchitectureI386 is a Architecture enum value
	ArchitectureI386 = "i386"
)
View Source
const (
	// AutoScalingTypeLoad is a AutoScalingType enum value
	AutoScalingTypeLoad = "load"

	// AutoScalingTypeTimer is a AutoScalingType enum value
	AutoScalingTypeTimer = "timer"
)
View Source
const (
	// CloudWatchLogsEncodingAscii is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingAscii = "ascii"

	// CloudWatchLogsEncodingBig5 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingBig5 = "big5"

	// CloudWatchLogsEncodingBig5hkscs is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingBig5hkscs = "big5hkscs"

	// CloudWatchLogsEncodingCp037 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp037 = "cp037"

	// CloudWatchLogsEncodingCp424 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp424 = "cp424"

	// CloudWatchLogsEncodingCp437 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp437 = "cp437"

	// CloudWatchLogsEncodingCp500 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp500 = "cp500"

	// CloudWatchLogsEncodingCp720 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp720 = "cp720"

	// CloudWatchLogsEncodingCp737 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp737 = "cp737"

	// CloudWatchLogsEncodingCp775 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp775 = "cp775"

	// CloudWatchLogsEncodingCp850 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp850 = "cp850"

	// CloudWatchLogsEncodingCp852 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp852 = "cp852"

	// CloudWatchLogsEncodingCp855 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp855 = "cp855"

	// CloudWatchLogsEncodingCp856 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp856 = "cp856"

	// CloudWatchLogsEncodingCp857 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp857 = "cp857"

	// CloudWatchLogsEncodingCp858 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp858 = "cp858"

	// CloudWatchLogsEncodingCp860 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp860 = "cp860"

	// CloudWatchLogsEncodingCp861 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp861 = "cp861"

	// CloudWatchLogsEncodingCp862 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp862 = "cp862"

	// CloudWatchLogsEncodingCp863 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp863 = "cp863"

	// CloudWatchLogsEncodingCp864 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp864 = "cp864"

	// CloudWatchLogsEncodingCp865 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp865 = "cp865"

	// CloudWatchLogsEncodingCp866 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp866 = "cp866"

	// CloudWatchLogsEncodingCp869 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp869 = "cp869"

	// CloudWatchLogsEncodingCp874 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp874 = "cp874"

	// CloudWatchLogsEncodingCp875 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp875 = "cp875"

	// CloudWatchLogsEncodingCp932 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp932 = "cp932"

	// CloudWatchLogsEncodingCp949 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp949 = "cp949"

	// CloudWatchLogsEncodingCp950 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp950 = "cp950"

	// CloudWatchLogsEncodingCp1006 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp1006 = "cp1006"

	// CloudWatchLogsEncodingCp1026 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp1026 = "cp1026"

	// CloudWatchLogsEncodingCp1140 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp1140 = "cp1140"

	// CloudWatchLogsEncodingCp1250 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp1250 = "cp1250"

	// CloudWatchLogsEncodingCp1251 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp1251 = "cp1251"

	// CloudWatchLogsEncodingCp1252 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp1252 = "cp1252"

	// CloudWatchLogsEncodingCp1253 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp1253 = "cp1253"

	// CloudWatchLogsEncodingCp1254 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp1254 = "cp1254"

	// CloudWatchLogsEncodingCp1255 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp1255 = "cp1255"

	// CloudWatchLogsEncodingCp1256 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp1256 = "cp1256"

	// CloudWatchLogsEncodingCp1257 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp1257 = "cp1257"

	// CloudWatchLogsEncodingCp1258 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingCp1258 = "cp1258"

	// CloudWatchLogsEncodingEucJp is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingEucJp = "euc_jp"

	// CloudWatchLogsEncodingEucJis2004 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingEucJis2004 = "euc_jis_2004"

	// CloudWatchLogsEncodingEucJisx0213 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingEucJisx0213 = "euc_jisx0213"

	// CloudWatchLogsEncodingEucKr is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingEucKr = "euc_kr"

	// CloudWatchLogsEncodingGb2312 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingGb2312 = "gb2312"

	// CloudWatchLogsEncodingGbk is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingGbk = "gbk"

	// CloudWatchLogsEncodingGb18030 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingGb18030 = "gb18030"

	// CloudWatchLogsEncodingHz is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingHz = "hz"

	// CloudWatchLogsEncodingIso2022Jp is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso2022Jp = "iso2022_jp"

	// CloudWatchLogsEncodingIso2022Jp1 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso2022Jp1 = "iso2022_jp_1"

	// CloudWatchLogsEncodingIso2022Jp2 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso2022Jp2 = "iso2022_jp_2"

	// CloudWatchLogsEncodingIso2022Jp2004 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso2022Jp2004 = "iso2022_jp_2004"

	// CloudWatchLogsEncodingIso2022Jp3 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso2022Jp3 = "iso2022_jp_3"

	// CloudWatchLogsEncodingIso2022JpExt is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso2022JpExt = "iso2022_jp_ext"

	// CloudWatchLogsEncodingIso2022Kr is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso2022Kr = "iso2022_kr"

	// CloudWatchLogsEncodingLatin1 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingLatin1 = "latin_1"

	// CloudWatchLogsEncodingIso88592 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso88592 = "iso8859_2"

	// CloudWatchLogsEncodingIso88593 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso88593 = "iso8859_3"

	// CloudWatchLogsEncodingIso88594 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso88594 = "iso8859_4"

	// CloudWatchLogsEncodingIso88595 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso88595 = "iso8859_5"

	// CloudWatchLogsEncodingIso88596 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso88596 = "iso8859_6"

	// CloudWatchLogsEncodingIso88597 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso88597 = "iso8859_7"

	// CloudWatchLogsEncodingIso88598 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso88598 = "iso8859_8"

	// CloudWatchLogsEncodingIso88599 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso88599 = "iso8859_9"

	// CloudWatchLogsEncodingIso885910 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso885910 = "iso8859_10"

	// CloudWatchLogsEncodingIso885913 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso885913 = "iso8859_13"

	// CloudWatchLogsEncodingIso885914 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso885914 = "iso8859_14"

	// CloudWatchLogsEncodingIso885915 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso885915 = "iso8859_15"

	// CloudWatchLogsEncodingIso885916 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingIso885916 = "iso8859_16"

	// CloudWatchLogsEncodingJohab is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingJohab = "johab"

	// CloudWatchLogsEncodingKoi8R is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingKoi8R = "koi8_r"

	// CloudWatchLogsEncodingKoi8U is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingKoi8U = "koi8_u"

	// CloudWatchLogsEncodingMacCyrillic is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingMacCyrillic = "mac_cyrillic"

	// CloudWatchLogsEncodingMacGreek is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingMacGreek = "mac_greek"

	// CloudWatchLogsEncodingMacIceland is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingMacIceland = "mac_iceland"

	// CloudWatchLogsEncodingMacLatin2 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingMacLatin2 = "mac_latin2"

	// CloudWatchLogsEncodingMacRoman is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingMacRoman = "mac_roman"

	// CloudWatchLogsEncodingMacTurkish is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingMacTurkish = "mac_turkish"

	// CloudWatchLogsEncodingPtcp154 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingPtcp154 = "ptcp154"

	// CloudWatchLogsEncodingShiftJis is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingShiftJis = "shift_jis"

	// CloudWatchLogsEncodingShiftJis2004 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingShiftJis2004 = "shift_jis_2004"

	// CloudWatchLogsEncodingShiftJisx0213 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingShiftJisx0213 = "shift_jisx0213"

	// CloudWatchLogsEncodingUtf32 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingUtf32 = "utf_32"

	// CloudWatchLogsEncodingUtf32Be is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingUtf32Be = "utf_32_be"

	// CloudWatchLogsEncodingUtf32Le is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingUtf32Le = "utf_32_le"

	// CloudWatchLogsEncodingUtf16 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingUtf16 = "utf_16"

	// CloudWatchLogsEncodingUtf16Be is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingUtf16Be = "utf_16_be"

	// CloudWatchLogsEncodingUtf16Le is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingUtf16Le = "utf_16_le"

	// CloudWatchLogsEncodingUtf7 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingUtf7 = "utf_7"

	// CloudWatchLogsEncodingUtf8 is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingUtf8 = "utf_8"

	// CloudWatchLogsEncodingUtf8Sig is a CloudWatchLogsEncoding enum value
	CloudWatchLogsEncodingUtf8Sig = "utf_8_sig"
)

    Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8. Encodings supported by Python codecs.decode() can be used here.

    View Source
    const (
    	// CloudWatchLogsInitialPositionStartOfFile is a CloudWatchLogsInitialPosition enum value
    	CloudWatchLogsInitialPositionStartOfFile = "start_of_file"
    
    	// CloudWatchLogsInitialPositionEndOfFile is a CloudWatchLogsInitialPosition enum value
    	CloudWatchLogsInitialPositionEndOfFile = "end_of_file"
    )

      Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file. It's only used if there is no state persisted for that log stream.

      View Source
      const (
      	// CloudWatchLogsTimeZoneLocal is a CloudWatchLogsTimeZone enum value
      	CloudWatchLogsTimeZoneLocal = "LOCAL"
      
      	// CloudWatchLogsTimeZoneUtc is a CloudWatchLogsTimeZone enum value
      	CloudWatchLogsTimeZoneUtc = "UTC"
      )

        The preferred time zone for logs streamed to CloudWatch Logs. Valid values are LOCAL and UTC, for Coordinated Universal Time.

        View Source
        const (
        	// DeploymentCommandNameInstallDependencies is a DeploymentCommandName enum value
        	DeploymentCommandNameInstallDependencies = "install_dependencies"
        
        	// DeploymentCommandNameUpdateDependencies is a DeploymentCommandName enum value
        	DeploymentCommandNameUpdateDependencies = "update_dependencies"
        
        	// DeploymentCommandNameUpdateCustomCookbooks is a DeploymentCommandName enum value
        	DeploymentCommandNameUpdateCustomCookbooks = "update_custom_cookbooks"
        
        	// DeploymentCommandNameExecuteRecipes is a DeploymentCommandName enum value
        	DeploymentCommandNameExecuteRecipes = "execute_recipes"
        
        	// DeploymentCommandNameConfigure is a DeploymentCommandName enum value
        	DeploymentCommandNameConfigure = "configure"
        
        	// DeploymentCommandNameSetup is a DeploymentCommandName enum value
        	DeploymentCommandNameSetup = "setup"
        
        	// DeploymentCommandNameDeploy is a DeploymentCommandName enum value
        	DeploymentCommandNameDeploy = "deploy"
        
        	// DeploymentCommandNameRollback is a DeploymentCommandName enum value
        	DeploymentCommandNameRollback = "rollback"
        
        	// DeploymentCommandNameStart is a DeploymentCommandName enum value
        	DeploymentCommandNameStart = "start"
        
        	// DeploymentCommandNameStop is a DeploymentCommandName enum value
        	DeploymentCommandNameStop = "stop"
        
        	// DeploymentCommandNameRestart is a DeploymentCommandName enum value
        	DeploymentCommandNameRestart = "restart"
        
        	// DeploymentCommandNameUndeploy is a DeploymentCommandName enum value
        	DeploymentCommandNameUndeploy = "undeploy"
        )
        View Source
        const (
        	// LayerAttributesKeysEcsClusterArn is a LayerAttributesKeys enum value
        	LayerAttributesKeysEcsClusterArn = "EcsClusterArn"
        
        	// LayerAttributesKeysEnableHaproxyStats is a LayerAttributesKeys enum value
        	LayerAttributesKeysEnableHaproxyStats = "EnableHaproxyStats"
        
        	// LayerAttributesKeysHaproxyStatsUrl is a LayerAttributesKeys enum value
        	LayerAttributesKeysHaproxyStatsUrl = "HaproxyStatsUrl"
        
        	// LayerAttributesKeysHaproxyStatsUser is a LayerAttributesKeys enum value
        	LayerAttributesKeysHaproxyStatsUser = "HaproxyStatsUser"
        
        	// LayerAttributesKeysHaproxyStatsPassword is a LayerAttributesKeys enum value
        	LayerAttributesKeysHaproxyStatsPassword = "HaproxyStatsPassword"
        
        	// LayerAttributesKeysHaproxyHealthCheckUrl is a LayerAttributesKeys enum value
        	LayerAttributesKeysHaproxyHealthCheckUrl = "HaproxyHealthCheckUrl"
        
        	// LayerAttributesKeysHaproxyHealthCheckMethod is a LayerAttributesKeys enum value
        	LayerAttributesKeysHaproxyHealthCheckMethod = "HaproxyHealthCheckMethod"
        
        	// LayerAttributesKeysMysqlRootPassword is a LayerAttributesKeys enum value
        	LayerAttributesKeysMysqlRootPassword = "MysqlRootPassword"
        
        	// LayerAttributesKeysMysqlRootPasswordUbiquitous is a LayerAttributesKeys enum value
        	LayerAttributesKeysMysqlRootPasswordUbiquitous = "MysqlRootPasswordUbiquitous"
        
        	// LayerAttributesKeysGangliaUrl is a LayerAttributesKeys enum value
        	LayerAttributesKeysGangliaUrl = "GangliaUrl"
        
        	// LayerAttributesKeysGangliaUser is a LayerAttributesKeys enum value
        	LayerAttributesKeysGangliaUser = "GangliaUser"
        
        	// LayerAttributesKeysGangliaPassword is a LayerAttributesKeys enum value
        	LayerAttributesKeysGangliaPassword = "GangliaPassword"
        
        	// LayerAttributesKeysMemcachedMemory is a LayerAttributesKeys enum value
        	LayerAttributesKeysMemcachedMemory = "MemcachedMemory"
        
        	// LayerAttributesKeysNodejsVersion is a LayerAttributesKeys enum value
        	LayerAttributesKeysNodejsVersion = "NodejsVersion"
        
        	// LayerAttributesKeysRubyVersion is a LayerAttributesKeys enum value
        	LayerAttributesKeysRubyVersion = "RubyVersion"
        
        	// LayerAttributesKeysRubygemsVersion is a LayerAttributesKeys enum value
        	LayerAttributesKeysRubygemsVersion = "RubygemsVersion"
        
        	// LayerAttributesKeysManageBundler is a LayerAttributesKeys enum value
        	LayerAttributesKeysManageBundler = "ManageBundler"
        
        	// LayerAttributesKeysBundlerVersion is a LayerAttributesKeys enum value
        	LayerAttributesKeysBundlerVersion = "BundlerVersion"
        
        	// LayerAttributesKeysRailsStack is a LayerAttributesKeys enum value
        	LayerAttributesKeysRailsStack = "RailsStack"
        
        	// LayerAttributesKeysPassengerVersion is a LayerAttributesKeys enum value
        	LayerAttributesKeysPassengerVersion = "PassengerVersion"
        
        	// LayerAttributesKeysJvm is a LayerAttributesKeys enum value
        	LayerAttributesKeysJvm = "Jvm"
        
        	// LayerAttributesKeysJvmVersion is a LayerAttributesKeys enum value
        	LayerAttributesKeysJvmVersion = "JvmVersion"
        
        	// LayerAttributesKeysJvmOptions is a LayerAttributesKeys enum value
        	LayerAttributesKeysJvmOptions = "JvmOptions"
        
        	// LayerAttributesKeysJavaAppServer is a LayerAttributesKeys enum value
        	LayerAttributesKeysJavaAppServer = "JavaAppServer"
        
        	// LayerAttributesKeysJavaAppServerVersion is a LayerAttributesKeys enum value
        	LayerAttributesKeysJavaAppServerVersion = "JavaAppServerVersion"
        )
        View Source
        const (
        	// LayerTypeAwsFlowRuby is a LayerType enum value
        	LayerTypeAwsFlowRuby = "aws-flow-ruby"
        
        	// LayerTypeEcsCluster is a LayerType enum value
        	LayerTypeEcsCluster = "ecs-cluster"
        
        	// LayerTypeJavaApp is a LayerType enum value
        	LayerTypeJavaApp = "java-app"
        
        	// LayerTypeLb is a LayerType enum value
        	LayerTypeLb = "lb"
        
        	// LayerTypeWeb is a LayerType enum value
        	LayerTypeWeb = "web"
        
        	// LayerTypePhpApp is a LayerType enum value
        	LayerTypePhpApp = "php-app"
        
        	// LayerTypeRailsApp is a LayerType enum value
        	LayerTypeRailsApp = "rails-app"
        
        	// LayerTypeNodejsApp is a LayerType enum value
        	LayerTypeNodejsApp = "nodejs-app"
        
        	// LayerTypeMemcached is a LayerType enum value
        	LayerTypeMemcached = "memcached"
        
        	// LayerTypeDbMaster is a LayerType enum value
        	LayerTypeDbMaster = "db-master"
        
        	// LayerTypeMonitoringMaster is a LayerType enum value
        	LayerTypeMonitoringMaster = "monitoring-master"
        
        	// LayerTypeCustom is a LayerType enum value
        	LayerTypeCustom = "custom"
        )
        View Source
        const (
        	// RootDeviceTypeEbs is a RootDeviceType enum value
        	RootDeviceTypeEbs = "ebs"
        
        	// RootDeviceTypeInstanceStore is a RootDeviceType enum value
        	RootDeviceTypeInstanceStore = "instance-store"
        )
        View Source
        const (
        	// SourceTypeGit is a SourceType enum value
        	SourceTypeGit = "git"
        
        	// SourceTypeSvn is a SourceType enum value
        	SourceTypeSvn = "svn"
        
        	// SourceTypeArchive is a SourceType enum value
        	SourceTypeArchive = "archive"
        
        	// SourceTypeS3 is a SourceType enum value
        	SourceTypeS3 = "s3"
        )
        View Source
        const (
        	// VirtualizationTypeParavirtual is a VirtualizationType enum value
        	VirtualizationTypeParavirtual = "paravirtual"
        
        	// VirtualizationTypeHvm is a VirtualizationType enum value
        	VirtualizationTypeHvm = "hvm"
        )
        View Source
        const (
        	// VolumeTypeGp2 is a VolumeType enum value
        	VolumeTypeGp2 = "gp2"
        
        	// VolumeTypeIo1 is a VolumeType enum value
        	VolumeTypeIo1 = "io1"
        
        	// VolumeTypeStandard is a VolumeType enum value
        	VolumeTypeStandard = "standard"
        )
        View Source
        const (
        
        	// ErrCodeResourceNotFoundException for service response error code
        	// "ResourceNotFoundException".
        	//
        	// Indicates that a resource was not found.
        	ErrCodeResourceNotFoundException = "ResourceNotFoundException"
        
        	// ErrCodeValidationException for service response error code
        	// "ValidationException".
        	//
        	// Indicates that a request was not valid.
        	ErrCodeValidationException = "ValidationException"
        )
        View Source
        const (
        	ServiceName = "opsworks"  // Name of service.
        	EndpointsID = ServiceName // ID to lookup a service endpoint with.
        	ServiceID   = "OpsWorks"  // ServiceID is a unique identifier of a specific service.
        )

          Service information constants

          View Source
          const (
          	// StackAttributesKeysColor is a StackAttributesKeys enum value
          	StackAttributesKeysColor = "Color"
          )

          Variables

          This section is empty.

          Functions

          This section is empty.

          Types

          type AgentVersion

          type AgentVersion struct {
          
          	// The configuration manager.
          	ConfigurationManager *StackConfigurationManager `type:"structure"`
          
          	// The agent version.
          	Version *string `type:"string"`
          	// contains filtered or unexported fields
          }

            Describes an agent version.

            func (AgentVersion) GoString

            func (s AgentVersion) GoString() string

              GoString returns the string representation

              func (*AgentVersion) SetConfigurationManager

              func (s *AgentVersion) SetConfigurationManager(v *StackConfigurationManager) *AgentVersion

                SetConfigurationManager sets the ConfigurationManager field's value.

                func (*AgentVersion) SetVersion

                func (s *AgentVersion) SetVersion(v string) *AgentVersion

                  SetVersion sets the Version field's value.

                  func (AgentVersion) String

                  func (s AgentVersion) String() string

                    String returns the string representation

                    type App

                    type App struct {
                    
                    	// The app ID.
                    	AppId *string `type:"string"`
                    
                    	// A Source object that describes the app repository.
                    	AppSource *Source `type:"structure"`
                    
                    	// The stack attributes.
                    	Attributes map[string]*string `type:"map"`
                    
                    	// When the app was created.
                    	CreatedAt *string `type:"string"`
                    
                    	// The app's data sources.
                    	DataSources []*DataSource `type:"list"`
                    
                    	// A description of the app.
                    	Description *string `type:"string"`
                    
                    	// The app vhost settings with multiple domains separated by commas. For example:
                    	// 'www.example.com, example.com'
                    	Domains []*string `type:"list"`
                    
                    	// Whether to enable SSL for the app.
                    	EnableSsl *bool `type:"boolean"`
                    
                    	// An array of EnvironmentVariable objects that specify environment variables
                    	// to be associated with the app. After you deploy the app, these variables
                    	// are defined on the associated app server instances. For more information,
                    	// see Environment Variables (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html#workingapps-creating-environment).
                    	//
                    	// There is no specific limit on the number of environment variables. However,
                    	// the size of the associated data structure - which includes the variable names,
                    	// values, and protected flag values - cannot exceed 20 KB. This limit should
                    	// accommodate most if not all use cases, but if you do exceed it, you will
                    	// cause an exception (API) with an "Environment: is too large (maximum is 20
                    	// KB)" message.
                    	Environment []*EnvironmentVariable `type:"list"`
                    
                    	// The app name.
                    	Name *string `type:"string"`
                    
                    	// The app's short name.
                    	Shortname *string `type:"string"`
                    
                    	// An SslConfiguration object with the SSL configuration.
                    	SslConfiguration *SslConfiguration `type:"structure"`
                    
                    	// The app stack ID.
                    	StackId *string `type:"string"`
                    
                    	// The app type.
                    	Type *string `type:"string" enum:"AppType"`
                    	// contains filtered or unexported fields
                    }

                      A description of the app.

                      func (App) GoString

                      func (s App) GoString() string

                        GoString returns the string representation

                        func (*App) SetAppId

                        func (s *App) SetAppId(v string) *App

                          SetAppId sets the AppId field's value.

                          func (*App) SetAppSource

                          func (s *App) SetAppSource(v *Source) *App

                            SetAppSource sets the AppSource field's value.

                            func (*App) SetAttributes

                            func (s *App) SetAttributes(v map[string]*string) *App

                              SetAttributes sets the Attributes field's value.

                              func (*App) SetCreatedAt

                              func (s *App) SetCreatedAt(v string) *App

                                SetCreatedAt sets the CreatedAt field's value.

                                func (*App) SetDataSources

                                func (s *App) SetDataSources(v []*DataSource) *App

                                  SetDataSources sets the DataSources field's value.

                                  func (*App) SetDescription

                                  func (s *App) SetDescription(v string) *App

                                    SetDescription sets the Description field's value.

                                    func (*App) SetDomains

                                    func (s *App) SetDomains(v []*string) *App

                                      SetDomains sets the Domains field's value.

                                      func (*App) SetEnableSsl

                                      func (s *App) SetEnableSsl(v bool) *App

                                        SetEnableSsl sets the EnableSsl field's value.

                                        func (*App) SetEnvironment

                                        func (s *App) SetEnvironment(v []*EnvironmentVariable) *App

                                          SetEnvironment sets the Environment field's value.

                                          func (*App) SetName

                                          func (s *App) SetName(v string) *App

                                            SetName sets the Name field's value.

                                            func (*App) SetShortname

                                            func (s *App) SetShortname(v string) *App

                                              SetShortname sets the Shortname field's value.

                                              func (*App) SetSslConfiguration

                                              func (s *App) SetSslConfiguration(v *SslConfiguration) *App

                                                SetSslConfiguration sets the SslConfiguration field's value.

                                                func (*App) SetStackId

                                                func (s *App) SetStackId(v string) *App

                                                  SetStackId sets the StackId field's value.

                                                  func (*App) SetType

                                                  func (s *App) SetType(v string) *App

                                                    SetType sets the Type field's value.

                                                    func (App) String

                                                    func (s App) String() string

                                                      String returns the string representation

                                                      type AssignInstanceInput

                                                      type AssignInstanceInput struct {
                                                      
                                                      	// The instance ID.
                                                      	//
                                                      	// InstanceId is a required field
                                                      	InstanceId *string `type:"string" required:"true"`
                                                      
                                                      	// The layer ID, which must correspond to a custom layer. You cannot assign
                                                      	// a registered instance to a built-in layer.
                                                      	//
                                                      	// LayerIds is a required field
                                                      	LayerIds []*string `type:"list" required:"true"`
                                                      	// contains filtered or unexported fields
                                                      }

                                                      func (AssignInstanceInput) GoString

                                                      func (s AssignInstanceInput) GoString() string

                                                        GoString returns the string representation

                                                        func (*AssignInstanceInput) SetInstanceId

                                                        func (s *AssignInstanceInput) SetInstanceId(v string) *AssignInstanceInput

                                                          SetInstanceId sets the InstanceId field's value.

                                                          func (*AssignInstanceInput) SetLayerIds

                                                          func (s *AssignInstanceInput) SetLayerIds(v []*string) *AssignInstanceInput

                                                            SetLayerIds sets the LayerIds field's value.

                                                            func (AssignInstanceInput) String

                                                            func (s AssignInstanceInput) String() string

                                                              String returns the string representation

                                                              func (*AssignInstanceInput) Validate

                                                              func (s *AssignInstanceInput) Validate() error

                                                                Validate inspects the fields of the type to determine if they are valid.

                                                                type AssignInstanceOutput

                                                                type AssignInstanceOutput struct {
                                                                	// contains filtered or unexported fields
                                                                }

                                                                func (AssignInstanceOutput) GoString

                                                                func (s AssignInstanceOutput) GoString() string

                                                                  GoString returns the string representation

                                                                  func (AssignInstanceOutput) String

                                                                  func (s AssignInstanceOutput) String() string

                                                                    String returns the string representation

                                                                    type AssignVolumeInput

                                                                    type AssignVolumeInput struct {
                                                                    
                                                                    	// The instance ID.
                                                                    	InstanceId *string `type:"string"`
                                                                    
                                                                    	// The volume ID.
                                                                    	//
                                                                    	// VolumeId is a required field
                                                                    	VolumeId *string `type:"string" required:"true"`
                                                                    	// contains filtered or unexported fields
                                                                    }

                                                                    func (AssignVolumeInput) GoString

                                                                    func (s AssignVolumeInput) GoString() string

                                                                      GoString returns the string representation

                                                                      func (*AssignVolumeInput) SetInstanceId

                                                                      func (s *AssignVolumeInput) SetInstanceId(v string) *AssignVolumeInput

                                                                        SetInstanceId sets the InstanceId field's value.

                                                                        func (*AssignVolumeInput) SetVolumeId

                                                                        func (s *AssignVolumeInput) SetVolumeId(v string) *AssignVolumeInput

                                                                          SetVolumeId sets the VolumeId field's value.

                                                                          func (AssignVolumeInput) String

                                                                          func (s AssignVolumeInput) String() string

                                                                            String returns the string representation

                                                                            func (*AssignVolumeInput) Validate

                                                                            func (s *AssignVolumeInput) Validate() error

                                                                              Validate inspects the fields of the type to determine if they are valid.

                                                                              type AssignVolumeOutput

                                                                              type AssignVolumeOutput struct {
                                                                              	// contains filtered or unexported fields
                                                                              }

                                                                              func (AssignVolumeOutput) GoString

                                                                              func (s AssignVolumeOutput) GoString() string

                                                                                GoString returns the string representation

                                                                                func (AssignVolumeOutput) String

                                                                                func (s AssignVolumeOutput) String() string

                                                                                  String returns the string representation

                                                                                  type AssociateElasticIpInput

                                                                                  type AssociateElasticIpInput struct {
                                                                                  
                                                                                  	// The Elastic IP address.
                                                                                  	//
                                                                                  	// ElasticIp is a required field
                                                                                  	ElasticIp *string `type:"string" required:"true"`
                                                                                  
                                                                                  	// The instance ID.
                                                                                  	InstanceId *string `type:"string"`
                                                                                  	// contains filtered or unexported fields
                                                                                  }

                                                                                  func (AssociateElasticIpInput) GoString

                                                                                  func (s AssociateElasticIpInput) GoString() string

                                                                                    GoString returns the string representation

                                                                                    func (*AssociateElasticIpInput) SetElasticIp

                                                                                      SetElasticIp sets the ElasticIp field's value.

                                                                                      func (*AssociateElasticIpInput) SetInstanceId

                                                                                        SetInstanceId sets the InstanceId field's value.

                                                                                        func (AssociateElasticIpInput) String

                                                                                        func (s AssociateElasticIpInput) String() string

                                                                                          String returns the string representation

                                                                                          func (*AssociateElasticIpInput) Validate

                                                                                          func (s *AssociateElasticIpInput) Validate() error

                                                                                            Validate inspects the fields of the type to determine if they are valid.

                                                                                            type AssociateElasticIpOutput

                                                                                            type AssociateElasticIpOutput struct {
                                                                                            	// contains filtered or unexported fields
                                                                                            }

                                                                                            func (AssociateElasticIpOutput) GoString

                                                                                            func (s AssociateElasticIpOutput) GoString() string

                                                                                              GoString returns the string representation

                                                                                              func (AssociateElasticIpOutput) String

                                                                                              func (s AssociateElasticIpOutput) String() string

                                                                                                String returns the string representation

                                                                                                type AttachElasticLoadBalancerInput

                                                                                                type AttachElasticLoadBalancerInput struct {
                                                                                                
                                                                                                	// The Elastic Load Balancing instance's name.
                                                                                                	//
                                                                                                	// ElasticLoadBalancerName is a required field
                                                                                                	ElasticLoadBalancerName *string `type:"string" required:"true"`
                                                                                                
                                                                                                	// The ID of the layer to which the Elastic Load Balancing instance is to be
                                                                                                	// attached.
                                                                                                	//
                                                                                                	// LayerId is a required field
                                                                                                	LayerId *string `type:"string" required:"true"`
                                                                                                	// contains filtered or unexported fields
                                                                                                }

                                                                                                func (AttachElasticLoadBalancerInput) GoString

                                                                                                  GoString returns the string representation

                                                                                                  func (*AttachElasticLoadBalancerInput) SetElasticLoadBalancerName

                                                                                                  func (s *AttachElasticLoadBalancerInput) SetElasticLoadBalancerName(v string) *AttachElasticLoadBalancerInput

                                                                                                    SetElasticLoadBalancerName sets the ElasticLoadBalancerName field's value.

                                                                                                    func (*AttachElasticLoadBalancerInput) SetLayerId

                                                                                                      SetLayerId sets the LayerId field's value.

                                                                                                      func (AttachElasticLoadBalancerInput) String

                                                                                                        String returns the string representation

                                                                                                        func (*AttachElasticLoadBalancerInput) Validate

                                                                                                        func (s *AttachElasticLoadBalancerInput) Validate() error

                                                                                                          Validate inspects the fields of the type to determine if they are valid.

                                                                                                          type AttachElasticLoadBalancerOutput

                                                                                                          type AttachElasticLoadBalancerOutput struct {
                                                                                                          	// contains filtered or unexported fields
                                                                                                          }

                                                                                                          func (AttachElasticLoadBalancerOutput) GoString

                                                                                                            GoString returns the string representation

                                                                                                            func (AttachElasticLoadBalancerOutput) String

                                                                                                              String returns the string representation

                                                                                                              type AutoScalingThresholds

                                                                                                              type AutoScalingThresholds struct {
                                                                                                              
                                                                                                              	// Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter
                                                                                                              	// takes a list of up to five alarm names, which are case sensitive and must
                                                                                                              	// be in the same region as the stack.
                                                                                                              	//
                                                                                                              	// To use custom alarms, you must update your service role to allow cloudwatch:DescribeAlarms.
                                                                                                              	// You can either have AWS OpsWorks Stacks update the role for you when you
                                                                                                              	// first use this feature or you can edit the role manually. For more information,
                                                                                                              	// see Allowing AWS OpsWorks Stacks to Act on Your Behalf (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-servicerole.html).
                                                                                                              	Alarms []*string `type:"list"`
                                                                                                              
                                                                                                              	// The CPU utilization threshold, as a percent of the available CPU. A value
                                                                                                              	// of -1 disables the threshold.
                                                                                                              	CpuThreshold *float64 `type:"double"`
                                                                                                              
                                                                                                              	// The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks
                                                                                                              	// Stacks should ignore metrics and suppress additional scaling events. For
                                                                                                              	// example, AWS OpsWorks Stacks adds new instances following an upscaling event
                                                                                                              	// but the instances won't start reducing the load until they have been booted
                                                                                                              	// and configured. There is no point in raising additional scaling events during
                                                                                                              	// that operation, which typically takes several minutes. IgnoreMetricsTime
                                                                                                              	// allows you to direct AWS OpsWorks Stacks to suppress scaling events long
                                                                                                              	// enough to get the new instances online.
                                                                                                              	IgnoreMetricsTime *int64 `min:"1" type:"integer"`
                                                                                                              
                                                                                                              	// The number of instances to add or remove when the load exceeds a threshold.
                                                                                                              	InstanceCount *int64 `type:"integer"`
                                                                                                              
                                                                                                              	// The load threshold. A value of -1 disables the threshold. For more information
                                                                                                              	// about how load is computed, see Load (computing) (http://en.wikipedia.org/wiki/Load_%28computing%29).
                                                                                                              	LoadThreshold *float64 `type:"double"`
                                                                                                              
                                                                                                              	// The memory utilization threshold, as a percent of the available memory. A
                                                                                                              	// value of -1 disables the threshold.
                                                                                                              	MemoryThreshold *float64 `type:"double"`
                                                                                                              
                                                                                                              	// The amount of time, in minutes, that the load must exceed a threshold before
                                                                                                              	// more instances are added or removed.
                                                                                                              	ThresholdsWaitTime *int64 `min:"1" type:"integer"`
                                                                                                              	// contains filtered or unexported fields
                                                                                                              }

                                                                                                                Describes a load-based auto scaling upscaling or downscaling threshold configuration, which specifies when AWS OpsWorks Stacks starts or stops load-based instances.

                                                                                                                func (AutoScalingThresholds) GoString

                                                                                                                func (s AutoScalingThresholds) GoString() string

                                                                                                                  GoString returns the string representation

                                                                                                                  func (*AutoScalingThresholds) SetAlarms

                                                                                                                    SetAlarms sets the Alarms field's value.

                                                                                                                    func (*AutoScalingThresholds) SetCpuThreshold

                                                                                                                    func (s *AutoScalingThresholds) SetCpuThreshold(v float64) *AutoScalingThresholds

                                                                                                                      SetCpuThreshold sets the CpuThreshold field's value.

                                                                                                                      func (*AutoScalingThresholds) SetIgnoreMetricsTime

                                                                                                                      func (s *AutoScalingThresholds) SetIgnoreMetricsTime(v int64) *AutoScalingThresholds

                                                                                                                        SetIgnoreMetricsTime sets the IgnoreMetricsTime field's value.

                                                                                                                        func (*AutoScalingThresholds) SetInstanceCount

                                                                                                                        func (s *AutoScalingThresholds) SetInstanceCount(v int64) *AutoScalingThresholds

                                                                                                                          SetInstanceCount sets the InstanceCount field's value.

                                                                                                                          func (*AutoScalingThresholds) SetLoadThreshold

                                                                                                                          func (s *AutoScalingThresholds) SetLoadThreshold(v float64) *AutoScalingThresholds

                                                                                                                            SetLoadThreshold sets the LoadThreshold field's value.

                                                                                                                            func (*AutoScalingThresholds) SetMemoryThreshold

                                                                                                                            func (s *AutoScalingThresholds) SetMemoryThreshold(v float64) *AutoScalingThresholds

                                                                                                                              SetMemoryThreshold sets the MemoryThreshold field's value.

                                                                                                                              func (*AutoScalingThresholds) SetThresholdsWaitTime

                                                                                                                              func (s *AutoScalingThresholds) SetThresholdsWaitTime(v int64) *AutoScalingThresholds

                                                                                                                                SetThresholdsWaitTime sets the ThresholdsWaitTime field's value.

                                                                                                                                func (AutoScalingThresholds) String

                                                                                                                                func (s AutoScalingThresholds) String() string

                                                                                                                                  String returns the string representation

                                                                                                                                  func (*AutoScalingThresholds) Validate

                                                                                                                                  func (s *AutoScalingThresholds) Validate() error

                                                                                                                                    Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                    type BlockDeviceMapping

                                                                                                                                    type BlockDeviceMapping struct {
                                                                                                                                    
                                                                                                                                    	// The device name that is exposed to the instance, such as /dev/sdh. For the
                                                                                                                                    	// root device, you can use the explicit device name or you can set this parameter
                                                                                                                                    	// to ROOT_DEVICE and AWS OpsWorks Stacks will provide the correct device name.
                                                                                                                                    	DeviceName *string `type:"string"`
                                                                                                                                    
                                                                                                                                    	// An EBSBlockDevice that defines how to configure an Amazon EBS volume when
                                                                                                                                    	// the instance is launched.
                                                                                                                                    	Ebs *EbsBlockDevice `type:"structure"`
                                                                                                                                    
                                                                                                                                    	// Suppresses the specified device included in the AMI's block device mapping.
                                                                                                                                    	NoDevice *string `type:"string"`
                                                                                                                                    
                                                                                                                                    	// The virtual device name. For more information, see BlockDeviceMapping (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html).
                                                                                                                                    	VirtualName *string `type:"string"`
                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                    }

                                                                                                                                      Describes a block device mapping. This data type maps directly to the Amazon EC2 BlockDeviceMapping (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html) data type.

                                                                                                                                      func (BlockDeviceMapping) GoString

                                                                                                                                      func (s BlockDeviceMapping) GoString() string

                                                                                                                                        GoString returns the string representation

                                                                                                                                        func (*BlockDeviceMapping) SetDeviceName

                                                                                                                                        func (s *BlockDeviceMapping) SetDeviceName(v string) *BlockDeviceMapping

                                                                                                                                          SetDeviceName sets the DeviceName field's value.

                                                                                                                                          func (*BlockDeviceMapping) SetEbs

                                                                                                                                            SetEbs sets the Ebs field's value.

                                                                                                                                            func (*BlockDeviceMapping) SetNoDevice

                                                                                                                                            func (s *BlockDeviceMapping) SetNoDevice(v string) *BlockDeviceMapping

                                                                                                                                              SetNoDevice sets the NoDevice field's value.

                                                                                                                                              func (*BlockDeviceMapping) SetVirtualName

                                                                                                                                              func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping

                                                                                                                                                SetVirtualName sets the VirtualName field's value.

                                                                                                                                                func (BlockDeviceMapping) String

                                                                                                                                                func (s BlockDeviceMapping) String() string

                                                                                                                                                  String returns the string representation

                                                                                                                                                  type ChefConfiguration

                                                                                                                                                  type ChefConfiguration struct {
                                                                                                                                                  
                                                                                                                                                  	// The Berkshelf version.
                                                                                                                                                  	BerkshelfVersion *string `type:"string"`
                                                                                                                                                  
                                                                                                                                                  	// Whether to enable Berkshelf.
                                                                                                                                                  	ManageBerkshelf *bool `type:"boolean"`
                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                  }

                                                                                                                                                    Describes the Chef configuration.

                                                                                                                                                    func (ChefConfiguration) GoString

                                                                                                                                                    func (s ChefConfiguration) GoString() string

                                                                                                                                                      GoString returns the string representation

                                                                                                                                                      func (*ChefConfiguration) SetBerkshelfVersion

                                                                                                                                                      func (s *ChefConfiguration) SetBerkshelfVersion(v string) *ChefConfiguration

                                                                                                                                                        SetBerkshelfVersion sets the BerkshelfVersion field's value.

                                                                                                                                                        func (*ChefConfiguration) SetManageBerkshelf

                                                                                                                                                        func (s *ChefConfiguration) SetManageBerkshelf(v bool) *ChefConfiguration

                                                                                                                                                          SetManageBerkshelf sets the ManageBerkshelf field's value.

                                                                                                                                                          func (ChefConfiguration) String

                                                                                                                                                          func (s ChefConfiguration) String() string

                                                                                                                                                            String returns the string representation

                                                                                                                                                            type CloneStackInput

                                                                                                                                                            type CloneStackInput struct {
                                                                                                                                                            
                                                                                                                                                            	// 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.
                                                                                                                                                            	AgentVersion *string `type:"string"`
                                                                                                                                                            
                                                                                                                                                            	// A list of stack attributes and values as key/value pairs to be added to the
                                                                                                                                                            	// cloned stack.
                                                                                                                                                            	Attributes map[string]*string `type:"map"`
                                                                                                                                                            
                                                                                                                                                            	// 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 (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
                                                                                                                                                            	ChefConfiguration *ChefConfiguration `type:"structure"`
                                                                                                                                                            
                                                                                                                                                            	// A list of source stack app IDs to be included in the cloned stack.
                                                                                                                                                            	CloneAppIds []*string `type:"list"`
                                                                                                                                                            
                                                                                                                                                            	// Whether to clone the source stack's permissions.
                                                                                                                                                            	ClonePermissions *bool `type:"boolean"`
                                                                                                                                                            
                                                                                                                                                            	// 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.
                                                                                                                                                            	ConfigurationManager *StackConfigurationManager `type:"structure"`
                                                                                                                                                            
                                                                                                                                                            	// Contains the information required to retrieve an app or cookbook from a repository.
                                                                                                                                                            	// For more information, see Adding Apps (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html)
                                                                                                                                                            	// or Cookbooks and Recipes (https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html).
                                                                                                                                                            	CustomCookbooksSource *Source `type:"structure"`
                                                                                                                                                            
                                                                                                                                                            	// 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\",...}"
                                                                                                                                                            	//
                                                                                                                                                            	// For more information about custom JSON, see Use Custom JSON to Modify the
                                                                                                                                                            	// Stack Configuration Attributes (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html)
                                                                                                                                                            	CustomJson *string `type:"string"`
                                                                                                                                                            
                                                                                                                                                            	// The cloned stack's default Availability Zone, which must be in the specified
                                                                                                                                                            	// region. For more information, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html).
                                                                                                                                                            	// If you also specify a value for DefaultSubnetId, the subnet must be in the
                                                                                                                                                            	// same zone. For more information, see the VpcId parameter description.
                                                                                                                                                            	DefaultAvailabilityZone *string `type:"string"`
                                                                                                                                                            
                                                                                                                                                            	// 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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
                                                                                                                                                            	DefaultInstanceProfileArn *string `type:"string"`
                                                                                                                                                            
                                                                                                                                                            	// 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 (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html).
                                                                                                                                                            	//
                                                                                                                                                            	// The default option is the parent stack's operating system. For more information
                                                                                                                                                            	// about supported operating systems, see AWS OpsWorks Stacks Operating Systems
                                                                                                                                                            	// (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html).
                                                                                                                                                            	//
                                                                                                                                                            	// You can specify a different Linux operating system for the cloned stack,
                                                                                                                                                            	// but you cannot change from Linux to Windows or Windows to Linux.
                                                                                                                                                            	DefaultOs *string `type:"string"`
                                                                                                                                                            
                                                                                                                                                            	// 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 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device).
                                                                                                                                                            	DefaultRootDeviceType *string `type:"string" enum:"RootDeviceType"`
                                                                                                                                                            
                                                                                                                                                            	// 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 (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html)
                                                                                                                                                            	// and Managing SSH Access (https://docs.aws.amazon.com/opsworks/latest/userguide/security-ssh-access.html).
                                                                                                                                                            	// You can override this setting by specifying a different key pair, or no key
                                                                                                                                                            	// pair, when you create an instance (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html).
                                                                                                                                                            	DefaultSshKeyName *string `type:"string"`
                                                                                                                                                            
                                                                                                                                                            	// 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.
                                                                                                                                                            	DefaultSubnetId *string `type:"string"`
                                                                                                                                                            
                                                                                                                                                            	// 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.
                                                                                                                                                            	HostnameTheme *string `type:"string"`
                                                                                                                                                            
                                                                                                                                                            	// The cloned stack name.
                                                                                                                                                            	Name *string `type:"string"`
                                                                                                                                                            
                                                                                                                                                            	// The cloned stack AWS region, such as "ap-northeast-2". For more information
                                                                                                                                                            	// about AWS regions, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html).
                                                                                                                                                            	Region *string `type:"string"`
                                                                                                                                                            
                                                                                                                                                            	// 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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
                                                                                                                                                            	//
                                                                                                                                                            	// 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.
                                                                                                                                                            	//
                                                                                                                                                            	// ServiceRoleArn is a required field
                                                                                                                                                            	ServiceRoleArn *string `type:"string" required:"true"`
                                                                                                                                                            
                                                                                                                                                            	// The source stack ID.
                                                                                                                                                            	//
                                                                                                                                                            	// SourceStackId is a required field
                                                                                                                                                            	SourceStackId *string `type:"string" required:"true"`
                                                                                                                                                            
                                                                                                                                                            	// Whether to use custom cookbooks.
                                                                                                                                                            	UseCustomCookbooks *bool `type:"boolean"`
                                                                                                                                                            
                                                                                                                                                            	// 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 (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
                                                                                                                                                            	UseOpsworksSecurityGroups *bool `type:"boolean"`
                                                                                                                                                            
                                                                                                                                                            	// 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 (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-vpc.html).
                                                                                                                                                            	// For more information about default VPC and EC2 Classic, see Supported Platforms
                                                                                                                                                            	// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html).
                                                                                                                                                            	VpcId *string `type:"string"`
                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                            }

                                                                                                                                                            func (CloneStackInput) GoString

                                                                                                                                                            func (s CloneStackInput) GoString() string

                                                                                                                                                              GoString returns the string representation

                                                                                                                                                              func (*CloneStackInput) SetAgentVersion

                                                                                                                                                              func (s *CloneStackInput) SetAgentVersion(v string) *CloneStackInput

                                                                                                                                                                SetAgentVersion sets the AgentVersion field's value.

                                                                                                                                                                func (*CloneStackInput) SetAttributes

                                                                                                                                                                func (s *CloneStackInput) SetAttributes(v map[string]*string) *CloneStackInput

                                                                                                                                                                  SetAttributes sets the Attributes field's value.

                                                                                                                                                                  func (*CloneStackInput) SetChefConfiguration

                                                                                                                                                                  func (s *CloneStackInput) SetChefConfiguration(v *ChefConfiguration) *CloneStackInput

                                                                                                                                                                    SetChefConfiguration sets the ChefConfiguration field's value.

                                                                                                                                                                    func (*CloneStackInput) SetCloneAppIds

                                                                                                                                                                    func (s *CloneStackInput) SetCloneAppIds(v []*string) *CloneStackInput

                                                                                                                                                                      SetCloneAppIds sets the CloneAppIds field's value.

                                                                                                                                                                      func (*CloneStackInput) SetClonePermissions

                                                                                                                                                                      func (s *CloneStackInput) SetClonePermissions(v bool) *CloneStackInput

                                                                                                                                                                        SetClonePermissions sets the ClonePermissions field's value.

                                                                                                                                                                        func (*CloneStackInput) SetConfigurationManager

                                                                                                                                                                        func (s *CloneStackInput) SetConfigurationManager(v *StackConfigurationManager) *CloneStackInput

                                                                                                                                                                          SetConfigurationManager sets the ConfigurationManager field's value.

                                                                                                                                                                          func (*CloneStackInput) SetCustomCookbooksSource

                                                                                                                                                                          func (s *CloneStackInput) SetCustomCookbooksSource(v *Source) *CloneStackInput

                                                                                                                                                                            SetCustomCookbooksSource sets the CustomCookbooksSource field's value.

                                                                                                                                                                            func (*CloneStackInput) SetCustomJson

                                                                                                                                                                            func (s *CloneStackInput) SetCustomJson(v string) *CloneStackInput

                                                                                                                                                                              SetCustomJson sets the CustomJson field's value.

                                                                                                                                                                              func (*CloneStackInput) SetDefaultAvailabilityZone

                                                                                                                                                                              func (s *CloneStackInput) SetDefaultAvailabilityZone(v string) *CloneStackInput

                                                                                                                                                                                SetDefaultAvailabilityZone sets the Defa