We recommend new projects start with resources from the AWS provider.
aws-native.rds.DbProxyTargetGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::RDS::DBProxyTargetGroup
Create DbProxyTargetGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbProxyTargetGroup(name: string, args: DbProxyTargetGroupArgs, opts?: CustomResourceOptions);@overload
def DbProxyTargetGroup(resource_name: str,
                       args: DbProxyTargetGroupArgs,
                       opts: Optional[ResourceOptions] = None)
@overload
def DbProxyTargetGroup(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       db_proxy_name: Optional[str] = None,
                       target_group_name: Optional[DbProxyTargetGroupTargetGroupName] = None,
                       connection_pool_configuration_info: Optional[DbProxyTargetGroupConnectionPoolConfigurationInfoFormatArgs] = None,
                       db_cluster_identifiers: Optional[Sequence[str]] = None,
                       db_instance_identifiers: Optional[Sequence[str]] = None)func NewDbProxyTargetGroup(ctx *Context, name string, args DbProxyTargetGroupArgs, opts ...ResourceOption) (*DbProxyTargetGroup, error)public DbProxyTargetGroup(string name, DbProxyTargetGroupArgs args, CustomResourceOptions? opts = null)
public DbProxyTargetGroup(String name, DbProxyTargetGroupArgs args)
public DbProxyTargetGroup(String name, DbProxyTargetGroupArgs args, CustomResourceOptions options)
type: aws-native:rds:DbProxyTargetGroup
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 DbProxyTargetGroupArgs
- 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 DbProxyTargetGroupArgs
- 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 DbProxyTargetGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbProxyTargetGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbProxyTargetGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DbProxyTargetGroup 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 DbProxyTargetGroup resource accepts the following input properties:
- DbProxy stringName 
- The identifier for the proxy.
- TargetGroup Pulumi.Name Aws Native. Rds. Db Proxy Target Group Target Group Name 
- The identifier for the DBProxyTargetGroup
- ConnectionPool Pulumi.Configuration Info Aws Native. Rds. Inputs. Db Proxy Target Group Connection Pool Configuration Info Format 
- Displays the settings that control the size and behavior of the connection pool associated with a DBProxyTarget.
- DbCluster List<string>Identifiers 
- One or more DB cluster identifiers.
- DbInstance List<string>Identifiers 
- One or more DB instance identifiers.
- DbProxy stringName 
- The identifier for the proxy.
- TargetGroup DbName Proxy Target Group Target Group Name 
- The identifier for the DBProxyTargetGroup
- ConnectionPool DbConfiguration Info Proxy Target Group Connection Pool Configuration Info Format Args 
- Displays the settings that control the size and behavior of the connection pool associated with a DBProxyTarget.
- DbCluster []stringIdentifiers 
- One or more DB cluster identifiers.
- DbInstance []stringIdentifiers 
- One or more DB instance identifiers.
- dbProxy StringName 
- The identifier for the proxy.
- targetGroup DbName Proxy Target Group Target Group Name 
- The identifier for the DBProxyTargetGroup
- connectionPool DbConfiguration Info Proxy Target Group Connection Pool Configuration Info Format 
- Displays the settings that control the size and behavior of the connection pool associated with a DBProxyTarget.
- dbCluster List<String>Identifiers 
- One or more DB cluster identifiers.
- dbInstance List<String>Identifiers 
- One or more DB instance identifiers.
- dbProxy stringName 
- The identifier for the proxy.
- targetGroup DbName Proxy Target Group Target Group Name 
- The identifier for the DBProxyTargetGroup
- connectionPool DbConfiguration Info Proxy Target Group Connection Pool Configuration Info Format 
- Displays the settings that control the size and behavior of the connection pool associated with a DBProxyTarget.
- dbCluster string[]Identifiers 
- One or more DB cluster identifiers.
- dbInstance string[]Identifiers 
- One or more DB instance identifiers.
- db_proxy_ strname 
- The identifier for the proxy.
- target_group_ Dbname Proxy Target Group Target Group Name 
- The identifier for the DBProxyTargetGroup
- connection_pool_ Dbconfiguration_ info Proxy Target Group Connection Pool Configuration Info Format Args 
- Displays the settings that control the size and behavior of the connection pool associated with a DBProxyTarget.
- db_cluster_ Sequence[str]identifiers 
- One or more DB cluster identifiers.
- db_instance_ Sequence[str]identifiers 
- One or more DB instance identifiers.
- dbProxy StringName 
- The identifier for the proxy.
- targetGroup "default"Name 
- The identifier for the DBProxyTargetGroup
- connectionPool Property MapConfiguration Info 
- Displays the settings that control the size and behavior of the connection pool associated with a DBProxyTarget.
- dbCluster List<String>Identifiers 
- One or more DB cluster identifiers.
- dbInstance List<String>Identifiers 
- One or more DB instance identifiers.
Outputs
All input properties are implicitly available as output properties. Additionally, the DbProxyTargetGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- TargetGroup stringArn 
- The Amazon Resource Name (ARN) representing the target group.
- Id string
- The provider-assigned unique ID for this managed resource.
- TargetGroup stringArn 
- The Amazon Resource Name (ARN) representing the target group.
- id String
- The provider-assigned unique ID for this managed resource.
- targetGroup StringArn 
- The Amazon Resource Name (ARN) representing the target group.
- id string
- The provider-assigned unique ID for this managed resource.
- targetGroup stringArn 
- The Amazon Resource Name (ARN) representing the target group.
- id str
- The provider-assigned unique ID for this managed resource.
- target_group_ strarn 
- The Amazon Resource Name (ARN) representing the target group.
- id String
- The provider-assigned unique ID for this managed resource.
- targetGroup StringArn 
- The Amazon Resource Name (ARN) representing the target group.
Supporting Types
DbProxyTargetGroupConnectionPoolConfigurationInfoFormat, DbProxyTargetGroupConnectionPoolConfigurationInfoFormatArgs                  
- ConnectionBorrow intTimeout 
- The number of seconds for a proxy to wait for a connection to become available in the connection pool.
- InitQuery string
- One or more SQL statements for the proxy to run when opening each new database connection.
- MaxConnections intPercent 
- The maximum size of the connection pool for each target in a target group.
- MaxIdle intConnections Percent 
- Controls how actively the proxy closes idle database connections in the connection pool.
- SessionPinning List<string>Filters 
- Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection.
- ConnectionBorrow intTimeout 
- The number of seconds for a proxy to wait for a connection to become available in the connection pool.
- InitQuery string
- One or more SQL statements for the proxy to run when opening each new database connection.
- MaxConnections intPercent 
- The maximum size of the connection pool for each target in a target group.
- MaxIdle intConnections Percent 
- Controls how actively the proxy closes idle database connections in the connection pool.
- SessionPinning []stringFilters 
- Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection.
- connectionBorrow IntegerTimeout 
- The number of seconds for a proxy to wait for a connection to become available in the connection pool.
- initQuery String
- One or more SQL statements for the proxy to run when opening each new database connection.
- maxConnections IntegerPercent 
- The maximum size of the connection pool for each target in a target group.
- maxIdle IntegerConnections Percent 
- Controls how actively the proxy closes idle database connections in the connection pool.
- sessionPinning List<String>Filters 
- Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection.
- connectionBorrow numberTimeout 
- The number of seconds for a proxy to wait for a connection to become available in the connection pool.
- initQuery string
- One or more SQL statements for the proxy to run when opening each new database connection.
- maxConnections numberPercent 
- The maximum size of the connection pool for each target in a target group.
- maxIdle numberConnections Percent 
- Controls how actively the proxy closes idle database connections in the connection pool.
- sessionPinning string[]Filters 
- Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection.
- connection_borrow_ inttimeout 
- The number of seconds for a proxy to wait for a connection to become available in the connection pool.
- init_query str
- One or more SQL statements for the proxy to run when opening each new database connection.
- max_connections_ intpercent 
- The maximum size of the connection pool for each target in a target group.
- max_idle_ intconnections_ percent 
- Controls how actively the proxy closes idle database connections in the connection pool.
- session_pinning_ Sequence[str]filters 
- Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection.
- connectionBorrow NumberTimeout 
- The number of seconds for a proxy to wait for a connection to become available in the connection pool.
- initQuery String
- One or more SQL statements for the proxy to run when opening each new database connection.
- maxConnections NumberPercent 
- The maximum size of the connection pool for each target in a target group.
- maxIdle NumberConnections Percent 
- Controls how actively the proxy closes idle database connections in the connection pool.
- sessionPinning List<String>Filters 
- Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection.
DbProxyTargetGroupTargetGroupName, DbProxyTargetGroupTargetGroupNameArgs              
- Default
- default
- DbProxy Target Group Target Group Name Default 
- default
- Default
- default
- Default
- default
- DEFAULT
- default
- "default"
- default
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.