Actions, resources, and condition keys for AWS App Runner
AWS App Runner (service prefix: apprunner) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by AWS App Runner
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
AssociateCustomDomain |
Write |
|||
|
CreateAutoScalingConfiguration |
Write |
|||
Tagging, Write |
||||
|
CreateConnection |
Write |
|||
Tagging, Write |
||||
|
CreateObservabilityConfiguration |
Write |
|||
Tagging, Write |
||||
|
CreateService |
Write |
|||
Tagging, Write |
||||
iam:PassedToService |
bullet.amazonaws.com |
Write |
||
|
CreateVpcConnector |
Write |
|||
Tagging, Write |
||||
|
CreateVpcIngressConnection |
Write |
|||
Tagging, Write |
||||
|
DeleteAutoScalingConfiguration |
Write |
|||
|
DeleteConnection |
Write |
|||
|
DeleteObservabilityConfiguration |
Write |
|||
|
DeleteService |
Write |
|||
Write |
||||
|
DeleteVpcConnector |
Write |
|||
|
DeleteVpcIngressConnection |
Write |
|||
|
DescribeAutoScalingConfiguration |
Read |
|||
|
DescribeCustomDomains |
Read |
|||
|
DescribeObservabilityConfiguration |
Read |
|||
|
DescribeService |
Read |
|||
|
DescribeVpcConnector |
Read |
|||
|
DescribeVpcIngressConnection |
Read |
|||
|
DisassociateCustomDomain |
Write |
|||
|
ListAutoScalingConfigurations |
List |
|||
|
ListConnections |
List |
|||
|
ListObservabilityConfigurations |
List |
|||
|
ListOperations |
List |
|||
|
ListServices |
List |
|||
|
ListServicesForAutoScalingConfiguration |
List |
|||
|
ListTagsForResource |
Read |
|||
|
ListVpcConnectors |
List |
|||
|
ListVpcIngressConnections |
List |
|||
|
PauseService |
Write |
|||
|
ResumeService |
Write |
|||
|
StartDeployment |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateDefaultAutoScalingConfiguration |
Write |
|||
|
UpdateService |
Write |
|||
iam:PassedToService |
bullet.amazonaws.com |
Write |
||
|
UpdateVpcIngressConnection |
Write |
Actions defined by AWS App Runner
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in AWS. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to associate your own domain name with the AWS App Runner subdomain URL of your App Runner service |
Write |
|||
Grants permission to create an AWS App Runner automatic scaling configuration resource |
Write |
|||
Grants permission to create an AWS App Runner connection resource |
Write |
|||
Grants permission to create an AWS App Runner observability configuration resource |
Write |
|||
Grants permission to create an AWS App Runner service resource |
apprunner:AutoScalingConfigurationArn |
Write |
||
|
apprunner:AutoScalingConfigurationArn |
||||
|
apprunner:AutoScalingConfigurationArn |
||||
|
apprunner:AutoScalingConfigurationArn |
||||
|
apprunner:AutoScalingConfigurationArn |
||||
Grants permission to create an AWS App Runner VPC connector resource |
Write |
|||
Grants permission to create an AWS App Runner VpcIngressConnection resource |
Write |
|||
Grants permission to delete an AWS App Runner automatic scaling configuration resource |
Write |
|||
Grants permission to delete an AWS App Runner connection resource |
Write |
|||
Grants permission to delete an AWS App Runner observability configuration resource |
Write |
|||
Grants permission to delete an AWS App Runner service resource |
Write |
|||
Grants permission to delete an AWS App Runner VPC connector resource |
Write |
|||
Grants permission to delete an AWS App Runner VpcIngressConnection resource |
Write |
|||
Grants permission to retrieve the description of an AWS App Runner automatic scaling configuration resource |
Read |
|||
Grants permission to retrieve descriptions of custom domain names associated with an AWS App Runner service |
Read |
|||
Grants permission to retrieve the description of an AWS App Runner observability configuration resource |
Read |
|||
Grants permission to retrieve the description of an operation that occurred on an AWS App Runner service |
Read |
|||
Grants permission to retrieve the description of an AWS App Runner service resource |
Read |
|||
Grants permission to retrieve the description of an AWS App Runner VPC connector resource |
Read |
|||
Grants permission to retrieve the description of an AWS App Runner VpcIngressConnection resource |
Read |
|||
Grants permission to disassociate a custom domain name from an AWS App Runner service |
Write |
|||
Grants permission to retrieve a list of AWS App Runner automatic scaling configurations in your AWS account |
List |
|||
Grants permission to retrieve a list of AWS App Runner connections in your AWS account |
List |
|||
Grants permission to retrieve a list of AWS App Runner observability configurations in your AWS account |
List |
|||
Grants permission to retrieve a list of operations that occurred on an AWS App Runner service resource |
List |
|||
Grants permission to retrieve a list of running AWS App Runner services in your AWS account |
List |
|||
Grants permission to retrieve a list of associated AppRunner services of an AWS App Runner automatic scaling configuration in your AWS account |
List |
|||
Grants permission to list tags associated with an AWS App Runner resource |
Read |
|||
Grants permission to retrieve a list of AWS App Runner VPC connectors in your AWS account |
List |
|||
Grants permission to retrieve a list of AWS App Runner VpcIngressConnections in your AWS account |
List |
|||
Grants permission to pause an active AWS App Runner service |
Write |
|||
Grants permission to resume an active AWS App Runner service |
Write |
|||
Grants permission to initiate a manual deployemnt to an AWS App Runner service |
Write |
|||
Grants permission to add tags to, or update tag values of, an AWS App Runner resource |
Tagging, Write |
|||
Grants permission to remove tags from an AWS App Runner resource |
Tagging, Write |
|||
Grants permission to update an AWS App Runner automatic scaling configuration to be the default in your AWS account |
Write |
|||
Grants permission to update an AWS App Runner service resource |
apprunner:AutoScalingConfigurationArn |
Write |
||
|
apprunner:AutoScalingConfigurationArn |
||||
|
apprunner:AutoScalingConfigurationArn |
||||
|
apprunner:AutoScalingConfigurationArn |
||||
|
apprunner:AutoScalingConfigurationArn |
||||
Grants permission to update an AWS App Runner VpcIngressConnection resource |
Write |
Permission-only actions for AWS App Runner
The following actions are defined by AWS App Runner but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to associate the service with an AWS WAF web ACL |
Write |
|||
Grants permission to get the AWS WAF web ACL that is associated with an AWS App Runner service |
Read |
|||
Grants permission to disassociate the service with an AWS WAF web ACL |
Write |
|||
Grants permission to list the services that are associated with an AWS WAF web ACL |
List |
Resource types defined by AWS App Runner
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:apprunner:${Region}:${Account}:autoscalingconfiguration/${AutoscalingConfigurationName}/${AutoscalingConfigurationVersion}/${AutoscalingConfigurationId} |
||
arn:${Partition}:apprunner:${Region}:${Account}:connection/${ConnectionName}/${ConnectionId} |
||
arn:${Partition}:apprunner:${Region}:${Account}:observabilityconfiguration/${ObservabilityConfigurationName}/${ObservabilityConfigurationVersion}/${ObservabilityConfigurationId} |
||
arn:${Partition}:apprunner:${Region}:${Account}:service/${ServiceName}/${ServiceId} |
||
arn:${Partition}:apprunner:${Region}:${Account}:vpcconnector/${VpcConnectorName}/${VpcConnectorVersion}/${VpcConnectorId} |
||
arn:${Partition}:apprunner:${Region}:${Account}:vpcingressconnection/${VpcIngressConnectionName}/${VpcIngressConnectionId} |
||
arn:${Partition}:wafv2:${Region}:${Account}:${Scope}/webacl/${Name}/${Id} |
Condition keys for AWS App Runner
AWS App Runner defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the CreateService and UpdateService actions based on the ARN of an associated AutoScalingConfiguration resource |
ARN |
|
Filters access by the CreateService and UpdateService actions based on the ARN of an associated Connection resource |
ARN |
|
Filters access by the CreateService and UpdateService actions based on the ARN of an associated ObservabilityConfiguration resource |
ARN |
|
Filters access by the CreateVpcIngressConnection action based on the ARN of an associated Service resource |
ARN |
|
Filters access by the CreateService and UpdateService actions based on the ARN of an associated VpcConnector resource |
ARN |
|
Filters access by the CreateVpcIngressConnection and UpdateVpcIngressConnection actions based on the VPC Endpoint in the request |
String |
|
Filters access by the CreateVpcIngressConnection and UpdateVpcIngressConnection actions based on the VPC in the request |
String |
|
Filters access by actions based on the presence of tag key-value pairs in the request |
String |
|
Filters access by actions based on tag key-value pairs attached to the resource |
String |
|
Filters access by actions based on the presence of tag keys in the request |
ArrayOfString |