NAME
Paws::OpsWorks::Layer
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::OpsWorks::Layer object:
$service_obj->Method(Att1 => { Arn => $value, ..., VolumeConfigurations => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::Layer object:
$result = $service_obj->Method(...);
$result->Att1->Arn
DESCRIPTION
Describes a layer.
ATTRIBUTES
Arn => Str
The Amazon Resource Number (ARN) of a layer.
Attributes => Paws::OpsWorks::LayerAttributes
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.
AutoAssignElasticIps => Bool
Whether to automatically assign an Elastic IP address (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) to the layer's instances. For more information, see How to Edit a Layer (https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
AutoAssignPublicIps => Bool
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 (https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
CloudWatchLogsConfiguration => Paws::OpsWorks::CloudWatchLogsConfiguration
The Amazon CloudWatch Logs configuration settings for the layer.
CreatedAt => Str
Date when the layer was created.
CustomInstanceProfileArn => Str
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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
CustomJson => Str
A JSON formatted string containing the layer's custom stack configuration and deployment attributes.
CustomRecipes => Paws::OpsWorks::Recipes
A LayerCustomRecipes
object that specifies the layer's custom recipes.
CustomSecurityGroupIds => ArrayRef[Str|Undef]
An array containing the layer's custom security group IDs.
DefaultRecipes => Paws::OpsWorks::Recipes
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.
DefaultSecurityGroupNames => ArrayRef[Str|Undef]
An array containing the layer's security group names.
EnableAutoHealing => Bool
Whether auto healing is disabled for the layer.
InstallUpdatesOnBoot => Bool
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.
LayerId => Str
The layer ID.
LifecycleEventConfiguration => Paws::OpsWorks::LifecycleEventConfiguration
A LifeCycleEventConfiguration
object that specifies the Shutdown event configuration.
Name => Str
The layer name.
Packages => ArrayRef[Str|Undef]
An array of Package
objects that describe the layer's packages.
Shortname => Str
The layer short name.
StackId => Str
The layer stack ID.
Type => Str
The layer type.
UseEbsOptimizedInstances => Bool
Whether the layer uses Amazon EBS-optimized instances.
VolumeConfigurations => ArrayRef[Paws::OpsWorks::VolumeConfiguration]
A VolumeConfigurations
object that describes the layer's Amazon EBS volumes.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::OpsWorks
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues