AWSEC2SqlHaInstancePolicy
Description: Amazon EC2 instance permissions to allow EC2 SQL High Availability service to detect instance high availability state through EC2 instance profile.
AWSEC2SqlHaInstancePolicy is an AWS managed policy.
Using this policy
You can attach AWSEC2SqlHaInstancePolicy to your users, groups, and roles.
Policy details
-
Type: AWS managed policy
-
Creation time: November 13, 2025, 01:49 UTC
-
Edited time: November 13, 2025, 01:49 UTC
-
ARN:
arn:aws:iam::aws:policy/AWSEC2SqlHaInstancePolicy
Policy version
Policy version: v1 (default)
The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.
JSON policy document
{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "ssm:UpdateInstanceInformation" ], "Resource" : "arn:aws:ec2:*:*:instance/*", "Condition" : { "StringLike" : { "aws:ResourceTag/SqlHaMonitored" : "true" } } }, { "Effect" : "Allow", "Action" : [ "secretsmanager:GetSecretValue" ], "Resource" : "arn:aws:secretsmanager:*:*:secret:*", "Condition" : { "StringLike" : { "aws:ResourceTag/AWSEc2SqlHa" : "*" } } }, { "Effect" : "Allow", "Action" : [ "ssmmessages:CreateControlChannel", "ssmmessages:CreateDataChannel", "ssmmessages:OpenControlChannel", "ssmmessages:OpenDataChannel" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "ec2messages:AcknowledgeMessage", "ec2messages:DeleteMessage", "ec2messages:FailMessage", "ec2messages:GetEndpoint", "ec2messages:GetMessages", "ec2messages:SendReply" ], "Resource" : "*" } ] }