AmplifyGen3ServiceRolePolicy
Last Modified
Nov 27, 2026
November 27, 2026 at 06:03 AM UTC
Version
v2
Total Versions
2
Created
Nov 27, 2026
Actions
40
Risk
MediumThe same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed
- Medium
Can rewrite resource policies and sharing
Grants 1 permissions management action across 1 service (logs) on any resource, enough to share resources outside the account.
logs:putresourcepolicyUse with caution: Turn on IAM Access Analyzer external access findings, and keep account-level guards like S3 Block Public Access enabled.
Policy Document
View on GitHub{
"PolicyVersion": {
"Document": {
"Version": "2012-10-17",
"Statement": [
{
"Sid": "S3BucketValidation",
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": "arn:aws:s3:::*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "DsqlClusterValidation",
"Effect": "Allow",
"Action": [
"dsql:GetCluster"
],
"Resource": "arn:aws:dsql:*:*:cluster/*"
},
{
"Sid": "BedrockModelDiscovery",
"Effect": "Allow",
"Action": [
"bedrock:ListFoundationModels",
"bedrock:ListInferenceProfiles"
],
"Resource": "*"
},
{
"Sid": "BedrockInferenceProfileRead",
"Effect": "Allow",
"Action": [
"bedrock:GetInferenceProfile"
],
"Resource": "arn:aws:bedrock:*:*:inference-profile/*"
},
{
"Sid": "LogGroupProvisioning",
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:PutRetentionPolicy"
],
"Resource": "arn:aws:logs:*:*:log-group:/aws/amplifygen3/*"
},
{
"Sid": "LogDeliveryManagement",
"Effect": "Allow",
"Action": [
"logs:PutDeliverySource",
"logs:PutDeliveryDestination",
"logs:CreateDelivery",
"logs:DeleteDelivery",
"logs:DeleteDeliverySource",
"logs:DeleteDeliveryDestination"
],
"Resource": [
"arn:aws:logs:*:*:delivery:*",
"arn:aws:logs:*:*:delivery-source:*",
"arn:aws:logs:*:*:delivery-destination:*"
]
},
{
"Sid": "LogGroupResourcePolicyManagement",
"Effect": "Allow",
"Action": [
"logs:DescribeLogGroups",
"logs:DescribeResourcePolicies",
"logs:PutResourcePolicy"
],
"Resource": "*"
},
{
"Sid": "VendedLogDelivery",
"Effect": "Allow",
"Action": [
"amplifygen3:AllowVendedLogDeliveryForResource"
],
"Resource": "*"
},
{
"Sid": "LogDeliveryDescribe",
"Effect": "Allow",
"Action": [
"logs:DescribeDeliveries"
],
"Resource": "*"
},
{
"Sid": "GitTriggeredDeployment",
"Effect": "Allow",
"Action": [
"amplifygen3:CreateDeployment"
],
"Resource": "arn:aws:amplifygen3:*:*:app/*/environment/*"
},
{
"Sid": "IdcDiscovery",
"Effect": "Allow",
"Action": [
"sso:ListInstances",
"sso:DescribeInstance"
],
"Resource": "*"
},
{
"Sid": "IdcApplicationProvisioning",
"Effect": "Allow",
"Action": [
"sso:CreateApplication"
],
"Resource": [
"arn:aws:sso::*:application/*",
"arn:aws:sso:::instance/*",
"arn:aws:sso::aws:applicationProvider/amplifygen3"
],
"Condition": {
"StringEquals": {
"aws:RequestTag/ManagedByAmplifyGen3": "true"
},
"ForAllValues:StringEquals": {
"aws:TagKeys": [
"ManagedByAmplifyGen3"
]
}
}
},
{
"Sid": "IdcApplicationTagOnCreate",
"Effect": "Allow",
"Action": [
"sso:TagResource"
],
"Resource": [
"arn:aws:sso:::instance/*",
"arn:aws:sso::aws:applicationProvider/amplifygen3"
],
"Condition": {
"StringEquals": {
"aws:RequestTag/ManagedByAmplifyGen3": "true"
},
"ForAllValues:StringEquals": {
"aws:TagKeys": [
"ManagedByAmplifyGen3"
]
}
}
},
{
"Sid": "IdcApplicationTagManagement",
"Effect": "Allow",
"Action": [
"sso:TagResource"
],
"Resource": "arn:aws:sso::*:application/*",
"Condition": {
"StringEquals": {
"aws:RequestTag/ManagedByAmplifyGen3": "true",
"aws:ResourceTag/ManagedByAmplifyGen3": "true"
},
"ForAllValues:StringEquals": {
"aws:TagKeys": [
"ManagedByAmplifyGen3"
]
}
}
},
{
"Sid": "IdcApplicationConfigurationSameAccount",
"Effect": "Allow",
"Action": [
"sso:PutApplicationAssignmentConfiguration",
"sso:PutApplicationGrant",
"sso:PutApplicationAuthenticationMethod",
"sso:CreateApplicationAssignment",
"sso:DeleteApplication"
],
"Resource": "arn:aws:sso::*:application/*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}",
"aws:ResourceTag/ManagedByAmplifyGen3": "true"
}
}
},
{
"Sid": "IdcApplicationConfigurationSameOrganization",
"Effect": "Allow",
"Action": [
"sso:PutApplicationAssignmentConfiguration",
"sso:PutApplicationGrant",
"sso:PutApplicationAuthenticationMethod",
"sso:CreateApplicationAssignment",
"sso:DeleteApplication"
],
"Resource": "arn:aws:sso::*:application/*",
"Condition": {
"StringEquals": {
"aws:ResourceOrgID": "${aws:PrincipalOrgID}",
"aws:ResourceTag/ManagedByAmplifyGen3": "true"
}
}
},
{
"Sid": "IdcAdminGroupResolution",
"Effect": "Allow",
"Action": [
"identitystore:GetGroupId"
],
"Resource": [
"arn:aws:identitystore::*:identitystore/*",
"arn:aws:identitystore:::group/*"
]
},
{
"Sid": "Route53HostedZoneDiscoveryAndCreation",
"Effect": "Allow",
"Action": [
"route53:ListHostedZonesByName",
"route53:CreateHostedZone"
],
"Resource": "*"
},
{
"Sid": "Route53HostedZoneRead",
"Effect": "Allow",
"Action": [
"route53:GetHostedZone",
"route53:ListResourceRecordSets"
],
"Resource": "arn:aws:route53:::hostedzone/*"
},
{
"Sid": "Route53RecordManagement",
"Effect": "Allow",
"Action": [
"route53:ChangeResourceRecordSets"
],
"Resource": "arn:aws:route53:::hostedzone/*",
"Condition": {
"ForAllValues:StringEquals": {
"route53:ChangeResourceRecordSetsRecordTypes": [
"A",
"AAAA",
"CNAME",
"TXT"
]
}
}
}
]
},
"VersionId": "v2",
"IsDefaultVersion": true,
"CreateDate": "2026-11-27T05:17:08+00:00"
}
}Version History (2 recorded)
Raw historyv2updated
8 actions added
v1new policy
26 actions added
New AWS service amplifygen3
3 never-before-seen actions: logs:DeleteDelivery, logs:DeleteDeliveryDestination, logs:DeleteDeliverySource
2 permissions management, incl. amplifygen3:AllowVendedLogDeliveryForResource: amplifygen3:AllowVendedLogDeliveryForResource, logs:PutResourcePolicy