AWSEC2SqlHaServiceRolePolicy - AWS 관리형 정책

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

AWSEC2SqlHaServiceRolePolicy

설명: 대기/수동 인스턴스를 감지하기 위한 EC2 SQL 고가용성 서비스 권한

AWSEC2SqlHaServiceRolePolicy은(는) AWS 관리형 정책입니다.

이 정책 사용

이 정책은 서비스에서 사용자를 대신하여 작업을 수행할 수 있도록 서비스 연결 역할에 연결됩니다. 사용자, 그룹 또는 역할에 정책을 연결할 수 없습니다.

정책 세부 정보

  • 유형: 서비스 연결 역할 정책

  • 생성 시간: 2025년 11월 13일, 01:34 UTC

  • 편집된 시간: 2025년 11월 13일, 01:34 UTC

  • ARN: arn:aws:iam::aws:policy/aws-service-role/AWSEC2SqlHaServiceRolePolicy

정책 버전

정책 버전: v1(기본값)

정책의 기본 버전은 정책에 대한 권한을 정의하는 버전입니다. 정책이 있는 사용자 또는 역할이 AWS 리소스에 대한 액세스를 요청하면는 정책의 기본 버전을 AWS 확인하여 요청을 허용할지 여부를 결정합니다.

JSON 정책 문서

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "AllowSSMSendCommandToTaggedInstances", "Effect" : "Allow", "Action" : "ssm:SendCommand", "Resource" : [ "arn:aws:ec2:*:*:instance/*" ], "Condition" : { "StringLike" : { "aws:ResourceTag/SqlHaMonitored" : "true" } } }, { "Sid" : "AllowSSMSendCommandOfOwnedDoc", "Effect" : "Allow", "Action" : "ssm:SendCommand", "Resource" : [ "arn:aws:ssm:*:*:document/AWSEC2-DetectSqlHa*" ] }, { "Sid" : "AllowSSMNonMutating", "Effect" : "Allow", "Action" : [ "ssm:DescribeInstanceInformation", "ssm:GetCommandInvocation", "ssm:ListCommands", "ssm:ListCommandInvocations" ], "Resource" : "*" }, { "Sid" : "AllowEC2NonMutating", "Effect" : "Allow", "Action" : [ "ec2:DescribeInstances", "ec2:DescribeInstanceAttribute", "ec2:DescribeInstanceStatus", "ec2:DescribeTags" ], "Resource" : "*" }, { "Sid" : "AllowEventsMutateManagedRule", "Effect" : "Allow", "Action" : [ "events:PutTargets", "events:PutRule", "events:DeleteRule", "events:RemoveTargets" ], "Condition" : { "StringEquals" : { "events:ManagedBy" : "ec2sqlha.amazonaws.com", "aws:PrincipalAccount" : "${aws:ResourceAccount}" } }, "Resource" : "arn:aws:events:*:*:rule/AWSEC2SqlHa*" }, { "Sid" : "AllowEventsNonMutatingManagedRule", "Effect" : "Allow", "Action" : [ "events:ListTargetsByRule", "events:DescribeRule" ], "Resource" : "arn:aws:events:*:*:rule/AWSEC2SqlHa*" } ] }

자세히 알아보기