You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ServerlessApplicationRepository::Types::CreateApplicationInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb

Overview

Create application request.

Instance Attribute Summary collapse

Instance Attribute Details

#authorString

The name of the author publishing the app.\nMin Length=1. Max Length=127.\nPattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

Returns:

  • (String)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 306

class CreateApplicationInput < Struct.new(
  :author,
  :description,
  :labels,
  :license_body,
  :license_url,
  :name,
  :readme_body,
  :readme_url,
  :semantic_version,
  :source_code_url,
  :spdx_license_id,
  :template_body,
  :template_url)
  include Aws::Structure
end

#descriptionString

The description of the application.\nMin Length=1. Max Length=256

Returns:

  • (String)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 306

class CreateApplicationInput < Struct.new(
  :author,
  :description,
  :labels,
  :license_body,
  :license_url,
  :name,
  :readme_body,
  :readme_url,
  :semantic_version,
  :source_code_url,
  :spdx_license_id,
  :template_body,
  :template_url)
  include Aws::Structure
end

#labelsArray<String>

Labels to improve discovery of apps in search results.\nMin Length=1. Max Length=127. Maximum number of labels: 10\nPattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";

Returns:

  • (Array<String>)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 306

class CreateApplicationInput < Struct.new(
  :author,
  :description,
  :labels,
  :license_body,
  :license_url,
  :name,
  :readme_body,
  :readme_url,
  :semantic_version,
  :source_code_url,
  :spdx_license_id,
  :template_body,
  :template_url)
  include Aws::Structure
end

#license_bodyString

A raw text file that contains the license of the app that matches the spdxLicenseID of your application.\nMax size 5 MB

Returns:

  • (String)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 306

class CreateApplicationInput < Struct.new(
  :author,
  :description,
  :labels,
  :license_body,
  :license_url,
  :name,
  :readme_body,
  :readme_url,
  :semantic_version,
  :source_code_url,
  :spdx_license_id,
  :template_body,
  :template_url)
  include Aws::Structure
end

#license_urlString

A link to a license file of the app that matches the spdxLicenseID of your application.\nMax size 5 MB

Returns:

  • (String)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 306

class CreateApplicationInput < Struct.new(
  :author,
  :description,
  :labels,
  :license_body,
  :license_url,
  :name,
  :readme_body,
  :readme_url,
  :semantic_version,
  :source_code_url,
  :spdx_license_id,
  :template_body,
  :template_url)
  include Aws::Structure
end

#nameString

The name of the application you want to publish.\nMin Length=1. Max Length=140\nPattern: "[a-zA-Z0-9\\-]+";

Returns:

  • (String)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 306

class CreateApplicationInput < Struct.new(
  :author,
  :description,
  :labels,
  :license_body,
  :license_url,
  :name,
  :readme_body,
  :readme_url,
  :semantic_version,
  :source_code_url,
  :spdx_license_id,
  :template_body,
  :template_url)
  include Aws::Structure
end

#readme_bodyString

A raw text Readme file that contains a more detailed description of the application and how it works in markdown language.\nMax size 5 MB

Returns:

  • (String)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 306

class CreateApplicationInput < Struct.new(
  :author,
  :description,
  :labels,
  :license_body,
  :license_url,
  :name,
  :readme_body,
  :readme_url,
  :semantic_version,
  :source_code_url,
  :spdx_license_id,
  :template_body,
  :template_url)
  include Aws::Structure
end

#readme_urlString

A link to the Readme file that contains a more detailed description of the application and how it works in markdown language.\nMax size 5 MB

Returns:

  • (String)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 306

class CreateApplicationInput < Struct.new(
  :author,
  :description,
  :labels,
  :license_body,
  :license_url,
  :name,
  :readme_body,
  :readme_url,
  :semantic_version,
  :source_code_url,
  :spdx_license_id,
  :template_body,
  :template_url)
  include Aws::Structure
end

#semantic_versionString

The semantic version of the application:\n\n https://semver.org/

Returns:

  • (String)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 306

class CreateApplicationInput < Struct.new(
  :author,
  :description,
  :labels,
  :license_body,
  :license_url,
  :name,
  :readme_body,
  :readme_url,
  :semantic_version,
  :source_code_url,
  :spdx_license_id,
  :template_body,
  :template_url)
  include Aws::Structure
end

#source_code_urlString

A link to a public repository for the source code of your application.

Returns:

  • (String)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 306

class CreateApplicationInput < Struct.new(
  :author,
  :description,
  :labels,
  :license_body,
  :license_url,
  :name,
  :readme_body,
  :readme_url,
  :semantic_version,
  :source_code_url,
  :spdx_license_id,
  :template_body,
  :template_url)
  include Aws::Structure
end

#spdx_license_idString

A valid identifier from https://spdx.org/licenses/ .

Returns:

  • (String)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 306

class CreateApplicationInput < Struct.new(
  :author,
  :description,
  :labels,
  :license_body,
  :license_url,
  :name,
  :readme_body,
  :readme_url,
  :semantic_version,
  :source_code_url,
  :spdx_license_id,
  :template_body,
  :template_url)
  include Aws::Structure
end

#template_bodyString

The raw packaged SAM template of your application.

Returns:

  • (String)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 306

class CreateApplicationInput < Struct.new(
  :author,
  :description,
  :labels,
  :license_body,
  :license_url,
  :name,
  :readme_body,
  :readme_url,
  :semantic_version,
  :source_code_url,
  :spdx_license_id,
  :template_body,
  :template_url)
  include Aws::Structure
end

#template_urlString

A link to the packaged SAM template of your application.

Returns:

  • (String)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 306

class CreateApplicationInput < Struct.new(
  :author,
  :description,
  :labels,
  :license_body,
  :license_url,
  :name,
  :readme_body,
  :readme_url,
  :semantic_version,
  :source_code_url,
  :spdx_license_id,
  :template_body,
  :template_url)
  include Aws::Structure
end