NAME

Paws::RDS::CreateDBProxy - Arguments for method CreateDBProxy on Paws::RDS

DESCRIPTION

This class represents the parameters used for calling the method CreateDBProxy on the Amazon Relational Database Service service. Use the attributes of this class as arguments to method CreateDBProxy.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDBProxy.

SYNOPSIS

my $rds = Paws->service('RDS');
my $CreateDBProxyResponse = $rds->CreateDBProxy(
  Auth => [
    {
      AuthScheme  => 'SECRETS',     # values: SECRETS; OPTIONAL
      Description => 'MyString',    # OPTIONAL
      IAMAuth     => 'DISABLED',    # values: DISABLED, REQUIRED; OPTIONAL
      SecretArn   => 'MyString',    # OPTIONAL
      UserName    => 'MyString',    # OPTIONAL
    },
    ...
  ],
  DBProxyName  => 'MyString',
  EngineFamily => 'MYSQL',
  RoleArn      => 'MyString',
  VpcSubnetIds => [
    'MyString',
    ...    # OPTIONAL
  ],
  DebugLogging      => 1,    # OPTIONAL
  IdleClientTimeout => 1,    # OPTIONAL
  RequireTLS        => 1,    # OPTIONAL
  Tags              => [
    {
      Key   => 'MyString',    # OPTIONAL
      Value => 'MyString',    # OPTIONAL
    },
    ...
  ],    # OPTIONAL
  VpcSecurityGroupIds => [
    'MyString', ...    # OPTIONAL
  ],    # OPTIONAL
);

# Results:
my $DBProxy = $CreateDBProxyResponse->DBProxy;

# Returns a L<Paws::RDS::CreateDBProxyResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/rds/CreateDBProxy

ATTRIBUTES

REQUIRED Auth => ArrayRef[Paws::RDS::UserAuthConfig]

The authorization mechanism that the proxy uses.

REQUIRED DBProxyName => Str

The identifier for the proxy. This name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services 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.

DebugLogging => Bool

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.

REQUIRED EngineFamily => Str

The 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. The engine family applies to MySQL and PostgreSQL for both RDS and Aurora.

Valid values are: "MYSQL", "POSTGRESQL"

IdleClientTimeout => Int

The 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.

RequireTLS => Bool

A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.

REQUIRED RoleArn => Str

The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.

Tags => ArrayRef[Paws::RDS::Tag]

An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.

VpcSecurityGroupIds => ArrayRef[Str|Undef]

One or more VPC security group IDs to associate with the new proxy.

REQUIRED VpcSubnetIds => ArrayRef[Str|Undef]

One or more VPC subnet IDs to associate with the new proxy.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateDBProxy in Paws::RDS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues