1. Packages
  2. AWS
  3. API Docs
  4. servicecatalog
  5. getAppregistryAttributeGroup
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.servicecatalog.getAppregistryAttributeGroup

Explore with Pulumi AI

Data source for managing an AWS Service Catalog AppRegistry Attribute Group.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = aws.servicecatalog.getAppregistryAttributeGroup({
    name: "example_attribute_group",
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.servicecatalog.get_appregistry_attribute_group(name="example_attribute_group")
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicecatalog"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.LookupAppregistryAttributeGroup(ctx, &servicecatalog.LookupAppregistryAttributeGroupArgs{
			Name: pulumi.StringRef("example_attribute_group"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = Aws.ServiceCatalog.GetAppregistryAttributeGroup.Invoke(new()
    {
        Name = "example_attribute_group",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.servicecatalog.ServicecatalogFunctions;
import com.pulumi.aws.servicecatalog.inputs.GetAppregistryAttributeGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = ServicecatalogFunctions.getAppregistryAttributeGroup(GetAppregistryAttributeGroupArgs.builder()
            .name("example_attribute_group")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: aws:servicecatalog:getAppregistryAttributeGroup
      arguments:
        name: example_attribute_group
Copy

Using getAppregistryAttributeGroup

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 getAppregistryAttributeGroup(args: GetAppregistryAttributeGroupArgs, opts?: InvokeOptions): Promise<GetAppregistryAttributeGroupResult>
function getAppregistryAttributeGroupOutput(args: GetAppregistryAttributeGroupOutputArgs, opts?: InvokeOptions): Output<GetAppregistryAttributeGroupResult>
Copy
def get_appregistry_attribute_group(arn: Optional[str] = None,
                                    id: Optional[str] = None,
                                    name: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetAppregistryAttributeGroupResult
def get_appregistry_attribute_group_output(arn: Optional[pulumi.Input[str]] = None,
                                    id: Optional[pulumi.Input[str]] = None,
                                    name: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetAppregistryAttributeGroupResult]
Copy
func LookupAppregistryAttributeGroup(ctx *Context, args *LookupAppregistryAttributeGroupArgs, opts ...InvokeOption) (*LookupAppregistryAttributeGroupResult, error)
func LookupAppregistryAttributeGroupOutput(ctx *Context, args *LookupAppregistryAttributeGroupOutputArgs, opts ...InvokeOption) LookupAppregistryAttributeGroupResultOutput
Copy

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

public static class GetAppregistryAttributeGroup 
{
    public static Task<GetAppregistryAttributeGroupResult> InvokeAsync(GetAppregistryAttributeGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetAppregistryAttributeGroupResult> Invoke(GetAppregistryAttributeGroupInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAppregistryAttributeGroupResult> getAppregistryAttributeGroup(GetAppregistryAttributeGroupArgs args, InvokeOptions options)
public static Output<GetAppregistryAttributeGroupResult> getAppregistryAttributeGroup(GetAppregistryAttributeGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws:servicecatalog/getAppregistryAttributeGroup:getAppregistryAttributeGroup
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Arn string
ARN of the Attribute Group to find.
Id string
ID of the Attribute Group to find.
Name string
Name of the Attribute Group to find.
Arn string
ARN of the Attribute Group to find.
Id string
ID of the Attribute Group to find.
Name string
Name of the Attribute Group to find.
arn String
ARN of the Attribute Group to find.
id String
ID of the Attribute Group to find.
name String
Name of the Attribute Group to find.
arn string
ARN of the Attribute Group to find.
id string
ID of the Attribute Group to find.
name string
Name of the Attribute Group to find.
arn str
ARN of the Attribute Group to find.
id str
ID of the Attribute Group to find.
name str
Name of the Attribute Group to find.
arn String
ARN of the Attribute Group to find.
id String
ID of the Attribute Group to find.
name String
Name of the Attribute Group to find.

getAppregistryAttributeGroup Result

The following output properties are available:

Arn string
Attributes string
A JSON string of nested key-value pairs that represents the attributes of the group.
Description string
Description of the Attribute Group.
Id string
Name string
Tags Dictionary<string, string>
A map of tags assigned to the Attribute Group. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Arn string
Attributes string
A JSON string of nested key-value pairs that represents the attributes of the group.
Description string
Description of the Attribute Group.
Id string
Name string
Tags map[string]string
A map of tags assigned to the Attribute Group. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
arn String
attributes String
A JSON string of nested key-value pairs that represents the attributes of the group.
description String
Description of the Attribute Group.
id String
name String
tags Map<String,String>
A map of tags assigned to the Attribute Group. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
arn string
attributes string
A JSON string of nested key-value pairs that represents the attributes of the group.
description string
Description of the Attribute Group.
id string
name string
tags {[key: string]: string}
A map of tags assigned to the Attribute Group. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
arn str
attributes str
A JSON string of nested key-value pairs that represents the attributes of the group.
description str
Description of the Attribute Group.
id str
name str
tags Mapping[str, str]
A map of tags assigned to the Attribute Group. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
arn String
attributes String
A JSON string of nested key-value pairs that represents the attributes of the group.
description String
Description of the Attribute Group.
id String
name String
tags Map<String>
A map of tags assigned to the Attribute Group. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.