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(...);


Describes a layer.


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
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

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

CustomJson => Str

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

CustomRecipes => Paws::OpsWorks::Recipes

  A C<LayerCustomRecipes> object that specifies the layer's custom

CustomSecurityGroupIds => ArrayRef[Str|Undef]

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

DefaultRecipes => Paws::OpsWorks::Recipes

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 C<true>. If this value is set to
C<false>, you must then update your instances manually by using
CreateDeployment to run the C<update_dependencies> stack command or
manually running C<yum> (Amazon Linux) or C<apt-get> (Ubuntu) on the

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 C<LifeCycleEventConfiguration> object that specifies the Shutdown
event configuration.

Name => Str

  The layer name.

Packages => ArrayRef[Str|Undef]

  An array of C<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 C<VolumeConfigurations> object that describes the layer's Amazon EBS


This class forms part of Paws, describing an object used in Paws::OpsWorks


The source code is located here:

Please report bugs to: