rds:DeregisterDBProxyTargets

Write

rds:DeregisterDBProxyTargets is a Write access-level action in the rds service. Grants permission to remove targets from a database proxy target group

Resource types

ARNs that rds:DeregisterDBProxyTargets can be scoped to in an IAM policy.

arn:${Partition}:rds:${Region}:${Account}:cluster:${DbClusterInstanceName}
cluster
arn:${Partition}:rds:${Region}:${Account}:db:${DbInstanceName}
db
arn:${Partition}:rds:${Region}:${Account}:db-proxy:${DbProxyId}
proxy
arn:${Partition}:rds:${Region}:${Account}:target-group:${TargetGroupId}
target-group

Condition keys

Keys you can use in the Condition block of a policy that grants rds:DeregisterDBProxyTargets.

aws:ResourceTag/${TagKey} String

Filters access by the set of tag key-value pairs attached to the resource

rds:DatabaseClass String

Filters access by the type of DB instance class

rds:DatabaseEngine String

Filters access by the database engine. For possible values refer to the engine parameter in CreateDBInstance API

rds:DatabaseName String

Filters access by the user-defined name of the database on the DB instance

rds:MultiAz Bool

Filters access by the value that specifies whether the DB instance runs in multiple Availability Zones. To indicate that the DB instance is using Multi-AZ, specify true

rds:Piops Numeric

Filters access by the value that contains the number of Provisioned IOPS (PIOPS) that the instance supports. To indicate a DB instance that does not have PIOPS enabled, specify 0

rds:StorageEncrypted Bool

Filters access by the value that specifies whether the DB instance storage should be encrypted. To enforce storage encryption, specify true

rds:StorageSize Numeric

Filters access by the storage volume size (in GB)

rds:Vpc Bool

Filters access by the value that specifies whether the DB instance runs in an Amazon Virtual Private Cloud (Amazon VPC). To indicate that the DB instance runs in an Amazon VPC, specify true

rds:cluster-tag/${TagKey} String

Filters access by the tag attached to a DB cluster

rds:db-tag/${TagKey} String

Filters access by the tag attached to a DB instance

Example IAM policy

A minimal policy that allows rds:DeregisterDBProxyTargets. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRdsDeregisterDBProxyTargets",
      "Effect": "Allow",
      "Action": "rds:DeregisterDBProxyTargets",
      "Resource": "*"
    }
  ]
}

Related actions in rds

View all rds actions →