We recommend new projects start with resources from the AWS provider.
aws-native.rds.DbProxy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::RDS::DBProxy
Create DbProxy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbProxy(name: string, args: DbProxyArgs, opts?: CustomResourceOptions);@overload
def DbProxy(resource_name: str,
            args: DbProxyArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def DbProxy(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            auth: Optional[Sequence[DbProxyAuthFormatArgs]] = None,
            engine_family: Optional[DbProxyEngineFamily] = None,
            role_arn: Optional[str] = None,
            vpc_subnet_ids: Optional[Sequence[str]] = None,
            db_proxy_name: Optional[str] = None,
            debug_logging: Optional[bool] = None,
            idle_client_timeout: Optional[int] = None,
            require_tls: Optional[bool] = None,
            tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
            vpc_security_group_ids: Optional[Sequence[str]] = None)func NewDbProxy(ctx *Context, name string, args DbProxyArgs, opts ...ResourceOption) (*DbProxy, error)public DbProxy(string name, DbProxyArgs args, CustomResourceOptions? opts = null)
public DbProxy(String name, DbProxyArgs args)
public DbProxy(String name, DbProxyArgs args, CustomResourceOptions options)
type: aws-native:rds:DbProxy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DbProxyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DbProxyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DbProxyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbProxyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbProxyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DbProxy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DbProxy resource accepts the following input properties:
- Auth
List<Pulumi.Aws Native. Rds. Inputs. Db Proxy Auth Format> 
- The authorization mechanism that the proxy uses.
- EngineFamily Pulumi.Aws Native. Rds. Db Proxy Engine Family 
- The kinds of databases that the proxy can connect to.
- RoleArn string
- The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
- VpcSubnet List<string>Ids 
- VPC subnet IDs to associate with the new proxy.
- DbProxy stringName 
- The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region.
- DebugLogging bool
- Whether the proxy includes detailed information about SQL statements in its logs.
- IdleClient intTimeout 
- The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
- RequireTls bool
- A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
- VpcSecurity List<string>Group Ids 
- VPC security group IDs to associate with the new proxy.
- Auth
[]DbProxy Auth Format Args 
- The authorization mechanism that the proxy uses.
- EngineFamily DbProxy Engine Family 
- The kinds of databases that the proxy can connect to.
- RoleArn string
- The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
- VpcSubnet []stringIds 
- VPC subnet IDs to associate with the new proxy.
- DbProxy stringName 
- The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region.
- DebugLogging bool
- Whether the proxy includes detailed information about SQL statements in its logs.
- IdleClient intTimeout 
- The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
- RequireTls bool
- A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
- 
TagArgs 
- An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
- VpcSecurity []stringGroup Ids 
- VPC security group IDs to associate with the new proxy.
- auth
List<DbProxy Auth Format> 
- The authorization mechanism that the proxy uses.
- engineFamily DbProxy Engine Family 
- The kinds of databases that the proxy can connect to.
- roleArn String
- The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
- vpcSubnet List<String>Ids 
- VPC subnet IDs to associate with the new proxy.
- dbProxy StringName 
- The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region.
- debugLogging Boolean
- Whether the proxy includes detailed information about SQL statements in its logs.
- idleClient IntegerTimeout 
- The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
- requireTls Boolean
- A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
- List<Tag>
- An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
- vpcSecurity List<String>Group Ids 
- VPC security group IDs to associate with the new proxy.
- auth
DbProxy Auth Format[] 
- The authorization mechanism that the proxy uses.
- engineFamily DbProxy Engine Family 
- The kinds of databases that the proxy can connect to.
- roleArn string
- The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
- vpcSubnet string[]Ids 
- VPC subnet IDs to associate with the new proxy.
- dbProxy stringName 
- The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region.
- debugLogging boolean
- Whether the proxy includes detailed information about SQL statements in its logs.
- idleClient numberTimeout 
- The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
- requireTls boolean
- A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
- Tag[]
- An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
- vpcSecurity string[]Group Ids 
- VPC security group IDs to associate with the new proxy.
- auth
Sequence[DbProxy Auth Format Args] 
- The authorization mechanism that the proxy uses.
- engine_family DbProxy Engine Family 
- The kinds of databases that the proxy can connect to.
- role_arn str
- The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
- vpc_subnet_ Sequence[str]ids 
- VPC subnet IDs to associate with the new proxy.
- db_proxy_ strname 
- The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region.
- debug_logging bool
- Whether the proxy includes detailed information about SQL statements in its logs.
- idle_client_ inttimeout 
- The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
- require_tls bool
- A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
- 
Sequence[TagArgs] 
- An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
- vpc_security_ Sequence[str]group_ ids 
- VPC security group IDs to associate with the new proxy.
- auth List<Property Map>
- The authorization mechanism that the proxy uses.
- engineFamily "MYSQL" | "POSTGRESQL" | "SQLSERVER"
- The kinds of databases that the proxy can connect to.
- roleArn String
- The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
- vpcSubnet List<String>Ids 
- VPC subnet IDs to associate with the new proxy.
- dbProxy StringName 
- The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region.
- debugLogging Boolean
- Whether the proxy includes detailed information about SQL statements in its logs.
- idleClient NumberTimeout 
- The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
- requireTls Boolean
- A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
- List<Property Map>
- An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
- vpcSecurity List<String>Group Ids 
- VPC security group IDs to associate with the new proxy.
Outputs
All input properties are implicitly available as output properties. Additionally, the DbProxy resource produces the following output properties:
- DbProxy stringArn 
- The Amazon Resource Name (ARN) for the proxy.
- Endpoint string
- The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.
- Id string
- The provider-assigned unique ID for this managed resource.
- VpcId string
- VPC ID to associate with the new DB proxy.
- DbProxy stringArn 
- The Amazon Resource Name (ARN) for the proxy.
- Endpoint string
- The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.
- Id string
- The provider-assigned unique ID for this managed resource.
- VpcId string
- VPC ID to associate with the new DB proxy.
- dbProxy StringArn 
- The Amazon Resource Name (ARN) for the proxy.
- endpoint String
- The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.
- id String
- The provider-assigned unique ID for this managed resource.
- vpcId String
- VPC ID to associate with the new DB proxy.
- dbProxy stringArn 
- The Amazon Resource Name (ARN) for the proxy.
- endpoint string
- The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.
- id string
- The provider-assigned unique ID for this managed resource.
- vpcId string
- VPC ID to associate with the new DB proxy.
- db_proxy_ strarn 
- The Amazon Resource Name (ARN) for the proxy.
- endpoint str
- The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.
- id str
- The provider-assigned unique ID for this managed resource.
- vpc_id str
- VPC ID to associate with the new DB proxy.
- dbProxy StringArn 
- The Amazon Resource Name (ARN) for the proxy.
- endpoint String
- The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.
- id String
- The provider-assigned unique ID for this managed resource.
- vpcId String
- VPC ID to associate with the new DB proxy.
Supporting Types
DbProxyAuthFormat, DbProxyAuthFormatArgs        
- AuthScheme Pulumi.Aws Native. Rds. Db Proxy Auth Format Auth Scheme 
- The type of authentication that the proxy uses for connections from the proxy to the underlying database.
- ClientPassword Pulumi.Auth Type Aws Native. Rds. Db Proxy Auth Format Client Password Auth Type 
- The type of authentication the proxy uses for connections from clients.
- Description string
- A user-specified description about the authentication used by a proxy to log in as a specific database user.
- IamAuth Pulumi.Aws Native. Rds. Db Proxy Auth Format Iam Auth 
- Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy. The ENABLED value is valid only for proxies with RDS for Microsoft SQL Server.
- SecretArn string
- The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
- AuthScheme DbProxy Auth Format Auth Scheme 
- The type of authentication that the proxy uses for connections from the proxy to the underlying database.
- ClientPassword DbAuth Type Proxy Auth Format Client Password Auth Type 
- The type of authentication the proxy uses for connections from clients.
- Description string
- A user-specified description about the authentication used by a proxy to log in as a specific database user.
- IamAuth DbProxy Auth Format Iam Auth 
- Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy. The ENABLED value is valid only for proxies with RDS for Microsoft SQL Server.
- SecretArn string
- The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
- authScheme DbProxy Auth Format Auth Scheme 
- The type of authentication that the proxy uses for connections from the proxy to the underlying database.
- clientPassword DbAuth Type Proxy Auth Format Client Password Auth Type 
- The type of authentication the proxy uses for connections from clients.
- description String
- A user-specified description about the authentication used by a proxy to log in as a specific database user.
- iamAuth DbProxy Auth Format Iam Auth 
- Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy. The ENABLED value is valid only for proxies with RDS for Microsoft SQL Server.
- secretArn String
- The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
- authScheme DbProxy Auth Format Auth Scheme 
- The type of authentication that the proxy uses for connections from the proxy to the underlying database.
- clientPassword DbAuth Type Proxy Auth Format Client Password Auth Type 
- The type of authentication the proxy uses for connections from clients.
- description string
- A user-specified description about the authentication used by a proxy to log in as a specific database user.
- iamAuth DbProxy Auth Format Iam Auth 
- Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy. The ENABLED value is valid only for proxies with RDS for Microsoft SQL Server.
- secretArn string
- The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
- auth_scheme DbProxy Auth Format Auth Scheme 
- The type of authentication that the proxy uses for connections from the proxy to the underlying database.
- client_password_ Dbauth_ type Proxy Auth Format Client Password Auth Type 
- The type of authentication the proxy uses for connections from clients.
- description str
- A user-specified description about the authentication used by a proxy to log in as a specific database user.
- iam_auth DbProxy Auth Format Iam Auth 
- Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy. The ENABLED value is valid only for proxies with RDS for Microsoft SQL Server.
- secret_arn str
- The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
- authScheme "SECRETS"
- The type of authentication that the proxy uses for connections from the proxy to the underlying database.
- clientPassword "MYSQL_NATIVE_PASSWORD" | "POSTGRES_SCRAM_SHA_256" | "POSTGRES_MD5" | "SQL_SERVER_AUTHENTICATION"Auth Type 
- The type of authentication the proxy uses for connections from clients.
- description String
- A user-specified description about the authentication used by a proxy to log in as a specific database user.
- iamAuth "DISABLED" | "REQUIRED" | "ENABLED"
- Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy. The ENABLED value is valid only for proxies with RDS for Microsoft SQL Server.
- secretArn String
- The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
DbProxyAuthFormatAuthScheme, DbProxyAuthFormatAuthSchemeArgs            
- Secrets
- SECRETS
- DbProxy Auth Format Auth Scheme Secrets 
- SECRETS
- Secrets
- SECRETS
- Secrets
- SECRETS
- SECRETS
- SECRETS
- "SECRETS"
- SECRETS
DbProxyAuthFormatClientPasswordAuthType, DbProxyAuthFormatClientPasswordAuthTypeArgs                
- MysqlNative Password 
- MYSQL_NATIVE_PASSWORD
- PostgresScram Sha256 
- POSTGRES_SCRAM_SHA_256
- PostgresMd5 
- POSTGRES_MD5
- SqlServer Authentication 
- SQL_SERVER_AUTHENTICATION
- DbProxy Auth Format Client Password Auth Type Mysql Native Password 
- MYSQL_NATIVE_PASSWORD
- DbProxy Auth Format Client Password Auth Type Postgres Scram Sha256 
- POSTGRES_SCRAM_SHA_256
- DbProxy Auth Format Client Password Auth Type Postgres Md5 
- POSTGRES_MD5
- DbProxy Auth Format Client Password Auth Type Sql Server Authentication 
- SQL_SERVER_AUTHENTICATION
- MysqlNative Password 
- MYSQL_NATIVE_PASSWORD
- PostgresScram Sha256 
- POSTGRES_SCRAM_SHA_256
- PostgresMd5 
- POSTGRES_MD5
- SqlServer Authentication 
- SQL_SERVER_AUTHENTICATION
- MysqlNative Password 
- MYSQL_NATIVE_PASSWORD
- PostgresScram Sha256 
- POSTGRES_SCRAM_SHA_256
- PostgresMd5 
- POSTGRES_MD5
- SqlServer Authentication 
- SQL_SERVER_AUTHENTICATION
- MYSQL_NATIVE_PASSWORD
- MYSQL_NATIVE_PASSWORD
- POSTGRES_SCRAM_SHA256
- POSTGRES_SCRAM_SHA_256
- POSTGRES_MD5
- POSTGRES_MD5
- SQL_SERVER_AUTHENTICATION
- SQL_SERVER_AUTHENTICATION
- "MYSQL_NATIVE_PASSWORD"
- MYSQL_NATIVE_PASSWORD
- "POSTGRES_SCRAM_SHA_256"
- POSTGRES_SCRAM_SHA_256
- "POSTGRES_MD5"
- POSTGRES_MD5
- "SQL_SERVER_AUTHENTICATION"
- SQL_SERVER_AUTHENTICATION
DbProxyAuthFormatIamAuth, DbProxyAuthFormatIamAuthArgs            
- Disabled
- DISABLED
- Required
- REQUIRED
- Enabled
- ENABLED
- DbProxy Auth Format Iam Auth Disabled 
- DISABLED
- DbProxy Auth Format Iam Auth Required 
- REQUIRED
- DbProxy Auth Format Iam Auth Enabled 
- ENABLED
- Disabled
- DISABLED
- Required
- REQUIRED
- Enabled
- ENABLED
- Disabled
- DISABLED
- Required
- REQUIRED
- Enabled
- ENABLED
- DISABLED
- DISABLED
- REQUIRED
- REQUIRED
- ENABLED
- ENABLED
- "DISABLED"
- DISABLED
- "REQUIRED"
- REQUIRED
- "ENABLED"
- ENABLED
DbProxyEngineFamily, DbProxyEngineFamilyArgs        
- Mysql
- MYSQL
- Postgresql
- POSTGRESQL
- Sqlserver
- SQLSERVER
- DbProxy Engine Family Mysql 
- MYSQL
- DbProxy Engine Family Postgresql 
- POSTGRESQL
- DbProxy Engine Family Sqlserver 
- SQLSERVER
- Mysql
- MYSQL
- Postgresql
- POSTGRESQL
- Sqlserver
- SQLSERVER
- Mysql
- MYSQL
- Postgresql
- POSTGRESQL
- Sqlserver
- SQLSERVER
- MYSQL
- MYSQL
- POSTGRESQL
- POSTGRESQL
- SQLSERVER
- SQLSERVER
- "MYSQL"
- MYSQL
- "POSTGRESQL"
- POSTGRESQL
- "SQLSERVER"
- SQLSERVER
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.