We recommend new projects start with resources from the AWS provider.
aws-native.panorama.PackageVersion
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Registers a package version.
Create PackageVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PackageVersion(name: string, args: PackageVersionArgs, opts?: CustomResourceOptions);
@overload
def PackageVersion(resource_name: str,
args: PackageVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PackageVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
package_id: Optional[str] = None,
package_version: Optional[str] = None,
patch_version: Optional[str] = None,
mark_latest: Optional[bool] = None,
owner_account: Optional[str] = None,
updated_latest_patch_version: Optional[str] = None)
func NewPackageVersion(ctx *Context, name string, args PackageVersionArgs, opts ...ResourceOption) (*PackageVersion, error)
public PackageVersion(string name, PackageVersionArgs args, CustomResourceOptions? opts = null)
public PackageVersion(String name, PackageVersionArgs args)
public PackageVersion(String name, PackageVersionArgs args, CustomResourceOptions options)
type: aws-native:panorama:PackageVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PackageVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PackageVersionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PackageVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PackageVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PackageVersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PackageVersion Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PackageVersion resource accepts the following input properties:
- Package
Id string - A package ID.
- Package
Version stringValue - A package version.
- Patch
Version string - A patch version.
- Mark
Latest bool - Whether to mark the new version as the latest version.
- Owner
Account string - An owner account.
- Updated
Latest stringPatch Version - If the version was marked latest, the new version to maker as latest.
- Package
Id string - A package ID.
- Package
Version string - A package version.
- Patch
Version string - A patch version.
- Mark
Latest bool - Whether to mark the new version as the latest version.
- Owner
Account string - An owner account.
- Updated
Latest stringPatch Version - If the version was marked latest, the new version to maker as latest.
- package
Id String - A package ID.
- package
Version String - A package version.
- patch
Version String - A patch version.
- mark
Latest Boolean - Whether to mark the new version as the latest version.
- owner
Account String - An owner account.
- updated
Latest StringPatch Version - If the version was marked latest, the new version to maker as latest.
- package
Id string - A package ID.
- package
Version string - A package version.
- patch
Version string - A patch version.
- mark
Latest boolean - Whether to mark the new version as the latest version.
- owner
Account string - An owner account.
- updated
Latest stringPatch Version - If the version was marked latest, the new version to maker as latest.
- package_
id str - A package ID.
- package_
version str - A package version.
- patch_
version str - A patch version.
- mark_
latest bool - Whether to mark the new version as the latest version.
- owner_
account str - An owner account.
- updated_
latest_ strpatch_ version - If the version was marked latest, the new version to maker as latest.
- package
Id String - A package ID.
- package
Version String - A package version.
- patch
Version String - A patch version.
- mark
Latest Boolean - Whether to mark the new version as the latest version.
- owner
Account String - An owner account.
- updated
Latest StringPatch Version - If the version was marked latest, the new version to maker as latest.
Outputs
All input properties are implicitly available as output properties. Additionally, the PackageVersion resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Latest boolPatch - Whether the package version is the latest version.
- Package
Arn string - The package version's ARN.
- Package
Name string - The package version's name.
- Registered
Time int - The package version's registered time.
- Status
Pulumi.
Aws Native. Panorama. Package Version Status - The package version's status.
- Status
Description string - The package version's status description.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Latest boolPatch - Whether the package version is the latest version.
- Package
Arn string - The package version's ARN.
- Package
Name string - The package version's name.
- Registered
Time int - The package version's registered time.
- Status
Package
Version Status - The package version's status.
- Status
Description string - The package version's status description.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Latest BooleanPatch - Whether the package version is the latest version.
- package
Arn String - The package version's ARN.
- package
Name String - The package version's name.
- registered
Time Integer - The package version's registered time.
- status
Package
Version Status - The package version's status.
- status
Description String - The package version's status description.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Latest booleanPatch - Whether the package version is the latest version.
- package
Arn string - The package version's ARN.
- package
Name string - The package version's name.
- registered
Time number - The package version's registered time.
- status
Package
Version Status - The package version's status.
- status
Description string - The package version's status description.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
latest_ boolpatch - Whether the package version is the latest version.
- package_
arn str - The package version's ARN.
- package_
name str - The package version's name.
- registered_
time int - The package version's registered time.
- status
Package
Version Status - The package version's status.
- status_
description str - The package version's status description.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Latest BooleanPatch - Whether the package version is the latest version.
- package
Arn String - The package version's ARN.
- package
Name String - The package version's name.
- registered
Time Number - The package version's registered time.
- status "REGISTER_PENDING" | "REGISTER_COMPLETED" | "FAILED" | "DELETING"
- The package version's status.
- status
Description String - The package version's status description.
Supporting Types
PackageVersionStatus, PackageVersionStatusArgs
- Register
Pending - REGISTER_PENDING
- Register
Completed - REGISTER_COMPLETED
- Failed
- FAILED
- Deleting
- DELETING
- Package
Version Status Register Pending - REGISTER_PENDING
- Package
Version Status Register Completed - REGISTER_COMPLETED
- Package
Version Status Failed - FAILED
- Package
Version Status Deleting - DELETING
- Register
Pending - REGISTER_PENDING
- Register
Completed - REGISTER_COMPLETED
- Failed
- FAILED
- Deleting
- DELETING
- Register
Pending - REGISTER_PENDING
- Register
Completed - REGISTER_COMPLETED
- Failed
- FAILED
- Deleting
- DELETING
- REGISTER_PENDING
- REGISTER_PENDING
- REGISTER_COMPLETED
- REGISTER_COMPLETED
- FAILED
- FAILED
- DELETING
- DELETING
- "REGISTER_PENDING"
- REGISTER_PENDING
- "REGISTER_COMPLETED"
- REGISTER_COMPLETED
- "FAILED"
- FAILED
- "DELETING"
- DELETING
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.