DBInstanceStatusInfoProperty Struct
Provides a list of status information for a DB instance.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const dBInstanceStatusInfoProperty: rds.CfnDBInstance.DBInstanceStatusInfoProperty = {
message: 'message',
normal: false,
status: 'status',
statusType: 'statusType',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_rds as rds
d_b_instance_status_info_property = rds.CfnDBInstance.DBInstanceStatusInfoProperty(
message="message",
normal=False,
status="status",
status_type="statusType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.rds.*;
DBInstanceStatusInfoProperty dBInstanceStatusInfoProperty = DBInstanceStatusInfoProperty.builder()
.message("message")
.normal(false)
.status("status")
.statusType("statusType")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var dBInstanceStatusInfoProperty = new DBInstanceStatusInfoProperty {
Message = "message",
Normal = false,
Status = "status",
StatusType = "statusType"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
dBInstanceStatusInfoProperty := &DBInstanceStatusInfoProperty{
Message: jsii.String("message"),
Normal: jsii.Boolean(false),
Status: jsii.String("status"),
StatusType: jsii.String("statusType"),
}
Properties
messageoptionalstringmessageoptionalstrmessageoptionalStringMessageoptionalstringMessageoptional*string #Details of the error if there is an error for the instance.
If the instance isn't in an error state, this value is blank.
normaloptionalboolean | IResolvablenormaloptionaltyping.Union[bool, IResolvable]normaloptionalBooleanNormaloptionalboolNormaloptionalinterface{} #Indicates whether the instance is operating normally (TRUE) or is in an error state (FALSE).
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #The status of the DB instance.
For a StatusType of read replica, the values can be replicating, replication stop point set, replication stop point reached, error, stopped, or terminated.
statusTypeoptionalstringstatus_typeoptionalstrstatusTypeoptionalStringStatusTypeoptionalstringStatusTypeoptional*string #This value is currently "read replication.".