Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Import alias Import alias identifier TryExcept body Import alias Import alias Import alias Import alias identifier Import alias identifier Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr AttributeLoad NameLoad attr Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Import alias identifier FunctionDef arguments args defaults body Expr Str If UnaryOpNot NameLoad body Return TupleLoad NameLoad Str Expr Call SubscriptLoad NameLoad Index Str NameLoad Str keyword Str keyword NameLoad Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Str Call SubscriptLoad NameLoad Index Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad NameLoad If NameLoad body Return NameLoad orelse Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad NameLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num orelse Return Dict Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str For NameStore NameLoad body If CompareEq NameLoad Str body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign SubscriptStore NameLoad Index Str ListLoad For NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Call NameLoad ListLoad TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign SubscriptStore NameLoad Index Str Dict For NameStore NameLoad body Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr Call NameLoad ListLoad TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str Call NameLoad AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str NameLoad TupleLoad Str AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad If NameLoad body For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If UnaryOpNot NameLoad body Return TupleLoad NameLoad Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad If NameLoad body For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Return TupleLoad NameLoad Call AttributeLoad Str attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Return TupleLoad NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot NameLoad NameLoad CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Return TupleLoad NameLoad Str handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If NameLoad body For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword Call AttributeLoad NameLoad attr Str NameLoad keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd CompareIn Str NameLoad Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str NameLoad If BoolOpAnd CompareIn Str NameLoad Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareIn Str NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad NameLoad If NameLoad body Return NameLoad orelse Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad For NameStore NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad If CompareNotEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Return NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad body Continue If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad body Continue Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Return ListComp ListComp Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str comprehension NameStore NameLoad comprehension NameStore NameLoad orelse Return ListComp Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str comprehension NameStore NameLoad Call NameLoad NameLoad NameLoad Return ListComp Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str comprehension NameStore NameLoad decorator_list
N/A N/A 
Connection module for Amazon Autoscale Groups

.. versionadded:: 2014.7.0

:configuration: This module accepts explicit autoscale credentials but can also
    utilize IAM roles assigned to the instance trough Instance Profiles.
    Dynamic credentials are then automatically obtained from AWS API and no
    further configuration is necessary. More Information available at:

    .. code-block:: text

        http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html

    If IAM roles are not used you need to specify them either in a pillar or
    in the minion's config file:

    .. code-block:: yaml

        asg.keyid: GKTADJGHEIQSXMKKRBJ08H
        asg.key: askdjghsdfjkghWupUjasdflkdfklgjsdfjajkghs

    A region may also be specified in the configuration:

    .. code-block:: yaml

        asg.region: us-east-1

    If a region is not specified, the default is us-east-1.

    It's also possible to specify key, keyid and region via a profile, either
    as a passed in dict, or as a string to pull from pillars or minion config:

    .. code-block:: yaml

        myprofile:
            keyid: GKTADJGHEIQSXMKKRBJ08H
            key: askdjghsdfjkghWupUjasdflkdfklgjsdfjajkghs
            region: us-east-1

