AWSPCSServiceRolePolicy
Summary
Grants permissions to PCS to manage resources on your behalf.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/aws-service-role/AWSPCSServiceRolePolicy- Default version
- v11
- Created
- Last edited
- Services
- cloudwatch, ec2, iam, secretsmanager
Control-plane actions (34)
By access level: 17 List, 1 Permissions management, 2 Read, 1 Tagging, 13 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| EC2 | 28 of 834 | 17 List, 1 Permissions management, 1 Tagging, 9 Write; 11 restricted, 8 conditional | ec2:CreateFleet, ec2:CreateLaunchTemplate, ec2:CreateLaunchTemplateVersion, ec2:CreateNetworkInterface, ec2:CreateNetworkInterfacePermission, ec2:CreateTags, ec2:DeleteLaunchTemplate, ec2:DeleteLaunchTemplateVersions, ec2:DeleteNetworkInterface, ec2:DescribeCapacityReservationTopology, ec2:DescribeCapacityReservations, ec2:DescribeImageAttribute and 16 more |
| IAM | 1 of 190 | 1 Write; 1 restricted, 1 conditional | iam:PassRole |
| Secrets Manager | 5 of 27 | 2 Read, 3 Write; 5 restricted, 5 conditional | secretsmanager:DeleteSecret, secretsmanager:DescribeSecret, secretsmanager:GetSecretValue, secretsmanager:PutSecretValue, secretsmanager:UpdateSecretVersionStage |
EC2: 28 actions
- ec2:CreateFleet (Write)
- ec2:CreateLaunchTemplate (Write)
- ec2:CreateLaunchTemplateVersion (Write)
- ec2:CreateNetworkInterface (Write)
- ec2:CreateNetworkInterfacePermission (Permissions management)
- ec2:CreateTags (Tagging)
- ec2:DeleteLaunchTemplate (Write)
- ec2:DeleteLaunchTemplateVersions (Write)
- ec2:DeleteNetworkInterface (Write)
- ec2:DescribeCapacityReservationTopology (List)
- ec2:DescribeCapacityReservations (List)
- ec2:DescribeImageAttribute (List)
- ec2:DescribeImages (List)
- ec2:DescribeInstanceAttribute (List)
- ec2:DescribeInstanceStatus (List)
- ec2:DescribeInstanceTopology (List)
- ec2:DescribeInstanceTypes (List)
- ec2:DescribeInstances (List)
- ec2:DescribeKeyPairs (List)
- ec2:DescribeLaunchTemplateVersions (List)
- ec2:DescribeLaunchTemplates (List)
- ec2:DescribeNetworkInterfaces (List)
- ec2:DescribeSecurityGroups (List)
- ec2:DescribeSubnets (List)
- ec2:DescribeTags (List)
- ec2:DescribeVpcs (List)
- ec2:RunInstances (Write)
- ec2:TerminateInstances (Write)
IAM: 1 actions
- iam:PassRole (Write)
Secrets Manager: 5 actions
- secretsmanager:DeleteSecret (Write)
- secretsmanager:DescribeSecret (Read)
- secretsmanager:GetSecretValue (Read)
- secretsmanager:PutSecretValue (Write)
- secretsmanager:UpdateSecretVersionStage (Write)
Data-plane actions (1)
By access level: 1 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| CloudWatch | 1 of 5 | 1 Write; 1 restricted, 1 conditional | cloudwatch:PutMetricData |
CloudWatch: 1 actions
- cloudwatch:PutMetricData (Write)
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: mixed.
Can be attached: No (service-linked role policy).
Why this tier
- Grants 16 write, tagging or permissions-management actions, short of full control of any service.
- Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).
Guidance
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Related policies
Same service
- AdministratorAccess-AWSElasticBeanstalk
- AIDevOpsReleaseManagementVPCPolicy
- AlexaForBusinessDeviceSetup
- AlexaForBusinessNetworkProfileServicePolicy
- AmazonAppStreamServiceAccess
- AmazonBioDiscoveryServiceLinkedRolePolicy
- AmazonCognitoIdpServiceRolePolicy
- AmazonDataZoneEnvironmentRolePermissionsBoundary
Same domain
Frequently asked questions
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Policy JSON
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PermissionsToCreatePCSNetworkInterfaces",
"Effect": "Allow",
"Action": [
"ec2:CreateNetworkInterface"
],
"Resource": "arn:aws:ec2:*:*:network-interface/*",
"Condition": {
"Null": {
"aws:RequestTag/AWSPCSManaged": "false"
}
}
},
{
"Sid": "PermissionsToCreatePCSNetworkInterfacesInSubnet",
"Effect": "Allow",
"Action": [
"ec2:CreateNetworkInterface"
],
"Resource": [
"arn:aws:ec2:*:*:subnet/*",
"arn:aws:ec2:*:*:security-group/*"
]
},
{
"Sid": "PermissionsToManagePCSNetworkInterfaces",
"Effect": "Allow",
"Action": [
"ec2:DeleteNetworkInterface",
"ec2:CreateNetworkInterfacePermission"
],
"Resource": "arn:aws:ec2:*:*:network-interface/*",
"Condition": {
"Null": {
"aws:ResourceTag/AWSPCSManaged": "false"
}
}
},
{
"Sid": "PermissionsToDescribePCSResources",
"Effect": "Allow",
"Action": [
"ec2:DescribeSubnets",
"ec2:DescribeVpcs",
"ec2:DescribeNetworkInterfaces",
"ec2:DescribeLaunchTemplates",
"ec2:DescribeLaunchTemplateVersions",
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypes",
"ec2:DescribeInstanceStatus",
"ec2:DescribeInstanceAttribute",
"ec2:DescribeSecurityGroups",
"ec2:DescribeKeyPairs",
"ec2:DescribeImages",
"ec2:DescribeImageAttribute",
"ec2:DescribeCapacityReservations",
"ec2:DescribeTags",
"ec2:DescribeInstanceTopology",
"ec2:DescribeCapacityReservationTopology"
],
"Resource": "*"
},
{
"Sid": "PermissionsToCreatePCSLaunchTemplates",
"Effect": "Allow",
"Action": [
"ec2:CreateLaunchTemplate"
],
"Resource": "arn:aws:ec2:*:*:launch-template/*",
"Condition": {
"Null": {
"aws:RequestTag/AWSPCSManaged": "false"
}
}
},
{
"Sid": "PermissionsToManagePCSLaunchTemplates",
"Effect": "Allow",
"Action": [
"ec2:DeleteLaunchTemplate",
"ec2:DeleteLaunchTemplateVersions",
"ec2:CreateLaunchTemplateVersion"
],
"Resource": "arn:aws:ec2:*:*:launch-template/*",
"Condition": {
"Null": {
"aws:ResourceTag/AWSPCSManaged": "false"
}
}
},
{
"Sid": "PermissionsToTerminatePCSManagedInstances",
"Effect": "Allow",
"Action": [
"ec2:TerminateInstances"
],
"Resource": "arn:aws:ec2:*:*:instance/*",
"Condition": {
"Null": {
"aws:ResourceTag/AWSPCSManaged": "false"
}
}
},
{
"Sid": "PermissionsToPassRoleToEC2",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": [
"arn:aws:iam::*:role/*/AWSPCS*",
"arn:aws:iam::*:role/AWSPCS*",
"arn:aws:iam::*:role/aws-pcs/*",
"arn:aws:iam::*:role/*/aws-pcs/*"
],
"Condition": {
"StringEquals": {
"iam:PassedToService": [
"ec2.amazonaws.com"
]
}
}
},
{
"Sid": "PermissionsToControlClusterInstanceAttributes",
"Effect": "Allow",
"Action": [
"ec2:RunInstances",
"ec2:CreateFleet"
],
"Resource": [
"arn:aws:ec2:*::image/*",
"arn:aws:ec2:*::snapshot/*",
"arn:aws:ec2:*:*:subnet/*",
"arn:aws:ec2:*:*:network-interface/*",
"arn:aws:ec2:*:*:security-group/*",
"arn:aws:ec2:*:*:volume/*",
"arn:aws:ec2:*:*:key-pair/*",
"arn:aws:ec2:*:*:launch-template/*",
"arn:aws:ec2:*:*:placement-group/*",
"arn:aws:ec2:*:*:capacity-reservation/*",
"arn:aws:resource-groups:*:*:group/*",
"arn:aws:ec2:*:*:fleet/*",
"arn:aws:ec2:*:*:spot-instances-request/*",
"arn:aws:ec2:*:*:secondary-interface/*",
"arn:aws:ec2:*:*:secondary-subnet/*"
]
},
{
"Sid": "PermissionsToProvisionClusterInstances",
"Effect": "Allow",
"Action": [
"ec2:RunInstances",
"ec2:CreateFleet"
],
"Resource": [
"arn:aws:ec2:*:*:instance/*"
],
"Condition": {
"Null": {
"aws:RequestTag/AWSPCSManaged": "false"
}
}
},
{
"Sid": "PermissionsToTagPCSResources",
"Effect": "Allow",
"Action": [
"ec2:CreateTags"
],
"Resource": [
"*"
],
"Condition": {
"StringEquals": {
"ec2:CreateAction": [
"RunInstances",
"CreateLaunchTemplate",
"CreateFleet",
"CreateNetworkInterface"
]
}
}
},
{
"Sid": "PermissionsToPublishMetrics",
"Effect": "Allow",
"Action": "cloudwatch:PutMetricData",
"Resource": "*",
"Condition": {
"StringEquals": {
"cloudwatch:namespace": "AWS/PCS"
}
}
},
{
"Sid": "PermissionsToManageSecret",
"Effect": "Allow",
"Action": [
"secretsmanager:DescribeSecret",
"secretsmanager:GetSecretValue",
"secretsmanager:PutSecretValue",
"secretsmanager:UpdateSecretVersionStage",
"secretsmanager:DeleteSecret"
],
"Resource": "arn:aws:secretsmanager:*:*:secret:pcs!*",
"Condition": {
"StringEquals": {
"secretsmanager:ResourceTag/aws:secretsmanager:owningService": "pcs",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
}
]
}
Version history
Current version v11, edited by AWS on 2026-11-10. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
This policy cannot be attached to users, groups or roles, so there are no attach snippets.
Sources
Pending editorial review. No editorial sources are listed yet.