Skip to content

Update Application Resource Lifecycle

elasticbeanstalk_update_application_resource_lifecycle R Documentation

Modifies lifecycle settings for an application

Description

Modifies lifecycle settings for an application.

Usage

elasticbeanstalk_update_application_resource_lifecycle(ApplicationName,
  ResourceLifecycleConfig)

Arguments

ApplicationName

[required] The name of the application.

ResourceLifecycleConfig

[required] The lifecycle configuration.

Value

A list with the following syntax:

list(
  ApplicationName = "string",
  ResourceLifecycleConfig = list(
    ServiceRole = "string",
    VersionLifecycleConfig = list(
      MaxCountRule = list(
        Enabled = TRUE|FALSE,
        MaxCount = 123,
        DeleteSourceFromS3 = TRUE|FALSE
      ),
      MaxAgeRule = list(
        Enabled = TRUE|FALSE,
        MaxAgeInDays = 123,
        DeleteSourceFromS3 = TRUE|FALSE
      )
    )
  )
)

Request syntax

svc$update_application_resource_lifecycle(
  ApplicationName = "string",
  ResourceLifecycleConfig = list(
    ServiceRole = "string",
    VersionLifecycleConfig = list(
      MaxCountRule = list(
        Enabled = TRUE|FALSE,
        MaxCount = 123,
        DeleteSourceFromS3 = TRUE|FALSE
      ),
      MaxAgeRule = list(
        Enabled = TRUE|FALSE,
        MaxAgeInDays = 123,
        DeleteSourceFromS3 = TRUE|FALSE
      )
    )
  )
)