{eac}Doojigger Simple AWS Extension for WordPress

{eac}Doojigger Simple AWS Extension for WordPress Install Statistics

-11
0%
Today: 0 Yesterday: 11 All-time: 296 downloads
{eac}Doojigger Simple AWS Extension for WordPress Icon

Try plugin: {eac}Doojigger Simple AWS Extension for WordPress

We'll create fresh WordPress site with {eac}Doojigger Simple AWS Extension for WordPress installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About {eac}Doojigger Simple AWS Extension for WordPress

{eac}SimpleAWS includes and enables use of the Amazon Web Services (AWS) PHP Software Development Kit (SDK).

0


0


0


0


0

updated: 4 months ago
since: 4 months ago

Description

Once enabled, AWS services are easily accessable from other plugins, extensions and custom functions.

From the settings page, you can enter your AWS Region and your IAM account credentials to access AWS programmatically.

Please review:
+ Policies and permissions in IAM
+ Managing access keys for IAM users

Available Methods:

getAwsRegion() returns your selected region

getAwsAccessKey() returns your access key

getAwsAccessSecret() returns your access secret

getAwsCredentials() returns a 'credentials' array with your key and secret

getAwsClientParams() returns an AWS client instantiation array

getAwsEndpoints() returns a (large) array of all AWS endpoint parameters

getAwsRegions() returns an array of all regions (name=>description)

setAwsVersion() override default ('latest') version

setAwsRegion() override set region

setAwsEndPoint() override default endpoint

Available Filters:

SimpleAWS_version returns the AWS version string

SimpleAWS_region returns your selected region

SimpleAWS_access_key returns your access key

SimpleAWS_access_secret returns your access secret

SimpleAWS_credentials returns a 'credentials' array with your key and secret

SimpleAWS_client_params returns an AWS client instantiation array

SimpleAWS_endpoints returns a (large) array of all AWS endpoint parameters

SimpleAWS_regions returns an array of all regions (name=>description)

Examples:

$cloudFront = new Aws\CloudFront\CloudFrontClient([
    'version'       => 'latest',
    'region'        => apply_filters('SimpleAWS_region',''),
    'credentials'   => [
        'key'       => apply_filters('SimpleAWS_access_key',''),
        'secret'    => apply_filters('SimpleAWS_access_secret','')
    ]
]);

if ($aws = $this->getExtension('Simple_AWS')) {
    $cloudFront = new Aws\CloudFront\CloudFrontClient([
        'version'       => 'latest',
        'region'        => $aws->getAwsRegion(),
        'credentials'   => $aws->getAwsCredentials(),
    ]);
}

if ($aws = eacDoojigger()->getExtension('Simple_AWS')) {
    $cloudFront = new Aws\CloudFront\CloudFrontClient([
        'version'       => $aws->getAwsVersion(),
        'region'        => $aws->getAwsRegion(),
        'credentials'   => $aws->getAwsCredentials(),
    ]);
}

if ($aws = $this->getExtension('Simple_AWS')) {
    $cloudFront = new Aws\CloudFront\CloudFrontClient(
        $aws->getAwsClientParams()
    );
}

if ($aws = eacDoojigger()->getExtension('Simple_AWS')) {
    $cloudFront = new Aws\CloudFront\CloudFrontClient(
        $aws->getAwsClientParams()
    );
}

Additional Information

  • {eac}SimpleAWS is an extension plugin to and requires installation and registration of {eac}Doojigger.

Copyright

Copyright © 2023, EarthAsylum Consulting, distributed under the terms of the GNU GPL.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should receive a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.