AWS v6.71.0 published on Friday, Mar 7, 2025 by Pulumi
aws.codeguruprofiler.getProfilingGroup
Explore with Pulumi AI
Data source for managing an AWS CodeGuru Profiler Profiling Group.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.codeguruprofiler.getProfilingGroup({
    name: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.codeguruprofiler.get_profiling_group(name="example")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codeguruprofiler"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := codeguruprofiler.LookupProfilingGroup(ctx, &codeguruprofiler.LookupProfilingGroupArgs{
			Name: "example",
		}, 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.CodeGuruProfiler.GetProfilingGroup.Invoke(new()
    {
        Name = "example",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.codeguruprofiler.CodeguruprofilerFunctions;
import com.pulumi.aws.codeguruprofiler.inputs.GetProfilingGroupArgs;
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 = CodeguruprofilerFunctions.getProfilingGroup(GetProfilingGroupArgs.builder()
            .name("example")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:codeguruprofiler:getProfilingGroup
      arguments:
        name: example
Using getProfilingGroup
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 getProfilingGroup(args: GetProfilingGroupArgs, opts?: InvokeOptions): Promise<GetProfilingGroupResult>
function getProfilingGroupOutput(args: GetProfilingGroupOutputArgs, opts?: InvokeOptions): Output<GetProfilingGroupResult>def get_profiling_group(name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetProfilingGroupResult
def get_profiling_group_output(name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetProfilingGroupResult]func LookupProfilingGroup(ctx *Context, args *LookupProfilingGroupArgs, opts ...InvokeOption) (*LookupProfilingGroupResult, error)
func LookupProfilingGroupOutput(ctx *Context, args *LookupProfilingGroupOutputArgs, opts ...InvokeOption) LookupProfilingGroupResultOutput> Note: This function is named LookupProfilingGroup in the Go SDK.
public static class GetProfilingGroup 
{
    public static Task<GetProfilingGroupResult> InvokeAsync(GetProfilingGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetProfilingGroupResult> Invoke(GetProfilingGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProfilingGroupResult> getProfilingGroup(GetProfilingGroupArgs args, InvokeOptions options)
public static Output<GetProfilingGroupResult> getProfilingGroup(GetProfilingGroupArgs args, InvokeOptions options)
fn::invoke:
  function: aws:codeguruprofiler/getProfilingGroup:getProfilingGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The name of the profiling group.
- Name string
- The name of the profiling group.
- name String
- The name of the profiling group.
- name string
- The name of the profiling group.
- name str
- The name of the profiling group.
- name String
- The name of the profiling group.
getProfilingGroup Result
The following output properties are available:
- AgentOrchestration List<GetConfigs Profiling Group Agent Orchestration Config> 
- Profiling Group agent orchestration config
- Arn string
- ARN of the Profiling Group.
- ComputePlatform string
- The compute platform of the profiling group.
- CreatedAt string
- Timestamp when Profiling Group was created.
- Id string
- Name string
- ProfilingStatuses List<GetProfiling Group Profiling Status> 
- The status of the Profiling Group.
- Dictionary<string, string>
- Mapping of Key-Value tags for the resource.
- UpdatedAt string
- Timestamp when Profiling Group was updated.
- AgentOrchestration []GetConfigs Profiling Group Agent Orchestration Config 
- Profiling Group agent orchestration config
- Arn string
- ARN of the Profiling Group.
- ComputePlatform string
- The compute platform of the profiling group.
- CreatedAt string
- Timestamp when Profiling Group was created.
- Id string
- Name string
- ProfilingStatuses []GetProfiling Group Profiling Status 
- The status of the Profiling Group.
- map[string]string
- Mapping of Key-Value tags for the resource.
- UpdatedAt string
- Timestamp when Profiling Group was updated.
- agentOrchestration List<GetConfigs Profiling Group Agent Orchestration Config> 
- Profiling Group agent orchestration config
- arn String
- ARN of the Profiling Group.
- computePlatform String
- The compute platform of the profiling group.
- createdAt String
- Timestamp when Profiling Group was created.
- id String
- name String
- profilingStatuses List<GetProfiling Group Profiling Status> 
- The status of the Profiling Group.
- Map<String,String>
- Mapping of Key-Value tags for the resource.
- updatedAt String
- Timestamp when Profiling Group was updated.
- agentOrchestration GetConfigs Profiling Group Agent Orchestration Config[] 
- Profiling Group agent orchestration config
- arn string
- ARN of the Profiling Group.
- computePlatform string
- The compute platform of the profiling group.
- createdAt string
- Timestamp when Profiling Group was created.
- id string
- name string
- profilingStatuses GetProfiling Group Profiling Status[] 
- The status of the Profiling Group.
- {[key: string]: string}
- Mapping of Key-Value tags for the resource.
- updatedAt string
- Timestamp when Profiling Group was updated.
- agent_orchestration_ Sequence[Getconfigs Profiling Group Agent Orchestration Config] 
- Profiling Group agent orchestration config
- arn str
- ARN of the Profiling Group.
- compute_platform str
- The compute platform of the profiling group.
- created_at str
- Timestamp when Profiling Group was created.
- id str
- name str
- profiling_statuses Sequence[GetProfiling Group Profiling Status] 
- The status of the Profiling Group.
- Mapping[str, str]
- Mapping of Key-Value tags for the resource.
- updated_at str
- Timestamp when Profiling Group was updated.
- agentOrchestration List<Property Map>Configs 
- Profiling Group agent orchestration config
- arn String
- ARN of the Profiling Group.
- computePlatform String
- The compute platform of the profiling group.
- createdAt String
- Timestamp when Profiling Group was created.
- id String
- name String
- profilingStatuses List<Property Map>
- The status of the Profiling Group.
- Map<String>
- Mapping of Key-Value tags for the resource.
- updatedAt String
- Timestamp when Profiling Group was updated.
Supporting Types
GetProfilingGroupAgentOrchestrationConfig     
- ProfilingEnabled bool
- ProfilingEnabled bool
- profilingEnabled Boolean
- profilingEnabled boolean
- profiling_enabled bool
- profilingEnabled Boolean
GetProfilingGroupProfilingStatus    
GetProfilingGroupProfilingStatusLatestAggregatedProfile       
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.