Skip to content

Delete Auto Scaling Configuration

apprunner_delete_auto_scaling_configuration R Documentation

Delete an App Runner automatic scaling configuration resource

Description

Delete an App Runner automatic scaling configuration resource. You can delete a top level auto scaling configuration, a specific revision of one, or all revisions associated with the top level configuration. You can't delete the default auto scaling configuration or a configuration that's used by one or more App Runner services.

Usage

apprunner_delete_auto_scaling_configuration(AutoScalingConfigurationArn,
  DeleteAllRevisions)

Arguments

AutoScalingConfigurationArn

[required] The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to delete.

The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is deleted.

DeleteAllRevisions

Set to true to delete all of the revisions associated with the AutoScalingConfigurationArn parameter value.

When DeleteAllRevisions is set to true, the only valid value for the Amazon Resource Name (ARN) is a partial ARN ending with: .../name.

Value

A list with the following syntax:

list(
  AutoScalingConfiguration = list(
    AutoScalingConfigurationArn = "string",
    AutoScalingConfigurationName = "string",
    AutoScalingConfigurationRevision = 123,
    Latest = TRUE|FALSE,
    Status = "ACTIVE"|"INACTIVE",
    MaxConcurrency = 123,
    MinSize = 123,
    MaxSize = 123,
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    DeletedAt = as.POSIXct(
      "2015-01-01"
    ),
    HasAssociatedService = TRUE|FALSE,
    IsDefault = TRUE|FALSE
  )
)

Request syntax

svc$delete_auto_scaling_configuration(
  AutoScalingConfigurationArn = "string",
  DeleteAllRevisions = TRUE|FALSE
)