class Aws::ServerlessApplicationRepository::Types::Version

Application version details.

@!attribute [rw] application_id

The application Amazon Resource Name (ARN).
@return [String]

@!attribute [rw] creation_time

The date and time this resource was created.
@return [String]

@!attribute [rw] parameter_definitions

An array of parameter types supported by the application.
@return [Array<Types::ParameterDefinition>]

@!attribute [rw] required_capabilities

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][1],
[AWS::IAM::InstanceProfile][2], [AWS::IAM::Policy][3], and
[AWS::IAM::Role][4]. 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][5],
[AWS::IAM:Policy][3],
[AWS::ApplicationAutoScaling::ScalingPolicy][6],
[AWS::S3::BucketPolicy][7], [AWS::SQS::QueuePolicy][8], and
[AWS::SNS::TopicPolicy][9].

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]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html
[2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html
[3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html
[4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
[5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html
[6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html
[7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html
[8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-policy.html
[9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-policy.html
@return [Array<String>]

@!attribute [rw] resources_supported

Whether all of the AWS resources contained in this application are
supported in the region in which it is being retrieved.
@return [Boolean]

@!attribute [rw] semantic_version

The semantic version of the application:

[https://semver.org/][1]

[1]: https://semver.org/
@return [String]

@!attribute [rw] source_code_archive_url

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
@return [String]

@!attribute [rw] source_code_url

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

@!attribute [rw] template_url

A link to the packaged AWS SAM template of your application.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/Version AWS API Documentation

Constants

SENSITIVE