AWSRefactoringToolkitSidecarPolicy
Summary
This policy is intended to be used by Amazon ECS Tasks created for testing applications in AWS using the AWS Toolkit for .NET Refactoring extension for Microsoft Visual Studio. The policy grants access to download application artifacts from Amazon S3, communicate the status of the Task using AWS Systems Manager, and other required services.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AWSRefactoringToolkitSidecarPolicy- Default version
- v2
- Created
- Last edited
- Services
- s3, ssmmessages
Control-plane actions (4)
By access level: 4 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| SSM Messages | All 4 actions (see the SSM Messages page) | 4 Write; 0 restricted, 0 conditional | ssmmessages:CreateControlChannel, ssmmessages:CreateDataChannel, ssmmessages:OpenControlChannel, ssmmessages:OpenDataChannel |
Data-plane actions (2)
By access level: 1 List, 1 Read.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| S3 | 2 of 25 | 1 List, 1 Read; 2 restricted, 1 conditional | s3:GetObject, s3:ListBucket |
S3: 2 actions
- s3:GetObject (Read)
- s3:ListBucket (List)
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 4 write, tagging or permissions-management actions, 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
- AccessAnalyzerServiceRolePolicy
- AdministratorAccess-AWSElasticBeanstalk
- AmazonAppFlowFullAccess
- AmazonAppStreamServiceAccess
- AmazonBedrockStudioPermissionsBoundary
- AmazonBraketJobsExecutionPolicy
- AmazonBraketServiceRolePolicy
- AmazonCloudWatchEvidentlyFullAccess
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": "SsmMessagesAccess",
"Effect": "Allow",
"Action": [
"ssmmessages:OpenControlChannel",
"ssmmessages:CreateControlChannel",
"ssmmessages:OpenDataChannel",
"ssmmessages:CreateDataChannel"
],
"Resource": "*"
},
{
"Sid": "S3GetObjectAccess",
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": "arn:aws:s3:::*/refactoringtoolkit*"
},
{
"Sid": "S3ListBucketAccess",
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": "arn:aws:s3:::*",
"Condition": {
"StringLike": {
"s3:prefix": "refactoringtoolkit*"
}
}
}
]
}
Version history
Current version v2, edited by AWS on 2022-10-29. 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/AWSRefactoringToolkitSidecarPolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSRefactoringToolkitSidecarPolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSRefactoringToolkitSidecarPolicyCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AWSRefactoringToolkitSidecarPolicyTerraform
resource "aws_iam_role_policy_attachment" "awsrefactoringtoolkitsidecarpolicy" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AWSRefactoringToolkitSidecarPolicy"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AWSRefactoringToolkitSidecarPolicy"),
);Sources
Pending editorial review. No editorial sources are listed yet.