We recommend new projects start with resources from the AWS provider.
aws-native.rekognition.getCollection
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::Rekognition::Collection type creates an Amazon Rekognition Collection. A collection is a logical grouping of information about detected faces which can later be referenced for searches on the group
Using getCollection
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 getCollection(args: GetCollectionArgs, opts?: InvokeOptions): Promise<GetCollectionResult>
function getCollectionOutput(args: GetCollectionOutputArgs, opts?: InvokeOptions): Output<GetCollectionResult>
def get_collection(collection_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCollectionResult
def get_collection_output(collection_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCollectionResult]
func LookupCollection(ctx *Context, args *LookupCollectionArgs, opts ...InvokeOption) (*LookupCollectionResult, error)
func LookupCollectionOutput(ctx *Context, args *LookupCollectionOutputArgs, opts ...InvokeOption) LookupCollectionResultOutput
> Note: This function is named LookupCollection
in the Go SDK.
public static class GetCollection
{
public static Task<GetCollectionResult> InvokeAsync(GetCollectionArgs args, InvokeOptions? opts = null)
public static Output<GetCollectionResult> Invoke(GetCollectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCollectionResult> getCollection(GetCollectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:rekognition:getCollection
arguments:
# arguments dictionary
The following arguments are supported:
- Collection
Id string - ID for the collection that you are creating.
- Collection
Id string - ID for the collection that you are creating.
- collection
Id String - ID for the collection that you are creating.
- collection
Id string - ID for the collection that you are creating.
- collection_
id str - ID for the collection that you are creating.
- collection
Id String - ID for the collection that you are creating.
getCollection Result
The following output properties are available:
- Arn string
- Returns the Amazon Resource Name of the collection.
- List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- arn str
- Returns the Amazon Resource Name of the collection.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- arn String
- Returns the Amazon Resource Name of the collection.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.