Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Layer

import type { Layer } from "https://aws-api.deno.dev/v0.3/services/opsworks.ts?docs=full";

Describes a layer.

interface Layer {
Arn?: string | null;
Attributes?: [key in LayerAttributesKeys]: string | null | undefined | null;
AutoAssignElasticIps?: boolean | null;
AutoAssignPublicIps?: boolean | null;
CloudWatchLogsConfiguration?: CloudWatchLogsConfiguration | null;
CreatedAt?: string | null;
CustomInstanceProfileArn?: string | null;
CustomJson?: string | null;
CustomRecipes?: Recipes | null;
CustomSecurityGroupIds?: string[] | null;
DefaultRecipes?: Recipes | null;
DefaultSecurityGroupNames?: string[] | null;
EnableAutoHealing?: boolean | null;
InstallUpdatesOnBoot?: boolean | null;
LayerId?: string | null;
LifecycleEventConfiguration?: LifecycleEventConfiguration | null;
Name?: string | null;
Packages?: string[] | null;
Shortname?: string | null;
StackId?: string | null;
Type?: LayerType | null;
UseEbsOptimizedInstances?: boolean | null;
VolumeConfigurations?: VolumeConfiguration[] | null;
}

§Properties

§
Arn?: string | null
[src]

The Amazon Resource Number (ARN) of a layer.

§
Attributes?: [key in LayerAttributesKeys]: string | null | undefined | null
[src]

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?: boolean | null
[src]

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

§
AutoAssignPublicIps?: boolean | null
[src]

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?: CloudWatchLogsConfiguration | null
[src]

The Amazon CloudWatch Logs configuration settings for the layer.

§
CreatedAt?: string | null
[src]

Date when the layer was created.

§
CustomInstanceProfileArn?: string | null
[src]

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?: string | null
[src]

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

§
CustomRecipes?: Recipes | null
[src]

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

§
CustomSecurityGroupIds?: string[] | null
[src]

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

§
DefaultRecipes?: Recipes | null
[src]

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.

To specify a recipe, use the cookbook's directory name in the repository followed by two colons and the recipe name, which is the recipe's file name without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb recipe in the repository's phpapp2 folder.

§
DefaultSecurityGroupNames?: string[] | null
[src]

An array containing the layer's security group names.

§
EnableAutoHealing?: boolean | null
[src]

Whether auto healing is disabled for the layer.

§
InstallUpdatesOnBoot?: boolean | null
[src]

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.

Note: We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.

§
LayerId?: string | null
[src]

The layer ID.

§
LifecycleEventConfiguration?: LifecycleEventConfiguration | null
[src]

A LifeCycleEventConfiguration object that specifies the Shutdown event configuration.

§
Name?: string | null
[src]

The layer name.

§
Packages?: string[] | null
[src]

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

§
Shortname?: string | null
[src]

The layer short name.

§
StackId?: string | null
[src]

The layer stack ID.

§
Type?: LayerType | null
[src]

The layer type.

§
UseEbsOptimizedInstances?: boolean | null
[src]

Whether the layer uses Amazon EBS-optimized instances.

§
VolumeConfigurations?: VolumeConfiguration[] | null
[src]

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