Skip to content
v2.274.0

CfnPackageVersionProps Struct ​

Properties for defining a CfnPackageVersion.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_panorama as panorama } from 'aws-cdk-lib';
const cfnPackageVersionProps: panorama.CfnPackageVersionProps = {
  packageId: 'packageId',
  packageVersion: 'packageVersion',
  patchVersion: 'patchVersion',

  // the properties below are optional
  markLatest: false,
  ownerAccount: 'ownerAccount',
  updatedLatestPatchVersion: 'updatedLatestPatchVersion',
};

Properties ​

markLatestoptionalboolean | IResolvablemark_latestoptionaltyping.Union[bool, IResolvable]markLatestoptionalBooleanMarkLatestoptionalboolMarkLatestoptionalinterface{}#
Whether to mark the new version as the latest version.
ownerAccountoptionalstringowner_accountoptionalstrownerAccountoptionalStringOwnerAccountoptionalstringOwnerAccountoptional*string#
An owner account.
packageIdstringpackage_idstrpackageIdStringPackageIdstringPackageId*stringrequired#
A package ID.
packageVersionstringpackage_versionstrpackageVersionStringPackageVersionstringPackageVersion*stringrequired#
A package version.
patchVersionstringpatch_versionstrpatchVersionStringPatchVersionstringPatchVersion*stringrequired#
A patch version.
updatedLatestPatchVersionoptionalstringupdated_latest_patch_versionoptionalstrupdatedLatestPatchVersionoptionalStringUpdatedLatestPatchVersionoptionalstringUpdatedLatestPatchVersionoptional*string#
If the version was marked latest, the new version to maker as latest.