AmazonOpenSearchServiceRolePolicy
Summary
Allow Amazon OpenSearch Service to access other AWS services such as EC2 Networking APIs 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/AmazonOpenSearchServiceRolePolicy- Default version
- v9
- Created
- Last edited
- Services
- acm, cloudwatch, ec2, elasticloadbalancing, sso
Control-plane actions (19)
By access level: 6 List, 1 Read, 1 Tagging, 11 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Certificate Manager | 1 of 42 | 1 Read; 0 restricted, 0 conditional | acm:DescribeCertificate |
| EC2 | 15 of 834 | 6 List, 1 Tagging, 8 Write; 9 restricted, 1 conditional | ec2:AssignIpv6Addresses, ec2:CreateNetworkInterface, ec2:CreateTags, ec2:CreateVpcEndpoint, ec2:DeleteNetworkInterface, ec2:DeleteVpcEndpoints, ec2:DescribeNetworkInterfaces, ec2:DescribeSecurityGroups, ec2:DescribeSubnets, ec2:DescribeTags, ec2:DescribeVpcEndpoints, ec2:DescribeVpcs and 3 more |
| ELB | 2 of 77 | 2 Write; 2 restricted, 0 conditional | elasticloadbalancing:AddListenerCertificates, elasticloadbalancing:RemoveListenerCertificates |
| IAM Identity Center | 1 of 126 | 1 Write; 1 restricted, 1 conditional | sso:PutApplicationAccessScope |
Certificate Manager: 1 actions
- acm:DescribeCertificate (Read)
EC2: 15 actions
- ec2:AssignIpv6Addresses (Write)
- ec2:CreateNetworkInterface (Write)
- ec2:CreateTags (Tagging)
- ec2:CreateVpcEndpoint (Write)
- ec2:DeleteNetworkInterface (Write)
- ec2:DeleteVpcEndpoints (Write)
- ec2:DescribeNetworkInterfaces (List)
- ec2:DescribeSecurityGroups (List)
- ec2:DescribeSubnets (List)
- ec2:DescribeTags (List)
- ec2:DescribeVpcEndpoints (List)
- ec2:DescribeVpcs (List)
- ec2:ModifyNetworkInterfaceAttribute (Write)
- ec2:ModifyVpcEndpoint (Write)
- ec2:UnassignIpv6Addresses (Write)
ELB: 2 actions
- elasticloadbalancing:AddListenerCertificates (Write)
- elasticloadbalancing:RemoveListenerCertificates (Write)
IAM Identity Center: 1 actions
- sso:PutApplicationAccessScope (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 13 write, tagging or permissions-management actions, short of full control of any service.
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
- AmazonAppStreamServiceAccess
- AmazonBioDiscoveryServiceLinkedRolePolicy
- AmazonDataZoneEnvironmentRolePermissionsBoundary
- AmazonDataZoneProjectDeploymentPermissionsBoundary
- AmazonDataZoneProjectRolePermissionsBoundary
- AmazonDataZoneSageMakerProvisioningRolePolicy
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": "Stmt1480452973134",
"Effect": "Allow",
"Action": [
"ec2:CreateNetworkInterface"
],
"Resource": [
"arn:aws:ec2:*:*:network-interface/*",
"arn:aws:ec2:*:*:subnet/*",
"arn:aws:ec2:*:*:security-group/*"
]
},
{
"Sid": "Stmt1480452973145",
"Effect": "Allow",
"Action": [
"ec2:DescribeNetworkInterfaces"
],
"Resource": "*"
},
{
"Sid": "Stmt1480452973144",
"Effect": "Allow",
"Action": [
"ec2:DeleteNetworkInterface"
],
"Resource": [
"arn:aws:ec2:*:*:network-interface/*"
]
},
{
"Sid": "Stmt1480452973165",
"Effect": "Allow",
"Action": [
"ec2:ModifyNetworkInterfaceAttribute"
],
"Resource": [
"arn:aws:ec2:*:*:network-interface/*",
"arn:aws:ec2:*:*:security-group/*"
]
},
{
"Sid": "Stmt1480452973149",
"Effect": "Allow",
"Action": [
"ec2:AssignIpv6Addresses"
],
"Resource": "arn:aws:ec2:*:*:network-interface/*"
},
{
"Sid": "Stmt1480452973150",
"Effect": "Allow",
"Action": [
"ec2:UnAssignIpv6Addresses"
],
"Resource": "arn:aws:ec2:*:*:network-interface/*"
},
{
"Sid": "Stmt1480452973154",
"Effect": "Allow",
"Action": [
"ec2:DescribeSecurityGroups"
],
"Resource": "*"
},
{
"Sid": "Stmt1480452973164",
"Effect": "Allow",
"Action": [
"ec2:DescribeSubnets"
],
"Resource": "*"
},
{
"Sid": "Stmt1480452973174",
"Effect": "Allow",
"Action": [
"ec2:DescribeVpcs"
],
"Resource": "*"
},
{
"Sid": "Stmt1480452973184",
"Effect": "Allow",
"Action": [
"elasticloadbalancing:AddListenerCertificates",
"elasticloadbalancing:RemoveListenerCertificates"
],
"Resource": [
"arn:aws:elasticloadbalancing:*:*:listener/*"
]
},
{
"Sid": "Stmt1480452973194",
"Effect": "Allow",
"Action": [
"ec2:CreateTags"
],
"Resource": [
"arn:aws:ec2:*:*:network-interface/*"
]
},
{
"Sid": "Stmt1480452973195",
"Effect": "Allow",
"Action": [
"ec2:DescribeTags"
],
"Resource": "*"
},
{
"Sid": "Stmt1480452973196",
"Effect": "Allow",
"Action": [
"acm:DescribeCertificate"
],
"Resource": "*"
},
{
"Sid": "Stmt1480452973197",
"Effect": "Allow",
"Action": "cloudwatch:PutMetricData",
"Resource": "*",
"Condition": {
"StringEquals": {
"cloudwatch:namespace": [
"AWS/ES",
"AWS/OpenSearch"
]
}
}
},
{
"Sid": "Stmt1480452973198",
"Effect": "Allow",
"Action": [
"ec2:CreateVpcEndpoint",
"ec2:ModifyVpcEndpoint"
],
"Resource": [
"arn:aws:ec2:*:*:vpc/*",
"arn:aws:ec2:*:*:security-group/*",
"arn:aws:ec2:*:*:subnet/*",
"arn:aws:ec2:*:*:route-table/*"
]
},
{
"Sid": "Stmt1480452973199",
"Effect": "Allow",
"Action": "ec2:CreateVpcEndpoint",
"Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
"Condition": {
"StringEquals": {
"aws:RequestTag/OpenSearchManaged": "true"
}
}
},
{
"Sid": "Stmt1480452973200",
"Effect": "Allow",
"Action": [
"ec2:ModifyVpcEndpoint",
"ec2:DeleteVpcEndpoints"
],
"Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
"Condition": {
"StringEquals": {
"aws:ResourceTag/OpenSearchManaged": "true"
}
}
},
{
"Sid": "Stmt1480452973201",
"Effect": "Allow",
"Action": [
"ec2:DescribeVpcEndpoints"
],
"Resource": "*"
},
{
"Sid": "Stmt1480452973202",
"Effect": "Allow",
"Action": [
"ec2:CreateTags"
],
"Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
"Condition": {
"StringEquals": {
"ec2:CreateAction": "CreateVpcEndpoint"
}
}
},
{
"Effect": "Allow",
"Action": "sso:PutApplicationAccessScope",
"Resource": "arn:aws:sso::*:application/*/*",
"Condition": {
"StringEquals": {
"aws:ResourceOrgID": "${aws:PrincipalOrgID}"
}
}
}
]
}
Version history
Current version v9, edited by AWS on 2025-03-27. 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.