/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a layer.See Also:
AWS API
* Reference
The Amazon Resource Number (ARN) of a layer.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Number (ARN) of a layer.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Number (ARN) of a layer.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Number (ARN) of a layer.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Number (ARN) of a layer.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Number (ARN) of a layer.
*/ inline Layer& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Number (ARN) of a layer.
*/ inline Layer& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Number (ARN) of a layer.
*/ inline Layer& WithArn(const char* value) { SetArn(value); return *this;} /** *The layer stack ID.
*/ inline const Aws::String& GetStackId() const{ return m_stackId; } /** *The layer stack ID.
*/ inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; } /** *The layer stack ID.
*/ inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; } /** *The layer stack ID.
*/ inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); } /** *The layer stack ID.
*/ inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); } /** *The layer stack ID.
*/ inline Layer& WithStackId(const Aws::String& value) { SetStackId(value); return *this;} /** *The layer stack ID.
*/ inline Layer& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;} /** *The layer stack ID.
*/ inline Layer& WithStackId(const char* value) { SetStackId(value); return *this;} /** *The layer ID.
*/ inline const Aws::String& GetLayerId() const{ return m_layerId; } /** *The layer ID.
*/ inline bool LayerIdHasBeenSet() const { return m_layerIdHasBeenSet; } /** *The layer ID.
*/ inline void SetLayerId(const Aws::String& value) { m_layerIdHasBeenSet = true; m_layerId = value; } /** *The layer ID.
*/ inline void SetLayerId(Aws::String&& value) { m_layerIdHasBeenSet = true; m_layerId = std::move(value); } /** *The layer ID.
*/ inline void SetLayerId(const char* value) { m_layerIdHasBeenSet = true; m_layerId.assign(value); } /** *The layer ID.
*/ inline Layer& WithLayerId(const Aws::String& value) { SetLayerId(value); return *this;} /** *The layer ID.
*/ inline Layer& WithLayerId(Aws::String&& value) { SetLayerId(std::move(value)); return *this;} /** *The layer ID.
*/ inline Layer& WithLayerId(const char* value) { SetLayerId(value); return *this;} /** *The layer type.
*/ inline const LayerType& GetType() const{ return m_type; } /** *The layer type.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The layer type.
*/ inline void SetType(const LayerType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The layer type.
*/ inline void SetType(LayerType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The layer type.
*/ inline Layer& WithType(const LayerType& value) { SetType(value); return *this;} /** *The layer type.
*/ inline Layer& WithType(LayerType&& value) { SetType(std::move(value)); return *this;} /** *The layer name.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The layer name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The layer name.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The layer name.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The layer name.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The layer name.
*/ inline Layer& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The layer name.
*/ inline Layer& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The layer name.
*/ inline Layer& WithName(const char* value) { SetName(value); return *this;} /** *The layer short name.
*/ inline const Aws::String& GetShortname() const{ return m_shortname; } /** *The layer short name.
*/ inline bool ShortnameHasBeenSet() const { return m_shortnameHasBeenSet; } /** *The layer short name.
*/ inline void SetShortname(const Aws::String& value) { m_shortnameHasBeenSet = true; m_shortname = value; } /** *The layer short name.
*/ inline void SetShortname(Aws::String&& value) { m_shortnameHasBeenSet = true; m_shortname = std::move(value); } /** *The layer short name.
*/ inline void SetShortname(const char* value) { m_shortnameHasBeenSet = true; m_shortname.assign(value); } /** *The layer short name.
*/ inline Layer& WithShortname(const Aws::String& value) { SetShortname(value); return *this;} /** *The layer short name.
*/ inline Layer& WithShortname(Aws::String&& value) { SetShortname(std::move(value)); return *this;} /** *The layer short name.
*/ inline Layer& WithShortname(const char* value) { SetShortname(value); return *this;} /** *The layer attributes.
For the HaproxyStatsPassword
,
* MysqlRootPassword
, and GangliaPassword
attributes, AWS
* OpsWorks Stacks returns *****FILTERED*****
instead of the actual
* value
For an ECS Cluster layer, AWS OpsWorks Stacks the
* EcsClusterArn
attribute is set to the cluster's ARN.
The layer attributes.
For the HaproxyStatsPassword
,
* MysqlRootPassword
, and GangliaPassword
attributes, AWS
* OpsWorks Stacks returns *****FILTERED*****
instead of the actual
* value
For an ECS Cluster layer, AWS OpsWorks Stacks the
* EcsClusterArn
attribute is set to the cluster's ARN.
The layer attributes.
For the HaproxyStatsPassword
,
* MysqlRootPassword
, and GangliaPassword
attributes, AWS
* OpsWorks Stacks returns *****FILTERED*****
instead of the actual
* value
For an ECS Cluster layer, AWS OpsWorks Stacks the
* EcsClusterArn
attribute is set to the cluster's ARN.
The layer attributes.
For the HaproxyStatsPassword
,
* MysqlRootPassword
, and GangliaPassword
attributes, AWS
* OpsWorks Stacks returns *****FILTERED*****
instead of the actual
* value
For an ECS Cluster layer, AWS OpsWorks Stacks the
* EcsClusterArn
attribute is set to the cluster's ARN.
The layer attributes.
For the HaproxyStatsPassword
,
* MysqlRootPassword
, and GangliaPassword
attributes, AWS
* OpsWorks Stacks returns *****FILTERED*****
instead of the actual
* value
For an ECS Cluster layer, AWS OpsWorks Stacks the
* EcsClusterArn
attribute is set to the cluster's ARN.
The layer attributes.
For the HaproxyStatsPassword
,
* MysqlRootPassword
, and GangliaPassword
attributes, AWS
* OpsWorks Stacks returns *****FILTERED*****
instead of the actual
* value
For an ECS Cluster layer, AWS OpsWorks Stacks the
* EcsClusterArn
attribute is set to the cluster's ARN.
The layer attributes.
For the HaproxyStatsPassword
,
* MysqlRootPassword
, and GangliaPassword
attributes, AWS
* OpsWorks Stacks returns *****FILTERED*****
instead of the actual
* value
For an ECS Cluster layer, AWS OpsWorks Stacks the
* EcsClusterArn
attribute is set to the cluster's ARN.
The layer attributes.
For the HaproxyStatsPassword
,
* MysqlRootPassword
, and GangliaPassword
attributes, AWS
* OpsWorks Stacks returns *****FILTERED*****
instead of the actual
* value
For an ECS Cluster layer, AWS OpsWorks Stacks the
* EcsClusterArn
attribute is set to the cluster's ARN.
The layer attributes.
For the HaproxyStatsPassword
,
* MysqlRootPassword
, and GangliaPassword
attributes, AWS
* OpsWorks Stacks returns *****FILTERED*****
instead of the actual
* value
For an ECS Cluster layer, AWS OpsWorks Stacks the
* EcsClusterArn
attribute is set to the cluster's ARN.
The layer attributes.
For the HaproxyStatsPassword
,
* MysqlRootPassword
, and GangliaPassword
attributes, AWS
* OpsWorks Stacks returns *****FILTERED*****
instead of the actual
* value
For an ECS Cluster layer, AWS OpsWorks Stacks the
* EcsClusterArn
attribute is set to the cluster's ARN.
The layer attributes.
For the HaproxyStatsPassword
,
* MysqlRootPassword
, and GangliaPassword
attributes, AWS
* OpsWorks Stacks returns *****FILTERED*****
instead of the actual
* value
For an ECS Cluster layer, AWS OpsWorks Stacks the
* EcsClusterArn
attribute is set to the cluster's ARN.
The layer attributes.
For the HaproxyStatsPassword
,
* MysqlRootPassword
, and GangliaPassword
attributes, AWS
* OpsWorks Stacks returns *****FILTERED*****
instead of the actual
* value
For an ECS Cluster layer, AWS OpsWorks Stacks the
* EcsClusterArn
attribute is set to the cluster's ARN.
The Amazon CloudWatch Logs configuration settings for the layer.
*/ inline const CloudWatchLogsConfiguration& GetCloudWatchLogsConfiguration() const{ return m_cloudWatchLogsConfiguration; } /** *The Amazon CloudWatch Logs configuration settings for the layer.
*/ inline bool CloudWatchLogsConfigurationHasBeenSet() const { return m_cloudWatchLogsConfigurationHasBeenSet; } /** *The Amazon CloudWatch Logs configuration settings for the layer.
*/ inline void SetCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = value; } /** *The Amazon CloudWatch Logs configuration settings for the layer.
*/ inline void SetCloudWatchLogsConfiguration(CloudWatchLogsConfiguration&& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = std::move(value); } /** *The Amazon CloudWatch Logs configuration settings for the layer.
*/ inline Layer& WithCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration& value) { SetCloudWatchLogsConfiguration(value); return *this;} /** *The Amazon CloudWatch Logs configuration settings for the layer.
*/ inline Layer& WithCloudWatchLogsConfiguration(CloudWatchLogsConfiguration&& value) { SetCloudWatchLogsConfiguration(std::move(value)); return *this;} /** *The ARN of the default IAM profile to be used for the layer's EC2 instances. * For more information about IAM ARNs, see Using * Identifiers.
*/ inline const Aws::String& GetCustomInstanceProfileArn() const{ return m_customInstanceProfileArn; } /** *The ARN of the default IAM profile to be used for the layer's EC2 instances. * For more information about IAM ARNs, see Using * Identifiers.
*/ inline bool CustomInstanceProfileArnHasBeenSet() const { return m_customInstanceProfileArnHasBeenSet; } /** *The ARN of the default IAM profile to be used for the layer's EC2 instances. * For more information about IAM ARNs, see Using * Identifiers.
*/ inline void SetCustomInstanceProfileArn(const Aws::String& value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn = value; } /** *The ARN of the default IAM profile to be used for the layer's EC2 instances. * For more information about IAM ARNs, see Using * Identifiers.
*/ inline void SetCustomInstanceProfileArn(Aws::String&& value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn = std::move(value); } /** *The ARN of the default IAM profile to be used for the layer's EC2 instances. * For more information about IAM ARNs, see Using * Identifiers.
*/ inline void SetCustomInstanceProfileArn(const char* value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn.assign(value); } /** *The ARN of the default IAM profile to be used for the layer's EC2 instances. * For more information about IAM ARNs, see Using * Identifiers.
*/ inline Layer& WithCustomInstanceProfileArn(const Aws::String& value) { SetCustomInstanceProfileArn(value); return *this;} /** *The ARN of the default IAM profile to be used for the layer's EC2 instances. * For more information about IAM ARNs, see Using * Identifiers.
*/ inline Layer& WithCustomInstanceProfileArn(Aws::String&& value) { SetCustomInstanceProfileArn(std::move(value)); return *this;} /** *The ARN of the default IAM profile to be used for the layer's EC2 instances. * For more information about IAM ARNs, see Using * Identifiers.
*/ inline Layer& WithCustomInstanceProfileArn(const char* value) { SetCustomInstanceProfileArn(value); return *this;} /** *A JSON formatted string containing the layer's custom stack configuration and * deployment attributes.
*/ inline const Aws::String& GetCustomJson() const{ return m_customJson; } /** *A JSON formatted string containing the layer's custom stack configuration and * deployment attributes.
*/ inline bool CustomJsonHasBeenSet() const { return m_customJsonHasBeenSet; } /** *A JSON formatted string containing the layer's custom stack configuration and * deployment attributes.
*/ inline void SetCustomJson(const Aws::String& value) { m_customJsonHasBeenSet = true; m_customJson = value; } /** *A JSON formatted string containing the layer's custom stack configuration and * deployment attributes.
*/ inline void SetCustomJson(Aws::String&& value) { m_customJsonHasBeenSet = true; m_customJson = std::move(value); } /** *A JSON formatted string containing the layer's custom stack configuration and * deployment attributes.
*/ inline void SetCustomJson(const char* value) { m_customJsonHasBeenSet = true; m_customJson.assign(value); } /** *A JSON formatted string containing the layer's custom stack configuration and * deployment attributes.
*/ inline Layer& WithCustomJson(const Aws::String& value) { SetCustomJson(value); return *this;} /** *A JSON formatted string containing the layer's custom stack configuration and * deployment attributes.
*/ inline Layer& WithCustomJson(Aws::String&& value) { SetCustomJson(std::move(value)); return *this;} /** *A JSON formatted string containing the layer's custom stack configuration and * deployment attributes.
*/ inline Layer& WithCustomJson(const char* value) { SetCustomJson(value); return *this;} /** *An array containing the layer's custom security group IDs.
*/ inline const Aws::VectorAn array containing the layer's custom security group IDs.
*/ inline bool CustomSecurityGroupIdsHasBeenSet() const { return m_customSecurityGroupIdsHasBeenSet; } /** *An array containing the layer's custom security group IDs.
*/ inline void SetCustomSecurityGroupIds(const Aws::VectorAn array containing the layer's custom security group IDs.
*/ inline void SetCustomSecurityGroupIds(Aws::VectorAn array containing the layer's custom security group IDs.
*/ inline Layer& WithCustomSecurityGroupIds(const Aws::VectorAn array containing the layer's custom security group IDs.
*/ inline Layer& WithCustomSecurityGroupIds(Aws::VectorAn array containing the layer's custom security group IDs.
*/ inline Layer& AddCustomSecurityGroupIds(const Aws::String& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(value); return *this; } /** *An array containing the layer's custom security group IDs.
*/ inline Layer& AddCustomSecurityGroupIds(Aws::String&& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(std::move(value)); return *this; } /** *An array containing the layer's custom security group IDs.
*/ inline Layer& AddCustomSecurityGroupIds(const char* value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(value); return *this; } /** *An array containing the layer's security group names.
*/ inline const Aws::VectorAn array containing the layer's security group names.
*/ inline bool DefaultSecurityGroupNamesHasBeenSet() const { return m_defaultSecurityGroupNamesHasBeenSet; } /** *An array containing the layer's security group names.
*/ inline void SetDefaultSecurityGroupNames(const Aws::VectorAn array containing the layer's security group names.
*/ inline void SetDefaultSecurityGroupNames(Aws::VectorAn array containing the layer's security group names.
*/ inline Layer& WithDefaultSecurityGroupNames(const Aws::VectorAn array containing the layer's security group names.
*/ inline Layer& WithDefaultSecurityGroupNames(Aws::VectorAn array containing the layer's security group names.
*/ inline Layer& AddDefaultSecurityGroupNames(const Aws::String& value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames.push_back(value); return *this; } /** *An array containing the layer's security group names.
*/ inline Layer& AddDefaultSecurityGroupNames(Aws::String&& value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames.push_back(std::move(value)); return *this; } /** *An array containing the layer's security group names.
*/ inline Layer& AddDefaultSecurityGroupNames(const char* value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames.push_back(value); return *this; } /** *An array of Package
objects that describe the layer's
* packages.
An array of Package
objects that describe the layer's
* packages.
An array of Package
objects that describe the layer's
* packages.
An array of Package
objects that describe the layer's
* packages.
An array of Package
objects that describe the layer's
* packages.
An array of Package
objects that describe the layer's
* packages.
An array of Package
objects that describe the layer's
* packages.
An array of Package
objects that describe the layer's
* packages.
An array of Package
objects that describe the layer's
* packages.
A VolumeConfigurations
object that describes the layer's Amazon
* EBS volumes.
A VolumeConfigurations
object that describes the layer's Amazon
* EBS volumes.
A VolumeConfigurations
object that describes the layer's Amazon
* EBS volumes.
A VolumeConfigurations
object that describes the layer's Amazon
* EBS volumes.
A VolumeConfigurations
object that describes the layer's Amazon
* EBS volumes.
A VolumeConfigurations
object that describes the layer's Amazon
* EBS volumes.
A VolumeConfigurations
object that describes the layer's Amazon
* EBS volumes.
A VolumeConfigurations
object that describes the layer's Amazon
* EBS volumes.
Whether auto healing is disabled for the layer.
*/ inline bool GetEnableAutoHealing() const{ return m_enableAutoHealing; } /** *Whether auto healing is disabled for the layer.
*/ inline bool EnableAutoHealingHasBeenSet() const { return m_enableAutoHealingHasBeenSet; } /** *Whether auto healing is disabled for the layer.
*/ inline void SetEnableAutoHealing(bool value) { m_enableAutoHealingHasBeenSet = true; m_enableAutoHealing = value; } /** *Whether auto healing is disabled for the layer.
*/ inline Layer& WithEnableAutoHealing(bool value) { SetEnableAutoHealing(value); return *this;} /** *Whether to automatically assign an Elastic * IP address to the layer's instances. For more information, see How * to Edit a Layer.
*/ inline bool GetAutoAssignElasticIps() const{ return m_autoAssignElasticIps; } /** *Whether to automatically assign an Elastic * IP address to the layer's instances. For more information, see How * to Edit a Layer.
*/ inline bool AutoAssignElasticIpsHasBeenSet() const { return m_autoAssignElasticIpsHasBeenSet; } /** *Whether to automatically assign an Elastic * IP address to the layer's instances. For more information, see How * to Edit a Layer.
*/ inline void SetAutoAssignElasticIps(bool value) { m_autoAssignElasticIpsHasBeenSet = true; m_autoAssignElasticIps = value; } /** *Whether to automatically assign an Elastic * IP address to the layer's instances. For more information, see How * to Edit a Layer.
*/ inline Layer& WithAutoAssignElasticIps(bool value) { SetAutoAssignElasticIps(value); return *this;} /** *For stacks that are running in a VPC, whether to automatically assign a * public IP address to the layer's instances. For more information, see How * to Edit a Layer.
*/ inline bool GetAutoAssignPublicIps() const{ return m_autoAssignPublicIps; } /** *For stacks that are running in a VPC, whether to automatically assign a * public IP address to the layer's instances. For more information, see How * to Edit a Layer.
*/ inline bool AutoAssignPublicIpsHasBeenSet() const { return m_autoAssignPublicIpsHasBeenSet; } /** *For stacks that are running in a VPC, whether to automatically assign a * public IP address to the layer's instances. For more information, see How * to Edit a Layer.
*/ inline void SetAutoAssignPublicIps(bool value) { m_autoAssignPublicIpsHasBeenSet = true; m_autoAssignPublicIps = value; } /** *For stacks that are running in a VPC, whether to automatically assign a * public IP address to the layer's instances. For more information, see How * to Edit a Layer.
*/ inline Layer& WithAutoAssignPublicIps(bool value) { SetAutoAssignPublicIps(value); return *this;} /** *AWS OpsWorks Stacks supports five lifecycle events: setup,
* configuration, deploy, undeploy, and shutdown. For
* each layer, AWS OpsWorks Stacks runs a set of standard recipes for each event.
* You can also provide custom recipes for any or all layers and events. AWS
* OpsWorks Stacks runs custom event recipes after the standard recipes.
* LayerCustomRecipes
specifies the custom recipes for a particular
* layer to be run in response to each of the five events.
To specify a
* recipe, use the cookbook's directory name in the repository followed by two
* colons and the recipe name, which is the recipe's file name without the
* .rb
extension. For example: phpapp2::dbsetup
specifies
* the dbsetup.rb
recipe in the repository's phpapp2
* folder.
AWS OpsWorks Stacks supports five lifecycle events: setup,
* configuration, deploy, undeploy, and shutdown. For
* each layer, AWS OpsWorks Stacks runs a set of standard recipes for each event.
* You can also provide custom recipes for any or all layers and events. AWS
* OpsWorks Stacks runs custom event recipes after the standard recipes.
* LayerCustomRecipes
specifies the custom recipes for a particular
* layer to be run in response to each of the five events.
To specify a
* recipe, use the cookbook's directory name in the repository followed by two
* colons and the recipe name, which is the recipe's file name without the
* .rb
extension. For example: phpapp2::dbsetup
specifies
* the dbsetup.rb
recipe in the repository's phpapp2
* folder.
AWS OpsWorks Stacks supports five lifecycle events: setup,
* configuration, deploy, undeploy, and shutdown. For
* each layer, AWS OpsWorks Stacks runs a set of standard recipes for each event.
* You can also provide custom recipes for any or all layers and events. AWS
* OpsWorks Stacks runs custom event recipes after the standard recipes.
* LayerCustomRecipes
specifies the custom recipes for a particular
* layer to be run in response to each of the five events.
To specify a
* recipe, use the cookbook's directory name in the repository followed by two
* colons and the recipe name, which is the recipe's file name without the
* .rb
extension. For example: phpapp2::dbsetup
specifies
* the dbsetup.rb
recipe in the repository's phpapp2
* folder.
AWS OpsWorks Stacks supports five lifecycle events: setup,
* configuration, deploy, undeploy, and shutdown. For
* each layer, AWS OpsWorks Stacks runs a set of standard recipes for each event.
* You can also provide custom recipes for any or all layers and events. AWS
* OpsWorks Stacks runs custom event recipes after the standard recipes.
* LayerCustomRecipes
specifies the custom recipes for a particular
* layer to be run in response to each of the five events.
To specify a
* recipe, use the cookbook's directory name in the repository followed by two
* colons and the recipe name, which is the recipe's file name without the
* .rb
extension. For example: phpapp2::dbsetup
specifies
* the dbsetup.rb
recipe in the repository's phpapp2
* folder.
AWS OpsWorks Stacks supports five lifecycle events: setup,
* configuration, deploy, undeploy, and shutdown. For
* each layer, AWS OpsWorks Stacks runs a set of standard recipes for each event.
* You can also provide custom recipes for any or all layers and events. AWS
* OpsWorks Stacks runs custom event recipes after the standard recipes.
* LayerCustomRecipes
specifies the custom recipes for a particular
* layer to be run in response to each of the five events.
To specify a
* recipe, use the cookbook's directory name in the repository followed by two
* colons and the recipe name, which is the recipe's file name without the
* .rb
extension. For example: phpapp2::dbsetup
specifies
* the dbsetup.rb
recipe in the repository's phpapp2
* folder.
AWS OpsWorks Stacks supports five lifecycle events: setup,
* configuration, deploy, undeploy, and shutdown. For
* each layer, AWS OpsWorks Stacks runs a set of standard recipes for each event.
* You can also provide custom recipes for any or all layers and events. AWS
* OpsWorks Stacks runs custom event recipes after the standard recipes.
* LayerCustomRecipes
specifies the custom recipes for a particular
* layer to be run in response to each of the five events.
To specify a
* recipe, use the cookbook's directory name in the repository followed by two
* colons and the recipe name, which is the recipe's file name without the
* .rb
extension. For example: phpapp2::dbsetup
specifies
* the dbsetup.rb
recipe in the repository's phpapp2
* folder.
A LayerCustomRecipes
object that specifies the layer's custom
* recipes.
A LayerCustomRecipes
object that specifies the layer's custom
* recipes.
A LayerCustomRecipes
object that specifies the layer's custom
* recipes.
A LayerCustomRecipes
object that specifies the layer's custom
* recipes.
A LayerCustomRecipes
object that specifies the layer's custom
* recipes.
A LayerCustomRecipes
object that specifies the layer's custom
* recipes.
Date when the layer was created.
*/ inline const Aws::String& GetCreatedAt() const{ return m_createdAt; } /** *Date when the layer was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *Date when the layer was created.
*/ inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *Date when the layer was created.
*/ inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *Date when the layer was created.
*/ inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); } /** *Date when the layer was created.
*/ inline Layer& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;} /** *Date when the layer was created.
*/ inline Layer& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;} /** *Date when the layer was created.
*/ inline Layer& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;} /** *Whether to install operating system and package updates when the instance
* boots. The default value is true
. If this value is set to
* false
, you must then update your instances manually by using
* CreateDeployment to run the update_dependencies
stack
* command or manually running yum
(Amazon Linux) or
* apt-get
(Ubuntu) on the instances.
We strongly
* recommend using the default value of true
, to ensure that your
* instances have the latest security updates.
Whether to install operating system and package updates when the instance
* boots. The default value is true
. If this value is set to
* false
, you must then update your instances manually by using
* CreateDeployment to run the update_dependencies
stack
* command or manually running yum
(Amazon Linux) or
* apt-get
(Ubuntu) on the instances.
We strongly
* recommend using the default value of true
, to ensure that your
* instances have the latest security updates.
Whether to install operating system and package updates when the instance
* boots. The default value is true
. If this value is set to
* false
, you must then update your instances manually by using
* CreateDeployment to run the update_dependencies
stack
* command or manually running yum
(Amazon Linux) or
* apt-get
(Ubuntu) on the instances.
We strongly
* recommend using the default value of true
, to ensure that your
* instances have the latest security updates.
Whether to install operating system and package updates when the instance
* boots. The default value is true
. If this value is set to
* false
, you must then update your instances manually by using
* CreateDeployment to run the update_dependencies
stack
* command or manually running yum
(Amazon Linux) or
* apt-get
(Ubuntu) on the instances.
We strongly
* recommend using the default value of true
, to ensure that your
* instances have the latest security updates.
Whether the layer uses Amazon EBS-optimized instances.
*/ inline bool GetUseEbsOptimizedInstances() const{ return m_useEbsOptimizedInstances; } /** *Whether the layer uses Amazon EBS-optimized instances.
*/ inline bool UseEbsOptimizedInstancesHasBeenSet() const { return m_useEbsOptimizedInstancesHasBeenSet; } /** *Whether the layer uses Amazon EBS-optimized instances.
*/ inline void SetUseEbsOptimizedInstances(bool value) { m_useEbsOptimizedInstancesHasBeenSet = true; m_useEbsOptimizedInstances = value; } /** *Whether the layer uses Amazon EBS-optimized instances.
*/ inline Layer& WithUseEbsOptimizedInstances(bool value) { SetUseEbsOptimizedInstances(value); return *this;} /** *A LifeCycleEventConfiguration
object that specifies the Shutdown
* event configuration.
A LifeCycleEventConfiguration
object that specifies the Shutdown
* event configuration.
A LifeCycleEventConfiguration
object that specifies the Shutdown
* event configuration.
A LifeCycleEventConfiguration
object that specifies the Shutdown
* event configuration.
A LifeCycleEventConfiguration
object that specifies the Shutdown
* event configuration.
A LifeCycleEventConfiguration
object that specifies the Shutdown
* event configuration.