Skip to content

Create Application Version

serverlessapplicationrepository_create_application_version R Documentation

Creates an application version

Description

Creates an application version.

Usage

serverlessapplicationrepository_create_application_version(
  ApplicationId, SemanticVersion, SourceCodeArchiveUrl, SourceCodeUrl,
  TemplateBody, TemplateUrl)

Arguments

ApplicationId

[required] The Amazon Resource Name (ARN) of the application.

SemanticVersion

[required] The semantic version of the new version.

SourceCodeArchiveUrl

A link to the S3 object that contains the ZIP archive of the source code for this version of your application.

Maximum size 50 MB

SourceCodeUrl

A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

TemplateBody

The raw packaged AWS SAM template of your application.

TemplateUrl

A link to the packaged AWS SAM template of your application.

Value

A list with the following syntax:

list(
  ApplicationId = "string",
  CreationTime = "string",
  ParameterDefinitions = list(
    list(
      AllowedPattern = "string",
      AllowedValues = list(
        "string"
      ),
      ConstraintDescription = "string",
      DefaultValue = "string",
      Description = "string",
      MaxLength = 123,
      MaxValue = 123,
      MinLength = 123,
      MinValue = 123,
      Name = "string",
      NoEcho = TRUE|FALSE,
      ReferencedByResources = list(
        "string"
      ),
      Type = "string"
    )
  ),
  RequiredCapabilities = list(
    "CAPABILITY_IAM"|"CAPABILITY_NAMED_IAM"|"CAPABILITY_AUTO_EXPAND"|"CAPABILITY_RESOURCE_POLICY"
  ),
  ResourcesSupported = TRUE|FALSE,
  SemanticVersion = "string",
  SourceCodeArchiveUrl = "string",
  SourceCodeUrl = "string",
  TemplateUrl = "string"
)

Request syntax

svc$create_application_version(
  ApplicationId = "string",
  SemanticVersion = "string",
  SourceCodeArchiveUrl = "string",
  SourceCodeUrl = "string",
  TemplateBody = "string",
  TemplateUrl = "string"
)