Issues

ZF-8238: Move Protected EC2 Information out of Zend_Service_Amazon_Abstract to Z_S_A_Ec2_Abstract

Issue Type: Bug Created: 2009-11-05T18:04:17.000+0000 Last Updated: 2010-11-29T00:00:20.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Jon Whitcraft (sidhighwind) Assignee: Jon Whitcraft (sidhighwind) Tags: - Zend_Service_Amazon_Ec2

Related issues: - ZF-8241

Attachments:

Description

move the following from the base amazon abstract class to the ec2 abstract class

<pre class="highlight">
    /**
     * @var string Amazon Region
     */
    protected static $_defaultRegion = null;

    /**
     * An array that contains all the valid Amazon Ec2 Regions.
     *
     * @var array
     */
    protected static $_validEc2Regions = array('eu-west-1', 'us-east-1');

    /**
     * Method to fetch the AWS Region
     *
     * @return string
     */
    protected function _getRegion()
    {
        return (!empty($this->_region)) ? $this->_region . '.' : '';
    }

Comments

Posted by Jon Whitcraft (sidhighwind) on 2009-11-09T14:52:15.000+0000

We are moving the region code from the main amazon abstract class so this needs to happen as well.

Posted by Ramon Henrique Ornelas (ramon) on 2010-11-29T00:00:18.000+0000

Fixed r18913.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts