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

#include <Layer.h>

Public Member Functions

 Layer ()
 
 Layer (Aws::Utils::Json::JsonView jsonValue)
 
Layeroperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetArn () const
 
bool ArnHasBeenSet () const
 
void SetArn (const Aws::String &value)
 
void SetArn (Aws::String &&value)
 
void SetArn (const char *value)
 
LayerWithArn (const Aws::String &value)
 
LayerWithArn (Aws::String &&value)
 
LayerWithArn (const char *value)
 
const Aws::StringGetStackId () const
 
bool StackIdHasBeenSet () const
 
void SetStackId (const Aws::String &value)
 
void SetStackId (Aws::String &&value)
 
void SetStackId (const char *value)
 
LayerWithStackId (const Aws::String &value)
 
LayerWithStackId (Aws::String &&value)
 
LayerWithStackId (const char *value)
 
const Aws::StringGetLayerId () const
 
bool LayerIdHasBeenSet () const
 
void SetLayerId (const Aws::String &value)
 
void SetLayerId (Aws::String &&value)
 
void SetLayerId (const char *value)
 
LayerWithLayerId (const Aws::String &value)
 
LayerWithLayerId (Aws::String &&value)
 
LayerWithLayerId (const char *value)
 
const LayerTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const LayerType &value)
 
void SetType (LayerType &&value)
 
LayerWithType (const LayerType &value)
 
