DBModVirtualSource
Summary
Provides permissions for the database connector used by ATXHelix during the offline (DMS-free) database modernization workflow
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/DBModVirtualSource- Default version
- v1
- Created
- Last edited
- Services
- ec2, iam, kms, rds, rds-data, s3, secretsmanager
Control-plane actions (34)
By access level: 12 List, 7 Read, 3 Tagging, 12 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| EC2 | 7 of 834 | 7 List; 0 restricted, 0 conditional | ec2:DescribeAvailabilityZones, ec2:DescribeInstances, ec2:DescribeInternetGateways, ec2:DescribeSecurityGroups, ec2:DescribeSubnets, ec2:DescribeVpcEndpoints, ec2:DescribeVpcs |
| IAM | 3 of 190 | 2 Read, 1 Write; 3 restricted, 3 conditional | iam:CreateServiceLinkedRole, iam:GetPolicy, iam:GetPolicyVersion |
| KMS | 3 of 58 | 1 List, 1 Read, 1 Write; 1 restricted, 1 conditional | kms:Decrypt, kms:DescribeKey, kms:ListAliases |
| RDS | 10 of 173 | 3 List, 1 Tagging, 6 Write; 7 restricted, 7 conditional | rds:AddTagsToResource, rds:CreateDBCluster, rds:CreateDBInstance, rds:CreateDBSubnetGroup, rds:DescribeDBClusters, rds:DescribeDBInstances, rds:DescribeDBSubnetGroups, rds:DisableHttpEndpoint, rds:EnableHttpEndpoint, rds:ModifyDBSubnetGroup |
| S3 | 5 of 155 | 2 Read, 1 Tagging, 2 Write; 5 restricted, 5 conditional | s3:CreateBucket, s3:GetBucketLocation, s3:GetBucketVersioning, s3:PutBucketTagging, s3:PutBucketVersioning |
| Secrets Manager | 6 of 27 | 1 List, 2 Read, 1 Tagging, 2 Write; 5 restricted, 5 conditional | secretsmanager:CreateSecret, secretsmanager:DescribeSecret, secretsmanager:GetSecretValue, secretsmanager:ListSecrets, secretsmanager:TagResource, secretsmanager:UpdateSecret |
EC2: 7 actions
- ec2:DescribeAvailabilityZones (List)
- ec2:DescribeInstances (List)
- ec2:DescribeInternetGateways (List)
- ec2:DescribeSecurityGroups (List)
- ec2:DescribeSubnets (List)
- ec2:DescribeVpcEndpoints (List)
- ec2:DescribeVpcs (List)
IAM: 3 actions
- iam:CreateServiceLinkedRole (Write)
- iam:GetPolicy (Read)
- iam:GetPolicyVersion (Read)
KMS: 3 actions
- kms:Decrypt (Write)
- kms:DescribeKey (Read)
- kms:ListAliases (List)
RDS: 10 actions
- rds:AddTagsToResource (Tagging)
- rds:CreateDBCluster (Write)
- rds:CreateDBInstance (Write)
- rds:CreateDBSubnetGroup (Write)
- rds:DescribeDBClusters (List)
- rds:DescribeDBInstances (List)
- rds:DescribeDBSubnetGroups (List)
- rds:DisableHttpEndpoint (Write)
- rds:EnableHttpEndpoint (Write)
- rds:ModifyDBSubnetGroup (Write)
S3: 5 actions
- s3:CreateBucket (Write)
- s3:GetBucketLocation (Read)
- s3:GetBucketVersioning (Read)
- s3:PutBucketTagging (Tagging)
- s3:PutBucketVersioning (Write)
Secrets Manager: 6 actions
- secretsmanager:CreateSecret (Write)
- secretsmanager:DescribeSecret (Read)
- secretsmanager:GetSecretValue (Read)
- secretsmanager:ListSecrets (List)
- secretsmanager:TagResource (Tagging)
- secretsmanager:UpdateSecret (Write)
Data-plane actions (5)
By access level: 1 List, 1 Read, 3 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| RDS Data API | 1 of 6 | 1 Write; 1 restricted, 1 conditional | rds-data:ExecuteStatement |
| S3 | 4 of 25 | 1 List, 1 Read, 2 Write; 4 restricted, 4 conditional | s3:DeleteObject, s3:GetObject, s3:ListBucket, s3:PutObject |
RDS Data API: 1 actions
- rds-data:ExecuteStatement (Write)
S3: 4 actions
- s3:DeleteObject (Write)
- s3:GetObject (Read)
- s3:ListBucket (List)
- s3:PutObject (Write)
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: mixed.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants 18 write, tagging or permissions-management actions, short of full control of any service.
- Grants data-plane write actions on a data store, but only for scoped resources or under conditions.
Guidance
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Related policies
Same service
- AccessAnalyzerServiceRolePolicy
- AdministratorAccess-AWSElasticBeanstalk
- AIDevOpsReleaseManagementVPCPolicy
- AlexaForBusinessDeviceSetup
- AlexaForBusinessNetworkProfileServicePolicy
- AmazonAppFlowFullAccess
- AmazonAppStreamServiceAccess
- AmazonBedrockStudioPermissionsBoundary
Same domain
Frequently asked questions
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Policy JSON
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:DescribeInstances",
"ec2:DescribeSubnets",
"ec2:DescribeVpcs",
"ec2:DescribeSecurityGroups",
"ec2:DescribeAvailabilityZones",
"ec2:DescribeVpcEndpoints",
"ec2:DescribeInternetGateways",
"rds:DescribeDBInstances",
"rds:DescribeDBClusters",
"rds:DescribeDBSubnetGroups",
"secretsmanager:ListSecrets",
"kms:ListAliases",
"kms:DescribeKey"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "rds:ModifyDBSubnetGroup",
"Resource": "arn:aws:rds:*:*:subgrp:*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": [
"rds:EnableHttpEndpoint",
"rds:DisableHttpEndpoint",
"rds-data:ExecuteStatement"
],
"Resource": "arn:aws:rds:*:*:cluster:*",
"Condition": {
"StringEquals": {
"aws:ResourceTag/Project": "atx-db-modernization",
"aws:ResourceTag/Owner": "database-connector",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": [
"iam:GetPolicy",
"iam:GetPolicyVersion"
],
"Resource": "arn:aws:iam::*:policy/*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": "kms:Decrypt",
"Resource": "arn:aws:kms:*:*:key/*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
},
"StringLike": {
"kms:EncryptionContext:SecretArn": "arn:aws:secretsmanager:*:${aws:PrincipalAccount}:secret:*",
"kms:ViaService": "secretsmanager.*.amazonaws.com"
}
}
},
{
"Effect": "Allow",
"Action": "secretsmanager:UpdateSecret",
"Resource": "arn:aws:secretsmanager:*:*:secret:atx-db-modernization-*",
"Condition": {
"StringEquals": {
"aws:ResourceTag/Project": "atx-db-modernization",
"aws:ResourceTag/Owner": "database-connector",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": [
"secretsmanager:CreateSecret",
"secretsmanager:TagResource"
],
"Resource": "arn:aws:secretsmanager:*:*:secret:atx-db-modernization-*",
"Condition": {
"StringEquals": {
"aws:RequestTag/Project": "atx-db-modernization",
"aws:RequestTag/Owner": "database-connector",
"aws:ResourceTag/Project": "atx-db-modernization",
"aws:ResourceTag/Owner": "database-connector",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": [
"s3:CreateBucket",
"s3:PutBucketTagging",
"s3:PutBucketVersioning",
"s3:ListBucket",
"s3:GetObject",
"s3:GetBucketLocation",
"s3:PutObject",
"s3:DeleteObject",
"s3:GetBucketVersioning"
],
"Resource": [
"arn:aws:s3:::atx-db-modernization-*",
"arn:aws:s3:::atx-db-modernization-*/*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": [
"rds:CreateDBSubnetGroup",
"rds:CreateDBCluster",
"rds:CreateDBInstance",
"rds:AddTagsToResource"
],
"Resource": [
"arn:aws:rds:*:*:subgrp:*",
"arn:aws:rds:*:*:cluster:*",
"arn:aws:rds:*:*:db:*"
],
"Condition": {
"StringEquals": {
"aws:RequestTag/Project": "atx-db-modernization",
"aws:RequestTag/Owner": "database-connector",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": [
"secretsmanager:GetSecretValue",
"secretsmanager:DescribeSecret"
],
"Resource": "arn:aws:secretsmanager:*:*:secret:*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}",
"aws:ResourceTag/Project": "atx-db-modernization",
"aws:ResourceTag/Owner": "database-connector"
}
}
},
{
"Effect": "Allow",
"Action": "iam:CreateServiceLinkedRole",
"Resource": "arn:aws:iam::*:role/aws-service-role/rds.amazonaws.com/AWSServiceRoleForRDS",
"Condition": {
"StringLike": {
"iam:AWSServiceName": "rds.amazonaws.com"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
}
]
}
Version history
Current version v1, edited by AWS on 2026-07-06. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
AWS CLI
aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/DBModVirtualSource
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/DBModVirtualSource
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/DBModVirtualSourceCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/DBModVirtualSourceTerraform
resource "aws_iam_role_policy_attachment" "dbmodvirtualsource" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/DBModVirtualSource"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("DBModVirtualSource"),
);Sources
Pending editorial review. No editorial sources are listed yet.