CloudTrailEventContext - AWS 管理ポリシー

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

CloudTrailEventContext

説明: このサービスにリンクされたロールにより、CloudTrail はリソース所有者の CloudTrail イベントにリソースタグを取得して追加できます。

CloudTrailEventContextAWS マネージドポリシーです。

このポリシーを使用すると

このポリシーは、ユーザーに代わってサービスがアクションを実行することを許可する、サービスリンクロールにアタッチされます。ユーザー、グループおよびロールにこのポリシーはアタッチできません。

ポリシーの詳細

  • タイプ: サービスリンクロールポリシー

  • 作成日時: 2025 年 5 月 15 日 13:52 UTC

  • 編集日時: 2025 年 5 月 15 日 13:52 UTC

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

ポリシーのバージョン

ポリシーのバージョン: v1 (デフォルト)

ポリシーのデフォルトバージョンは、ポリシーのアクセス許可を定義するバージョンです。ポリシーを持つユーザーまたはロールが AWS リソースへのアクセスをリクエストすると、 はポリシーのデフォルトバージョン AWS をチェックして、リクエストを許可するかどうかを判断します。

JSON ポリシードキュメント

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "CloudTrailEventContextPermissionForTag", "Effect" : "Allow", "Action" : "tag:GetResources", "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "AllowEventBridgeRuleCreation", "Effect" : "Allow", "Action" : "events:PutRule", "Resource" : "arn:aws:events:*:*:rule/CloudTrailEventContext*", "Condition" : { "ForAllValues:StringEquals" : { "events:source" : "aws.tag" }, "StringEquals" : { "events:creatorAccount" : "${aws:PrincipalAccount}", "events:detail-type" : "Tag Change on Resource", "events:ManagedBy" : "context.cloudtrail.amazonaws.com" } } }, { "Sid" : "AllowEventBridgeRuleWrite", "Effect" : "Allow", "Action" : [ "events:PutTargets", "events:DeleteRule", "events:RemoveTargets" ], "Resource" : "arn:aws:events:*:*:rule/CloudTrailEventContext*", "Condition" : { "StringEquals" : { "events:creatorAccount" : "${aws:PrincipalAccount}", "events:ManagedBy" : "context.cloudtrail.amazonaws.com" } } }, { "Sid" : "AllowEventBridgeRuleRead", "Effect" : "Allow", "Action" : [ "events:DescribeRule", "events:ListTargetsByRule" ], "Condition" : { "StringEquals" : { "events:creatorAccount" : "${aws:PrincipalAccount}" } }, "Resource" : "arn:aws:events:*:*:rule/CloudTrailEventContext*" }, { "Sid" : "AllowEventBridgeRuleList", "Effect" : "Allow", "Action" : [ "events:ListRules" ], "Resource" : "*" } ] }

詳細はこちら