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

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

Overview

Application version details.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#application_idString

The application Amazon Resource Name (ARN).

Returns:

  • (String)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
# File 'lib/aws-sdk-serverlessapplicationrepository/types.rb', line 1977

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)
  SENSITIVE = []
  include Aws::Structure
end

#creation_timeString

The date and time this resource was created.

Returns:

  • (String)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
# File 'lib/aws-sdk-serverlessapplicationrepository/types.rb', line 1977

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)
  SENSITIVE = []
  include Aws::Structure
end

#parameter_definitionsArray<Types::ParameterDefinition>

An array of parameter types supported by the application.

Returns:



1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
# File 'lib/aws-sdk-serverlessapplicationrepository/types.rb', line 1977

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)
  SENSITIVE = []
  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.

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html [2]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html [3]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html [4]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html [5]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html [6]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html [7]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html [8]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-policy.html [9]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-policy.html

Returns:

  • (Array<String>)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
# File 'lib/aws-sdk-serverlessapplicationrepository/types.rb', line 1977

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)
  SENSITIVE = []
  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)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
# File 'lib/aws-sdk-serverlessapplicationrepository/types.rb', line 1977

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)
  SENSITIVE = []
  include Aws::Structure
end

#semantic_versionString

The semantic version of the application:

semver.org/][1

[1]: semver.org/

Returns:

  • (String)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
# File 'lib/aws-sdk-serverlessapplicationrepository/types.rb', line 1977

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)
  SENSITIVE = []
  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)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
# File 'lib/aws-sdk-serverlessapplicationrepository/types.rb', line 1977

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)
  SENSITIVE = []
  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)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
# File 'lib/aws-sdk-serverlessapplicationrepository/types.rb', line 1977

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)
  SENSITIVE = []
  include Aws::Structure
end

#template_urlString

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

Returns:

  • (String)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
# File 'lib/aws-sdk-serverlessapplicationrepository/types.rb', line 1977

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)
  SENSITIVE = []
  include Aws::Structure
end