import { Value } from '../../cloudformation/Value';
import { MetadataOptionsProps } from './launchconfiguration/MetadataOptionsProps';
import { BlockDeviceMappingProps } from './launchconfiguration/BlockDeviceMappingProps';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::AutoScaling::LaunchConfiguration</code> resource specifies the launch configuration that can be used by an Auto Scaling group to configure Amazon EC2 instances.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html">the AWS Docs</a>
*/
export type LaunchConfiguration = AwsResource<'AWS::AutoScaling::LaunchConfiguration', LaunchConfigurationProperties>;
export declare function launchConfiguration(launchConfigurationProps: LaunchConfigurationProperties): LaunchConfiguration;
/**
  The <code>AWS::AutoScaling::LaunchConfiguration</code> resource specifies the launch configuration that can be used by an Auto Scaling group to configure Amazon EC2 instances.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html">the AWS Docs</a>
*/
export interface LaunchConfigurationProperties {
    /** <code>PlacementTenancy</code>  <a name="cfn-autoscaling-launchconfiguration-placementtenancy"></a>
  The tenancy of the instance, either <code>default</code> or <code>dedicated</code>. An instance with <code>dedicated</code> tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC. To launch dedicated instances into a shared tenancy VPC (a VPC with the instance placement tenancy attribute set to <code>default</code>), you must set the value of this property to <code>dedicated</code>. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html">Configuring instance tenancy with Amazon EC2 Auto Scaling</a> in the
  Amazon EC2 Auto Scaling User Guide: br />
  If you specify <code>PlacementTenancy</code>, you must specify at least one subnet for <code>VPCZoneIdentifier</code> when you create your group.<br />
  Valid values: <code>default</code> | <code>dedicated</code><br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    placementTenancy?: Value<string>;
    /** <code>SecurityGroups</code>  <a name="cfn-autoscaling-launchconfiguration-securitygroups"></a>
  A list that contains the security groups to assign to the instances in the Auto Scaling group. The list can contain both the IDs of existing security groups and references to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html">SecurityGroup</a> resources created in the template.<br />
  For more information, see <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html">Control traffic to resources using security groups</a> in the
  Amazon Virtual Private Cloud User Guide: br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    securityGroups?: Value<Value<string>[]>;
    /** <code>LaunchConfigurationName</code>  <a name="cfn-autoscaling-launchconfiguration-launchconfigurationname"></a>
  The name of the launch configuration. This name must be unique per Region per account.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>255</code><br />
  
  Pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</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> */
    launchConfigurationName?: Value<string>;
    /** <code>MetadataOptions</code>  <a name="cfn-autoscaling-launchconfiguration-metadataoptions"></a>
  The metadata options for the instances. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds">Configuring the Instance Metadata Options</a> in the
  Amazon EC2 Auto Scaling User Guide: br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    metadataOptions?: MetadataOptionsProps;
    /** <code>InstanceId</code>  <a name="cfn-autoscaling-launchconfiguration-instanceid"></a>
  The ID of the Amazon EC2 instance to use to create the launch configuration. When you use an instance to create a launch configuration, all properties are derived from the instance with the exception of <code>BlockDeviceMapping</code> and <code>AssociatePublicIpAddress</code>. You can override any properties from the instance by specifying them in the launch configuration.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    instanceId?: Value<string>;
    /** <code>UserData</code>  <a name="cfn-autoscaling-launchconfiguration-userdata"></a>
  The Base64-encoded user data to make available to the launched EC2 instances. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance metadata and user data</a> in the
  Amazon EC2 User Guide for Linux Instances: br />
  
  Required: No<br />
  
  Maximum: <code>21847</code><br />
  
  Pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</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> */
    userData?: Value<string>;
    /** <code>ClassicLinkVPCSecurityGroups</code>  <a name="cfn-autoscaling-launchconfiguration-classiclinkvpcsecuritygroups"></a>
  Available for backward compatibility.<br />
  
  Required: Conditional<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    classicLinkVPCSecurityGroups?: Value<Value<string>[]>;
    /** <code>BlockDeviceMappings</code>  <a name="cfn-autoscaling-launchconfiguration-blockdevicemappings"></a>
  The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html">Block device mappings</a> in the
  Amazon EC2 User Guide for Linux 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-replacement">Replacement</a> */
    blockDeviceMappings?: BlockDeviceMappingProps[];
    /** <code>IamInstanceProfile</code>  <a name="cfn-autoscaling-launchconfiguration-iaminstanceprofile"></a>
  The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html">IAM role for applications that run on Amazon EC2 instances</a> in the
  Amazon EC2 Auto Scaling User Guide: br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    iamInstanceProfile?: Value<string>;
    /** <code>KernelId</code>  <a name="cfn-autoscaling-launchconfiguration-kernelid"></a>
  The ID of the kernel associated with the AMI.<br />
  We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html">User provided kernels</a> in the
  Amazon EC2 User Guide for Linux Instances:
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    kernelId?: Value<string>;
    /** <code>AssociatePublicIpAddress</code>  <a name="cfn-autoscaling-launchconfiguration-associatepublicipaddress"></a>
  Specifies whether to assign a public IPv4 address to the group’s instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet.<br />
  If you specify <code>true</code>, each instance in the Auto Scaling group receives a unique public IPv4 address. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html">Launching Auto Scaling instances in a VPC</a> in the
  Amazon EC2 Auto Scaling User Guide: br />
  If you specify this property, you must specify at least one subnet for <code>VPCZoneIdentifier</code> when you create your group.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    associatePublicIpAddress?: Value<boolean>;
    /** <code>ClassicLinkVPCId</code>  <a name="cfn-autoscaling-launchconfiguration-classiclinkvpcid"></a>
  Available for backward compatibility.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    classicLinkVPCId?: Value<string>;
    /** <code>EbsOptimized</code>  <a name="cfn-autoscaling-launchconfiguration-ebsoptimized"></a>
  Specifies whether the launch configuration is optimized for EBS I/O (<code>true</code>) or not (<code>false</code>). The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html">Amazon EBS-optimized instances</a> in the
  Amazon EC2 User Guide for Linux Instances: br />
  The default value is <code>false</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    ebsOptimized?: Value<boolean>;
    /** <code>KeyName</code>  <a name="cfn-autoscaling-launchconfiguration-keyname"></a>
  The name of the key pair. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs and Linux instances</a> in the
  Amazon EC2 User Guide for Linux 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-replacement">Replacement</a> */
    keyName?: Value<string>;
    /** <code>SpotPrice</code>  <a name="cfn-autoscaling-launchconfiguration-spotprice"></a>
  The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-template-spot-instances.html">Request Spot Instances for fault-tolerant and flexible applications</a> in the
  Amazon EC2 Auto Scaling User Guide: br />
  Valid Range: Minimum value of 0.001<br />
  When you change your maximum price by creating a new launch configuration, running instances will continue to run as long as the maximum price for those running instances is higher than the current Spot price.
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    spotPrice?: Value<string>;
    /** <code>ImageId</code>  <a name="cfn-autoscaling-launchconfiguration-imageid"></a>
  The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html">Finding a Linux AMI</a> in the
  Amazon EC2 User Guide for Linux Instances: br />
  If you specify <code>InstanceId</code>, an <code>ImageId</code> is not required.<br />
  
  Required: Conditional<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    imageId: Value<string>;
    /** <code>InstanceType</code>  <a name="cfn-autoscaling-launchconfiguration-instancetype"></a>
  Specifies the instance type of the EC2 instance. For information about available instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes">Available instance types</a> in the
  Amazon EC2 User Guide for Linux Instances: br />
  If you specify <code>InstanceId</code>, an <code>InstanceType</code> is not required.<br />
  
  Required: Conditional<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    instanceType: Value<string>;
    /** <code>RamDiskId</code>  <a name="cfn-autoscaling-launchconfiguration-ramdiskid"></a>
  The ID of the RAM disk to select.<br />
  We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html">User provided kernels</a> in the
  Amazon EC2 User Guide for Linux Instances:
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    ramDiskId?: Value<string>;
    /** <code>InstanceMonitoring</code>  <a name="cfn-autoscaling-launchconfiguration-instancemonitoring"></a>
  Controls whether instances in this group are launched with detailed (<code>true</code>) or basic (<code>false</code>) monitoring.<br />
  The default value is <code>true</code> (enabled).<br />
  When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html">Configure Monitoring for Auto Scaling Instances</a> in the
  Amazon EC2 Auto Scaling User Guide:
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    instanceMonitoring?: Value<boolean>;
}
