![]() |
![]()
| ![]() |
![]()
NAMEPaws::Neptune::CreateDBInstance - Arguments for method CreateDBInstance on Paws::Neptune DESCRIPTIONThis class represents the parameters used for calling the method CreateDBInstance on the Amazon Neptune service. Use the attributes of this class as arguments to method CreateDBInstance. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDBInstance. SYNOPSISmy $rds = Paws->service('Neptune'); my $CreateDBInstanceResult = $rds->CreateDBInstance( DBInstanceClass => 'MyString', DBInstanceIdentifier => 'MyString', Engine => 'MyString', AllocatedStorage => 1, # OPTIONAL AutoMinorVersionUpgrade => 1, # OPTIONAL AvailabilityZone => 'MyString', # OPTIONAL BackupRetentionPeriod => 1, # OPTIONAL CharacterSetName => 'MyString', # OPTIONAL CopyTagsToSnapshot => 1, # OPTIONAL DBClusterIdentifier => 'MyString', # OPTIONAL DBName => 'MyString', # OPTIONAL DBParameterGroupName => 'MyString', # OPTIONAL DBSecurityGroups => [ 'MyString', ... ], # OPTIONAL DBSubnetGroupName => 'MyString', # OPTIONAL DeletionProtection => 1, # OPTIONAL Domain => 'MyString', # OPTIONAL DomainIAMRoleName => 'MyString', # OPTIONAL EnableCloudwatchLogsExports => [ 'MyString', ... ], # OPTIONAL EnableIAMDatabaseAuthentication => 1, # OPTIONAL EnablePerformanceInsights => 1, # OPTIONAL EngineVersion => 'MyString', # OPTIONAL Iops => 1, # OPTIONAL KmsKeyId => 'MyString', # OPTIONAL LicenseModel => 'MyString', # OPTIONAL MasterUserPassword => 'MyString', # OPTIONAL MasterUsername => 'MyString', # OPTIONAL MonitoringInterval => 1, # OPTIONAL MonitoringRoleArn => 'MyString', # OPTIONAL MultiAZ => 1, # OPTIONAL OptionGroupName => 'MyString', # OPTIONAL PerformanceInsightsKMSKeyId => 'MyString', # OPTIONAL Port => 1, # OPTIONAL PreferredBackupWindow => 'MyString', # OPTIONAL PreferredMaintenanceWindow => 'MyString', # OPTIONAL PromotionTier => 1, # OPTIONAL PubliclyAccessible => 1, # OPTIONAL StorageEncrypted => 1, # OPTIONAL StorageType => 'MyString', # OPTIONAL Tags => [ { Key => 'MyString', Value => 'MyString', }, ... ], # OPTIONAL TdeCredentialArn => 'MyString', # OPTIONAL TdeCredentialPassword => 'MyString', # OPTIONAL Timezone => 'MyString', # OPTIONAL VpcSecurityGroupIds => [ 'MyString', ... ], # OPTIONAL ); # Results: my $DBInstance = $CreateDBInstanceResult->DBInstance; # Returns a L<Paws::Neptune::CreateDBInstanceResult> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/rds/CreateDBInstance> ATTRIBUTESAllocatedStorage => IntNot supported by Neptune. AutoMinorVersionUpgrade => BoolIndicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. Default: "true" AvailabilityZone => StrThe EC2 Availability Zone that the DB instance is created in Default: A random, system-chosen Availability Zone in the endpoint's Amazon Region. Example: "us-east-1d" Constraint: The AvailabilityZone parameter can't be specified if the MultiAZ parameter is set to "true". The specified Availability Zone must be in the same Amazon Region as the current endpoint. BackupRetentionPeriod => IntThe number of days for which automated backups are retained. Not applicable. The retention period for automated backups is managed by the DB cluster. For more information, see CreateDBCluster. Default: 1 Constraints:
CharacterSetName => Str(Not supported by Neptune) CopyTagsToSnapshot => BoolTrue to copy all tags from the DB instance to snapshots of the DB instance, and otherwise false. The default is false. DBClusterIdentifier => StrThe identifier of the DB cluster that the instance will belong to. For information on creating a DB cluster, see CreateDBCluster. Type: String REQUIRED DBInstanceClass => StrThe compute and memory capacity of the DB instance, for example, "db.m4.large". Not all DB instance classes are available in all Amazon Regions. REQUIRED DBInstanceIdentifier => StrThe DB instance identifier. This parameter is stored as a lowercase string. Constraints:
Example: "mydbinstance" DBName => StrNot supported. DBParameterGroupName => StrThe name of the DB parameter group to associate with this DB instance. If this argument is omitted, the default DBParameterGroup for the specified engine is used. Constraints:
DBSecurityGroups => ArrayRef[Str|Undef]A list of DB security groups to associate with this DB instance. Default: The default DB security group for the database engine. DBSubnetGroupName => StrA DB subnet group to associate with this DB instance. If there is no DB subnet group, then it is a non-VPC DB instance. DeletionProtection => BoolA value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. See Deleting a DB Instance (https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-instances-delete.html). DB instances in a DB cluster can be deleted even when deletion protection is enabled in their parent DB cluster. Domain => StrSpecify the Active Directory Domain to create the instance in. DomainIAMRoleName => StrSpecify the name of the IAM role to be used when making API calls to the Directory Service. EnableCloudwatchLogsExports => ArrayRef[Str|Undef]The list of log types that need to be enabled for exporting to CloudWatch Logs. EnableIAMDatabaseAuthentication => BoolNot supported by Neptune (ignored). EnablePerformanceInsights => Bool(Not supported by Neptune) REQUIRED Engine => StrThe name of the database engine to be used for this instance. Valid Values: "neptune" EngineVersion => StrThe version number of the database engine to use. Currently, setting this parameter has no effect. Iops => IntThe amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance. KmsKeyId => StrThe Amazon KMS key identifier for an encrypted DB instance. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB instance with the same Amazon account that owns the KMS encryption key used to encrypt the new DB instance, then you can use the KMS key alias instead of the ARN for the KM encryption key. Not applicable. The KMS key identifier is managed by the DB cluster. For more information, see CreateDBCluster. If the "StorageEncrypted" parameter is true, and you do not specify a value for the "KmsKeyId" parameter, then Amazon Neptune will use your default encryption key. Amazon KMS creates the default encryption key for your Amazon account. Your Amazon account has a different default encryption key for each Amazon Region. LicenseModel => StrLicense model information for this DB instance. Valid values: "license-included" | "bring-your-own-license" | "general-public-license" MasterUsername => StrNot supported by Neptune. MasterUserPassword => StrNot supported by Neptune. MonitoringInterval => IntThe interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. If "MonitoringRoleArn" is specified, then you must also set "MonitoringInterval" to a value other than 0. Valid Values: "0, 1, 5, 10, 15, 30, 60" MonitoringRoleArn => StrThe ARN for the IAM role that permits Neptune to send enhanced monitoring metrics to Amazon CloudWatch Logs. For example, "arn:aws:iam:123456789012:role/emaccess". If "MonitoringInterval" is set to a value other than 0, then you must supply a "MonitoringRoleArn" value. MultiAZ => BoolSpecifies if the DB instance is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true. OptionGroupName => Str(Not supported by Neptune) PerformanceInsightsKMSKeyId => Str(Not supported by Neptune) Port => IntThe port number on which the database accepts connections. Not applicable. The port is managed by the DB cluster. For more information, see CreateDBCluster. Default: 8182 Type: Integer PreferredBackupWindow => StrThe daily time range during which automated backups are created. Not applicable. The daily time range for creating automated backups is managed by the DB cluster. For more information, see CreateDBCluster. PreferredMaintenanceWindow => StrThe time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: "ddd:hh24:mi-ddd:hh24:mi" The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week. Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. Constraints: Minimum 30-minute window. PromotionTier => IntA value that specifies the order in which an Read Replica is promoted to the primary instance after a failure of the existing primary instance. Default: 1 Valid Values: 0 - 15 PubliclyAccessible => BoolThis flag should no longer be used. StorageEncrypted => BoolSpecifies whether the DB instance is encrypted. Not applicable. The encryption for DB instances is managed by the DB cluster. For more information, see CreateDBCluster. Default: false StorageType => StrSpecifies the storage type to be associated with the DB instance. Not applicable. Storage is managed by the DB Cluster. Tags => ArrayRef[Paws::Neptune::Tag]The tags to assign to the new instance. TdeCredentialArn => StrThe ARN from the key store with which to associate the instance for TDE encryption. TdeCredentialPassword => StrThe password for the given ARN from the key store in order to access the device. Timezone => StrThe time zone of the DB instance. VpcSecurityGroupIds => ArrayRef[Str|Undef]A list of EC2 VPC security groups to associate with this DB instance. Not applicable. The associated list of EC2 VPC security groups is managed by the DB cluster. For more information, see CreateDBCluster. Default: The default EC2 VPC security group for the DB subnet group's VPC. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateDBInstance in Paws::Neptune BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|