3 final class PhabricatorAWSConfigOptions
4 extends PhabricatorApplicationConfigOptions
{
6 public function getName() {
7 return pht('Amazon Web Services');
10 public function getDescription() {
11 return pht('Configure integration with AWS (EC2, SES, S3, etc).');
14 public function getIcon() {
18 public function getGroup() {
22 public function getOptions() {
24 $this->newOption('amazon-s3.access-key', 'string', null)
26 ->setDescription(pht('Access key for Amazon S3.')),
27 $this->newOption('amazon-s3.secret-key', 'string', null)
29 ->setDescription(pht('Secret key for Amazon S3.')),
30 $this->newOption('amazon-s3.region', 'string', null)
34 'Amazon S3 region where your S3 bucket is located. When you '.
35 'specify a region, you should also specify a corresponding '.
36 'endpoint with `amazon-s3.endpoint`. You can find a list of '.
37 'available regions and endpoints in the AWS documentation.'))
38 ->addExample('us-west-1', pht('USWest Region')),
39 $this->newOption('amazon-s3.endpoint', 'string', null)
43 'Explicit S3 endpoint to use. This should be the endpoint '.
44 'which corresponds to the region you have selected in '.
45 '`amazon-s3.region`. Phabricator can not determine the correct '.
46 'endpoint automatically because some endpoint locations are '.
49 's3-us-west-1.amazonaws.com',
50 pht('Use specific endpoint')),
51 $this->newOption('amazon-ec2.access-key', 'string', null)
53 ->setDescription(pht('Access key for Amazon EC2.')),
54 $this->newOption('amazon-ec2.secret-key', 'string', null)
56 ->setDescription(pht('Secret key for Amazon EC2.')),