apprunner:UpdateService

Write

apprunner:UpdateService is a Write access-level action in the apprunner service. Grants permission to update an AWS App Runner service resource

Resource types

ARNs that apprunner:UpdateService can be scoped to in an IAM policy.

arn:${Partition}:apprunner:${Region}:${Account}:autoscalingconfiguration/${AutoscalingConfigurationName}/${AutoscalingConfigurationVersion}/${AutoscalingConfigurationId}
autoscalingconfiguration
arn:${Partition}:apprunner:${Region}:${Account}:connection/${ConnectionName}/${ConnectionId}
connection
arn:${Partition}:apprunner:${Region}:${Account}:observabilityconfiguration/${ObservabilityConfigurationName}/${ObservabilityConfigurationVersion}/${ObservabilityConfigurationId}
observabilityconfiguration
arn:${Partition}:apprunner:${Region}:${Account}:service/${ServiceName}/${ServiceId} required
service
arn:${Partition}:apprunner:${Region}:${Account}:vpcconnector/${VpcConnectorName}/${VpcConnectorVersion}/${VpcConnectorId}
vpcconnector

Condition keys

Keys you can use in the Condition block of a policy that grants apprunner:UpdateService.

apprunner:AutoScalingConfigurationArn ARN

Filters access by the CreateService and UpdateService actions based on the ARN of an associated AutoScalingConfiguration resource

apprunner:ConnectionArn ARN

Filters access by the CreateService and UpdateService actions based on the ARN of an associated Connection resource

apprunner:ObservabilityConfigurationArn ARN

Filters access by the CreateService and UpdateService actions based on the ARN of an associated ObservabilityConfiguration resource

apprunner:VpcConnectorArn ARN

Filters access by the CreateService and UpdateService actions based on the ARN of an associated VpcConnector resource

aws:ResourceTag/${TagKey} String

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

Example IAM policy

A minimal policy that allows apprunner:UpdateService. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowApprunnerUpdateService",
      "Effect": "Allow",
      "Action": "apprunner:UpdateService",
      "Resource": "*"
    }
  ]
}

Related actions in apprunner

View all apprunner actions →