irap/route53-wrapper

一个简化与AWS Route53协同工作的包

0.1.0 2018-02-28 13:36 UTC

This package is auto-updated.

Last update: 2024-09-24 02:29:02 UTC


README

这是一个简化与Route53服务协同工作的包。

此包封装的原始请求的AWS文档

安装

composer require irap/route53-wrapper

示例用法

# include packagist's autoloader
require_once(__DIR__ . '/vendor/autoload.php');


# Create the route53 client for interfacing with route53
$region = \iRAP\Route53Wrapper\Objects\AwsRegion::create_EU_W1();
$route53Client = new \iRAP\Route53Wrapper\Route53Client('myAwsKey', 'myAwsSecretKey', $region);

# Get our zones...
$hostedZones = $route53Client->getHostedZones();