Class: Layer

OpsWorks.Layer

new Layer()

Properties:
Name Type Description
Attributes Map Required: No. One or more user-defined key-value pairs to be added to the stack attributes bag.Update requires: No interruption
AutoAssignElasticIps Boolean Required: Yes. Whether to automatically assign an Elastic IP address to Amazon EC2 instances in this layer.Update requires: No interruption
AutoAssignPublicIps Boolean Required: Yes. For AWS OpsWorks stacks that are running in a VPC, whether to automatically assign a public IP address to Amazon EC2 instances in this layer.Update requires: No interruption
CustomInstanceProfileArn String Required: No. The Amazon Resource Name (ARN) of an IAM instance profile that is to be used for the Amazon EC2 instances in this layer.Update requires: No interruption
CustomRecipes AWSOpsWorksRecipesType Required: No. Custom event recipes for this layer.Update requires: No interruption
CustomSecurityGroupIds String Required: No. Custom security group IDs for this layer.Update requires: No interruption
EnableAutoHealing Boolean Required: Yes. Whether to automatically heal Amazon EC2 instances that have become disconnected or timed out.Update requires: No interruption
InstallUpdatesOnBoot Boolean Required: No. Whether to install operating system and package updates when the instance boots.Update requires: No interruption
LifecycleEventConfiguration AWSOpsWorksLayerLifeCycleConfiguration Required: No. The lifecycle events for the AWS OpsWorks layer.Update requires: No interruption
LoadBasedAutoScaling AWSOpsWorksLoadBasedAutoScalingType Required: No. The load-based scaling configuration for the AWS OpsWorks layer.Update requires: No interruption
Name String Required: Yes. The AWS OpsWorks layer name.Update requires: No interruption
Packages String Required: No. The packages for this layer.Update requires: No interruption
Shortname String Required: Yes. The layer 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. The name can have a maximum of 200 characters, which are limited to the alphanumeric characters, '-', '_', and '.'.ImportantIf you update a property that requires the layer to be replaced, you must specify a new short name. You cannot have multiple layers with the same short name.Update requires: No interruption
StackId String Required: Yes. The ID of the AWS OpsWorks stack that this layer will be associated with.Update requires: Replacement
Type String Required: Yes. The layer type. A stack cannot have more than one layer of the same type, except for the custom type. You can have any number of custom types. For more information, see CreateLayer in the AWS OpsWorks API Reference.ImportantIf you update a property that requires the layer to be replaced, you must specify a new type unless you have a custom type. You can have any number of custom types.Update requires: Replacement
VolumeConfigurations AWSOpsWorksVolumeConfigurationType Required: No. Describes the Amazon EBS volumes for this layer.Update requires: Replacement
Source:

Extends

  • WKResource

OpsWorks.Layer

new Layer()

Properties:
Name Type Description
Attributes Map Required: No. One or more user-defined key-value pairs to be added to the stack attributes bag.Update requires: No interruption
AutoAssignElasticIps Boolean Required: Yes. Whether to automatically assign an Elastic IP address to Amazon EC2 instances in this layer.Update requires: No interruption
AutoAssignPublicIps Boolean Required: Yes. For AWS OpsWorks stacks that are running in a VPC, whether to automatically assign a public IP address to Amazon EC2 instances in this layer.Update requires: No interruption
CustomInstanceProfileArn String Required: No. The Amazon Resource Name (ARN) of an IAM instance profile that is to be used for the Amazon EC2 instances in this layer.Update requires: No interruption
CustomRecipes AWSOpsWorksRecipesType Required: No. Custom event recipes for this layer.Update requires: No interruption
CustomSecurityGroupIds String Required: No. Custom security group IDs for this layer.Update requires: No interruption
EnableAutoHealing Boolean Required: Yes. Whether to automatically heal Amazon EC2 instances that have become disconnected or timed out.Update requires: No interruption
InstallUpdatesOnBoot Boolean Required: No. Whether to install operating system and package updates when the instance boots.Update requires: No interruption
LifecycleEventConfiguration AWSOpsWorksLayerLifeCycleConfiguration Required: No. The lifecycle events for the AWS OpsWorks layer.Update requires: No interruption
LoadBasedAutoScaling AWSOpsWorksLoadBasedAutoScalingType Required: No. The load-based scaling configuration for the AWS OpsWorks layer.Update requires: No interruption
Name String Required: Yes. The AWS OpsWorks layer name.Update requires: No interruption
Packages String Required: No. The packages for this layer.Update requires: No interruption
Shortname String Required: Yes. The layer 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. The name can have a maximum of 200 characters, which are limited to the alphanumeric characters, '-', '_', and '.'.ImportantIf you update a property that requires the layer to be replaced, you must specify a new short name. You cannot have multiple layers with the same short name.Update requires: No interruption
StackId String Required: Yes. The ID of the AWS OpsWorks stack that this layer will be associated with.Update requires: Replacement
Type String Required: Yes. The layer type. A stack cannot have more than one layer of the same type, except for the custom type. You can have any number of custom types. For more information, see CreateLayer in the AWS OpsWorks API Reference.ImportantIf you update a property that requires the layer to be replaced, you must specify a new type unless you have a custom type. You can have any number of custom types.Update requires: Replacement
VolumeConfigurations AWSOpsWorksVolumeConfigurationType Required: No. Describes the Amazon EBS volumes for this layer.Update requires: Replacement
Source:

Extends

  • WKResource