Layer class

Describes a layer.

Constructors

Layer({String? arn, Map<LayerAttributesKeys, String>? attributes, bool? autoAssignElasticIps, bool? autoAssignPublicIps, CloudWatchLogsConfiguration? cloudWatchLogsConfiguration, String? createdAt, String? customInstanceProfileArn, String? customJson, Recipes? customRecipes, List<String>? customSecurityGroupIds, Recipes? defaultRecipes, List<String>? defaultSecurityGroupNames, bool? enableAutoHealing, bool? installUpdatesOnBoot, String? layerId, LifecycleEventConfiguration? lifecycleEventConfiguration, String? name, List<String>? packages, String? shortname, String? stackId, LayerType? type, bool? useEbsOptimizedInstances, List<VolumeConfiguration>? volumeConfigurations})
Layer.fromJson(Map<String, dynamic> json)
factory

Properties

arn String?
The Amazon Resource Number (ARN) of a layer.
final
attributes Map<LayerAttributesKeys, String>?
The layer attributes.
final
autoAssignElasticIps bool?
Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.
final
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.
final
cloudWatchLogsConfiguration CloudWatchLogsConfiguration?
The Amazon CloudWatch Logs configuration settings for the layer.
final
createdAt String?
Date when the layer was created.
final
customInstanceProfileArn String?
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.
final
customJson String?
A JSON formatted string containing the layer's custom stack configuration and deployment attributes.
final
customRecipes Recipes?
A LayerCustomRecipes object that specifies the layer's custom recipes.
final
customSecurityGroupIds List<String>?
An array containing the layer's custom security group IDs.
final
defaultRecipes Recipes?
AWS OpsWorks Stacks supports five lifecycle events: setup, configuration, deploy, undeploy, and shutdown. For each layer, AWS OpsWorks Stacks runs a set of standard recipes for each event. You can also provide custom recipes for any or all layers and events. AWS OpsWorks Stacks runs custom event recipes after the standard recipes. LayerCustomRecipes specifies the custom recipes for a particular layer to be run in response to each of the five events.
final
defaultSecurityGroupNames List<String>?
An array containing the layer's security group names.
final
enableAutoHealing bool?
Whether auto healing is disabled for the layer.
final
hashCode int
The hash code for this object.
no setterinherited
installUpdatesOnBoot bool?
Whether to install operating system and package updates when the instance boots. The default value is true. If this value is set 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.
final
layerId String?
The layer ID.
final
lifecycleEventConfiguration LifecycleEventConfiguration?
A LifeCycleEventConfiguration object that specifies the Shutdown event configuration.
final
name String?
The layer name.
final
packages List<String>?
An array of Package objects that describe the layer's packages.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortname String?
The layer short name.
final
stackId String?
The layer stack ID.
final
type LayerType?
The layer type.
final
useEbsOptimizedInstances bool?
Whether the layer uses Amazon EBS-optimized instances.
final
volumeConfigurations List<VolumeConfiguration>?
A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited