ó ¡ôXc@s„ddlZddlZddlmZmZddlmZddlm Z m Z m Z ddl m Z de fd„ƒYZdS(iÿÿÿÿN(tArgtMutuallyExclusiveArgList(t ArgumentError(tdelimited_listtec2_block_device_mappingt flexible_bool(tAutoScalingRequesttCreateLaunchConfigurationcBs6eZdZedddddƒedddd dd d edd ƒed dddddd eddƒeddddeddddƒeddddddeddeƒddƒeddddd d!d"dd#ƒed$dd%dd&dedƒdd'ƒed(dd)dd*dd+ƒed,dd-dd.dd/ƒed0dd1dd2dd3ƒed4dd5dd d!d"dd6ƒed7dd5dd d!d8dd9ƒed:dd;dd<dd=ƒed>dd?dd@ddAƒeedBdCddDdEdNddFƒedGddDdEdNddHƒedIdJddKdEdNddLƒƒgZ dM„Z RS(Os7Create a new auto-scaling instance launch configurationtLaunchConfigurationNametmetavart LAUNCHCONFIGthelps/name of the new launch configuration (required)s-is --image-idtdesttImageIdtIMAGEtrequireds-machine image to use for instances (required)s-ts--instance-typet InstanceTypetTYPEs.instance type for use for instances (required)s--associate-public-ip-addresstAssociatePublicIpAddressttypes {true,false}sJ[VPC only] whether to assign instances public IP addressess--block-device-mappingsBlockDeviceMappings.members#DEVICE1=MAPPED1,DEVICE2=MAPPED2,...t,t item_typesÆa comma-separated list of block device mappings for the image, in the form DEVICE=MAPPED, where "MAPPED" is "none", "ephemeral(0-3)", or "[SNAP-ID]:[GiB]:[true|false]s--ebs-optimizedt EbsOptimizedtactiont store_consttconstttrues-whether the instance is optimized for EBS I/Os--groupsSecurityGroups.membersGROUP1,GROUP2,...s°a comma-separated list of security groups with which to associate instances. Either all group names or all group IDs are allowed, but not both.s--iam-instance-profiletIamInstanceProfiletPROFILEsPARN of the instance profile associated with instances' IAM roless--kerneltKernelIdtKERNELs!kernel image to use for instancess--keytKeyNametKEYPAIRs)name of the key pair to use for instancess--monitoring-enabledsInstanceMonitoring.Enableds/enable detailed monitoring (enabled by default)s--monitoring-disabledtfalses0disable detailed monitoring (enabled by default)s --ramdiskt RamdiskIdtRAMDISKs"ramdisk image to use for instancess --spot-pricet SpotPricetPRICEs4maximum hourly price for any spot instances launcheds-ds --user-datatDATAtroute_tos(user data to make available to instancess--user-data-forcesdsame as -d/--user-data, but without checking if a file by that name exists firsts-fs--user-data-filetFILEsLfile containing user data to make available to instancescCsêtj|ƒ|jjdƒrgtjj|jdƒrGtdƒ‚qætj |jdƒ|j ds