AWS v6.66.3 published on Monday, Jan 13, 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",
});
import pulumi
import pulumi_aws as aws
example = aws.servicecatalog.get_appregistry_attribute_group(name="example_attribute_group")
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
})
}
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",
});
});
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());
}
}
variables:
example:
fn::invoke:
function: aws:servicecatalog:getAppregistryAttributeGroup
arguments:
name: example_attribute_group
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>
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]
func LookupAppregistryAttributeGroup(ctx *Context, args *LookupAppregistryAttributeGroupArgs, opts ...InvokeOption) (*LookupAppregistryAttributeGroupResult, error)
func LookupAppregistryAttributeGroupOutput(ctx *Context, args *LookupAppregistryAttributeGroupOutputArgs, opts ...InvokeOption) LookupAppregistryAttributeGroupResultOutput
> 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)
}
public static CompletableFuture<GetAppregistryAttributeGroupResult> getAppregistryAttributeGroup(GetAppregistryAttributeGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:servicecatalog/getAppregistryAttributeGroup:getAppregistryAttributeGroup
arguments:
# arguments dictionary
The following arguments are supported:
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
- 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
- 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
- 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
- {[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
- 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
- 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.