1. Packages
  2. AWS Native
  3. API Docs
  4. iot
  5. getSoftwarePackageVersion

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.iot.getSoftwarePackageVersion

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    resource definition

    Using getSoftwarePackageVersion

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSoftwarePackageVersion(args: GetSoftwarePackageVersionArgs, opts?: InvokeOptions): Promise<GetSoftwarePackageVersionResult>
    function getSoftwarePackageVersionOutput(args: GetSoftwarePackageVersionOutputArgs, opts?: InvokeOptions): Output<GetSoftwarePackageVersionResult>
    def get_software_package_version(package_name: Optional[str] = None,
                                     version_name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetSoftwarePackageVersionResult
    def get_software_package_version_output(package_name: Optional[pulumi.Input[str]] = None,
                                     version_name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetSoftwarePackageVersionResult]
    func LookupSoftwarePackageVersion(ctx *Context, args *LookupSoftwarePackageVersionArgs, opts ...InvokeOption) (*LookupSoftwarePackageVersionResult, error)
    func LookupSoftwarePackageVersionOutput(ctx *Context, args *LookupSoftwarePackageVersionOutputArgs, opts ...InvokeOption) LookupSoftwarePackageVersionResultOutput

    > Note: This function is named LookupSoftwarePackageVersion in the Go SDK.

    public static class GetSoftwarePackageVersion 
    {
        public static Task<GetSoftwarePackageVersionResult> InvokeAsync(GetSoftwarePackageVersionArgs args, InvokeOptions? opts = null)
        public static Output<GetSoftwarePackageVersionResult> Invoke(GetSoftwarePackageVersionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSoftwarePackageVersionResult> getSoftwarePackageVersion(GetSoftwarePackageVersionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:iot:getSoftwarePackageVersion
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getSoftwarePackageVersion Result

    The following output properties are available:

    Attributes Dictionary<string, string>
    Description string
    ErrorReason string
    Error reason for a package version failure during creation or update.
    PackageVersionArn string
    The Amazon Resource Name (ARN) for the package.
    Status Pulumi.AwsNative.IoT.SoftwarePackageVersionPackageVersionStatus
    The status of the package version. For more information, see Package version lifecycle .
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    Attributes map[string]string
    Description string
    ErrorReason string
    Error reason for a package version failure during creation or update.
    PackageVersionArn string
    The Amazon Resource Name (ARN) for the package.
    Status SoftwarePackageVersionPackageVersionStatus
    The status of the package version. For more information, see Package version lifecycle .
    Tags Tag
    An array of key-value pairs to apply to this resource.
    attributes Map<String,String>
    description String
    errorReason String
    Error reason for a package version failure during creation or update.
    packageVersionArn String
    The Amazon Resource Name (ARN) for the package.
    status SoftwarePackageVersionPackageVersionStatus
    The status of the package version. For more information, see Package version lifecycle .
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    attributes {[key: string]: string}
    description string
    errorReason string
    Error reason for a package version failure during creation or update.
    packageVersionArn string
    The Amazon Resource Name (ARN) for the package.
    status SoftwarePackageVersionPackageVersionStatus
    The status of the package version. For more information, see Package version lifecycle .
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    attributes Mapping[str, str]
    description str
    error_reason str
    Error reason for a package version failure during creation or update.
    package_version_arn str
    The Amazon Resource Name (ARN) for the package.
    status SoftwarePackageVersionPackageVersionStatus
    The status of the package version. For more information, see Package version lifecycle .
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    attributes Map<String>
    description String
    errorReason String
    Error reason for a package version failure during creation or update.
    packageVersionArn String
    The Amazon Resource Name (ARN) for the package.
    status "DRAFT" | "PUBLISHED" | "DEPRECATED"
    The status of the package version. For more information, see Package version lifecycle .
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    SoftwarePackageVersionPackageVersionStatus

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi