Package com.pulumi.aws.rds
Class ProxyArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.rds.ProxyArgs.Builder
-
- Enclosing class:
- ProxyArgs
public static final class ProxyArgs.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProxyArgs.Builderauths(ProxyAuthArgs... auths)ProxyArgs.Builderauths(com.pulumi.core.Output<java.util.List<ProxyAuthArgs>> auths)ProxyArgs.Builderauths(java.util.List<ProxyAuthArgs> auths)ProxyArgsbuild()ProxyArgs.BuilderdebugLogging(com.pulumi.core.Output<java.lang.Boolean> debugLogging)ProxyArgs.BuilderdebugLogging(java.lang.Boolean debugLogging)ProxyArgs.BuilderdefaultAuthScheme(com.pulumi.core.Output<java.lang.String> defaultAuthScheme)ProxyArgs.BuilderdefaultAuthScheme(java.lang.String defaultAuthScheme)ProxyArgs.BuilderendpointNetworkType(com.pulumi.core.Output<java.lang.String> endpointNetworkType)ProxyArgs.BuilderendpointNetworkType(java.lang.String endpointNetworkType)ProxyArgs.BuilderengineFamily(com.pulumi.core.Output<java.lang.String> engineFamily)ProxyArgs.BuilderengineFamily(java.lang.String engineFamily)ProxyArgs.BuilderidleClientTimeout(com.pulumi.core.Output<java.lang.Integer> idleClientTimeout)ProxyArgs.BuilderidleClientTimeout(java.lang.Integer idleClientTimeout)ProxyArgs.Buildername(com.pulumi.core.Output<java.lang.String> name)ProxyArgs.Buildername(java.lang.String name)ProxyArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)ProxyArgs.Builderregion(java.lang.String region)ProxyArgs.BuilderrequireTls(com.pulumi.core.Output<java.lang.Boolean> requireTls)ProxyArgs.BuilderrequireTls(java.lang.Boolean requireTls)ProxyArgs.BuilderroleArn(com.pulumi.core.Output<java.lang.String> roleArn)ProxyArgs.BuilderroleArn(java.lang.String roleArn)ProxyArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)ProxyArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)ProxyArgs.BuildertargetConnectionNetworkType(com.pulumi.core.Output<java.lang.String> targetConnectionNetworkType)ProxyArgs.BuildertargetConnectionNetworkType(java.lang.String targetConnectionNetworkType)ProxyArgs.BuildervpcSecurityGroupIds(com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)ProxyArgs.BuildervpcSecurityGroupIds(java.lang.String... vpcSecurityGroupIds)ProxyArgs.BuildervpcSecurityGroupIds(java.util.List<java.lang.String> vpcSecurityGroupIds)ProxyArgs.BuildervpcSubnetIds(com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSubnetIds)ProxyArgs.BuildervpcSubnetIds(java.lang.String... vpcSubnetIds)ProxyArgs.BuildervpcSubnetIds(java.util.List<java.lang.String> vpcSubnetIds)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ProxyArgs defaults)
-
-
Method Detail
-
auths
public ProxyArgs.Builder auths(@Nullable com.pulumi.core.Output<java.util.List<ProxyAuthArgs>> auths)
- Parameters:
auths- Configuration block(s) with authorization mechanisms to connect to the associated instances or clusters. Required when `defaultAuthScheme` is `NONE` or unspecified. See the `auth` block below.- Returns:
- builder
-
auths
public ProxyArgs.Builder auths(java.util.List<ProxyAuthArgs> auths)
- Parameters:
auths- Configuration block(s) with authorization mechanisms to connect to the associated instances or clusters. Required when `defaultAuthScheme` is `NONE` or unspecified. See the `auth` block below.- Returns:
- builder
-
auths
public ProxyArgs.Builder auths(ProxyAuthArgs... auths)
- Parameters:
auths- Configuration block(s) with authorization mechanisms to connect to the associated instances or clusters. Required when `defaultAuthScheme` is `NONE` or unspecified. See the `auth` block below.- Returns:
- builder
-
debugLogging
public ProxyArgs.Builder debugLogging(@Nullable com.pulumi.core.Output<java.lang.Boolean> debugLogging)
- Parameters:
debugLogging- Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.- Returns:
- builder
-
debugLogging
public ProxyArgs.Builder debugLogging(java.lang.Boolean debugLogging)
- Parameters:
debugLogging- Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.- Returns:
- builder
-
defaultAuthScheme
public ProxyArgs.Builder defaultAuthScheme(@Nullable com.pulumi.core.Output<java.lang.String> defaultAuthScheme)
- Parameters:
defaultAuthScheme- Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database. Valid values are `NONE` and `IAM_AUTH`. Defaults to `NONE`.- Returns:
- builder
-
defaultAuthScheme
public ProxyArgs.Builder defaultAuthScheme(java.lang.String defaultAuthScheme)
- Parameters:
defaultAuthScheme- Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database. Valid values are `NONE` and `IAM_AUTH`. Defaults to `NONE`.- Returns:
- builder
-
endpointNetworkType
public ProxyArgs.Builder endpointNetworkType(@Nullable com.pulumi.core.Output<java.lang.String> endpointNetworkType)
- Parameters:
endpointNetworkType- Network type of the DB proxy endpoint. Valid values are `IPV4`, `IPV6` and `DUAL`. Defaults to `IPV4`. If `IPV6` is specified, the subnets associated with the proxy must be IPv6-only, and `targetConnectionNetworkType` must be `IPV6`.- Returns:
- builder
-
endpointNetworkType
public ProxyArgs.Builder endpointNetworkType(java.lang.String endpointNetworkType)
- Parameters:
endpointNetworkType- Network type of the DB proxy endpoint. Valid values are `IPV4`, `IPV6` and `DUAL`. Defaults to `IPV4`. If `IPV6` is specified, the subnets associated with the proxy must be IPv6-only, and `targetConnectionNetworkType` must be `IPV6`.- Returns:
- builder
-
engineFamily
public ProxyArgs.Builder engineFamily(com.pulumi.core.Output<java.lang.String> engineFamily)
- Parameters:
engineFamily- Kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify `MYSQL`. For Aurora PostgreSQL and RDS for PostgreSQL databases, specify `POSTGRESQL`. For RDS for Microsoft SQL Server, specify `SQLSERVER`. Valid values are `MYSQL`, `POSTGRESQL`, and `SQLSERVER`.- Returns:
- builder
-
engineFamily
public ProxyArgs.Builder engineFamily(java.lang.String engineFamily)
- Parameters:
engineFamily- Kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify `MYSQL`. For Aurora PostgreSQL and RDS for PostgreSQL databases, specify `POSTGRESQL`. For RDS for Microsoft SQL Server, specify `SQLSERVER`. Valid values are `MYSQL`, `POSTGRESQL`, and `SQLSERVER`.- Returns:
- builder
-
idleClientTimeout
public ProxyArgs.Builder idleClientTimeout(@Nullable com.pulumi.core.Output<java.lang.Integer> idleClientTimeout)
- Parameters:
idleClientTimeout- Number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.- Returns:
- builder
-
idleClientTimeout
public ProxyArgs.Builder idleClientTimeout(java.lang.Integer idleClientTimeout)
- Parameters:
idleClientTimeout- Number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.- Returns:
- builder
-
name
public ProxyArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.- Returns:
- builder
-
name
public ProxyArgs.Builder name(java.lang.String name)
- Parameters:
name- Identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.- Returns:
- builder
-
region
public ProxyArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public ProxyArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
requireTls
public ProxyArgs.Builder requireTls(@Nullable com.pulumi.core.Output<java.lang.Boolean> requireTls)
- Parameters:
requireTls- Whether TLS encryption is required for connections to the proxy. Enabling this setting enforces encrypted TLS connections to the proxy.- Returns:
- builder
-
requireTls
public ProxyArgs.Builder requireTls(java.lang.Boolean requireTls)
- Parameters:
requireTls- Whether TLS encryption is required for connections to the proxy. Enabling this setting enforces encrypted TLS connections to the proxy.- Returns:
- builder
-
roleArn
public ProxyArgs.Builder roleArn(com.pulumi.core.Output<java.lang.String> roleArn)
- Parameters:
roleArn- ARN of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.- Returns:
- builder
-
roleArn
public ProxyArgs.Builder roleArn(java.lang.String roleArn)
- Parameters:
roleArn- ARN of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.- Returns:
- builder
-
tags
public ProxyArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public ProxyArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
targetConnectionNetworkType
public ProxyArgs.Builder targetConnectionNetworkType(@Nullable com.pulumi.core.Output<java.lang.String> targetConnectionNetworkType)
- Parameters:
targetConnectionNetworkType- Network type that the proxy uses to connect to the target database. Valid values are `IPV4` and `IPV6`. Defaults to `IPV4`.- Returns:
- builder
-
targetConnectionNetworkType
public ProxyArgs.Builder targetConnectionNetworkType(java.lang.String targetConnectionNetworkType)
- Parameters:
targetConnectionNetworkType- Network type that the proxy uses to connect to the target database. Valid values are `IPV4` and `IPV6`. Defaults to `IPV4`.- Returns:
- builder
-
vpcSecurityGroupIds
public ProxyArgs.Builder vpcSecurityGroupIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds- One or more VPC security group IDs to associate with the new proxy.- Returns:
- builder
-
vpcSecurityGroupIds
public ProxyArgs.Builder vpcSecurityGroupIds(java.util.List<java.lang.String> vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds- One or more VPC security group IDs to associate with the new proxy.- Returns:
- builder
-
vpcSecurityGroupIds
public ProxyArgs.Builder vpcSecurityGroupIds(java.lang.String... vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds- One or more VPC security group IDs to associate with the new proxy.- Returns:
- builder
-
vpcSubnetIds
public ProxyArgs.Builder vpcSubnetIds(com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSubnetIds)
- Parameters:
vpcSubnetIds- One or more VPC subnet IDs to associate with the new proxy.- Returns:
- builder
-
vpcSubnetIds
public ProxyArgs.Builder vpcSubnetIds(java.util.List<java.lang.String> vpcSubnetIds)
- Parameters:
vpcSubnetIds- One or more VPC subnet IDs to associate with the new proxy.- Returns:
- builder
-
vpcSubnetIds
public ProxyArgs.Builder vpcSubnetIds(java.lang.String... vpcSubnetIds)
- Parameters:
vpcSubnetIds- One or more VPC subnet IDs to associate with the new proxy.- Returns:
- builder
-
build
public ProxyArgs build()
-
-