Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages

Manual Reference Pages  -  PAWS::OPSWORKS::CREATELAYER (3)

.ds Aq ’


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 method CreateLayer.

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 underlying object.


    Attributes => Paws::OpsWorks::LayerAttributes

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 cluster’s ARN.

    AutoAssignElasticIps => Bool

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

    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.

    CustomInstanceProfileArn => Str

The ARN of an IAM profile to be used for the layer’s EC2 instances. For more information about IAM ARNs, see Using Identifiers.

    CustomJson => Str

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.

    CustomRecipes => Paws::OpsWorks::Recipes

A LayerCustomRecipes object that specifies the layer custom recipes.

    CustomSecurityGroupIds => ArrayRef[Str]

An array containing the layer custom security group IDs.

    EnableAutoHealing => Bool

Whether to disable auto healing for the layer.

    InstallUpdatesOnBoot => Bool

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.

    LifecycleEventConfiguration => Paws::OpsWorks::LifecycleEventConfiguration

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.

REQUIRED Name => Str

The layer name, which is used by the console.

    Packages => ArrayRef[Str]

An array of Package objects that describes the layer packages.

REQUIRED Shortname => Str

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.

REQUIRED StackId => Str

The layer stack ID.

REQUIRED Type => Str

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.

    UseEbsOptimizedInstances => Bool

Whether to use Amazon EBS-optimized instances.

    VolumeConfigurations => ArrayRef[Paws::OpsWorks::VolumeConfiguration]

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


This class forms part of Paws, documenting arguments for method CreateLayer in Paws::OpsWorks


The source code is located here:

Please report bugs to:

Search for    or go to Top of page |  Section 3 |  Main Index

perl v5.20.3 PAWS::OPSWORKS::CREATELAYER (3) 2015-08-06

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.