Registers a package version.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"Type" : "AWS::Panorama::PackageVersion",
"Properties" : {
"MarkLatest" : Boolean
,
"OwnerAccount" : String
,
"PackageId" : String
,
"PackageVersion" : String
,
"PatchVersion" : String
,
"UpdatedLatestPatchVersion" : String
}
}
YAML
Type: AWS::Panorama::PackageVersion
Properties:
MarkLatest: Boolean
OwnerAccount: String
PackageId: String
PackageVersion: String
PatchVersion: String
UpdatedLatestPatchVersion: String
Properties
MarkLatest
-
Whether to mark the new version as the latest version.
Required: No
Type: Boolean
Update requires: No interruption
OwnerAccount
-
An owner account.
Required: No
Type: String
Pattern:
^[0-9a-z\_]+$
Minimum:
1
Maximum:
12
Update requires: Replacement
PackageId
-
A package ID.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9\-\_\/]+$
Minimum:
1
Maximum:
255
Update requires: Replacement
PackageVersion
-
A package version.
Required: Yes
Type: String
Pattern:
^([0-9]+)\.([0-9]+)$
Minimum:
1
Maximum:
255
Update requires: Replacement
PatchVersion
-
A patch version.
Required: Yes
Type: String
Pattern:
^[a-z0-9]+$
Minimum:
1
Maximum:
255
Update requires: Replacement
UpdatedLatestPatchVersion
-
If the version was marked latest, the new version to maker as latest.
Required: No
Type: String
Pattern:
^[a-z0-9]+$
Minimum:
1
Maximum:
255
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returns a unique identifier for this resource.
Fn::GetAtt
The Fn::GetAtt
intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt
intrinsic function, see Fn::GetAtt
.
IsLatestPatch
-
Whether the package version is the latest version.
PackageArn
-
The package version's ARN.
PackageName
-
The package version's name.
RegisteredTime
-
The package version's registered time.
Status
-
The package version's status.
StatusDescription
-
The package version's status description.