SageMakerStudioBedrockFunctionExecutionRolePolicy
Summary
Allows AWS Lambda to access an Amazon Bedrock function component's configuration in SageMaker Studio.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockFunctionExecutionRolePolicy- Default version
- v3
- Created
- Last edited
- Services
- kms, secretsmanager
Control-plane actions (3)
By access level: 2 Read, 1 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| KMS | 1 of 58 | 1 Write; 1 restricted, 1 conditional | kms:Decrypt |
| Secrets Manager | 2 of 27 | 2 Read; 2 restricted, 2 conditional | secretsmanager:DescribeSecret, secretsmanager:GetSecretValue |
KMS: 1 actions
- kms:Decrypt (Write)
Secrets Manager: 2 actions
- secretsmanager:DescribeSecret (Read)
- secretsmanager:GetSecretValue (Read)
Data-plane actions (0)
By access level: none.
This policy grants no actions in this plane.
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: scoped.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants 1 write, tagging or permissions-management action, short of full control of any service.
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
- AgentRegistryFullAccess
- AlexaForBusinessDeviceSetup
- AlexaForBusinessNetworkProfileServicePolicy
- AmazonAppFlowFullAccess
- AmazonAuroraDSQLConsoleFullAccess
- AmazonAuroraDSQLFullAccess
- AmazonChimeSDKMessagingServiceRolePolicy
- AmazonCognitoIdpServiceRolePolicy
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": [
{
"Sid": "SecretsManagerReadPermissions",
"Effect": "Allow",
"Action": [
"secretsmanager:DescribeSecret",
"secretsmanager:GetSecretValue"
],
"Resource": "arn:aws:secretsmanager:*:*:secret:amazon-bedrock*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}",
"aws:ResourceTag/AmazonDataZoneProject": "${aws:PrincipalTag/AmazonDataZoneProject}"
}
}
},
{
"Sid": "KMSSameAccountBedrockViaSecretsManagerPermissions",
"Effect": "Allow",
"Action": "kms:Decrypt",
"Resource": "arn:aws:kms:*:*:key/${aws:PrincipalTag/KmsKeyId}",
"Condition": {
"StringLike": {
"kms:ViaService": "secretsmanager.*.amazonaws.com",
"kms:EncryptionContext:SecretARN": "arn:aws:secretsmanager:*:${aws:PrincipalAccount}:secret:amazon-bedrock*"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
}
]
}
Version history
Current version v3, edited by AWS on 2026-02-12. 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/service-role/SageMakerStudioBedrockFunctionExecutionRolePolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockFunctionExecutionRolePolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockFunctionExecutionRolePolicyCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockFunctionExecutionRolePolicyTerraform
resource "aws_iam_role_policy_attachment" "service_role_sagemakerstudiobedrockfunctionexecutionrolepolicy" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockFunctionExecutionRolePolicy"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/SageMakerStudioBedrockFunctionExecutionRolePolicy"),
);Sources
Pending editorial review. No editorial sources are listed yet.