프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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 ( |
Sets AvailabilityZones list | |
setTags ( Scalr\Service\Aws\Rds\DataType\TagsList | array | string $tags = null ) : Scalr\Service\Aws\Rds\DataType\CreateDBInstanceRequestData | Sets Tags list | |
setVpcSecurityGroupIds ( |
Sets VpcSecurityGroupIds list |
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 |
public setAvailabilityZones ( |
||
$availabilityZones | A list of Availability Zones that instances in the DB Cluster is located in. | |
리턴 | Scalr\Service\Aws\Rds\DataType\CreateDBInstanceRequestData |
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 |
public setVpcSecurityGroupIds ( |
||
$vpcSecurityGroupIds | A list of EC2 VPC Security Groups to associate with this DB Cluster. | |
리턴 | Scalr\Service\Aws\Rds\DataType\CreateDBInstanceRequestData |
protected array $_properties | ||
리턴 | array |
public int $backupRetentionPeriod | ||
리턴 | integer |
public string $characterSetName | ||
리턴 | string |
public string $dBClusterIdentifier | ||
리턴 | string |
public string $dBClusterParameterGroupName | ||
리턴 | string |
public string $dBSubnetGroupName | ||
리턴 | string |
public string $databaseName | ||
리턴 | string |
public string $engine | ||
리턴 | string |
public string $kmsKeyId | ||
리턴 | string |
public string $masterUserPassword | ||
리턴 | string |
public string $masterUsername | ||
리턴 | string |
public string $optionGroupName | ||
리턴 | string |
public string $preferredBackupWindow | ||
리턴 | string |
public string $preferredMaintenanceWindow | ||
리턴 | string |
public bool $storageEncrypted | ||
리턴 | boolean |