LayerWithType (LayerType &&value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
LayerWithName (const Aws::String &value)
 
LayerWithName (Aws::String &&value)
 
LayerWithName (const char *value)
 
const Aws::StringGetShortname () const
 
bool ShortnameHasBeenSet () const
 
void SetShortname (const Aws::String &value)
 
void SetShortname (Aws::String &&value)
 
void SetShortname (const char *value)
 
LayerWithShortname (const Aws::String &value)
 
LayerWithShortname (Aws::String &&value)
 
LayerWithShortname (const char *value)
 
const Aws::Map< LayerAttributesKeys, Aws::String > & GetAttributes () const
 
bool AttributesHasBeenSet () const
 
void SetAttributes (const Aws::Map< LayerAttributesKeys, Aws::String > &value)
 
void SetAttributes (Aws::Map< LayerAttributesKeys, Aws::String > &&value)
 
LayerWithAttributes (const Aws::Map< LayerAttributesKeys, Aws::String > &value)
 
LayerWithAttributes (Aws::Map< LayerAttributesKeys, Aws::String > &&value)
 
LayerAddAttributes (const LayerAttributesKeys &key, const Aws::String &value)
 
LayerAddAttributes (LayerAttributesKeys &&key, const Aws::String &value)
 
LayerAddAttributes (const LayerAttributesKeys &key, Aws::String &&value)
 
LayerAddAttributes (LayerAttributesKeys &&key, Aws::String &&value)
 
LayerAddAttributes (LayerAttributesKeys &&key, const char *value)
 
LayerAddAttributes (const LayerAttributesKeys &key, const char *value)
 
const CloudWatchLogsConfigurationGetCloudWatchLogsConfiguration () const
 
bool CloudWatchLogsConfigurationHasBeenSet () const
 
void SetCloudWatchLogsConfiguration (const CloudWatchLogsConfiguration &value)
 
void SetCloudWatchLogsConfiguration (CloudWatchLogsConfiguration &&value)
 
LayerWithCloudWatchLogsConfiguration (const CloudWatchLogsConfiguration &value)
 
LayerWithCloudWatchLogsConfiguration (CloudWatchLogsConfiguration &&value)
 
const Aws::StringGetCustomInstanceProfileArn () const
 
bool CustomInstanceProfileArnHasBeenSet () const
 
void SetCustomInstanceProfileArn (const Aws::String &value)
 
void SetCustomInstanceProfileArn (Aws::String &&value)
 
void SetCustomInstanceProfileArn (const char *value)
 
LayerWithCustomInstanceProfileArn (const Aws::String &value)
 
LayerWithCustomInstanceProfileArn (Aws::String &&value)
 
LayerWithCustomInstanceProfileArn (const char *value)
 
const Aws::StringGetCustomJson () const
 
bool CustomJsonHasBeenSet () const
 
void SetCustomJson (const Aws::String &value)
 
void SetCustomJson (Aws::String &&value)
 
void SetCustomJson (const char *value)
 
LayerWithCustomJson (const Aws::String &value)
 
LayerWithCustomJson (Aws::String &&value)
 
LayerWithCustomJson (const char *value)
 
const Aws::Vector< Aws::String > & GetCustomSecurityGroupIds () const
 
bool CustomSecurityGroupIdsHasBeenSet () const
 
void SetCustomSecurityGroupIds (const Aws::Vector< Aws::String > &value)
 
void SetCustomSecurityGroupIds (Aws::Vector< Aws::String > &&value)
 
LayerWithCustomSecurityGroupIds (const Aws::Vector< Aws::String > &value)
 
LayerWithCustomSecurityGroupIds (Aws::Vector< Aws::String > &&value)
 
LayerAddCustomSecurityGroupIds (const Aws::String &value)
 
LayerAddCustomSecurityGroupIds (Aws::String &&value)
 
LayerAddCustomSecurityGroupIds (const char *value)
 
const Aws::Vector< Aws::String > & GetDefaultSecurityGroupNames () const
 
bool DefaultSecurityGroupNamesHasBeenSet () const
 
void SetDefaultSecurityGroupNames (const Aws::Vector< Aws::String > &value)
 
void SetDefaultSecurityGroupNames (Aws::Vector< Aws::String > &&value)
 
LayerWithDefaultSecurityGroupNames (const Aws::Vector< Aws::String > &value)
 
LayerWithDefaultSecurityGroupNames (Aws::Vector< Aws::String > &&value)
 
LayerAddDefaultSecurityGroupNames (const Aws::String &value)
 
LayerAddDefaultSecurityGroupNames (Aws::String &&value)
 
LayerAddDefaultSecurityGroupNames (const char *value)
 
const Aws::Vector< Aws::String > & GetPackages () const
 
bool PackagesHasBeenSet () const
 
void SetPackages (const Aws::Vector< Aws::String > &value)
 
void SetPackages (Aws::Vector< Aws::String > &&value)
 
LayerWithPackages (const Aws::Vector< Aws::String > &value)
 
LayerWithPackages (Aws::Vector< Aws::String > &&value)
 
LayerAddPackages (const Aws::String &value)
 
LayerAddPackages (Aws::String &&value)
 
LayerAddPackages (const char *value)
 
const Aws::Vector< VolumeConfiguration > & GetVolumeConfigurations () const
 
bool VolumeConfigurationsHasBeenSet () const
 
void SetVolumeConfigurations (const Aws::Vector< VolumeConfiguration > &value)
 
void SetVolumeConfigurations (Aws::Vector< VolumeConfiguration > &&value)
 
LayerWithVolumeConfigurations (const Aws::Vector< VolumeConfiguration > &value)
 
LayerWithVolumeConfigurations (Aws::Vector< VolumeConfiguration > &&value)
 
LayerAddVolumeConfigurations (const VolumeConfiguration &value)
 
LayerAddVolumeConfigurations (VolumeConfiguration &&value)
 
bool GetEnableAutoHealing () const
 
bool EnableAutoHealingHasBeenSet () const
 
void SetEnableAutoHealing (bool value)
 
LayerWithEnableAutoHealing (bool value)
 
bool GetAutoAssignElasticIps () const
 
bool AutoAssignElasticIpsHasBeenSet () const
 
void SetAutoAssignElasticIps (bool value)
 
LayerWithAutoAssignElasticIps (bool value)
 
bool GetAutoAssignPublicIps () const
 
bool AutoAssignPublicIpsHasBeenSet () const
 
void SetAutoAssignPublicIps (bool value)
 
LayerWithAutoAssignPublicIps (bool value)
 
const RecipesGetDefaultRecipes () const
 
bool DefaultRecipesHasBeenSet () const
 
void SetDefaultRecipes (const Recipes &value)
 
void SetDefaultRecipes (Recipes &&value)
 
LayerWithDefaultRecipes (const Recipes &value)
 
LayerWithDefaultRecipes (Recipes &&value)
 
const RecipesGetCustomRecipes () const
 
bool CustomRecipesHasBeenSet () const
 
void SetCustomRecipes (const Recipes &value)
 
void SetCustomRecipes (Recipes &&value)
 
LayerWithCustomRecipes (const Recipes &value)
 
LayerWithCustomRecipes (Recipes &&value)
 
const Aws::StringGetCreatedAt () const
 
bool CreatedAtHasBeenSet () const
 
void SetCreatedAt (const Aws::String &value)
 
void SetCreatedAt (Aws::String &&value)
 
void SetCreatedAt (const char *value)
 
LayerWithCreatedAt (const Aws::String &value)
 
LayerWithCreatedAt (Aws::String &&value)
 
LayerWithCreatedAt (const char *value)
 
bool GetInstallUpdatesOnBoot () const
 
bool InstallUpdatesOnBootHasBeenSet () const
 
void SetInstallUpdatesOnBoot (bool value)
 
LayerWithInstallUpdatesOnBoot (bool value)
 
bool GetUseEbsOptimizedInstances () const
 
bool UseEbsOptimizedInstancesHasBeenSet () const
 
void SetUseEbsOptimizedInstances (bool value)
 
LayerWithUseEbsOptimizedInstances (bool value)
 
const LifecycleEventConfigurationGetLifecycleEventConfiguration () const
 
bool LifecycleEventConfigurationHasBeenSet () const
 
void SetLifecycleEventConfiguration (const LifecycleEventConfiguration &value)
 
void SetLifecycleEventConfiguration (LifecycleEventConfiguration &&value)
 
LayerWithLifecycleEventConfiguration (const LifecycleEventConfiguration &value)
 
LayerWithLifecycleEventConfiguration (LifecycleEventConfiguration &&value)
 

Detailed Description

Describes a layer.

See Also:

AWS API Reference

Definition at line 39 of file Layer.h.

Constructor & Destructor Documentation

◆ Layer() [1/2]

Aws::OpsWorks::Model::Layer::Layer ( )

◆ Layer() [2/2]

Aws::OpsWorks::Model::Layer::Layer ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddAttributes() [1/6]

Layer& Aws::OpsWorks::Model::Layer::AddAttributes ( const LayerAttributesKeys key,
const Aws::String value 
)
inline

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.

Definition at line 345 of file Layer.h.

◆ AddAttributes() [2/6]

Layer& Aws::OpsWorks::Model::Layer::AddAttributes ( LayerAttributesKeys &&  key,
const Aws::String value 
)
inline

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.

Definition at line 354 of file Layer.h.

◆ AddAttributes() [3/6]

Layer& Aws::OpsWorks::Model::Layer::AddAttributes ( const LayerAttributesKeys key,
Aws::String &&  value 
)
inline

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.

Definition at line 363 of file Layer.h.

◆ AddAttributes() [4/6]

Layer& Aws::OpsWorks::Model::Layer::AddAttributes ( LayerAttributesKeys &&  key,
Aws::String &&  value 
)
inline

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.

Definition at line 372 of file Layer.h.

◆ AddAttributes() [5/6]

Layer& Aws::OpsWorks::Model::Layer::AddAttributes ( LayerAttributesKeys &&  key,
const char *  value 
)
inline

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.

Definition at line 381 of file Layer.h.

◆ AddAttributes() [6/6]

Layer& Aws::OpsWorks::Model::Layer::AddAttributes ( const LayerAttributesKeys key,
const char *  value 
)
inline

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.

Definition at line 390 of file Layer.h.

◆ AddCustomSecurityGroupIds() [1/3]

Layer& Aws::OpsWorks::Model::Layer::AddCustomSecurityGroupIds ( const Aws::String value)
inline

An array containing the layer's custom security group IDs.

Definition at line 571 of file Layer.h.

◆ AddCustomSecurityGroupIds() [2/3]

Layer& Aws::OpsWorks::Model::Layer::AddCustomSecurityGroupIds ( Aws::String &&  value)
inline

An array containing the layer's custom security group IDs.

Definition at line 576 of file Layer.h.

◆ AddCustomSecurityGroupIds() [3/3]

Layer& Aws::OpsWorks::Model::Layer::AddCustomSecurityGroupIds ( const char *  value)
inline

An array containing the layer's custom security group IDs.

Definition at line 581 of file Layer.h.

◆ AddDefaultSecurityGroupNames() [1/3]

Layer& Aws::OpsWorks::Model::Layer::AddDefaultSecurityGroupNames ( const Aws::String value)
inline

An array containing the layer's security group names.

Definition at line 617 of file Layer.h.

◆ AddDefaultSecurityGroupNames() [2/3]

Layer& Aws::OpsWorks::Model::Layer::AddDefaultSecurityGroupNames ( Aws::String &&  value)
inline

An array containing the layer's security group names.

Definition at line 622 of file Layer.h.

◆ AddDefaultSecurityGroupNames() [3/3]

Layer& Aws::OpsWorks::Model::Layer::AddDefaultSecurityGroupNames ( const char *  value)
inline

An array containing the layer's security group names.

Definition at line 627 of file Layer.h.

◆ AddPackages() [1/3]

Layer& Aws::OpsWorks::Model::Layer::AddPackages ( const Aws::String value)
inline

An array of Package objects that describe the layer's packages.

Definition at line 670 of file Layer.h.

◆ AddPackages() [2/3]

Layer& Aws::OpsWorks::Model::Layer::AddPackages ( Aws::String &&  value)
inline

An array of Package objects that describe the layer's packages.

Definition at line 676 of file Layer.h.

◆ AddPackages() [3/3]

Layer& Aws::OpsWorks::Model::Layer::AddPackages ( const char *  value)
inline

An array of Package objects that describe the layer's packages.

Definition at line 682 of file Layer.h.

◆ AddVolumeConfigurations() [1/2]

Layer& Aws::OpsWorks::Model::Layer::AddVolumeConfigurations ( const VolumeConfiguration value)
inline

A VolumeConfigurations object that describes the layer's Amazon EBS volumes.

Definition at line 725 of file Layer.h.

◆ AddVolumeConfigurations() [2/2]

Layer& Aws::OpsWorks::Model::Layer::AddVolumeConfigurations ( VolumeConfiguration &&  value)
inline

A VolumeConfigurations object that describes the layer's Amazon EBS volumes.

Definition at line 731 of file Layer.h.

◆ ArnHasBeenSet()

bool Aws::OpsWorks::Model::Layer::ArnHasBeenSet ( ) const
inline

The Amazon Resource Number (ARN) of a layer.

Definition at line 56 of file Layer.h.

◆ AttributesHasBeenSet()

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

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.

Definition at line 300 of file Layer.h.

◆ AutoAssignElasticIpsHasBeenSet()

bool Aws::OpsWorks::Model::Layer::AutoAssignElasticIpsHasBeenSet ( ) const
inline

Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.

Definition at line 771 of file Layer.h.

◆ AutoAssignPublicIpsHasBeenSet()

bool Aws::OpsWorks::Model::Layer::AutoAssignPublicIpsHasBeenSet ( ) const
inline

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.

Definition at line 806 of file Layer.h.

◆ CloudWatchLogsConfigurationHasBeenSet()

bool Aws::OpsWorks::Model::Layer::CloudWatchLogsConfigurationHasBeenSet ( ) const
inline

The Amazon CloudWatch Logs configuration settings for the layer.

Definition at line 401 of file Layer.h.

◆ CreatedAtHasBeenSet()

bool Aws::OpsWorks::Model::Layer::CreatedAtHasBeenSet ( ) const
inline

Date when the layer was created.

Definition at line 967 of file Layer.h.

◆ CustomInstanceProfileArnHasBeenSet()

bool Aws::OpsWorks::Model::Layer::CustomInstanceProfileArnHasBeenSet ( ) const
inline

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.

Definition at line 438 of file Layer.h.

◆ CustomJsonHasBeenSet()

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

A JSON formatted string containing the layer's custom stack configuration and deployment attributes.

Definition at line 499 of file Layer.h.

◆ CustomRecipesHasBeenSet()

bool Aws::OpsWorks::Model::Layer::CustomRecipesHasBeenSet ( ) const
inline

A LayerCustomRecipes object that specifies the layer's custom recipes.

Definition at line 932 of file Layer.h.

◆ CustomSecurityGroupIdsHasBeenSet()

bool Aws::OpsWorks::Model::Layer::CustomSecurityGroupIdsHasBeenSet ( ) const
inline

An array containing the layer's custom security group IDs.

Definition at line 546 of file Layer.h.

◆ DefaultRecipesHasBeenSet()

bool Aws::OpsWorks::Model::Layer::DefaultRecipesHasBeenSet ( ) const
inline

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.

Definition at line 855 of file Layer.h.

◆ DefaultSecurityGroupNamesHasBeenSet()

bool Aws::OpsWorks::Model::Layer::DefaultSecurityGroupNamesHasBeenSet ( ) const
inline

An array containing the layer's security group names.

Definition at line 592 of file Layer.h.

◆ EnableAutoHealingHasBeenSet()

bool Aws::OpsWorks::Model::Layer::EnableAutoHealingHasBeenSet ( ) const
inline

Whether auto healing is disabled for the layer.

Definition at line 742 of file Layer.h.

◆ GetArn()

const Aws::String& Aws::OpsWorks::Model::Layer::GetArn ( ) const
inline

The Amazon Resource Number (ARN) of a layer.

Definition at line 51 of file Layer.h.

◆ GetAttributes()

const Aws::Map<LayerAttributesKeys, Aws::String>& Aws::OpsWorks::Model::Layer::GetAttributes ( ) const
inline

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.

Definition at line 291 of file Layer.h.

◆ GetAutoAssignElasticIps()

bool Aws::OpsWorks::Model::Layer::GetAutoAssignElasticIps ( ) const
inline

Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.

Definition at line 762 of file Layer.h.

◆ GetAutoAssignPublicIps()

bool Aws::OpsWorks::Model::Layer::GetAutoAssignPublicIps ( ) const
inline

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.

Definition at line 798 of file Layer.h.

◆ GetCloudWatchLogsConfiguration()

const CloudWatchLogsConfiguration& Aws::OpsWorks::Model::Layer::GetCloudWatchLogsConfiguration ( ) const
inline

The Amazon CloudWatch Logs configuration settings for the layer.

Definition at line 396 of file Layer.h.

◆ GetCreatedAt()

const Aws::String& Aws::OpsWorks::Model::Layer::GetCreatedAt ( ) const
inline

Date when the layer was created.

Definition at line 962 of file Layer.h.

◆ GetCustomInstanceProfileArn()

const Aws::String& Aws::OpsWorks::Model::Layer::GetCustomInstanceProfileArn ( ) const
inline

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.

Definition at line 430 of file Layer.h.

◆ GetCustomJson()

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

A JSON formatted string containing the layer's custom stack configuration and deployment attributes.

Definition at line 493 of file Layer.h.

◆ GetCustomRecipes()

const Recipes& Aws::OpsWorks::Model::Layer::GetCustomRecipes ( ) const
inline

A LayerCustomRecipes object that specifies the layer's custom recipes.

Definition at line 926 of file Layer.h.

◆ GetCustomSecurityGroupIds()

const Aws::Vector<Aws::String>& Aws::OpsWorks::Model::Layer::GetCustomSecurityGroupIds ( ) const
inline

An array containing the layer's custom security group IDs.

Definition at line 541 of file Layer.h.

◆ GetDefaultRecipes()

const Recipes& Aws::OpsWorks::Model::Layer::GetDefaultRecipes ( ) const
inline

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.

Definition at line 839 of file Layer.h.

◆ GetDefaultSecurityGroupNames()

const Aws::Vector<Aws::String>& Aws::OpsWorks::Model::Layer::GetDefaultSecurityGroupNames ( ) const
inline

An array containing the layer's security group names.

Definition at line 587 of file Layer.h.

◆ GetEnableAutoHealing()

bool Aws::OpsWorks::Model::Layer::GetEnableAutoHealing ( ) const
inline

Whether auto healing is disabled for the layer.

Definition at line 737 of file Layer.h.

◆ GetInstallUpdatesOnBoot()

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

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.

Definition at line 1010 of file Layer.h.

◆ GetLayerId()

const Aws::String& Aws::OpsWorks::Model::Layer::GetLayerId ( ) const
inline

The layer ID.

Definition at line 133 of file Layer.h.

◆ GetLifecycleEventConfiguration()

const LifecycleEventConfiguration& Aws::OpsWorks::Model::Layer::GetLifecycleEventConfiguration ( ) const
inline

A LifeCycleEventConfiguration object that specifies the Shutdown event configuration.

Definition at line 1074 of file Layer.h.

◆ GetName()

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

The layer name.

Definition at line 205 of file Layer.h.

◆ GetPackages()

const Aws::Vector<Aws::String>& Aws::OpsWorks::Model::Layer::GetPackages ( ) const
inline

An array of Package objects that describe the layer's packages.

Definition at line 634 of file Layer.h.

◆ GetShortname()

const Aws::String& Aws::OpsWorks::Model::Layer::GetShortname ( ) const
inline

The layer short name.

Definition at line 246 of file Layer.h.

◆ GetStackId()

const Aws::String& Aws::OpsWorks::Model::Layer::GetStackId ( ) const
inline

The layer stack ID.

Definition at line 92 of file Layer.h.

◆ GetType()

const LayerType& Aws::OpsWorks::Model::Layer::GetType ( ) const
inline

The layer type.

Definition at line 174 of file Layer.h.

◆ GetUseEbsOptimizedInstances()

bool Aws::OpsWorks::Model::Layer::GetUseEbsOptimizedInstances ( ) const
inline

Whether the layer uses Amazon EBS-optimized instances.

Definition at line 1052 of file Layer.h.

◆ GetVolumeConfigurations()

const Aws::Vector<VolumeConfiguration>& Aws::OpsWorks::Model::Layer::GetVolumeConfigurations ( ) const
inline

A VolumeConfigurations object that describes the layer's Amazon EBS volumes.

Definition at line 689 of file Layer.h.

◆ InstallUpdatesOnBootHasBeenSet()

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

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.

Definition at line 1022 of file Layer.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::OpsWorks::Model::Layer::Jsonize ( ) const

◆ LayerIdHasBeenSet()

bool Aws::OpsWorks::Model::Layer::LayerIdHasBeenSet ( ) const
inline

The layer ID.

Definition at line 138 of file Layer.h.

◆ LifecycleEventConfigurationHasBeenSet()

bool Aws::OpsWorks::Model::Layer::LifecycleEventConfigurationHasBeenSet ( ) const
inline

A LifeCycleEventConfiguration object that specifies the Shutdown event configuration.

Definition at line 1080 of file Layer.h.

◆ NameHasBeenSet()

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

The layer name.

Definition at line 210 of file Layer.h.

◆ operator=()

Layer& Aws::OpsWorks::Model::Layer::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PackagesHasBeenSet()

bool Aws::OpsWorks::Model::Layer::PackagesHasBeenSet ( ) const
inline

An array of Package objects that describe the layer's packages.

Definition at line 640 of file Layer.h.

◆ SetArn() [1/3]

void Aws::OpsWorks::Model::Layer::SetArn ( const Aws::String value)
inline

The Amazon Resource Number (ARN) of a layer.

Definition at line 61 of file Layer.h.

◆ SetArn() [2/3]

void Aws::OpsWorks::Model::Layer::SetArn ( Aws::String &&  value)
inline

The Amazon Resource Number (ARN) of a layer.

Definition at line 66 of file Layer.h.

◆ SetArn() [3/3]

void Aws::OpsWorks::Model::Layer::SetArn ( const char *  value)
inline

The Amazon Resource Number (ARN) of a layer.

Definition at line 71 of file Layer.h.

◆ SetAttributes() [1/2]

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

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.

Definition at line 309 of file Layer.h.

◆ SetAttributes() [2/2]

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

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.

Definition at line 318 of file Layer.h.

◆ SetAutoAssignElasticIps()

void Aws::OpsWorks::Model::Layer::SetAutoAssignElasticIps ( bool  value)
inline

Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.

Definition at line 780 of file Layer.h.

◆ SetAutoAssignPublicIps()

void Aws::OpsWorks::Model::Layer::SetAutoAssignPublicIps ( bool  value)
inline

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.

Definition at line 814 of file Layer.h.

◆ SetCloudWatchLogsConfiguration() [1/2]

void Aws::OpsWorks::Model::Layer::SetCloudWatchLogsConfiguration ( const CloudWatchLogsConfiguration value)
inline

The Amazon CloudWatch Logs configuration settings for the layer.

Definition at line 406 of file Layer.h.

◆ SetCloudWatchLogsConfiguration() [2/2]

void Aws::OpsWorks::Model::Layer::SetCloudWatchLogsConfiguration ( CloudWatchLogsConfiguration &&  value)
inline

The Amazon CloudWatch Logs configuration settings for the layer.

Definition at line 411 of file Layer.h.

◆ SetCreatedAt() [1/3]

void Aws::OpsWorks::Model::Layer::SetCreatedAt ( const Aws::String value)
inline

Date when the layer was created.

Definition at line 972 of file Layer.h.

◆ SetCreatedAt() [2/3]

void Aws::OpsWorks::Model::Layer::SetCreatedAt ( Aws::String &&  value)
inline

Date when the layer was created.

Definition at line 977 of file Layer.h.

◆ SetCreatedAt() [3/3]

void Aws::OpsWorks::Model::Layer::SetCreatedAt ( const char *  value)
inline

Date when the layer was created.

Definition at line 982 of file Layer.h.

◆ SetCustomInstanceProfileArn() [1/3]

void Aws::OpsWorks::Model::Layer::SetCustomInstanceProfileArn ( const Aws::String value)
inline

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.

Definition at line 446 of file Layer.h.

◆ SetCustomInstanceProfileArn() [2/3]

void Aws::OpsWorks::Model::Layer::SetCustomInstanceProfileArn ( Aws::String &&  value)
inline

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.

Definition at line 454 of file Layer.h.

◆ SetCustomInstanceProfileArn() [3/3]

void Aws::OpsWorks::Model::Layer::SetCustomInstanceProfileArn ( const char *  value)
inline

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.

Definition at line 462 of file Layer.h.

◆ SetCustomJson() [1/3]

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

A JSON formatted string containing the layer's custom stack configuration and deployment attributes.

Definition at line 505 of file Layer.h.

◆ SetCustomJson() [2/3]

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

A JSON formatted string containing the layer's custom stack configuration and deployment attributes.

Definition at line 511 of file Layer.h.

◆ SetCustomJson() [3/3]

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

A JSON formatted string containing the layer's custom stack configuration and deployment attributes.

Definition at line 517 of file Layer.h.

◆ SetCustomRecipes() [1/2]

void Aws::OpsWorks::Model::Layer::SetCustomRecipes ( const Recipes value)
inline

A LayerCustomRecipes object that specifies the layer's custom recipes.

Definition at line 938 of file Layer.h.

◆ SetCustomRecipes() [2/2]

void Aws::OpsWorks::Model::Layer::SetCustomRecipes ( Recipes &&  value)
inline

A LayerCustomRecipes object that specifies the layer's custom recipes.

Definition at line 944 of file Layer.h.

◆ SetCustomSecurityGroupIds() [1/2]

void Aws::OpsWorks::Model::Layer::SetCustomSecurityGroupIds ( const Aws::Vector< Aws::String > &  value)
inline

An array containing the layer's custom security group IDs.

Definition at line 551 of file Layer.h.

◆ SetCustomSecurityGroupIds() [2/2]

void Aws::OpsWorks::Model::Layer::SetCustomSecurityGroupIds ( Aws::Vector< Aws::String > &&  value)
inline

An array containing the layer's custom security group IDs.

Definition at line 556 of file Layer.h.

◆ SetDefaultRecipes() [1/2]

void Aws::OpsWorks::Model::Layer::SetDefaultRecipes ( const Recipes value)
inline

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.

Definition at line 871 of file Layer.h.

◆ SetDefaultRecipes() [2/2]

void Aws::OpsWorks::Model::Layer::SetDefaultRecipes ( Recipes &&  value)
inline

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.

Definition at line 887 of file Layer.h.

◆ SetDefaultSecurityGroupNames() [1/2]

void Aws::OpsWorks::Model::Layer::SetDefaultSecurityGroupNames ( const Aws::Vector< Aws::String > &  value)
inline

An array containing the layer's security group names.

Definition at line 597 of file Layer.h.

◆ SetDefaultSecurityGroupNames() [2/2]

void Aws::OpsWorks::Model::Layer::SetDefaultSecurityGroupNames ( Aws::Vector< Aws::String > &&  value)
inline

An array containing the layer's security group names.

Definition at line 602 of file Layer.h.

◆ SetEnableAutoHealing()

void Aws::OpsWorks::Model::Layer::SetEnableAutoHealing ( bool  value)
inline

Whether auto healing is disabled for the layer.

Definition at line 747 of file Layer.h.

◆ SetInstallUpdatesOnBoot()

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

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.

Definition at line 1034 of file Layer.h.

◆ SetLayerId() [1/3]

void Aws::OpsWorks::Model::Layer::SetLayerId ( const Aws::String value)
inline

The layer ID.

Definition at line 143 of file Layer.h.

◆ SetLayerId() [2/3]

void Aws::OpsWorks::Model::Layer::SetLayerId ( Aws::String &&  value)
inline

The layer ID.

Definition at line 148 of file Layer.h.

◆ SetLayerId() [3/3]

void Aws::OpsWorks::Model::Layer::SetLayerId ( const char *  value)
inline

The layer ID.

Definition at line 153 of file Layer.h.

◆ SetLifecycleEventConfiguration() [1/2]

void Aws::OpsWorks::Model::Layer::SetLifecycleEventConfiguration ( const LifecycleEventConfiguration value)
inline

A LifeCycleEventConfiguration object that specifies the Shutdown event configuration.

Definition at line 1086 of file Layer.h.

◆ SetLifecycleEventConfiguration() [2/2]

void Aws::OpsWorks::Model::Layer::SetLifecycleEventConfiguration ( LifecycleEventConfiguration &&  value)
inline

A LifeCycleEventConfiguration object that specifies the Shutdown event configuration.

Definition at line 1092 of file Layer.h.

◆ SetName() [1/3]

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

The layer name.

Definition at line 215 of file Layer.h.

◆ SetName() [2/3]

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

The layer name.

Definition at line 220 of file Layer.h.

◆ SetName() [3/3]

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

The layer name.

Definition at line 225 of file Layer.h.

◆ SetPackages() [1/2]

void Aws::OpsWorks::Model::Layer::SetPackages ( const Aws::Vector< Aws::String > &  value)
inline

An array of Package objects that describe the layer's packages.

Definition at line 646 of file Layer.h.

◆ SetPackages() [2/2]

void Aws::OpsWorks::Model::Layer::SetPackages ( Aws::Vector< Aws::String > &&  value)
inline

An array of Package objects that describe the layer's packages.

Definition at line 652 of file Layer.h.

◆ SetShortname() [1/3]

void Aws::OpsWorks::Model::Layer::SetShortname ( const Aws::String value)
inline

The layer short name.

Definition at line 256 of file Layer.h.

◆ SetShortname() [2/3]

void Aws::OpsWorks::Model::Layer::SetShortname ( Aws::String &&  value)
inline

The layer short name.

Definition at line 261 of file Layer.h.

◆ SetShortname() [3/3]

void Aws::OpsWorks::Model::Layer::SetShortname ( const char *  value)
inline

The layer short name.

Definition at line 266 of file Layer.h.

◆ SetStackId() [1/3]

void Aws::OpsWorks::Model::Layer::SetStackId ( const Aws::String value)
inline

The layer stack ID.

Definition at line 102 of file Layer.h.

◆ SetStackId() [2/3]

void Aws::OpsWorks::Model::Layer::SetStackId ( Aws::String &&  value)
inline

The layer stack ID.

Definition at line 107 of file Layer.h.

◆ SetStackId() [3/3]

void Aws::OpsWorks::Model::Layer::SetStackId ( const char *  value)
inline

The layer stack ID.

Definition at line 112 of file Layer.h.

◆ SetType() [1/2]

void Aws::OpsWorks::Model::Layer::SetType ( const LayerType value)
inline

The layer type.

Definition at line 184 of file Layer.h.

◆ SetType() [2/2]

void Aws::OpsWorks::Model::Layer::SetType ( LayerType &&  value)
inline

The layer type.

Definition at line 189 of file Layer.h.

◆ SetUseEbsOptimizedInstances()

void Aws::OpsWorks::Model::Layer::SetUseEbsOptimizedInstances ( bool  value)
inline

Whether the layer uses Amazon EBS-optimized instances.

Definition at line 1062 of file Layer.h.

◆ SetVolumeConfigurations() [1/2]

void Aws::OpsWorks::Model::Layer::SetVolumeConfigurations ( const Aws::Vector< VolumeConfiguration > &  value)
inline

A VolumeConfigurations object that describes the layer's Amazon EBS volumes.

Definition at line 701 of file Layer.h.

◆ SetVolumeConfigurations() [2/2]

void Aws::OpsWorks::Model::Layer::SetVolumeConfigurations ( Aws::Vector< VolumeConfiguration > &&  value)
inline

A VolumeConfigurations object that describes the layer's Amazon EBS volumes.

Definition at line 707 of file Layer.h.

◆ ShortnameHasBeenSet()

bool Aws::OpsWorks::Model::Layer::ShortnameHasBeenSet ( ) const
inline

The layer short name.

Definition at line 251 of file Layer.h.

◆ StackIdHasBeenSet()

bool Aws::OpsWorks::Model::Layer::StackIdHasBeenSet ( ) const
inline

The layer stack ID.

Definition at line 97 of file Layer.h.

◆ TypeHasBeenSet()

bool Aws::OpsWorks::Model::Layer::TypeHasBeenSet ( ) const
inline

The layer type.

Definition at line 179 of file Layer.h.

◆ UseEbsOptimizedInstancesHasBeenSet()

bool Aws::OpsWorks::Model::Layer::UseEbsOptimizedInstancesHasBeenSet ( ) const
inline

Whether the layer uses Amazon EBS-optimized instances.

Definition at line 1057 of file Layer.h.

◆ VolumeConfigurationsHasBeenSet()

bool Aws::OpsWorks::Model::Layer::VolumeConfigurationsHasBeenSet ( ) const
inline

A VolumeConfigurations object that describes the layer's Amazon EBS volumes.

Definition at line 695 of file Layer.h.

◆ WithArn() [1/3]

Layer& Aws::OpsWorks::Model::Layer::WithArn ( const Aws::String value)
inline

The Amazon Resource Number (ARN) of a layer.

Definition at line 76 of file Layer.h.

◆ WithArn() [2/3]

Layer& Aws::OpsWorks::Model::Layer::WithArn ( Aws::String &&  value)
inline

The Amazon Resource Number (ARN) of a layer.

Definition at line 81 of file Layer.h.

◆ WithArn() [3/3]

Layer& Aws::OpsWorks::Model::Layer::WithArn ( const char *  value)
inline

The Amazon Resource Number (ARN) of a layer.

Definition at line 86 of file Layer.h.

◆ WithAttributes() [1/2]

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

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.

Definition at line 327 of file Layer.h.

◆ WithAttributes() [2/2]

Layer& Aws::OpsWorks::Model::Layer::WithAttributes ( Aws::Map< LayerAttributesKeys, Aws::String > &&  value)
inline

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.

Definition at line 336 of file Layer.h.

◆ WithAutoAssignElasticIps()

Layer& Aws::OpsWorks::Model::Layer::WithAutoAssignElasticIps ( bool  value)
inline

Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.

Definition at line 789 of file Layer.h.

◆ WithAutoAssignPublicIps()

Layer& Aws::OpsWorks::Model::Layer::WithAutoAssignPublicIps ( bool  value)
inline

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.

Definition at line 822 of file Layer.h.

◆ WithCloudWatchLogsConfiguration() [1/2]

Layer& Aws::OpsWorks::Model::Layer::WithCloudWatchLogsConfiguration ( const CloudWatchLogsConfiguration value)
inline

The Amazon CloudWatch Logs configuration settings for the layer.

Definition at line 416 of file Layer.h.

◆ WithCloudWatchLogsConfiguration() [2/2]

Layer& Aws::OpsWorks::Model::Layer::WithCloudWatchLogsConfiguration ( CloudWatchLogsConfiguration &&  value)
inline

The Amazon CloudWatch Logs configuration settings for the layer.

Definition at line 421 of file Layer.h.

◆ WithCreatedAt() [1/3]

Layer& Aws::OpsWorks::Model::Layer::WithCreatedAt ( const Aws::String value)
inline

Date when the layer was created.

Definition at line 987 of file Layer.h.

◆ WithCreatedAt() [2/3]

Layer& Aws::OpsWorks::Model::Layer::WithCreatedAt ( Aws::String &&  value)
inline

Date when the layer was created.

Definition at line 992 of file Layer.h.

◆ WithCreatedAt() [3/3]

Layer& Aws::OpsWorks::Model::Layer::WithCreatedAt ( const char *  value)
inline

Date when the layer was created.

Definition at line 997 of file Layer.h.

◆ WithCustomInstanceProfileArn() [1/3]

Layer& Aws::OpsWorks::Model::Layer::WithCustomInstanceProfileArn ( const Aws::String value)
inline

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.

Definition at line 470 of file Layer.h.

◆ WithCustomInstanceProfileArn() [2/3]

Layer& Aws::OpsWorks::Model::Layer::WithCustomInstanceProfileArn ( Aws::String &&  value)
inline

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.

Definition at line 478 of file Layer.h.

◆ WithCustomInstanceProfileArn() [3/3]

Layer& Aws::OpsWorks::Model::Layer::WithCustomInstanceProfileArn ( const char *  value)
inline

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.

Definition at line 486 of file Layer.h.

◆ WithCustomJson() [1/3]

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

A JSON formatted string containing the layer's custom stack configuration and deployment attributes.

Definition at line 523 of file Layer.h.

◆ WithCustomJson() [2/3]

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

A JSON formatted string containing the layer's custom stack configuration and deployment attributes.

Definition at line 529 of file Layer.h.

◆ WithCustomJson() [3/3]

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

A JSON formatted string containing the layer's custom stack configuration and deployment attributes.

Definition at line 535 of file Layer.h.

◆ WithCustomRecipes() [1/2]

Layer& Aws::OpsWorks::Model::Layer::WithCustomRecipes ( const Recipes value)
inline

A LayerCustomRecipes object that specifies the layer's custom recipes.

Definition at line 950 of file Layer.h.

◆ WithCustomRecipes() [2/2]

Layer& Aws::OpsWorks::Model::Layer::WithCustomRecipes ( Recipes &&  value)
inline

A LayerCustomRecipes object that specifies the layer's custom recipes.

Definition at line 956 of file Layer.h.

◆ WithCustomSecurityGroupIds() [1/2]

Layer& Aws::OpsWorks::Model::Layer::WithCustomSecurityGroupIds ( const Aws::Vector< Aws::String > &  value)
inline

An array containing the layer's custom security group IDs.

Definition at line 561 of file Layer.h.

◆ WithCustomSecurityGroupIds() [2/2]

Layer& Aws::OpsWorks::Model::Layer::WithCustomSecurityGroupIds ( Aws::Vector< Aws::String > &&  value)
inline

An array containing the layer's custom security group IDs.

Definition at line 566 of file Layer.h.

◆ WithDefaultRecipes() [1/2]

Layer& Aws::OpsWorks::Model::Layer::WithDefaultRecipes ( const Recipes value)
inline

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.

Definition at line 903 of file Layer.h.

◆ WithDefaultRecipes() [2/2]

Layer& Aws::OpsWorks::Model::Layer::WithDefaultRecipes ( Recipes &&  value)
inline

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.

Definition at line 919 of file Layer.h.

◆ WithDefaultSecurityGroupNames() [1/2]

Layer& Aws::OpsWorks::Model::Layer::WithDefaultSecurityGroupNames ( const Aws::Vector< Aws::String > &  value)
inline

An array containing the layer's security group names.

Definition at line 607 of file Layer.h.

◆ WithDefaultSecurityGroupNames() [2/2]

Layer& Aws::OpsWorks::Model::Layer::WithDefaultSecurityGroupNames ( Aws::Vector< Aws::String > &&  value)
inline

An array containing the layer's security group names.

Definition at line 612 of file Layer.h.

◆ WithEnableAutoHealing()

Layer& Aws::OpsWorks::Model::Layer::WithEnableAutoHealing ( bool  value)
inline

Whether auto healing is disabled for the layer.

Definition at line 752 of file Layer.h.

◆ WithInstallUpdatesOnBoot()

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

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.

Definition at line 1046 of file Layer.h.

◆ WithLayerId() [1/3]

Layer& Aws::OpsWorks::Model::Layer::WithLayerId ( const Aws::String value)
inline

The layer ID.

Definition at line 158 of file Layer.h.

◆ WithLayerId() [2/3]

Layer& Aws::OpsWorks::Model::Layer::WithLayerId ( Aws::String &&  value)
inline

The layer ID.

Definition at line 163 of file Layer.h.

◆ WithLayerId() [3/3]

Layer& Aws::OpsWorks::Model::Layer::WithLayerId ( const char *  value)
inline

The layer ID.

Definition at line 168 of file Layer.h.

◆ WithLifecycleEventConfiguration() [1/2]

Layer& Aws::OpsWorks::Model::Layer::WithLifecycleEventConfiguration ( const LifecycleEventConfiguration value)
inline

A LifeCycleEventConfiguration object that specifies the Shutdown event configuration.

Definition at line 1098 of file Layer.h.

◆ WithLifecycleEventConfiguration() [2/2]

Layer& Aws::OpsWorks::Model::Layer::WithLifecycleEventConfiguration ( LifecycleEventConfiguration &&  value)
inline

A LifeCycleEventConfiguration object that specifies the Shutdown event configuration.

Definition at line 1104 of file Layer.h.

◆ WithName() [1/3]

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

The layer name.

Definition at line 230 of file Layer.h.

◆ WithName() [2/3]

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

The layer name.

Definition at line 235 of file Layer.h.

◆ WithName() [3/3]

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

The layer name.

Definition at line 240 of file Layer.h.

◆ WithPackages() [1/2]

Layer& Aws::OpsWorks::Model::Layer::WithPackages ( const Aws::Vector< Aws::String > &  value)
inline

An array of Package objects that describe the layer's packages.

Definition at line 658 of file Layer.h.

◆ WithPackages() [2/2]

Layer& Aws::OpsWorks::Model::Layer::WithPackages ( Aws::Vector< Aws::String > &&  value)
inline

An array of Package objects that describe the layer's packages.

Definition at line 664 of file Layer.h.

◆ WithShortname() [1/3]

Layer& Aws::OpsWorks::Model::Layer::WithShortname ( const Aws::String value)
inline

The layer short name.

Definition at line 271 of file Layer.h.

◆ WithShortname() [2/3]

Layer& Aws::OpsWorks::Model::Layer::WithShortname ( Aws::String &&  value)
inline

The layer short name.

Definition at line 276 of file Layer.h.

◆ WithShortname() [3/3]

Layer& Aws::OpsWorks::Model::Layer::WithShortname ( const char *  value)
inline

The layer short name.

Definition at line 281 of file Layer.h.

◆ WithStackId() [1/3]

Layer& Aws::OpsWorks::Model::Layer::WithStackId ( const Aws::String value)
inline

The layer stack ID.

Definition at line 117 of file Layer.h.

◆ WithStackId() [2/3]

Layer& Aws::OpsWorks::Model::Layer::WithStackId ( Aws::String &&  value)
inline

The layer stack ID.

Definition at line 122 of file Layer.h.

◆ WithStackId() [3/3]

Layer& Aws::OpsWorks::Model::Layer::WithStackId ( const char *  value)
inline

The layer stack ID.

Definition at line 127 of file Layer.h.

◆ WithType() [1/2]

Layer& Aws::OpsWorks::Model::Layer::WithType ( const LayerType value)
inline

The layer type.

Definition at line 194 of file Layer.h.

◆ WithType() [2/2]

Layer& Aws::OpsWorks::Model::Layer::WithType ( LayerType &&  value)
inline

The layer type.

Definition at line 199 of file Layer.h.

◆ WithUseEbsOptimizedInstances()

Layer& Aws::OpsWorks::Model::Layer::WithUseEbsOptimizedInstances ( bool  value)
inline

Whether the layer uses Amazon EBS-optimized instances.

Definition at line 1067 of file Layer.h.

◆ WithVolumeConfigurations() [1/2]

Layer& Aws::OpsWorks::Model::Layer::WithVolumeConfigurations ( const Aws::Vector< VolumeConfiguration > &  value)
inline

A VolumeConfigurations object that describes the layer's Amazon EBS volumes.

Definition at line 713 of file Layer.h.

◆ WithVolumeConfigurations() [2/2]

Layer& Aws::OpsWorks::Model::Layer::WithVolumeConfigurations ( Aws::Vector< VolumeConfiguration > &&  value)
inline

A VolumeConfigurations object that describes the layer's Amazon EBS volumes.

Definition at line 719 of file Layer.h.


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