rds:CreateDBSecurityGroup

Write

rds:CreateDBSecurityGroup is a Write access-level action in the rds service. Grants permission to create a new DB security group. DB security groups control access to a DB instance

Resource types

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

arn:${Partition}:rds:${Region}:${Account}:secgrp:${SecurityGroupName}
secgrp

Condition keys

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

aws:ResourceTag/${TagKey} String

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

rds:secgrp-tag/${TagKey} String

Filters access by the tag attached to a DB security group

Dependent actions

To use rds:CreateDBSecurityGroup you may also need to grant:

Example IAM policy

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

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

Related actions in rds

View all rds actions →