CfnPackageVersionProps

class aws_cdk.aws_panorama.CfnPackageVersionProps(*, package_id, package_version, patch_version, mark_latest=None, owner_account=None, updated_latest_patch_version=None)

Bases: object

Properties for defining a CfnPackageVersion.

Parameters
  • package_id (str) – A package ID.

  • package_version (str) – A package version.

  • patch_version (str) – A patch version.

  • mark_latest (Union[bool, IResolvable, None]) – Whether to mark the new version as the latest version.

  • owner_account (Optional[str]) – An owner account.

  • updated_latest_patch_version (Optional[str]) – If the version was marked latest, the new version to maker as latest.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_panorama as panorama

cfn_package_version_props = panorama.CfnPackageVersionProps(
    package_id="packageId",
    package_version="packageVersion",
    patch_version="patchVersion",

    # the properties below are optional
    mark_latest=False,
    owner_account="ownerAccount",
    updated_latest_patch_version="updatedLatestPatchVersion"
)

Attributes

mark_latest

Whether to mark the new version as the latest version.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html#cfn-panorama-packageversion-marklatest

Return type

Union[bool, IResolvable, None]

owner_account

An owner account.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html#cfn-panorama-packageversion-owneraccount

Return type

Optional[str]

package_id

A package ID.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html#cfn-panorama-packageversion-packageid

Return type

str

package_version

A package version.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html#cfn-panorama-packageversion-packageversion

Return type

str

patch_version

A patch version.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html#cfn-panorama-packageversion-patchversion

Return type

str

updated_latest_patch_version

If the version was marked latest, the new version to maker as latest.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html#cfn-panorama-packageversion-updatedlatestpatchversion

Return type

Optional[str]