Paws::OpsWorks::CreateLayer - Arguments for method CreateLayer on Paws::OpsWorks
This class represents the parameters used for calling the method CreateLayer on
the AWS OpsWorks service. Use the attributes of this class as arguments to
You shouln't make instances of this class. Each attribute should be used as a
named argument in the call to CreateLayer.
As an example:
$service_obj->CreateLayer(Att1 => $value1, Att2 => $value2, ...);
Values for attributes that are native types (Int, String, Float, etc) can passed
as-is (scalar values). Values for complex Types (objects) can be passed as a
HashRef. The keys and values of the hashref will be used to instance the
One or more user-defined key-value pairs to be added to the stack attributes.
To create a cluster layer, set the "EcsClusterArn" attribute to the
Whether to automatically assign an Elastic IP address to the layer's instances.
For more information, see How to Edit a Layer.
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
The ARN of an IAM profile to be used for the layer's EC2 instances. For more
information about IAM ARNs, see Using Identifiers.
A JSON-formatted string containing custom stack configuration and deployment
attributes to be installed on the layer's instances. For more information, see
Using Custom JSON.
A "LayerCustomRecipes" object that specifies the layer custom recipes.
An array containing the layer custom security group IDs.
Whether to disable auto healing for the layer.
Whether to install operating system and package updates when the instance boots.
The default value is "true". To control when updates are installed,
set this value to "false". You must then update your instances
manually by using CreateDeployment to run the "update_dependencies"
stack command or by manually running "yum" (Amazon Linux) or
"apt-get" (Ubuntu) on the instances.
To ensure that your instances have the latest security updates, we strongly
recommend using the default value of "true".
A "LifeCycleEventConfiguration" object that you can use to configure
the Shutdown event to specify an execution timeout and enable or disable
Elastic Load Balancer connection draining.
The layer name, which is used by the console.
An array of "Package" objects that describes the layer packages.
For custom layers only, use this parameter to specify the layer's short name,
which is used internally by AWS OpsWorks and by Chef recipes. The short name
is also used as the name for the directory where your app files are installed.
It can have a maximum of 200 characters, which are limited to the alphanumeric
characters, '-', '_', and '.'.
The built-in layers' short names are defined by AWS OpsWorks. For more
information, see the Layer Reference.
The layer stack ID.
The layer type. A stack cannot have more than one built-in layer of the same
type. It can have any number of custom layers.
Whether to use Amazon EBS-optimized instances.
A "VolumeConfigurations" object that describes the layer's Amazon EBS
This class forms part of Paws, documenting arguments for method CreateLayer in
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