AWS v6.54.0 published on Friday, Sep 27, 2024 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)
// 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:
- Agent
Orchestration List<GetConfigs Profiling Group Agent Orchestration Config> - Profiling Group agent orchestration config
- Arn string
- ARN of the Profiling Group.
- Compute
Platform string - The compute platform of the profiling group.
- Created
At string - Timestamp when Profiling Group was created.
- Id string
- Name string
- Profiling
Statuses List<GetProfiling Group Profiling Status> - The status of the Profiling Group.
- Dictionary<string, string>
- Mapping of Key-Value tags for the resource.
- Updated
At string - Timestamp when Profiling Group was updated.
- Agent
Orchestration []GetConfigs Profiling Group Agent Orchestration Config - Profiling Group agent orchestration config
- Arn string
- ARN of the Profiling Group.
- Compute
Platform string - The compute platform of the profiling group.
- Created
At string - Timestamp when Profiling Group was created.
- Id string
- Name string
- Profiling
Statuses []GetProfiling Group Profiling Status - The status of the Profiling Group.
- map[string]string
- Mapping of Key-Value tags for the resource.
- Updated
At string - Timestamp when Profiling Group was updated.
- agent
Orchestration List<GetConfigs Profiling Group Agent Orchestration Config> - Profiling Group agent orchestration config
- arn String
- ARN of the Profiling Group.
- compute
Platform String - The compute platform of the profiling group.
- created
At String - Timestamp when Profiling Group was created.
- id String
- name String
- profiling
Statuses List<GetProfiling Group Profiling Status> - The status of the Profiling Group.
- Map<String,String>
- Mapping of Key-Value tags for the resource.
- updated
At String - Timestamp when Profiling Group was updated.
- agent
Orchestration GetConfigs Profiling Group Agent Orchestration Config[] - Profiling Group agent orchestration config
- arn string
- ARN of the Profiling Group.
- compute
Platform string - The compute platform of the profiling group.
- created
At string - Timestamp when Profiling Group was created.
- id string
- name string
- profiling
Statuses GetProfiling Group Profiling Status[] - The status of the Profiling Group.
- {[key: string]: string}
- Mapping of Key-Value tags for the resource.
- updated
At 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.
- agent
Orchestration List<Property Map>Configs - Profiling Group agent orchestration config
- arn String
- ARN of the Profiling Group.
- compute
Platform String - The compute platform of the profiling group.
- created
At String - Timestamp when Profiling Group was created.
- id String
- name String
- profiling
Statuses List<Property Map> - The status of the Profiling Group.
- Map<String>
- Mapping of Key-Value tags for the resource.
- updated
At String - Timestamp when Profiling Group was updated.
Supporting Types
GetProfilingGroupAgentOrchestrationConfig
- Profiling
Enabled bool
- Profiling
Enabled bool
- profiling
Enabled Boolean
- profiling
Enabled boolean
- profiling_
enabled bool
- profiling
Enabled Boolean
GetProfilingGroupProfilingStatus
GetProfilingGroupProfilingStatusLatestAggregatedProfile
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.