We recommend new projects start with resources from the AWS provider.
aws-native.greengrassv2.getComponentVersion
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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.
- Component
Name string - The name of the component.
- Component
Version stringValue - The version of the component.
- 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 mostTags
implementations in AWS CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- Arn string
- The ARN of the component version.
- Component
Name string - The name of the component.
- Component
Version string - The version of the component.
- 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 mostTags
implementations in AWS CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- arn String
- The ARN of the component version.
- component
Name String - The name of the component.
- component
Version String - The version of the component.
- 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 mostTags
implementations in AWS CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- arn string
- The ARN of the component version.
- component
Name string - The name of the component.
- component
Version string - The version of the component.
- {[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 mostTags
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.
- 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 mostTags
implementations in AWS CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- arn String
- The ARN of the component version.
- component
Name String - The name of the component.
- component
Version String - The version of the component.
- 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 mostTags
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
We recommend new projects start with resources from the AWS provider.