EC2FastLaunchServiceRolePolicy - AWS 管理ポリシー

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

EC2FastLaunchServiceRolePolicy

説明: ポリシーは、ec2fastlaunch に、顧客のアカウントでプロビジョニングされたスナップショットの準備および管理と関連するメトリクスの公開を許可します。

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

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

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

ポリシーの詳細

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

  • 作成日時: 2022 年 1 月 10 日 13:08 UTC

  • 編集日時: 2025 年 5 月 14 日 17:07 UTC

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

ポリシーのバージョン

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

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

JSON ポリシードキュメント

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "AllowRunInstances", "Effect" : "Allow", "Action" : [ "ec2:RunInstances" ], "Resource" : [ "arn:aws:ec2:*:*:subnet/*", "arn:aws:ec2:*:*:network-interface/*", "arn:aws:ec2:*::image/*", "arn:aws:ec2:*:*:key-pair/*", "arn:aws:ec2:*:*:security-group/*", "arn:aws:ec2:*:*:launch-template/*", "arn:aws:license-manager:*:*:license-configuration:*" ] }, { "Sid" : "AllowRunInstancesOnFastLaunchCreatedResources", "Effect" : "Allow", "Action" : [ "ec2:RunInstances" ], "Resource" : [ "arn:aws:ec2:*:*:volume/*", "arn:aws:ec2:*:*:instance/*" ], "Condition" : { "StringEquals" : { "aws:RequestTag/CreatedBy" : "EC2 Fast Launch" } } }, { "Sid" : "AllowPassRole", "Effect" : "Allow", "Action" : "iam:PassRole", "Resource" : "*", "Condition" : { "StringEquals" : { "iam:PassedToService" : [ "ec2.amazonaws.com", "ec2.amazonaws.com.rproxy.govskope.ca.cn" ] } } }, { "Sid" : "AllowStopAndTerminateInstances", "Effect" : "Allow", "Action" : [ "ec2:StopInstances", "ec2:TerminateInstances" ], "Resource" : [ "arn:aws:ec2:*:*:instance/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/CreatedBy" : "EC2 Fast Launch" } } }, { "Sid" : "AllowCreateSnapshot", "Effect" : "Allow", "Action" : "ec2:CreateSnapshot", "Resource" : [ "arn:aws:ec2:*:*:volume/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/CreatedBy" : "EC2 Fast Launch" } } }, { "Sid" : "AllowCreateTaggedSnapshot", "Effect" : "Allow", "Action" : "ec2:CreateSnapshot", "Resource" : [ "arn:aws:ec2:*:*:snapshot/*" ], "Condition" : { "StringEquals" : { "aws:RequestTag/CreatedBy" : "EC2 Fast Launch" }, "StringLike" : { "aws:RequestTag/CreatedByLaunchTemplateVersion" : "*" }, "ForAnyValue:StringEquals" : { "aws:TagKeys" : [ "CreatedByLaunchTemplateName", "CreatedByLaunchTemplateId" ] } } }, { "Sid" : "AllowCreateLaunchTemplate", "Effect" : "Allow", "Action" : "ec2:CreateLaunchTemplate", "Resource" : "arn:aws:ec2:*:*:launch-template/*", "Condition" : { "StringEquals" : { "aws:RequestTag/CreatedBy" : "EC2 Fast Launch" } } }, { "Sid" : "AllowCreateTags", "Effect" : "Allow", "Action" : "ec2:CreateTags", "Resource" : [ "arn:aws:ec2:*:*:volume/*", "arn:aws:ec2:*:*:instance/*", "arn:aws:ec2:*:*:snapshot/*", "arn:aws:ec2:*:*:launch-template/*" ], "Condition" : { "StringEquals" : { "ec2:CreateAction" : [ "CreateSnapshot", "RunInstances", "CreateLaunchTemplate" ] } } }, { "Sid" : "AllowDeleteSnapshots", "Effect" : "Allow", "Action" : [ "ec2:DeleteSnapshot" ], "Resource" : [ "arn:aws:ec2:*:*:snapshot/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/CreatedBy" : "EC2 Fast Launch" } } }, { "Sid" : "AllowDescribeActions", "Effect" : "Allow", "Action" : [ "ec2:DescribeImages", "ec2:DescribeSnapshots", "ec2:DescribeSubnets", "ec2:DescribeInstanceAttribute", "ec2:DescribeInstanceStatus", "ec2:DescribeInstances", "ec2:DescribeInstanceTypeOfferings", "ec2:DescribeLaunchTemplateVersions", "ec2:DescribeLaunchTemplates", "cloudformation:DescribeStacks" ], "Resource" : "*" }, { "Sid" : "AllowPutMetricData", "Effect" : "Allow", "Action" : "cloudwatch:PutMetricData", "Resource" : "*", "Condition" : { "StringEquals" : { "cloudwatch:namespace" : "AWS/EC2" } } }, { "Sid" : "AllowEventsRuleMutations", "Effect" : "Allow", "Action" : [ "events:DeleteRule", "events:RemoveTargets", "events:PutRule", "events:PutTargets" ], "Condition" : { "StringEquals" : { "events:ManagedBy" : "ec2fastlaunch.amazonaws.com" } }, "Resource" : [ "arn:aws:events:*:*:rule/FastLaunch*" ] }, { "Sid" : "AllowEventsRuleNonMutations", "Effect" : "Allow", "Action" : [ "events:ListTargetsByRule", "events:DescribeRule" ], "Resource" : [ "arn:aws:events:*:*:rule/FastLaunch*" ] }, { "Sid" : "AllowKMSActions", "Effect" : "Allow", "Action" : "kms:ListRetirableGrants", "Resource" : "*" }, { "Sid" : "AllowDeleteFastLaunchLaunchTemplates", "Effect" : "Allow", "Action" : [ "ec2:DeleteLaunchTemplate" ], "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceTag/CreatedBy" : "EC2 Fast Launch" } } } ] }

詳細はこちら