We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
resource definition
Create SoftwarePackageVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SoftwarePackageVersion(name: string, args: SoftwarePackageVersionArgs, opts?: CustomResourceOptions);@overload
def SoftwarePackageVersion(resource_name: str,
args: SoftwarePackageVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SoftwarePackageVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
package_name: Optional[str] = None,
artifact: Optional[SoftwarePackageVersionPackageVersionArtifactArgs] = None,
attributes: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
recipe: Optional[str] = None,
sbom: Optional[SoftwarePackageVersionSbomArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
version_name: Optional[str] = None)func NewSoftwarePackageVersion(ctx *Context, name string, args SoftwarePackageVersionArgs, opts ...ResourceOption) (*SoftwarePackageVersion, error)public SoftwarePackageVersion(string name, SoftwarePackageVersionArgs args, CustomResourceOptions? opts = null)
public SoftwarePackageVersion(String name, SoftwarePackageVersionArgs args)
public SoftwarePackageVersion(String name, SoftwarePackageVersionArgs args, CustomResourceOptions options)
type: aws-native:iot:SoftwarePackageVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_iot_software_package_version" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SoftwarePackageVersionArgs
- 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 SoftwarePackageVersionArgs
- 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 SoftwarePackageVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SoftwarePackageVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SoftwarePackageVersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SoftwarePackageVersion 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 SoftwarePackageVersion resource accepts the following input properties:
- Package
Name string - The name of the associated software package.
- Artifact
Pulumi.
Aws Native. Io T. Inputs. Software Package Version Package Version Artifact - Attributes Dictionary<string, string>
Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.
The combined size of all the attributes on a package version is limited to 3KB.
- Description string
- A summary of the package version being created. This can be used to outline the package's contents or purpose.
- Recipe string
- The inline json job document associated with a software package version
- Sbom
Pulumi.
Aws Native. Io T. Inputs. Software Package Version Sbom -
List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Version
Name string - The name of the new package version.
- Package
Name string - The name of the associated software package.
- Artifact
Software
Package Version Package Version Artifact Args - Attributes map[string]string
Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.
The combined size of all the attributes on a package version is limited to 3KB.
- Description string
- A summary of the package version being created. This can be used to outline the package's contents or purpose.
- Recipe string
- The inline json job document associated with a software package version
- Sbom
Software
Package Version Sbom Args -
Tag
Args - An array of key-value pairs to apply to this resource.
- Version
Name string - The name of the new package version.
- package_
name string - The name of the associated software package.
- artifact object
- attributes map(string)
Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.
The combined size of all the attributes on a package version is limited to 3KB.
- description string
- A summary of the package version being created. This can be used to outline the package's contents or purpose.
- recipe string
- The inline json job document associated with a software package version
- sbom object
- list(object)
- An array of key-value pairs to apply to this resource.
- version_
name string - The name of the new package version.
- package
Name String - The name of the associated software package.
- artifact
Software
Package Version Package Version Artifact - attributes Map<String,String>
Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.
The combined size of all the attributes on a package version is limited to 3KB.
- description String
- A summary of the package version being created. This can be used to outline the package's contents or purpose.
- recipe String
- The inline json job document associated with a software package version
- sbom
Software
Package Version Sbom - List<Tag>
- An array of key-value pairs to apply to this resource.
- version
Name String - The name of the new package version.
- package
Name string - The name of the associated software package.
- artifact
Software
Package Version Package Version Artifact - attributes {[key: string]: string}
Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.
The combined size of all the attributes on a package version is limited to 3KB.
- description string
- A summary of the package version being created. This can be used to outline the package's contents or purpose.
- recipe string
- The inline json job document associated with a software package version
- sbom
Software
Package Version Sbom - Tag[]
- An array of key-value pairs to apply to this resource.
- version
Name string - The name of the new package version.
- package_
name str - The name of the associated software package.
- artifact
Software
Package Version Package Version Artifact Args - attributes Mapping[str, str]
Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.
The combined size of all the attributes on a package version is limited to 3KB.
- description str
- A summary of the package version being created. This can be used to outline the package's contents or purpose.
- recipe str
- The inline json job document associated with a software package version
- sbom
Software
Package Version Sbom Args -
Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- version_
name str - The name of the new package version.
- package
Name String - The name of the associated software package.
- artifact Property Map
- attributes Map<String>
Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.
The combined size of all the attributes on a package version is limited to 3KB.
- description String
- A summary of the package version being created. This can be used to outline the package's contents or purpose.
- recipe String
- The inline json job document associated with a software package version
- sbom Property Map
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- version
Name String - The name of the new package version.
Outputs
All input properties are implicitly available as output properties. Additionally, the SoftwarePackageVersion resource produces the following output properties:
- Error
Reason string - Error reason for a package version failure during creation or update.
- Id string
- The provider-assigned unique ID for this managed resource.
- Package
Version stringArn - The Amazon Resource Name (ARN) for the package.
- Sbom
Validation Pulumi.Status Aws Native. Io T. Software Package Version Sbom Validation Status - Status
Pulumi.
Aws Native. Io T. Software Package Version Package Version Status - The status of the package version. For more information, see Package version lifecycle .
- Error
Reason string - Error reason for a package version failure during creation or update.
- Id string
- The provider-assigned unique ID for this managed resource.
- Package
Version stringArn - The Amazon Resource Name (ARN) for the package.
- Sbom
Validation SoftwareStatus Package Version Sbom Validation Status - Status
Software
Package Version Package Version Status - The status of the package version. For more information, see Package version lifecycle .
- error_
reason string - Error reason for a package version failure during creation or update.
- id string
- The provider-assigned unique ID for this managed resource.
- package_
version_ stringarn - The Amazon Resource Name (ARN) for the package.
- sbom_
validation_ "IN_PROGRESS" | "FAILED" | "SUCCEEDED" | ""status - status "DRAFT" | "PUBLISHED" | "DEPRECATED"
- The status of the package version. For more information, see Package version lifecycle .
- error
Reason String - Error reason for a package version failure during creation or update.
- id String
- The provider-assigned unique ID for this managed resource.
- package
Version StringArn - The Amazon Resource Name (ARN) for the package.
- sbom
Validation SoftwareStatus Package Version Sbom Validation Status - status
Software
Package Version Package Version Status - The status of the package version. For more information, see Package version lifecycle .
- error
Reason string - Error reason for a package version failure during creation or update.
- id string
- The provider-assigned unique ID for this managed resource.
- package
Version stringArn - The Amazon Resource Name (ARN) for the package.
- sbom
Validation SoftwareStatus Package Version Sbom Validation Status - status
Software
Package Version Package Version Status - The status of the package version. For more information, see Package version lifecycle .
- error_
reason str - Error reason for a package version failure during creation or update.
- id str
- The provider-assigned unique ID for this managed resource.
- package_
version_ strarn - The Amazon Resource Name (ARN) for the package.
- sbom_
validation_ Softwarestatus Package Version Sbom Validation Status - status
Software
Package Version Package Version Status - The status of the package version. For more information, see Package version lifecycle .
- error
Reason String - Error reason for a package version failure during creation or update.
- id String
- The provider-assigned unique ID for this managed resource.
- package
Version StringArn - The Amazon Resource Name (ARN) for the package.
- sbom
Validation "IN_PROGRESS" | "FAILED" | "SUCCEEDED" | ""Status - status "DRAFT" | "PUBLISHED" | "DEPRECATED"
- The status of the package version. For more information, see Package version lifecycle .
Look up Existing SoftwarePackageVersion Resource
Get an existing SoftwarePackageVersion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): SoftwarePackageVersion@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> SoftwarePackageVersionfunc GetSoftwarePackageVersion(ctx *Context, name string, id IDInput, state *SoftwarePackageVersionState, opts ...ResourceOption) (*SoftwarePackageVersion, error)public static SoftwarePackageVersion Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static SoftwarePackageVersion get(String name, Output<String> id, CustomResourceOptions options)resources: existingSoftwarePackageVersion: type: aws-native:iot:SoftwarePackageVersion get: id: ${id}import {
to = aws-native_iot_software_package_version.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state SoftwarePackageVersionState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
SoftwarePackageVersionPackageVersionArtifact, SoftwarePackageVersionPackageVersionArtifactArgs
The artifact location of the package version
SoftwarePackageVersionPackageVersionStatus
| Name | Value |
|---|---|
| Draft | DRAFT |
| Published | PUBLISHED |
| Deprecated | DEPRECATED |
| Name | Value |
|---|---|
| Software | DRAFT |
| Software | PUBLISHED |
| Software | DEPRECATED |
| Value |
|---|
DRAFT |
PUBLISHED |
DEPRECATED |
| Name | Value |
|---|---|
| Draft | DRAFT |
| Published | PUBLISHED |
| Deprecated | DEPRECATED |
| Name | Value |
|---|---|
| Draft | DRAFT |
| Published | PUBLISHED |
| Deprecated | DEPRECATED |
| Name | Value |
|---|---|
| DRAFT | DRAFT |
| PUBLISHED | PUBLISHED |
| DEPRECATED | DEPRECATED |
| Value |
|---|
DRAFT |
PUBLISHED |
DEPRECATED |
SoftwarePackageVersionS3Location, SoftwarePackageVersionS3LocationArgs
The Amazon S3 location
SoftwarePackageVersionSbom, SoftwarePackageVersionSbomArgs
The sbom zip archive location of the package version
SoftwarePackageVersionSbomValidationStatus
The validation status of the Sbom file
| Name | Value |
|---|---|
| In | IN_PROGRESS |
| Failed | FAILED |
| Succeeded | SUCCEEDED |
| Empty | |
| Name | Value |
|---|---|
| Software | IN_PROGRESS |
| Software | FAILED |
| Software | SUCCEEDED |
| Software | |
| Value |
|---|
IN_PROGRESS |
FAILED |
SUCCEEDED |
|
| Name | Value |
|---|---|
| In | IN_PROGRESS |
| Failed | FAILED |
| Succeeded | SUCCEEDED |
| Empty | |
| Name | Value |
|---|---|
| In | IN_PROGRESS |
| Failed | FAILED |
| Succeeded | SUCCEEDED |
| Empty | |
| Name | Value |
|---|---|
| IN_PROGRESS | IN_PROGRESS |
| FAILED | FAILED |
| SUCCEEDED | SUCCEEDED |
| EMPTY | |
| Value |
|---|
IN_PROGRESS |
FAILED |
SUCCEEDED |
|
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi