rds:CreateTenantDatabase

Write

rds:CreateTenantDatabase is a Write access-level action in the rds service. Grants permission to create a new tenant database

Resource types

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

arn:${Partition}:rds:${Region}:${Account}:db:${DbInstanceName} required
db
arn:${Partition}:rds:${Region}:${Account}:tenant-database:${TenantResourceId} required
tenant-database

Condition keys

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

aws:RequestTag/${TagKey} String

Filters access by the set of tag key-value pairs in the request

aws:TagKeys ArrayOfString

Filters access by the set of tag keys in the request

rds:ManageMasterUserPassword Bool

Filters access by the value that specifies whether RDS manages master user password in AWS Secrets Manager for the DB instance or cluster

rds:TenantDatabaseName String

Filters access by the tenant database name in CreateTenantDatabase and by the new tenant database name in ModifyTenantDatabase

rds:req-tag/${TagKey} String

Filters access by the set of tag keys and values that can be used to tag a resource

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:db-tag/${TagKey} String

Filters access by the tag attached to a DB instance

Example IAM policy

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

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

Related actions in rds

View all rds actions →