Skip to main content
 print this page

Sync custom AWS IAM roles from S3

POST 

/aws-roles

Starts an asynchronous sync of custom AWS IAM roles from policy documents under the Amorphic core S3 custom-roles prefix. The API returns immediately after Event-invoking this Lambda with invoke_type=async; the async run creates/updates/deletes custom roles to match templates and emails admins. Success Message is "Custom roles actions started, You'll get an email about the details of custom role actions." Not idempotent in effect (each call triggers a new sync). Requires role_id (AUTH-1001 if missing).

Request

Responses

Async sync started (SyncAwsSystemRolesResponse).

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers