AWSEC2CapacityReservationFleetRolePolicy
Description: Allows EC2 CapacityReservation Fleet service to manage Capacity Reservations
AWSEC2CapacityReservationFleetRolePolicy
is an AWS managed policy.
Using this policy
This policy is attached to a service-linked role that allows the service to perform actions on your behalf. You cannot attach this policy to your users, groups, or roles.
Policy details
-
Type: Service-linked role policy
-
Creation time: September 29, 2021, 14:43 UTC
-
Edited time: September 29, 2021, 14:43 UTC
-
ARN:
arn:aws:iam::aws:policy/aws-service-role/AWSEC2CapacityReservationFleetRolePolicy
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" : [ "ec2:DescribeCapacityReservations", "ec2:DescribeInstances" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "ec2:CreateCapacityReservation", "ec2:CancelCapacityReservation", "ec2:ModifyCapacityReservation" ], "Resource" : [ "arn:aws:ec2:*:*:capacity-reservation/*" ], "Condition" : { "StringLike" : { "ec2:CapacityReservationFleet" : "arn:aws:ec2:*:*:capacity-reservation-fleet/crf-*" } } }, { "Effect" : "Allow", "Action" : [ "ec2:CreateTags" ], "Resource" : [ "arn:aws:ec2:*:*:capacity-reservation/*" ], "Condition" : { "StringEquals" : { "ec2:CreateAction" : "CreateCapacityReservation" } } } ] }