Skip to content
v2.278.0

RdsDbInstanceProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opsworks as opsworks } from 'aws-cdk-lib';
const rdsDbInstanceProperty: opsworks.CfnStack.RdsDbInstanceProperty = {
  dbPassword: 'dbPassword',
  dbUser: 'dbUser',
  rdsDbInstanceArn: 'rdsDbInstanceArn',
};
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_opsworks as opsworks

rds_db_instance_property = opsworks.CfnStack.RdsDbInstanceProperty(
    db_password="dbPassword",
    db_user="dbUser",
    rds_db_instance_arn="rdsDbInstanceArn"
)
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.opsworks.*;

RdsDbInstanceProperty rdsDbInstanceProperty = RdsDbInstanceProperty.builder()
        .dbPassword("dbPassword")
        .dbUser("dbUser")
        .rdsDbInstanceArn("rdsDbInstanceArn")
        .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.OpsWorks;

var rdsDbInstanceProperty = new RdsDbInstanceProperty {
    DbPassword = "dbPassword",
    DbUser = "dbUser",
    RdsDbInstanceArn = "rdsDbInstanceArn"
};
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"

rdsDbInstanceProperty := &RdsDbInstanceProperty{
	DbPassword: jsii.String("dbPassword"),
	DbUser: jsii.String("dbUser"),
	RdsDbInstanceArn: jsii.String("rdsDbInstanceArn"),
}

Properties ​

dbPasswordstringdb_passwordstrdbPasswordStringDbPasswordstringDbPassword*string required #
OpsWorks Stacks returns `*****FILTERED*****` instead of the actual value.
dbUserstringdb_userstrdbUserStringDbUserstringDbUser*string required #
The master user name.
rdsDbInstanceArnstringrds_db_instance_arnstrrdsDbInstanceArnStringRdsDbInstanceArnstringRdsDbInstanceArn*string required #
The instance's ARN.