openapi: 3.1.0 info: title: Amazon Web Services accessanalyzer 2012 09 25 Resourcepolicy API description:
Identity and Access Management Access Analyzer helps you to set, verify, and refine your IAM policies by providing a suite of capabilities. Its features include findings for external and unused access, basic and custom policy checks for validating policies, and policy generation to generate fine-grained policies. To start using IAM Access Analyzer to identify external or unused access, you first need to create an analyzer.
External access analyzers help identify potential risks of accessing resources by enabling you to identify any resource policies that grant access to an external principal. It does this by using logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An external principal can be another Amazon Web Services account, a root user, an IAM user or role, a federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to preview public and cross-account access to your resources before deploying permissions changes.
Unused access analyzers help identify potential identity access risks by enabling you to identify unused IAM roles, unused access keys, unused console passwords, and IAM principals with unused service and action-level permissions.
Beyond findings, IAM Access Analyzer provides basic and custom policy checks to validate IAM policies before deploying permissions changes. You can use policy generation to refine permissions by attaching a policy generated using access activity logged in CloudTrail logs.
This guide describes the IAM Access Analyzer operations that you can call programmatically. For general information about IAM Access Analyzer, see Identity and Access Management Access Analyzer in the IAM User Guide.
tags: - name: Resourcepolicy paths: /resourcepolicy/{Identifier}: GET: summary: Amazon Web Services Getresourcepolicy description: 'Gets the resource-based permission policy that is set for the given environment. ' operationId: amazonWebServicesGetResourcePolicy tags: - Resourcepolicy /resourcepolicy: PUT: summary: Amazon Web Services Putresourcepolicy description: 'Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment. The policy must contain the same actions and condition statements as the arn:aws:ram::aws:permission/AWSRAMDefaultPermissionRefactorSpacesEnvironment permission in Resource Access Manager. The policy must not contain new lines or blank lines. ' operationId: amazonWebServicesPutResourcePolicy tags: - Resourcepolicy /resourcePolicy/{ResourceArn}: GET: summary: Amazon Web Services Getresourcepolicy description: Get information about the resource policy for a cluster. operationId: amazonWebServicesGetResourcePolicy tags: - Resourcepolicy /resourcepolicy/{resourceArn}: PUT: summary: Amazon Web Services Putresourcepolicy description: Attaches a resource-based permission policy to a service or service network. The policy must contain the same actions and condition statements as the Amazon Web Services Resource Access Manager permission for sharing services and service networks. operationId: amazonWebServicesPutResourcePolicy tags: - Resourcepolicy