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 is of type 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.

Return type

str

db_proxy_name

DB Proxy Name.

Return type

str

endpoint

Endpoint.

Return type

str

security_groups

The security groups of the instance.

Return type

List[ISecurityGroup]