Свойство | Тип | Описание | |
---|---|---|---|
$distributionId | string | The identifier for the distribution | |
$domainName | string | The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net. | |
$inProgressInvalidationBatches | string | The number of invalidation batches currently in progress for this distribution Valid Values: 0 | 1 | 2 | 3 | |
$lastModifiedTime | DateTime | The date and time the distribution was last modified. | |
$status | string | Valid Values: Deployed | InProgress |
Свойство | Тип | Описание | |
---|---|---|---|
$_externalKeys | array | List of external identifier names. | |
$_properties | array | List of the public properties which is managed by magic getter and setters internally. |
Метод | Описание | |
---|---|---|
delete ( string $eTag = null ) : boolean | DELETE Distribution Config action | |
refresh ( ) : |
GET Distribution action | |
refreshConfig ( ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | GET Distribution Config action | |
setConfig ( Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string $config, string $eTag ) : |
PUT Distribution Config action |
Метод | Описание | |
---|---|---|
throwExceptionIfNotInitialized ( ) |
public refresh ( ) : |
||
Результат |
public refreshConfig ( ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | ||
Результат | Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData |
public setConfig ( Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string $config, string $eTag ) : |
||
$config | Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string | Config for distribution. It accepts object or xml document. |
$eTag | string | ETag that is retrieved from getDistributionConfig request. |
Результат | Returns DistributionData object. |
protected array $_externalKeys | ||
Результат | array |
protected array $_properties | ||
Результат | array |
public string $distributionId | ||
Результат | string |
public string $domainName | ||
Результат | string |
public string $inProgressInvalidationBatches | ||
Результат | string |
public DateTime $lastModifiedTime | ||
Результат | DateTime |
public string $status | ||
Результат | string |