Class InstanceState
Inheritance
System.Object
InstanceState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.Aws.dll
Syntax
public sealed class InstanceState : ResourceArgs
Constructors
View Source
InstanceState()
Declaration
Properties
View Source
Address
The hostname of the RDS instance. See also endpoint and port.
Declaration
public Input<string> Address { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
AllocatedStorage
The allocated storage in gibibytes. If max_allocated_storage is configured, this argument represents the initial storage allocation and differences from the configuration will be ignored automatically when Storage Autoscaling occurs.
Declaration
public Input<int> AllocatedStorage { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
AllowMajorVersionUpgrade
Indicates that major version
upgrades are allowed. Changing this parameter does not result in an outage and
the change is asynchronously applied as soon as possible.
Declaration
public Input<bool> AllowMajorVersionUpgrade { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Declaration
public Input<bool> ApplyImmediately { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Arn
The ARN of the RDS instance.
Declaration
public Input<string> Arn { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
AutoMinorVersionUpgrade
Indicates that minor engine upgrades
will be applied automatically to the DB instance during the maintenance window.
Defaults to true.
Declaration
public Input<bool> AutoMinorVersionUpgrade { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
AvailabilityZone
The AZ for the RDS instance.
Declaration
public Input<string> AvailabilityZone { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
BackupRetentionPeriod
The days to retain backups for. Must be
between 0 and 35. Must be greater than 0 if the database is used as a source for a Read Replica. [See Read Replica][1].
Declaration
public Input<int> BackupRetentionPeriod { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
BackupWindow
The daily time range (in UTC) during which
automated backups are created if they are enabled. Example: "09:46-10:16". Must
not overlap with maintenance_window.
Declaration
public Input<string> BackupWindow { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
CaCertIdentifier
The identifier of the CA certificate for the DB instance.
Declaration
public Input<string> CaCertIdentifier { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
CharacterSetName
Declaration
public Input<string> CharacterSetName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Copy all Instance tags to snapshots. Default is false.
Declaration
public Input<bool> CopyTagsToSnapshot { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
DbSubnetGroupName
Name of DB subnet group. DB instance will
be created in the VPC associated with the DB subnet group. If unspecified, will
be created in the default VPC, or in EC2 Classic, if available. When working
with read replicas, it should be specified only if the source database
specifies an instance in another AWS Region. See DBSubnetGroupName in API
action CreateDBInstanceReadReplica
for additional read replica contraints.
Declaration
public Input<string> DbSubnetGroupName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DeleteAutomatedBackups
Specifies whether to remove automated backups immediately after the DB instance is deleted. Default is true.
Declaration
public Input<bool> DeleteAutomatedBackups { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
DeletionProtection
If the DB instance should have deletion protection enabled. The database can't be deleted when this value is set to true. The default is false.
Declaration
public Input<bool> DeletionProtection { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Domain
The ID of the Directory Service Active Directory domain to create the instance in.
Declaration
public Input<string> Domain { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DomainIamRoleName
The name of the IAM role to be used when making API calls to the Directory Service.
Declaration
public Input<string> DomainIamRoleName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
EnabledCloudwatchLogsExports
List of log types to enable for exporting to CloudWatch logs. If omitted, no logs will be exported. Valid values (depending on engine). MySQL and MariaDB: audit, error, general, slowquery. PostgreSQL: postgresql, upgrade. MSSQL: agent , error. Oracle: alert, audit, listener, trace.
Declaration
public InputList<string> EnabledCloudwatchLogsExports { get; set; }
Property Value
View Source
Endpoint
The connection endpoint in address:port format.
Declaration
public Input<string> Endpoint { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Engine
Declaration
public Input<string> Engine { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
EngineVersion
The engine version to use. If auto_minor_version_upgrade
is enabled, you can provide a prefix of the version such as 5.7 (for 5.7.10) and
this attribute will ignore differences in the patch version automatically (e.g. 5.7.17).
For supported values, see the EngineVersion parameter in API action CreateDBInstance.
Note that for Amazon Aurora instances the engine version must match the DB cluster's engine version'.
Declaration
public Input<string> EngineVersion { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
FinalSnapshotIdentifier
The name of your final DB snapshot
when this DB instance is deleted. Must be provided if skip_final_snapshot is
set to false.
Declaration
public Input<string> FinalSnapshotIdentifier { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
HostedZoneId
The canonical hosted zone ID of the DB instance (to be used
in a Route 53 Alias record).
Declaration
public Input<string> HostedZoneId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
IamDatabaseAuthenticationEnabled
Specifies whether or
mappings of AWS Identity and Access Management (IAM) accounts to database
accounts is enabled.
Declaration
public Input<bool> IamDatabaseAuthenticationEnabled { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Identifier
The name of the RDS instance,
if omitted, this provider will assign a random, unique identifier.
Declaration
public Input<string> Identifier { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
IdentifierPrefix
Creates a unique
identifier beginning with the specified prefix. Conflicts with identifier.
Declaration
public Input<string> IdentifierPrefix { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceClass
The instance type of the RDS instance.
Declaration
public Input<string> InstanceClass { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Iops
The amount of provisioned IOPS. Setting this implies a
storage_type of "io1".
Declaration
public Input<int> Iops { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
KmsKeyId
The ARN for the KMS encryption key. If creating an
encrypted replica, set this to the destination KMS ARN.
Declaration
public Input<string> KmsKeyId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
LicenseModel
(Optional, but required for some DB engines, i.e. Oracle
SE1) License model information for this DB instance.
Declaration
public Input<string> LicenseModel { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
MaintenanceWindow
The window to perform maintenance in.
Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00". See RDS
Maintenance Window
docs
for more information.
Declaration
public Input<string> MaintenanceWindow { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
MaxAllocatedStorage
When configured, the upper limit to which Amazon RDS can automatically scale the storage of the DB instance. Configuring this will automatically ignore differences to allocated_storage. Must be greater than or equal to allocated_storage or 0 to disable Storage Autoscaling.
Declaration
public Input<int> MaxAllocatedStorage { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
MonitoringInterval
The 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. Valid
Values: 0, 1, 5, 10, 15, 30, 60.
Declaration
public Input<int> MonitoringInterval { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
MonitoringRoleArn
The ARN for the IAM role that permits RDS
to send enhanced monitoring metrics to CloudWatch Logs. You can find more
information on the AWS
Documentation
what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances.
Declaration
public Input<string> MonitoringRoleArn { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
MultiAz
Specifies if the RDS instance is multi-AZ
Declaration
public Input<bool> MultiAz { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Name
The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Note that this does not apply for Oracle or SQL Server engines. See the AWS documentation for more details on what applies for those engines.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
OptionGroupName
Name of the DB option group to associate.
Declaration
public Input<string> OptionGroupName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ParameterGroupName
Name of the DB parameter group to
associate.
Declaration
public Input<string> ParameterGroupName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Password
(Required unless a snapshot_identifier or replicate_source_db
is provided) Password for the master DB user. Note that this may show up in
logs, and it will be stored in the state file.
Declaration
public Input<string> Password { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Specifies whether Performance Insights are enabled. Defaults to false.
Declaration
public Input<bool> PerformanceInsightsEnabled { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
The ARN for the KMS key to encrypt Performance Insights data. When specifying performance_insights_kms_key_id, performance_insights_enabled needs to be set to true. Once KMS key is set, it can never be changed.
Declaration
public Input<string> PerformanceInsightsKmsKeyId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
The amount of time in days to retain Performance Insights data. Either 7 (7 days) or 731 (2 years). When specifying performance_insights_retention_period, performance_insights_enabled needs to be set to true. Defaults to '7'.
Declaration
public Input<int> PerformanceInsightsRetentionPeriod { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
Port
The port on which the DB accepts connections.
Declaration
public Input<int> Port { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
PubliclyAccessible
Bool to control if instance is publicly
accessible. Default is false.
Declaration
public Input<bool> PubliclyAccessible { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Replicas
Declaration
public InputList<string> Replicas { get; set; }
Property Value
View Source
ReplicateSourceDb
Specifies that this resource is a Replicate
database, and to use this value as the source database. This correlates to the
identifier of another Amazon RDS Database to replicate (if replicating within
a single region) or ARN of the Amazon RDS Database to replicate (if replicating
cross-region). Note that if you are
creating a cross-region replica of an encrypted database you will also need to
specify a kms_key_id. See [DB Instance Replication][1] and Working with
PostgreSQL and MySQL Read Replicas
for more information on using Replication.
Declaration
public Input<string> ReplicateSourceDb { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ResourceId
The RDS Resource ID of this instance.
Declaration
public Input<string> ResourceId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
S3Import
Declaration
public Input<InstanceS3ImportGetArgs> S3Import { get; set; }
Property Value
View Source
SecurityGroupNames
Declaration
public InputList<string> SecurityGroupNames { get; set; }
Property Value
View Source
SkipFinalSnapshot
Determines whether a final DB snapshot is
created before the DB instance is deleted. If true is specified, no DBSnapshot
is created. If false is specified, a DB snapshot is created before the DB
instance is deleted, using the value from final_snapshot_identifier. Default
is false.
Declaration
public Input<bool> SkipFinalSnapshot { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
SnapshotIdentifier
Specifies whether or not to create this
database from a snapshot. This correlates to the snapshot ID you'd find in the
RDS console, e.g: rds:production-2015-06-26-06-05.
Declaration
public Input<string> SnapshotIdentifier { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Status
Declaration
public Input<string> Status { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
StorageEncrypted
Specifies whether the DB instance is
encrypted. Note that if you are creating a cross-region read replica this field
is ignored and you should instead declare kms_key_id with a valid ARN. The
default is false if not specified.
Declaration
public Input<bool> StorageEncrypted { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
StorageType
One of "standard" (magnetic), "gp2" (general
purpose SSD), or "io1" (provisioned IOPS SSD). The default is "io1" if iops is
specified, "gp2" if not.
Declaration
public Input<string> StorageType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
A map of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type |
Description |
| InputMap<System.Object> |
|
View Source
Timezone
Time zone of the DB instance. timezone is currently
only supported by Microsoft SQL Server. The timezone can only be set on
creation. See MSSQL User
Guide
for more information.
Declaration
public Input<string> Timezone { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Username
(Required unless a snapshot_identifier or replicate_source_db
is provided) Username for the master DB user.
Declaration
public Input<string> Username { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
VpcSecurityGroupIds
List of VPC security groups to
associate.
Declaration
public InputList<string> VpcSecurityGroupIds { get; set; }
Property Value