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

Class: Aws::ServerlessApplicationRepository::Types::Version

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

Overview

Application version details.

Instance Attribute Summary collapse

Instance Attribute Details

#application_idString

The application Amazon Resource Name (ARN).

Returns:

  • (String)


2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 2054

class Version < Struct.new(
  :application_id,
  :creation_time,
  :parameter_definitions,
  :required_capabilities,
  :resources_supported,
  :semantic_version,
  :source_code_archive_url,
  :source_code_url,
  :template_url)
  include Aws::Structure
end

#creation_timeString

The date and time this resource was created.

Returns:

  • (String)


2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 2054

class Version < Struct.new(
  :application_id,
  :creation_time,
  :parameter_definitions,
  :required_capabilities,
  :resources_supported,
  :semantic_version,
  :source_code_archive_url,
  :source_code_url,
  :template_url)
  include Aws::Structure
end

#parameter_definitionsArray<Types::ParameterDefinition>

An array of parameter types supported by the application.

Returns:



2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 2054

class Version < Struct.new(
  :application_id,
  :creation_time,
  :parameter_definitions,
  :required_capabilities,
  :resources_supported,
  :semantic_version,
  :source_code_archive_url,
  :source_code_url,
  :template_url)
  include Aws::Structure
end

#required_capabilitiesArray<String>

A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.

The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.

The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.

Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.

If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.

Returns:

  • (Array<String>)


2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 2054

class Version < Struct.new(
  :application_id,
  :creation_time,
  :parameter_definitions,
  :required_capabilities,
  :resources_supported,
  :semantic_version,
  :source_code_archive_url,
  :source_code_url,
  :template_url)
  include Aws::Structure
end

#resources_supportedBoolean

Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.

Returns:

  • (Boolean)


2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 2054

class Version < Struct.new(
  :application_id,
  :creation_time,
  :parameter_definitions,
  :required_capabilities,
  :resources_supported,
  :semantic_version,
  :source_code_archive_url,
  :source_code_url,
  :template_url)
  include Aws::Structure
end

#semantic_versionString

The semantic version of the application:

https://semver.org/

Returns:

  • (String)


2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 2054

class Version < Struct.new(
  :application_id,
  :creation_time,
  :parameter_definitions,
  :required_capabilities,
  :resources_supported,
  :semantic_version,
  :source_code_archive_url,
  :source_code_url,
  :template_url)
  include Aws::Structure
end

#source_code_archive_urlString

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

Returns:

  • (String)


2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 2054

class Version < Struct.new(
  :application_id,
  :creation_time,
  :parameter_definitions,
  :required_capabilities,
  :resources_supported,
  :semantic_version,
  :source_code_archive_url,
  :source_code_url,
  :template_url)
  include Aws::Structure
end

#source_code_urlString

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

Returns:

  • (String)


2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 2054

class Version < Struct.new(
  :application_id,
  :creation_time,
  :parameter_definitions,
  :required_capabilities,
  :resources_supported,
  :semantic_version,
  :source_code_archive_url,
  :source_code_url,
  :template_url)
  include Aws::Structure
end

#template_urlString

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

Returns:

  • (String)


2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 2054

class Version < Struct.new(
  :application_id,
  :creation_time,
  :parameter_definitions,
  :required_capabilities,
  :resources_supported,
  :semantic_version,
  :source_code_archive_url,
  :source_code_url,
  :template_url)
  include Aws::Structure
end