:depends: boto
 __future__ absolute_import N/A datetime N/A logging N/A json N/A sys N/A email.mime.multipart N/A log N/A N/A logging getLogger __name__ N/A DATE_FORMAT %Y-%m-%dT%H:%M:%SZ N/A yaml N/A salt.ext.six six N/A N/A N/A boto N/A boto.ec2 N/A boto.ec2.instance N/A boto.ec2.blockdevicemapping blockdevicemapping N/A boto.ec2.autoscale autoscale N/A N/A N/A N/A N/A logging getLogger boto setLevel N/A logging CRITICAL N/A HAS_BOTO True N/A N/A N/A ImportError N/A N/A HAS_BOTO False N/A salt.utils.odict odict __virtual__ N/A N/A N/A N/A N/A 
    Only load if boto libraries exist.
     N/A N/A HAS_BOTO N/A N/A N/A False The boto_asg module could not be loaded: boto libraries not found N/A N/A N/A __utils__ N/A boto.assign_funcs __name__ asg module ec2.autoscale pack __salt__ N/A N/A setattr N/A N/A sys modules N/A __name__ _get_ec2_conn N/A N/A __utils__ N/A boto.get_connection_func ec2 N/A True N/A exists N/A N/A name region key keyid profile N/A None None None None N/A N/A 
    Check to see if an autoscale group exists.

    CLI example::

        salt myminion boto_asg.exists myasg region=us-east-1
     N/A conn N/A _get_conn region region key key keyid keyid profile profile N/A N/A N/A _conn N/A N/A conn get_all_groups names N/A name N/A _conn N/A N/A True N/A N/A msg N/A N/A The autoscale group does not exist in region {0} format region N/A N/A N/A log debug msg N/A False N/A N/A N/A N/A N/A boto exception BotoServerError N/A e N/A N/A N/A N/A log debug e N/A False N/A get_config N/A N/A name region key keyid profile N/A None None None None N/A N/A 
    Get the configuration for an autoscale group.

    CLI example::

        salt myminion boto_asg.get_config myasg region=us-east-1
     N/A conn N/A _get_conn region region key key keyid keyid profile profile N/A N/A N/A asg N/A N/A conn get_all_groups names N/A name N/A asg N/A N/A asg N/A asg N/A 0 N/A N/A N/A N/A ret N/A N/A odict OrderedDict N/A attrs N/A name availability_zones default_cooldown desired_capacity health_check_period health_check_type launch_config_name load_balancers max_size min_size placement_group vpc_zone_identifier tags termination_policies suspended_processes N/A attr attrs N/A N/A N/A attr tags N/A N/A _tags N/A N/A tag N/A asg tags N/A N/A _tag N/A N/A odict OrderedDict N/A N/A _tag N/A key N/A tag key N/A N/A _tag N/A value N/A tag value N/A N/A _tag N/A propagate_at_launch N/A tag propagate_at_launch N/A N/A N/A _tags append _tag N/A N/A ret N/A tags _tags N/A N/A N/A attr vpc_zone_identifier N/A N/A N/A ret N/A attr N/A N/A N/A getattr asg attr split , N/A N/A N/A attr suspended_processes N/A N/A suspended_processes N/A getattr asg attr N/A N/A ret N/A attr N/A sorted N/A N/A x process_name N/A x suspended_processes N/A N/A N/A ret N/A attr N/A getattr asg attr N/A policies N/A N/A conn get_all_policies as_group name N/A N/A ret N/A scaling_policies N/A N/A policy policies N/A N/A N/A N/A N/A ret N/A scaling_policies append N/A dict N/A N/A name N/A policy name N/A adjustment_type N/A policy adjustment_type N/A scaling_adjustment N/A policy scaling_adjustment N/A min_adjustment_step N/A policy min_adjustment_step N/A cooldown N/A policy cooldown N/A actions N/A N/A conn get_all_scheduled_actions as_group name N/A N/A ret N/A scheduled_actions N/A N/A action actions N/A N/A end_time None N/A N/A action end_time N/A N/A end_time N/A N/A N/A action end_time isoformat N/A N/A N/A ret N/A scheduled_actions N/A N/A action name N/A dict N/A N/A min_size N/A action min_size N/A max_size N/A action max_size N/A desired_capacity N/A int N/A action desired_capacity N/A start_time N/A N/A N/A action start_time isoformat N/A end_time end_time N/A recurrence N/A action recurrence N/A ret N/A N/A N/A N/A N/A boto exception BotoServerError N/A e N/A N/A N/A N/A log debug e N/A N/A N/A create N/A N/A name launch_config_name availability_zones min_size max_size desired_capacity load_balancers default_cooldown health_check_type health_check_period placement_group vpc_zone_identifier tags termination_policies suspended_processes scaling_policies scheduled_actions region notification_arn notification_types key keyid profile N/A None None None None None None None None None None None None None None None None None None N/A N/A 
    Create an autoscale group.

    CLI example::

        salt myminion boto_asg.create myasg mylc '["us-east-1a", "us-east-1e"]' 1 10 load_balancers='["myelb", "myelb2"]' tags='[{"key": "Name", value="myasg", "propagate_at_launch": True}]'
     N/A conn N/A _get_conn region region key key keyid keyid profile profile N/A N/A isinstance availability_zones N/A six string_types N/A N/A availability_zones N/A N/A json loads availability_zones N/A N/A isinstance load_balancers N/A six string_types N/A N/A load_balancers N/A N/A json loads load_balancers N/A N/A isinstance vpc_zone_identifier N/A six string_types N/A N/A vpc_zone_identifier N/A N/A json loads vpc_zone_identifier N/A N/A isinstance tags N/A six string_types N/A N/A tags N/A N/A json loads tags N/A _tags N/A N/A tags N/A N/A tag tags N/A N/A N/A N/A key N/A N/A tag get key N/A N/A N/A KeyError N/A N/A N/A N/A log error Tag missing key. N/A False N/A N/A N/A value N/A N/A tag get value N/A N/A N/A KeyError N/A N/A N/A N/A log error Tag missing value. N/A False N/A propagate_at_launch N/A N/A tag get propagate_at_launch False N/A _tag N/A N/A autoscale Tag key key value value resource_id name propagate_at_launch propagate_at_launch N/A N/A N/A _tags append _tag N/A N/A isinstance termination_policies N/A six string_types N/A N/A termination_policies N/A N/A json loads termination_policies N/A N/A isinstance suspended_processes N/A six string_types N/A N/A suspended_processes N/A N/A json loads suspended_processes N/A N/A isinstance scheduled_actions N/A six string_types N/A N/A scheduled_actions N/A N/A json loads scheduled_actions N/A N/A N/A _asg N/A N/A autoscale AutoScalingGroup name name launch_config launch_config_name availability_zones availability_zones min_size min_size max_size max_size desired_capacity desired_capacity load_balancers load_balancers default_cooldown default_cooldown health_check_type health_check_type health_check_period health_check_period placement_group placement_group tags _tags vpc_zone_identifier vpc_zone_identifier termination_policies termination_policies suspended_processes suspended_processes N/A N/A N/A conn create_auto_scaling_group _asg N/A N/A _create_scaling_policies conn name scaling_policies N/A N/A _create_scheduled_actions conn name scheduled_actions N/A N/A notification_arn notification_types N/A N/A N/A N/A conn put_notification_configuration _asg notification_arn notification_types N/A N/A N/A log info N/A N/A Created ASG {0} format name N/A True N/A N/A N/A N/A N/A boto exception BotoServerError N/A e N/A N/A N/A N/A log debug e N/A msg N/A N/A Failed to create ASG {0} format name N/A N/A N/A log error msg N/A False N/A update N/A N/A name launch_config_name availability_zones min_size max_size desired_capacity load_balancers default_cooldown health_check_type health_check_period placement_group vpc_zone_identifier tags termination_policies suspended_processes scaling_policies scheduled_actions notification_arn notification_types region key keyid profile N/A None None None None None None None None None None None None None None None None None None N/A N/A 
    Update an autoscale group.

    CLI example::

        salt myminion boto_asg.update myasg mylc '["us-east-1a", "us-east-1e"]' 1 10 load_balancers='["myelb", "myelb2"]' tags='[{"key": "Name", value="myasg", "propagate_at_launch": True}]'
     N/A conn N/A _get_conn region region key key keyid keyid profile profile N/A N/A conn N/A N/A N/A False failed to connect to AWS N/A N/A isinstance availability_zones N/A six string_types N/A N/A availability_zones N/A N/A json loads availability_zones N/A N/A isinstance load_balancers N/A six string_types N/A N/A load_balancers N/A N/A json loads load_balancers N/A N/A isinstance vpc_zone_identifier N/A six string_types N/A N/A vpc_zone_identifier N/A N/A json loads vpc_zone_identifier N/A N/A isinstance tags N/A six string_types N/A N/A tags N/A N/A json loads tags N/A _tags N/A N/A tags N/A N/A tag tags N/A N/A N/A N/A key N/A N/A tag get key N/A N/A N/A KeyError N/A N/A N/A N/A log error Tag missing key. N/A N/A False N/A N/A Tag {0} missing key format tag N/A N/A N/A value N/A N/A tag get value N/A N/A N/A KeyError N/A N/A N/A N/A log error Tag missing value. N/A N/A False N/A N/A Tag {0} missing value format tag N/A propagate_at_launch N/A N/A tag get propagate_at_launch False N/A _tag N/A N/A autoscale Tag key key value value resource_id name propagate_at_launch propagate_at_launch N/A N/A N/A _tags append _tag N/A N/A isinstance termination_policies N/A six string_types N/A N/A termination_policies N/A N/A json loads termination_policies N/A N/A isinstance suspended_processes N/A six string_types N/A N/A suspended_processes N/A N/A json loads suspended_processes N/A N/A isinstance scheduled_actions N/A six string_types N/A N/A scheduled_actions N/A N/A json loads scheduled_actions N/A N/A N/A _asg N/A N/A autoscale AutoScalingGroup connection conn name name launch_config launch_config_name availability_zones availability_zones min_size min_size max_size max_size desired_capacity desired_capacity load_balancers load_balancers default_cooldown default_cooldown health_check_type health_check_type health_check_period health_check_period placement_group placement_group tags _tags vpc_zone_identifier vpc_zone_identifier termination_policies termination_policies N/A N/A notification_arn notification_types N/A N/A N/A N/A conn put_notification_configuration _asg notification_arn notification_types N/A N/A N/A _asg update N/A _tags N/A N/A N/A N/A conn create_or_update_tags _tags N/A N/A N/A _asg resume_processes N/A N/A N/A suspended_processes None N/A N/A len suspended_processes 0 N/A N/A N/A N/A _asg suspend_processes suspended_processes N/A N/A N/A log info N/A N/A Updated ASG {0} format name N/A policy N/A N/A conn get_all_policies as_group name N/A N/A N/A N/A conn delete_policy N/A policy name autoscale_group name N/A N/A _create_scaling_policies conn name scaling_policies N/A scheduled_action N/A N/A conn get_all_scheduled_actions as_group name N/A N/A N/A N/A conn delete_scheduled_action N/A scheduled_action name autoscale_group name N/A N/A _create_scheduled_actions conn name scheduled_actions N/A N/A True N/A N/A N/A N/A N/A boto exception BotoServerError N/A e N/A N/A N/A N/A log debug e N/A msg N/A N/A Failed to update ASG {0} format name N/A N/A N/A log error msg N/A N/A False N/A str e N/A _create_scaling_policies N/A N/A conn as_name scaling_policies N/A N/A N/A helper function to create scaling policies N/A scaling_policies N/A N/A policy scaling_policies N/A N/A policy N/A N/A N/A autoscale policy ScalingPolicy name N/A policy N/A name as_name as_name adjustment_type N/A policy N/A adjustment_type scaling_adjustment N/A policy N/A scaling_adjustment min_adjustment_step N/A N/A policy get min_adjustment_step None cooldown N/A policy N/A cooldown N/A N/A N/A conn create_scaling_policy policy N/A _create_scheduled_actions N/A N/A conn as_name scheduled_actions N/A N/A N/A 
    Helper function to create scheduled actions
     N/A scheduled_actions N/A N/A N/A name action N/A N/A scheduled_actions iteritems N/A N/A N/A N/A start_time action N/A isinstance N/A action N/A start_time N/A six string_types N/A N/A N/A action N/A start_time N/A N/A N/A datetime datetime strptime N/A action N/A start_time DATE_FORMAT N/A N/A N/A end_time action N/A isinstance N/A action N/A end_time N/A six string_types N/A N/A N/A action N/A end_time N/A N/A N/A datetime datetime strptime N/A action N/A end_time DATE_FORMAT N/A N/A N/A conn create_scheduled_group_action as_name name desired_capacity N/A N/A action get desired_capacity min_size N/A N/A action get min_size max_size N/A N/A action get max_size start_time N/A N/A action get start_time end_time N/A N/A action get end_time recurrence N/A N/A action get recurrence N/A delete N/A N/A name force region key keyid profile N/A False None None None None N/A N/A 
    Delete an autoscale group.

    CLI example::

        salt myminion boto_asg.delete myasg region=us-east-1
     N/A conn N/A _get_conn region region key key keyid keyid profile profile N/A N/A N/A N/A N/A conn delete_auto_scaling_group name force N/A msg N/A N/A Deleted autoscale group {0}. format name N/A N/A N/A log info msg N/A True N/A N/A N/A N/A N/A boto exception BotoServerError N/A e N/A N/A N/A N/A log debug e N/A msg N/A N/A Failed to delete autoscale group {0} format name N/A N/A N/A log error msg N/A False N/A get_cloud_init_mime N/A N/A cloud_init N/A N/A N/A 
    Get a mime multipart encoded string from a cloud-init dict. Currently
    supports scripts and cloud-config.

    CLI Example:

    .. code-block:: bash

        salt myminion boto.get_cloud_init_mime <cloud init>
     N/A N/A isinstance cloud_init N/A six string_types N/A N/A cloud_init N/A N/A json loads cloud_init N/A _cloud_init N/A N/A N/A N/A email mime multipart MIMEMultipart N/A N/A boothooks cloud_init N/A N/A N/A script_name script N/A N/A six iteritems N/A cloud_init N/A boothooks N/A N/A _script N/A N/A N/A N/A email mime text MIMEText script cloud-boothook N/A N/A N/A _cloud_init attach _script N/A N/A scripts cloud_init N/A N/A N/A script_name script N/A N/A six iteritems N/A cloud_init N/A scripts N/A N/A _script N/A N/A N/A N/A email mime text MIMEText script x-shellscript N/A N/A N/A _cloud_init attach _script N/A N/A cloud-config cloud_init N/A N/A cloud_config N/A cloud_init N/A cloud-config N/A _cloud_config N/A N/A N/A N/A email mime text MIMEText N/A _safe_dump cloud_config cloud-config N/A N/A N/A _cloud_init attach _cloud_config N/A N/A N/A _cloud_init as_string N/A _safe_dump N/A N/A data N/A N/A ordered_dict_presenter N/A N/A dumper data N/A N/A N/A N/A N/A dumper represent_dict N/A N/A six iteritems data N/A N/A N/A N/A yaml add_representer N/A odict OrderedDict ordered_dict_presenter Dumper N/A N/A yaml dumper SafeDumper N/A N/A N/A yaml safe_dump data default_flow_style False N/A launch_configuration_exists N/A N/A name region key keyid profile N/A None None None None N/A N/A 
    Check for a launch configuration's existence.

    CLI example::

        salt myminion boto_asg.launch_configuration_exists mylc
     N/A conn N/A _get_conn region region key key keyid keyid profile profile N/A N/A N/A lc N/A N/A conn get_all_launch_configurations names N/A name N/A lc N/A N/A True N/A N/A msg N/A N/A The launch configuration does not exist in region {0} format region N/A N/A N/A log debug msg N/A False N/A N/A N/A N/A N/A boto exception BotoServerError N/A e N/A N/A N/A N/A log debug e N/A False N/A create_launch_configuration N/A N/A name image_id key_name security_groups user_data instance_type kernel_id ramdisk_id block_device_mappings instance_monitoring spot_price instance_profile_name ebs_optimized associate_public_ip_address volume_type delete_on_termination iops use_block_device_types region key keyid profile N/A None None None m1.small None None None False None None False None None True None False None None None None N/A N/A 
    Create a launch configuration.

    CLI example::

        salt myminion boto_asg.create_launch_configuration mylc image_id=ami-0b9c9f62 key_name='mykey' security_groups='["mygroup"]' instance_type='c3.2xlarge'
     N/A conn N/A _get_conn region region key key keyid keyid profile profile N/A N/A isinstance security_groups N/A six string_types N/A N/A security_groups N/A N/A json loads security_groups N/A N/A isinstance block_device_mappings N/A six string_types N/A N/A block_device_mappings N/A N/A json loads block_device_mappings N/A _bdms N/A N/A block_device_mappings N/A N/A _block_device_map N/A N/A blockdevicemapping BlockDeviceMapping N/A block_device_dict block_device_mappings N/A N/A N/A block_device attributes N/A N/A six iteritems block_device_dict N/A N/A _block_device N/A N/A blockdevicemapping EBSBlockDeviceType N/A N/A attribute value N/A N/A six iteritems attributes N/A N/A N/A setattr _block_device attribute value N/A N/A _block_device_map N/A block_device _block_device N/A _bdms N/A _block_device_map N/A lc N/A N/A autoscale LaunchConfiguration name name image_id image_id key_name key_name security_groups security_groups user_data user_data instance_type instance_type kernel_id kernel_id ramdisk_id ramdisk_id block_device_mappings _bdms instance_monitoring instance_monitoring spot_price spot_price instance_profile_name instance_profile_name ebs_optimized ebs_optimized associate_public_ip_address associate_public_ip_address volume_type volume_type delete_on_termination delete_on_termination iops iops use_block_device_types use_block_device_types N/A N/A N/A N/A N/A conn create_launch_configuration lc N/A N/A N/A log info N/A N/A Created LC {0} format name N/A True N/A N/A N/A N/A N/A boto exception BotoServerError N/A e N/A N/A N/A N/A log debug e N/A msg N/A N/A Failed to create LC {0} format name N/A N/A N/A log error msg N/A False N/A delete_launch_configuration N/A N/A name region key keyid profile N/A None None None None N/A N/A 
    Delete a launch configuration.

    CLI example::

        salt myminion boto_asg.delete_launch_configuration mylc
     N/A conn N/A _get_conn region region key key keyid keyid profile profile N/A N/A N/A N/A N/A conn delete_launch_configuration name N/A N/A N/A log info N/A N/A Deleted LC {0} format name N/A True N/A N/A N/A N/A N/A boto exception BotoServerError N/A e N/A N/A N/A N/A log debug e N/A msg N/A N/A Failed to delete LC {0} format name N/A N/A N/A log error msg N/A False N/A get_scaling_policy_arn N/A N/A as_group scaling_policy_name region key keyid profile N/A None None None None N/A N/A 
    Return the arn for a scaling policy in a specific autoscale group or None
    if not found. Mainly used as a helper method for boto_cloudwatch_alarm, for
    linking alarms to scaling policies.

    CLI Example::

        salt '*' boto_asg.get_scaling_policy_arn mygroup mypolicy
     N/A conn N/A _get_conn region region key key keyid keyid profile profile N/A policies N/A N/A conn get_all_policies as_group as_group N/A policy policies N/A N/A N/A N/A policy name scaling_policy_name N/A N/A N/A policy policy_arn N/A N/A N/A log error N/A N/A Could not convert: {0} format as_group N/A None N/A get_instances N/A N/A name lifecycle_state health_status attribute attributes region key keyid profile N/A InService Healthy private_ip_address None None None None None N/A N/A 
    return attribute of all instances in the named autoscale group.

    CLI example::

        salt-call boto_asg.get_instances my_autoscale_group_name

     N/A conn N/A _get_conn region region key key keyid keyid profile profile N/A ec2_conn N/A _get_ec2_conn region region key key keyid keyid profile profile N/A N/A N/A asgs N/A N/A conn get_all_groups names N/A name N/A N/A N/A N/A N/A boto exception BotoServerError N/A e N/A N/A N/A N/A log debug e N/A False N/A N/A N/A len asgs 1 N/A N/A N/A N/A log debug N/A N/A name '{0}' returns multiple ASGs: {1} format name N/A N/A asg name N/A asg asgs N/A False N/A asg N/A asgs N/A 0 N/A instance_ids N/A N/A i N/A asg instances N/A N/A N/A N/A lifecycle_state None N/A N/A i lifecycle_state lifecycle_state N/A N/A N/A N/A N/A health_status None N/A N/A i health_status health_status N/A N/A N/A N/A N/A instance_ids append N/A i instance_id N/A instances N/A N/A ec2_conn get_only_instances instance_ids instance_ids N/A attributes N/A N/A N/A N/A N/A N/A N/A getattr instance attr encode ascii N/A attr attributes N/A instance instances N/A N/A N/A N/A N/A N/A getattr instance attribute encode ascii N/A instance instances N/A getattr instance attribute N/A N/A N/A N/A N/A getattr instance attribute encode ascii N/A instance instances N/A