1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. rekognition
  6. getDataset

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi

    The AWS::Rekognition::Dataset type creates an Amazon Rekognition Custom Labels dataset.

    Using getDataset

    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 getDataset(args: GetDatasetArgs, opts?: InvokeOptions): Promise<GetDatasetResult>
    function getDatasetOutput(args: GetDatasetOutputArgs, opts?: InvokeOutputOptions): Output<GetDatasetResult>
    def get_dataset(dataset_arn: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetDatasetResult
    def get_dataset_output(dataset_arn: pulumi.Input[Optional[str]] = None,
                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetDatasetResult]
    func LookupDataset(ctx *Context, args *LookupDatasetArgs, opts ...InvokeOption) (*LookupDatasetResult, error)
    func LookupDatasetOutput(ctx *Context, args *LookupDatasetOutputArgs, opts ...InvokeOption) LookupDatasetResultOutput

    > Note: This function is named LookupDataset in the Go SDK.

    public static class GetDataset 
    {
        public static Task<GetDatasetResult> InvokeAsync(GetDatasetArgs args, InvokeOptions? opts = null)
        public static Output<GetDatasetResult> Invoke(GetDatasetInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetDatasetResult> Invoke(GetDatasetInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetDatasetResult> getDataset(GetDatasetArgs args, InvokeOptions options)
    public static Output<GetDatasetResult> getDataset(GetDatasetArgs args, InvokeOptions options)
    public static Output<GetDatasetResult> getDataset(GetDatasetArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:rekognition:getDataset
      arguments:
        # arguments dictionary
    data "aws-native_rekognition_get_dataset" "name" {
        # arguments
    }

    The following arguments are supported:

    DatasetArn string
    The ARN of the dataset.
    DatasetArn string
    The ARN of the dataset.
    dataset_arn string
    The ARN of the dataset.
    datasetArn String
    The ARN of the dataset.
    datasetArn string
    The ARN of the dataset.
    dataset_arn str
    The ARN of the dataset.
    datasetArn String
    The ARN of the dataset.

    getDataset Result

    The following output properties are available:

    DatasetArn string
    The ARN of the dataset.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    DatasetArn string
    The ARN of the dataset.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    dataset_arn string
    The ARN of the dataset.
    tags list(object)
    An array of key-value pairs to apply to this resource.
    datasetArn String
    The ARN of the dataset.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    datasetArn string
    The ARN of the dataset.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    dataset_arn str
    The ARN of the dataset.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    datasetArn String
    The ARN of the dataset.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.79.0
    published on Monday, Sep 14, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial