Learn R Programming

paws.compute (version 0.1.12)

elasticbeanstalk_create_application: Creates an application that has one configuration template named default and no application versions

Description

Creates an application that has one configuration template named default and no application versions.

Usage

elasticbeanstalk_create_application(ApplicationName, Description,
  ResourceLifecycleConfig, Tags)

Value

A list with the following syntax:

list(
  Application = list(
    ApplicationArn = "string",
    ApplicationName = "string",
    Description = "string",
    DateCreated = as.POSIXct(
      "2015-01-01"
    ),
    DateUpdated = as.POSIXct(
      "2015-01-01"
    ),
    Versions = list(
      "string"
    ),
    ConfigurationTemplates = list(
      "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
        )
      )
    )
  )
)

Arguments

ApplicationName

[required] The name of the application. Must be unique within your account.

Description

Your description of the application.

ResourceLifecycleConfig

Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.

Tags

Specifies the tags applied to the application.

Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.

Request syntax

svc$create_application(
  ApplicationName = "string",
  Description = "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
      )
    )
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Examples

Run this code
if (FALSE) {
# The following operation creates a new application named my-app:
svc$create_application(
  ApplicationName = "my-app",
  Description = "my application"
)
}

Run the code above in your browser using DataLab