Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/iam/createinstanceprofile.pyc
ó
ĦôXc @ sl d d l m Z m Z m Z d d l m Z d d l m Z d d l m Z m
Z
d e f d YZ d S( i˙˙˙˙( t
IAMRequestt
AS_ACCOUNTt arg_iprofile( t AddRoleToInstanceProfile( t
CreateRole( t Argt MutuallyExclusiveArgListt CreateInstanceProfilec B s° e Z d Z e d d e d d d d d d e e d d d d
d d d d e d
d d d d d d d d e d d d d d d d d e g Z d Z d Z
RS( s Create a new instance profilet helps+ name of the new instance profile (required)s -ps --patht destt Paths0 path for the new instance profile (default: "/")s -rs
--add-rolet rolet route_tos+ also add a role to the new instance profiles
--create-rolet create_rolet actiont
store_truese also create a role with the
same name and path and add it to the instance profiles -vs --verboses- print the new instance profile's ARN and GUIDc C s d } | j j d rq | j d } t j | d | d | j j d d d d | j j d } | j n"