DatabaseProxyAttributes

class aws_cdk.aws_rds.DatabaseProxyAttributes(*, db_proxy_arn, db_proxy_name, endpoint, security_groups)

Bases: object

Properties that describe an existing DB Proxy.

Parameters:
  • db_proxy_arn (str) – DB Proxy ARN.

  • db_proxy_name (str) – DB Proxy Name.

  • endpoint (str) – Endpoint.

  • security_groups (Sequence[ISecurityGroup]) – The security groups of the instance.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2
import aws_cdk.aws_rds as rds

# security_group: ec2.SecurityGroup

database_proxy_attributes = rds.DatabaseProxyAttributes(
    db_proxy_arn="dbProxyArn",
    db_proxy_name="dbProxyName",
    endpoint="endpoint",
    security_groups=[security_group]
)

Attributes

db_proxy_arn

DB Proxy ARN.

db_proxy_name

DB Proxy Name.

endpoint

Endpoint.

security_groups

The security groups of the instance.