refactor-spaces:DeleteApplication

Write

refactor-spaces:DeleteApplication is a Write access-level action in the refactor-spaces service. Grants permission to delete an application from an environment

Resource types

ARNs that refactor-spaces:DeleteApplication can be scoped to in an IAM policy.

arn:${Partition}:refactor-spaces:${Region}:${Account}:environment/${EnvironmentId}/application/${ApplicationId}
application

Condition keys

Keys you can use in the Condition block of a policy that grants refactor-spaces:DeleteApplication.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

refactor-spaces:ApplicationCreatedByAccount String

Filters access by restricting the action to only those accounts that created the application within an environment

refactor-spaces:CreatedByAccountIds ArrayOfString

Filters access by the accounts that created the resource

Example IAM policy

A minimal policy that allows refactor-spaces:DeleteApplication. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRefactorspacesDeleteApplication",
      "Effect": "Allow",
      "Action": "refactor-spaces:DeleteApplication",
      "Resource": "*"
    }
  ]
}

Related actions in refactor-spaces

View all refactor-spaces actions →