PHP Класс Scalr\Service\Aws\Rds\DataType\CreateDBClusterRequestData

Автор: N.V.
Наследование: extends Scalr\Service\Aws\Rds\AbstractRdsDataType
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$backupRetentionPeriod integer Constraints: Must be a value from 0 to 8 Cannot be set to 0 if the DB Instance is a master instance with read replicas Default: 1
$characterSetName string For supported engines, indicates that the DB Cluster should be associated with the specified CharacterSet.
$dBClusterIdentifier string This is the unique key that identifies a DB Cluster
$dBClusterParameterGroupName string Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens
$dBSubnetGroupName string If there is no DB Subnet Group, then it is a non-VPC DB instance.
$databaseName string Constraints: Must contain 1 to 64 alphanumeric characters Cannot be a word reserved by the specified database engine
$engine string Provides the name of the database engine to be used for this DB Cluster.
$engineVersion string MySQL Example: 5.1.42
$kmsKeyId string The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same AWS account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KM encryption key. If the StorageEncrypted parameter is true, and you do not specify a value for the KmsKeyId parameter, then Amazon RDS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region.
$masterUserPassword string Constraints: Must contain from 8 to 41 alphanumeric characters.
$masterUsername string Constraints: Must be 1 to 16 alphanumeric characters. First character must be a letter. Cannot be a reserved word for the chosen database engine.
$optionGroupName string Indicates that the DB Cluster should be associated with the specified option group.
$port integer Default: 3306 Valid Values: 1150-65535
$preferredBackupWindow string Default: A 30-minute window selected at random from an 8-hour block of time per region. The following list shows the time blocks for each region from which the default backup windows are assigned. US-East (Northern Virginia) Region: 03:00-11:00 UTC US-West (Northern California) Region: 06:00-14:00 UTC EU (Ireland) Region: 22:00-06:00 UTC Asia Pacific (Singapore) Region: 14:00-22:00 UTC Asia Pacific (Tokyo) Region: 17:00-03:00 UTC Constraints: Must be in the format hh24:mi-hh24:mi. Times should be Universal Time Coordinated (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes.
$preferredMaintenanceWindow string Format: ddd:hh24:mi-ddd:hh24:mi Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. The following list shows the time blocks for each region from which the default maintenance windows are assigned. US-East (Northern Virginia) Region: 03:00-11:00 UTC US-West (Northern California) Region: 06:00-14:00 UTC EU (Ireland) Region: 22:00-06:00 UTC Asia Pacific (Singapore) Region: 14:00-22:00 UTC Asia Pacific (Tokyo) Region: 17:00-03:00 UTC Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
$storageEncrypted boolean Specifies whether the DB cluster is encrypted.

Защищенные свойства (Protected)

Свойство Тип Описание
$_properties array List of the public properties which is managed by magic getter and setters internally.

Открытые методы

Метод Описание
__construct ( string $dBClusterIdentifier, string $engine, string $masterUsername, string $masterUserPassword ) Constructor
setAvailabilityZones ( ListDataType | array | string $availabilityZones = null ) : Scalr\Service\Aws\Rds\DataType\CreateDBInstanceRequestData Sets AvailabilityZones list
setTags ( Scalr\Service\Aws\Rds\DataType\TagsList | array | string $tags = null ) : Scalr\Service\Aws\Rds\DataType\CreateDBInstanceRequestData Sets Tags list
setVpcSecurityGroupIds ( ListDataType | array | string $vpcSecurityGroupIds = null ) : Scalr\Service\Aws\Rds\DataType\CreateDBInstanceRequestData Sets VpcSecurityGroupIds list

Описание методов

__construct() публичный Метод

Constructor
public __construct ( string $dBClusterIdentifier, string $engine, string $masterUsername, string $masterUserPassword )
$dBClusterIdentifier string A user-supplied cluster identifier
$engine string The name of the database engine to be used for this DB Cluster
$masterUsername string The master username for database instances in this cluster
$masterUserPassword string The password form database instances in this cluster

setAvailabilityZones() публичный Метод

Sets AvailabilityZones list
public setAvailabilityZones ( ListDataType | array | string $availabilityZones = null ) : Scalr\Service\Aws\Rds\DataType\CreateDBInstanceRequestData
$availabilityZones Scalr\Service\Aws\DataType\ListDataType | array | string A list of Availability Zones that instances in the DB Cluster is located in.
Результат Scalr\Service\Aws\Rds\DataType\CreateDBInstanceRequestData

setTags() публичный Метод

Sets Tags list
public setTags ( Scalr\Service\Aws\Rds\DataType\TagsList | array | string $tags = null ) : Scalr\Service\Aws\Rds\DataType\CreateDBInstanceRequestData
$tags Scalr\Service\Aws\Rds\DataType\TagsList | array | string A list of tags to associate with this DB Cluster.
Результат Scalr\Service\Aws\Rds\DataType\CreateDBInstanceRequestData

setVpcSecurityGroupIds() публичный Метод

Sets VpcSecurityGroupIds list
public setVpcSecurityGroupIds ( ListDataType | array | string $vpcSecurityGroupIds = null ) : Scalr\Service\Aws\Rds\DataType\CreateDBInstanceRequestData
$vpcSecurityGroupIds Scalr\Service\Aws\DataType\ListDataType | array | string A list of EC2 VPC Security Groups to associate with this DB Cluster.
Результат Scalr\Service\Aws\Rds\DataType\CreateDBInstanceRequestData

Описание свойств

$_properties защищенное свойство

List of the public properties which is managed by magic getter and setters internally.
protected array $_properties
Результат array

$backupRetentionPeriod публичное свойство

Constraints: Must be a value from 0 to 8 Cannot be set to 0 if the DB Instance is a master instance with read replicas Default: 1
public int $backupRetentionPeriod
Результат integer

$characterSetName публичное свойство

For supported engines, indicates that the DB Cluster should be associated with the specified CharacterSet.
public string $characterSetName
Результат string

$dBClusterIdentifier публичное свойство

This is the unique key that identifies a DB Cluster
public string $dBClusterIdentifier
Результат string

$dBClusterParameterGroupName публичное свойство

Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens
public string $dBClusterParameterGroupName
Результат string

$dBSubnetGroupName публичное свойство

If there is no DB Subnet Group, then it is a non-VPC DB instance.
public string $dBSubnetGroupName
Результат string

$databaseName публичное свойство

Constraints: Must contain 1 to 64 alphanumeric characters Cannot be a word reserved by the specified database engine
public string $databaseName
Результат string

$engine публичное свойство

Provides the name of the database engine to be used for this DB Cluster.
public string $engine
Результат string

$engineVersion публичное свойство

MySQL Example: 5.1.42
public string $engineVersion
Результат string

$kmsKeyId публичное свойство

The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same AWS account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KM encryption key. If the StorageEncrypted parameter is true, and you do not specify a value for the KmsKeyId parameter, then Amazon RDS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region.
public string $kmsKeyId
Результат string

$masterUserPassword публичное свойство

Constraints: Must contain from 8 to 41 alphanumeric characters.
public string $masterUserPassword
Результат string

$masterUsername публичное свойство

Constraints: Must be 1 to 16 alphanumeric characters. First character must be a letter. Cannot be a reserved word for the chosen database engine.
public string $masterUsername
Результат string

$optionGroupName публичное свойство

Indicates that the DB Cluster should be associated with the specified option group.
public string $optionGroupName
Результат string

$port публичное свойство

Default: 3306 Valid Values: 1150-65535
public int $port
Результат integer

$preferredBackupWindow публичное свойство

Default: A 30-minute window selected at random from an 8-hour block of time per region. The following list shows the time blocks for each region from which the default backup windows are assigned. US-East (Northern Virginia) Region: 03:00-11:00 UTC US-West (Northern California) Region: 06:00-14:00 UTC EU (Ireland) Region: 22:00-06:00 UTC Asia Pacific (Singapore) Region: 14:00-22:00 UTC Asia Pacific (Tokyo) Region: 17:00-03:00 UTC Constraints: Must be in the format hh24:mi-hh24:mi. Times should be Universal Time Coordinated (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes.
public string $preferredBackupWindow
Результат string

$preferredMaintenanceWindow публичное свойство

Format: ddd:hh24:mi-ddd:hh24:mi Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. The following list shows the time blocks for each region from which the default maintenance windows are assigned. US-East (Northern Virginia) Region: 03:00-11:00 UTC US-West (Northern California) Region: 06:00-14:00 UTC EU (Ireland) Region: 22:00-06:00 UTC Asia Pacific (Singapore) Region: 14:00-22:00 UTC Asia Pacific (Tokyo) Region: 17:00-03:00 UTC Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
public string $preferredMaintenanceWindow
Результат string

$storageEncrypted публичное свойство

Specifies whether the DB cluster is encrypted.
public bool $storageEncrypted
Результат boolean