Class ProxyArgs.Builder

  • Enclosing class:
    ProxyArgs

    public static final class ProxyArgs.Builder
    extends java.lang.Object
    • 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