1. Packages
  2. AWS Classic
  3. API Docs
  4. codeguruprofiler
  5. getProfilingGroup

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.codeguruprofiler.getProfilingGroup

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:codeguruprofiler/getProfilingGroup:getProfilingGroup
      arguments:
        # arguments dictionary

    The 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:

    AgentOrchestrationConfigs List<GetProfilingGroupAgentOrchestrationConfig>
    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<GetProfilingGroupProfilingStatus>
    The status of the Profiling Group.
    Tags Dictionary<string, string>
    Mapping of Key-Value tags for the resource.
    UpdatedAt string
    Timestamp when Profiling Group was updated.
    AgentOrchestrationConfigs []GetProfilingGroupAgentOrchestrationConfig
    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 []GetProfilingGroupProfilingStatus
    The status of the Profiling Group.
    Tags map[string]string
    Mapping of Key-Value tags for the resource.
    UpdatedAt string
    Timestamp when Profiling Group was updated.
    agentOrchestrationConfigs List<GetProfilingGroupAgentOrchestrationConfig>
    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<GetProfilingGroupProfilingStatus>
    The status of the Profiling Group.
    tags Map<String,String>
    Mapping of Key-Value tags for the resource.
    updatedAt String
    Timestamp when Profiling Group was updated.
    agentOrchestrationConfigs GetProfilingGroupAgentOrchestrationConfig[]
    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 GetProfilingGroupProfilingStatus[]
    The status of the Profiling Group.
    tags {[key: string]: string}
    Mapping of Key-Value tags for the resource.
    updatedAt string
    Timestamp when Profiling Group was updated.
    agent_orchestration_configs Sequence[GetProfilingGroupAgentOrchestrationConfig]
    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[GetProfilingGroupProfilingStatus]
    The status of the Profiling Group.
    tags Mapping[str, str]
    Mapping of Key-Value tags for the resource.
    updated_at str
    Timestamp when Profiling Group was updated.
    agentOrchestrationConfigs List<Property Map>
    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.
    tags Map<String>
    Mapping of Key-Value tags for the resource.
    updatedAt String
    Timestamp when Profiling Group was updated.

    Supporting Types

    GetProfilingGroupAgentOrchestrationConfig

    GetProfilingGroupProfilingStatus

    Package Details

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

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi