AWS Native v0.63.0, May 25 23
AWS Native v0.63.0, May 25 23
aws-native.greengrassv2.getComponentVersion
Explore with Pulumi AI
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
- Component
Name string - Component
Version stringValue - object
- Arn string
- Component
Name string - Component
Version string - interface{}
- arn String
- component
Name String - component
Version String - Object
- arn string
- component
Name string - component
Version string - any
- arn str
- component_
name str - component_
version str - Any
- arn String
- component
Name String - component
Version String - Any
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0