PHP 클래스 Scalr\Service\Aws\Rds\DataType\CreateDBClusterRequestData

저자: N.V.
상속: extends Scalr\Service\Aws\Rds\AbstractRdsDataType
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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 ( 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