NAME

Paws::OpsWorks::UpdateLayer - Arguments for method UpdateLayer on Paws::OpsWorks

DESCRIPTION

This class represents the parameters used for calling the method UpdateLayer on the AWS OpsWorks service. Use the attributes of this class as arguments to method UpdateLayer.

You shouln't make instances of this class. Each attribute should be used as a named argument in the call to UpdateLayer.

As an example:

$service_obj->UpdateLayer(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

Attributes => Paws::OpsWorks::LayerAttributes

One or more user-defined key/value pairs to be added to the stack attributes.

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 all of the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

CustomRecipes => Paws::OpsWorks::Recipes

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

CustomSecurityGroupIds => ArrayRef[Str]

An array containing the layer's 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 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.

REQUIRED LayerId => Str

The layer ID.

LifecycleEventConfiguration => Paws::OpsWorks::LifecycleEventConfiguration

Name => Str

The layer name, which is used by the console.

Packages => ArrayRef[Str]

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

Shortname => Str

For custom layers only, use this parameter to specify the layer's short name, which is used internally by AWS OpsWorksand by Chef. 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 and must be in the following format: /\A[a-z0-9\-\_\.]+\Z/.

The built-in layers' short names are defined by AWS OpsWorks. For more information, see the Layer Reference

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.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateLayer 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