This method ensures that aws instance is always from the
current environment scope.
public aws ( string | DBServer | DBFarmRole | DBEBSVolume $awsRegion = null, string $awsAccessKeyId = null, string $awsSecretAccessKey = null, string $certificate = null, string $privateKey = null ) : |
||
$awsRegion | string | DBServer | DBFarmRole | DBEBSVolume | optional The region or object which has both Scalr_Environment instance and cloud location itself |
$awsAccessKeyId | string | optional The AccessKeyId |
$awsSecretAccessKey | string | optional The SecretAccessKey |
$certificate | string | optional Contains x.509 certificate |
$privateKey | string | optional The private key for the certificate |
return | Returns Aws instance |