AWSQuickSetupEnableDHMCExecutionPolicy
Summary
This policy grants permissions that allow principals to run the AWSQuickSetupType-EnableDHMC Automation runbook, which enables Default Host Management Configuration.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AWSQuickSetupEnableDHMCExecutionPolicy- Default version
- v2
- Created
- Last edited
- Services
- iam, ssm
Control-plane actions (7)
By access level: 1 Permissions management, 3 Read, 3 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| IAM | 4 of 190 | 1 Permissions management, 1 Read, 2 Write; 4 restricted, 2 conditional | iam:AttachRolePolicy, iam:CreateRole, iam:GetRole, iam:PassRole |
| Systems Manager | 3 of 164 | 2 Read, 1 Write; 3 restricted, 1 conditional | ssm:GetCalendarState, ssm:GetServiceSetting, ssm:UpdateServiceSetting |
IAM: 4 actions
- iam:AttachRolePolicy (Permissions management)
- iam:CreateRole (Write)
- iam:GetRole (Read)
- iam:PassRole (Write)
Systems Manager: 3 actions
- ssm:GetCalendarState (Read)
- ssm:GetServiceSetting (Read)
- ssm:UpdateServiceSetting (Write)
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 4 write, tagging or permissions-management actions, short of full control of any service.
- Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).
- Grants permissions-management actions on iam, 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
- AccountManagementFromVercel
- AIOpsOperatorAccess
- AmazonApplicationRecoveryControllerRegionSwitchPlanExecutionPolicy
- AmazonChimeServiceRolePolicy
- AmazonCloudWatchEvidentlyFullAccess
- AmazonCodeGuruProfilerFullAccess
- AmazonCodeGuruProfilerReadOnlyAccess
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": [
"iam:CreateRole",
"iam:GetRole"
],
"Resource": "arn:aws:iam::*:role/AWS-QuickSetup-SSM-DefaultEC2MgmtRole-*"
},
{
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": "arn:aws:iam::*:role/AWS-QuickSetup-SSM-DefaultEC2MgmtRole-*",
"Condition": {
"StringEquals": {
"iam:PassedToService": "ssm.amazonaws.com"
}
}
},
{
"Effect": "Allow",
"Action": [
"iam:AttachRolePolicy"
],
"Resource": "arn:aws:iam::*:role/AWS-QuickSetup-SSM-DefaultEC2MgmtRole-*",
"Condition": {
"ArnEquals": {
"iam:PolicyARN": "arn:aws:iam::aws:policy/AmazonSSMManagedEC2InstanceDefaultPolicy"
}
}
},
{
"Effect": "Allow",
"Action": [
"ssm:GetServiceSetting",
"ssm:UpdateServiceSetting"
],
"Resource": "arn:aws:ssm:*:*:servicesetting/ssm/managed-instance/default-ec2-instance-management-role"
},
{
"Effect": "Allow",
"Action": "ssm:GetCalendarState",
"Resource": "arn:aws:ssm:*:*:document/*",
"Condition": {
"StringLike": {
"aws:userid": "*:SystemsManager-Automation-ChangeCalendar-Check"
},
"StringEquals": {
"ssm:DocumentType": "ChangeCalendar"
}
}
}
]
}
Version history
Current version v2, edited by AWS on 2026-10-27. 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/AWSQuickSetupEnableDHMCExecutionPolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSQuickSetupEnableDHMCExecutionPolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSQuickSetupEnableDHMCExecutionPolicyCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AWSQuickSetupEnableDHMCExecutionPolicyTerraform
resource "aws_iam_role_policy_attachment" "awsquicksetupenabledhmcexecutionpolicy" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AWSQuickSetupEnableDHMCExecutionPolicy"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AWSQuickSetupEnableDHMCExecutionPolicy"),
);Sources
Pending editorial review. No editorial sources are listed yet.