import { Value } from '../../cloudformation/Value';
import { RecipesProps } from './layer/RecipesProps';
import { LifecycleEventConfigurationProps } from './layer/LifecycleEventConfigurationProps';
import { LoadBasedAutoScalingProps } from './layer/LoadBasedAutoScalingProps';
import { Tag } from '../Tag';
import { VolumeConfigurationProps } from './layer/VolumeConfigurationProps';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Creates a layer. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-create.html">How to Create a Layer</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html">the AWS Docs</a>
*/
export type Layer = AwsResource<'AWS::OpsWorks::Layer', LayerProperties>;
export declare function layer(layerProps: LayerProperties): Layer;
/**
  Creates a layer. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-create.html">How to Create a Layer</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html">the AWS Docs</a>
*/
export interface LayerProperties {
    /** <code>Attributes</code>  <a name="cfn-opsworks-layer-attributes"></a>
  One or more user-defined key-value pairs to be added to the stack attributes.<br />
  To create a cluster layer, set the <code>EcsClusterArn</code> attribute to the cluster’s ARN.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    attributes?: Value<{
        [key: string]: Value<string>;
    }>;
    /** <code>AutoAssignElasticIps</code>  <a name="cfn-opsworks-layer-autoassignelasticips"></a>
  Whether to automatically assign an <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP address</a> to the layer’s instances. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html">How to Edit a Layer</a>.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    autoAssignElasticIps: Value<boolean>;
    /** <code>AutoAssignPublicIps</code>  <a name="cfn-opsworks-layer-autoassignpublicips"></a>
  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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html">How to Edit a Layer</a>.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    autoAssignPublicIps: Value<boolean>;
    /** <code>CustomInstanceProfileArn</code>  <a name="cfn-opsworks-layer-custominstanceprofilearn"></a>
  The ARN of an IAM profile to be used for the layer’s EC2 instances. For more information about IAM ARNs, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">Using Identifiers</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    customInstanceProfileArn?: Value<string>;
    /** <code>CustomJson</code>  <a name="cfn-opsworks-layer-customjson"></a>
  A JSON-formatted string containing custom stack configuration and deployment attributes to be installed on the layer’s instances. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-json-override.html"> Using Custom JSON</a>. This feature is supported as of version 1.7.42 of the AWS CLI.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    customJson?: Value<any>;
    /** <code>CustomRecipes</code>  <a name="cfn-opsworks-layer-customrecipes"></a>
  A <code>LayerCustomRecipes</code> object that specifies the layer custom recipes.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    customRecipes?: RecipesProps;
    /** <code>CustomSecurityGroupIds</code>  <a name="cfn-opsworks-layer-customsecuritygroupids"></a>
  An array containing the layer custom security group IDs.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    customSecurityGroupIds?: Value<Value<string>[]>;
    /** <code>EnableAutoHealing</code>  <a name="cfn-opsworks-layer-enableautohealing"></a>
  Whether to disable auto healing for the layer.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    enableAutoHealing: Value<boolean>;
    /** <code>InstallUpdatesOnBoot</code>  <a name="cfn-opsworks-layer-installupdatesonboot"></a>
  Whether to install operating system and package updates when the instance boots. The default value is <code>true</code>. To control when updates are installed, set this value to <code>false</code>. You must then update your instances manually by using <a href="https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeployment">CreateDeployment</a> to run the <code>update_dependencies</code> stack command or by manually running <code>yum</code> (Amazon Linux) or <code>apt-get</code> (Ubuntu) on the instances.<br />
  To ensure that your instances have the latest security updates, we strongly recommend using the default value of <code>true</code>.
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    installUpdatesOnBoot?: Value<boolean>;
    /** <code>LifecycleEventConfiguration</code>  <a name="cfn-opsworks-layer-lifecycleeventconfiguration"></a>
  A <code>LifeCycleEventConfiguration</code> object that you can use to configure the Shutdown event to specify an execution timeout and enable or disable Elastic Load Balancer connection draining.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    lifecycleEventConfiguration?: LifecycleEventConfigurationProps;
    /** <code>LoadBasedAutoScaling</code>  <a name="cfn-opsworks-layer-loadbasedautoscaling"></a>
  The load-based scaling configuration for the AWS OpsWorks layer.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    loadBasedAutoScaling?: LoadBasedAutoScalingProps;
    /** <code>Name</code>  <a name="cfn-opsworks-layer-name"></a>
  The layer name, which is used by the console. Layer names can be a maximum of 32 characters.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    name: Value<string>;
    /** <code>Packages</code>  <a name="cfn-opsworks-layer-packages"></a>
  An array of <code>Package</code> objects that describes the layer packages.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    packages?: Value<Value<string>[]>;
    /** <code>Shortname</code>  <a name="cfn-opsworks-layer-shortname"></a>
  For custom layers only, use this parameter to specify the layer’s short name, which is used internally by AWS OpsWorks Stacks and by Chef recipes. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 32 characters, which are limited to the alphanumeric characters, ‘-’, ‘_’, and ‘.’.<br />
  Built-in layer short names are defined by AWS OpsWorks Stacks. For more information, see the <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/layers.html">Layer Reference</a>.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    shortname: Value<string>;
    /** <code>StackId</code>  <a name="cfn-opsworks-layer-stackid"></a>
  The layer stack ID.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    stackId: Value<string>;
    /** <code>Tags</code>  <a name="cfn-opsworks-layer-tags"></a>
  Specifies one or more sets of tags (key–value pairs) to associate with this AWS OpsWorks layer. Use tags to manage your resources.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    tags?: Tag[];
    /** <code>Type</code>  <a name="cfn-opsworks-layer-type"></a>
  The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. Built-in layers are not available in Chef 12 stacks.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>aws-flow-ruby | custom | db-master | ecs-cluster | java-app | lb | memcached | monitoring-master | nodejs-app | php-app | rails-app | web</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    type: Value<'aws-flow-ruby' | 'custom' | 'db-master' | 'ecs-cluster' | 'java-app' | 'lb' | 'memcached' | 'monitoring-master' | 'nodejs-app' | 'php-app' | 'rails-app' | 'web'>;
    /** <code>UseEbsOptimizedInstances</code>  <a name="cfn-opsworks-layer-useebsoptimizedinstances"></a>
  Whether to use Amazon EBS-optimized instances.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    useEbsOptimizedInstances?: Value<boolean>;
    /** <code>VolumeConfigurations</code>  <a name="cfn-opsworks-layer-volumeconfigurations"></a>
  A <code>VolumeConfigurations</code> object that describes the layer’s Amazon EBS volumes.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    volumeConfigurations?: VolumeConfigurationProps[];
}
