Submit
Path:
~
/
/
lib
/
python2.7
/
site-packages
/
euca2ools
/
commands
/
cloudformation
/
File Content:
liststackresources.py
# Copyright 2014 Eucalyptus Systems, Inc. # # Redistribution and use of this software in source and binary forms, # with or without modification, are permitted provided that the following # conditions are met: # # Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. from requestbuilder import Arg from euca2ools.commands.cloudformation import CloudFormationRequest class ListStackResources(CloudFormationRequest): DESCRIPTION = 'List all resources for a stack' ARGS = [Arg('StackName', metavar='STACK', help='name of the stack to list resources from (required)')] LIST_TAGS = ['StackResourceSummaries'] def print_result(self, result): for resource in result['StackResourceSummaries']: self.print_resource(resource)
Submit
FILE
FOLDER
Name
Size
Permission
Action
__init__.py
4169 bytes
0644
__init__.pyc
4634 bytes
0644
__init__.pyo
4634 bytes
0644
argtypes.py
2195 bytes
0644
argtypes.pyc
1090 bytes
0644
argtypes.pyo
1090 bytes
0644
cancelupdatestack.py
1704 bytes
0644
cancelupdatestack.pyc
816 bytes
0644
cancelupdatestack.pyo
816 bytes
0644
continueupdaterollback.py
2513 bytes
0644
continueupdaterollback.pyc
1761 bytes
0644
continueupdaterollback.pyo
1761 bytes
0644
createstack.py
3920 bytes
0644
createstack.pyc
3053 bytes
0644
createstack.pyo
3053 bytes
0644
deletestack.py
1773 bytes
0644
deletestack.pyc
862 bytes
0644
deletestack.pyo
862 bytes
0644
describestackevents.py
1829 bytes
0644
describestackevents.pyc
1105 bytes
0644
describestackevents.pyo
1105 bytes
0644
describestackresource.py
1955 bytes
0644
describestackresource.pyc
1238 bytes
0644
describestackresource.pyo
1238 bytes
0644
describestackresources.py
2226 bytes
0644
describestackresources.pyc
1455 bytes
0644
describestackresources.pyo
1455 bytes
0644
describestacks.py
2347 bytes
0644
describestacks.pyc
1537 bytes
0644
describestacks.pyo
1537 bytes
0644
gettemplate.py
1880 bytes
0644
gettemplate.pyc
1062 bytes
0644
gettemplate.pyo
1062 bytes
0644
gettemplatesummary.py
3287 bytes
0644
gettemplatesummary.pyc
2213 bytes
0644
gettemplatesummary.pyo
2213 bytes
0644
liststackresources.py
1847 bytes
0644
liststackresources.pyc
1106 bytes
0644
liststackresources.pyo
1106 bytes
0644
liststacks.py
1652 bytes
0644
liststacks.pyc
852 bytes
0644
liststacks.pyo
852 bytes
0644
updatestack.py
3795 bytes
0644
updatestack.pyc
3062 bytes
0644
updatestack.pyo
3062 bytes
0644
validatetemplate.py
2627 bytes
0644
validatetemplate.pyc
1673 bytes
0644
validatetemplate.pyo
1673 bytes
0644
N4ST4R_ID | Naxtarrr