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.109.0 published on Wednesday, Jun 26, 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.109.0 published on Wednesday, Jun 26, 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
    The ARN of the component version.
    Arn string
    The ARN of the component version.
    arn String
    The ARN of the component version.
    arn string
    The ARN of the component version.
    arn str
    The ARN of the component version.
    arn String
    The ARN of the component version.

    getComponentVersion Result

    The following output properties are available:

    Arn string
    The ARN of the component version.
    ComponentName string
    The name of the component.
    ComponentVersionValue string
    The version of the component.
    Tags Dictionary<string, string>

    Application-specific metadata to attach to the component version. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide .

    This Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in AWS CloudFormation templates.

    "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
    }
    
    Arn string
    The ARN of the component version.
    ComponentName string
    The name of the component.
    ComponentVersion string
    The version of the component.
    Tags map[string]string

    Application-specific metadata to attach to the component version. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide .

    This Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in AWS CloudFormation templates.

    "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
    }
    
    arn String
    The ARN of the component version.
    componentName String
    The name of the component.
    componentVersion String
    The version of the component.
    tags Map<String,String>

    Application-specific metadata to attach to the component version. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide .

    This Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in AWS CloudFormation templates.

    "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
    }
    
    arn string
    The ARN of the component version.
    componentName string
    The name of the component.
    componentVersion string
    The version of the component.
    tags {[key: string]: string}

    Application-specific metadata to attach to the component version. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide .

    This Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in AWS CloudFormation templates.

    "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
    }
    
    arn str
    The ARN of the component version.
    component_name str
    The name of the component.
    component_version str
    The version of the component.
    tags Mapping[str, str]

    Application-specific metadata to attach to the component version. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide .

    This Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in AWS CloudFormation templates.

    "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
    }
    
    arn String
    The ARN of the component version.
    componentName String
    The name of the component.
    componentVersion String
    The version of the component.
    tags Map<String>

    Application-specific metadata to attach to the component version. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide .

    This Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in AWS CloudFormation templates.

    "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
    }
    

    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.109.0 published on Wednesday, Jun 26, 2024 by Pulumi