AWS Native

v0.29.0 published on Thursday, Sep 8, 2022 by Pulumi

getComponentVersion

Resource for Greengrass component version.

Using getComponentVersion

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 getComponentVersion(args: GetComponentVersionArgs, opts?: InvokeOptions): Promise<GetComponentVersionResult>
function getComponentVersionOutput(args: GetComponentVersionOutputArgs, opts?: InvokeOptions): Output<GetComponentVersionResult>
def get_component_version(arn: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetComponentVersionResult
def get_component_version_output(arn: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetComponentVersionResult]
func LookupComponentVersion(ctx *Context, args *LookupComponentVersionArgs, opts ...InvokeOption) (*LookupComponentVersionResult, error)
func LookupComponentVersionOutput(ctx *Context, args *LookupComponentVersionOutputArgs, opts ...InvokeOption) LookupComponentVersionResultOutput

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

public static class GetComponentVersion 
{
    public static Task<GetComponentVersionResult> InvokeAsync(GetComponentVersionArgs args, InvokeOptions? opts = null)
    public static Output<GetComponentVersionResult> Invoke(GetComponentVersionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetComponentVersionResult> getComponentVersion(GetComponentVersionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:greengrassv2:getComponentVersion
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Arn string
Arn string
arn String
arn string
arn str
arn String

getComponentVersion Result

The following output properties are available:

Arn string
ComponentName string
ComponentVersionValue string
Tags object
Arn string
ComponentName string
ComponentVersion string
Tags interface{}
arn String
componentName String
componentVersion String
tags Object
arn string
componentName string
componentVersion string
tags any
arn String
componentName String
componentVersion String
tags Any

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0