libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ServerlessApplicationRepository.Types.Version

Description

 
Synopsis

Documentation

data Version Source #

Application version details.

See: newVersion smart constructor.

Constructors

Version' 

Fields

  • sourceCodeUrl :: Maybe Text

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

  • sourceCodeArchiveUrl :: Maybe Text

    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

  • templateUrl :: Text

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

  • parameterDefinitions :: [ParameterDefinition]

    An array of parameter types supported by the application.

  • resourcesSupported :: Bool

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

  • creationTime :: Text

    The date and time this resource was created.

  • requiredCapabilities :: [Capability]

    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.

  • applicationId :: Text

    The application Amazon Resource Name (ARN).

  • semanticVersion :: Text

    The semantic version of the application:

    https://semver.org/

Instances

Instances details
Eq Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

Methods

(==) :: Version -> Version -> Bool #

(/=) :: Version -> Version -> Bool #

Read Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

Show Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

Generic Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

Associated Types

type Rep Version :: Type -> Type #

Methods

from :: Version -> Rep Version x #

to :: Rep Version x -> Version #

NFData Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

Methods

rnf :: Version -> () #

Hashable Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

Methods

hashWithSalt :: Int -> Version -> Int #

hash :: Version -> Int #

FromJSON Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

type Rep Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

type Rep Version = D1 ('MetaData "Version" "Amazonka.ServerlessApplicationRepository.Types.Version" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "Version'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "sourceCodeUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceCodeArchiveUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "templateUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "parameterDefinitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ParameterDefinition]))) :*: ((S1 ('MetaSel ('Just "resourcesSupported") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "requiredCapabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Capability]) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "semanticVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newVersion Source #

Create a value of Version with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sourceCodeUrl:Version', version_sourceCodeUrl - A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

$sel:sourceCodeArchiveUrl:Version', 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

$sel:templateUrl:Version', version_templateUrl - A link to the packaged AWS SAM template of your application.

$sel:parameterDefinitions:Version', version_parameterDefinitions - An array of parameter types supported by the application.

$sel:resourcesSupported:Version', version_resourcesSupported - Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.

$sel:creationTime:Version', version_creationTime - The date and time this resource was created.

$sel:requiredCapabilities:Version', version_requiredCapabilities - 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.

$sel:applicationId:Version', version_applicationId - The application Amazon Resource Name (ARN).

$sel:semanticVersion:Version', version_semanticVersion - The semantic version of the application:

https://semver.org/

version_sourceCodeUrl :: Lens' Version (Maybe Text) Source #

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

version_sourceCodeArchiveUrl :: Lens' Version (Maybe Text) Source #

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

version_templateUrl :: Lens' Version Text Source #

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

version_parameterDefinitions :: Lens' Version [ParameterDefinition] Source #

An array of parameter types supported by the application.

version_resourcesSupported :: Lens' Version Bool Source #

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

version_creationTime :: Lens' Version Text Source #

The date and time this resource was created.

version_requiredCapabilities :: Lens' Version [Capability] Source #

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.

version_applicationId :: Lens' Version Text Source #

The application Amazon Resource Name (ARN).

version_semanticVersion :: Lens' Version Text Source #

The semantic version of the application:

https://semver.org/