1. Packages
  2. AWS Native
  3. API Docs
  4. greengrassv2
  5. getComponentVersion

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.greengrassv2.getComponentVersion

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    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 Dictionary<string, string>
    Arn string
    ComponentName string
    ComponentVersion string
    Tags map[string]string
    arn String
    componentName String
    componentVersion String
    tags Map<String,String>
    arn string
    componentName string
    componentVersion string
    tags {[key: string]: string}
    arn str
    component_name str
    component_version str
    tags Mapping[str, str]
    arn String
    componentName String
    componentVersion String
    tags Map<String>

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi