paws.compute (version 0.1.0)

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)

Arguments

ApplicationName

[required] The name of the application.

Constraint: This name must be unique within your account. If the specified name already exists, the action returns an InvalidParameterValue error.

Description

Describes the application.

ResourceLifecycleConfig

Specify 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
# NOT RUN {
# The following operation creates a new application named my-app:
# }
# NOT RUN {
svc$create_application(
  ApplicationName = "my-app",
  Description = "my application"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab