codeguruprofiler

package
v7.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetProfilingGroupAgentOrchestrationConfig

type GetProfilingGroupAgentOrchestrationConfig struct {
	ProfilingEnabled bool `pulumi:"profilingEnabled"`
}

type GetProfilingGroupAgentOrchestrationConfigArgs

type GetProfilingGroupAgentOrchestrationConfigArgs struct {
	ProfilingEnabled pulumi.BoolInput `pulumi:"profilingEnabled"`
}

func (GetProfilingGroupAgentOrchestrationConfigArgs) ElementType

func (GetProfilingGroupAgentOrchestrationConfigArgs) ToGetProfilingGroupAgentOrchestrationConfigOutput

func (i GetProfilingGroupAgentOrchestrationConfigArgs) ToGetProfilingGroupAgentOrchestrationConfigOutput() GetProfilingGroupAgentOrchestrationConfigOutput

func (GetProfilingGroupAgentOrchestrationConfigArgs) ToGetProfilingGroupAgentOrchestrationConfigOutputWithContext

func (i GetProfilingGroupAgentOrchestrationConfigArgs) ToGetProfilingGroupAgentOrchestrationConfigOutputWithContext(ctx context.Context) GetProfilingGroupAgentOrchestrationConfigOutput

type GetProfilingGroupAgentOrchestrationConfigArray

type GetProfilingGroupAgentOrchestrationConfigArray []GetProfilingGroupAgentOrchestrationConfigInput

func (GetProfilingGroupAgentOrchestrationConfigArray) ElementType

func (GetProfilingGroupAgentOrchestrationConfigArray) ToGetProfilingGroupAgentOrchestrationConfigArrayOutput

func (i GetProfilingGroupAgentOrchestrationConfigArray) ToGetProfilingGroupAgentOrchestrationConfigArrayOutput() GetProfilingGroupAgentOrchestrationConfigArrayOutput

func (GetProfilingGroupAgentOrchestrationConfigArray) ToGetProfilingGroupAgentOrchestrationConfigArrayOutputWithContext

func (i GetProfilingGroupAgentOrchestrationConfigArray) ToGetProfilingGroupAgentOrchestrationConfigArrayOutputWithContext(ctx context.Context) GetProfilingGroupAgentOrchestrationConfigArrayOutput

type GetProfilingGroupAgentOrchestrationConfigArrayInput

type GetProfilingGroupAgentOrchestrationConfigArrayInput interface {
	pulumi.Input

	ToGetProfilingGroupAgentOrchestrationConfigArrayOutput() GetProfilingGroupAgentOrchestrationConfigArrayOutput
	ToGetProfilingGroupAgentOrchestrationConfigArrayOutputWithContext(context.Context) GetProfilingGroupAgentOrchestrationConfigArrayOutput
}

GetProfilingGroupAgentOrchestrationConfigArrayInput is an input type that accepts GetProfilingGroupAgentOrchestrationConfigArray and GetProfilingGroupAgentOrchestrationConfigArrayOutput values. You can construct a concrete instance of `GetProfilingGroupAgentOrchestrationConfigArrayInput` via:

GetProfilingGroupAgentOrchestrationConfigArray{ GetProfilingGroupAgentOrchestrationConfigArgs{...} }

type GetProfilingGroupAgentOrchestrationConfigArrayOutput

type GetProfilingGroupAgentOrchestrationConfigArrayOutput struct{ *pulumi.OutputState }

func (GetProfilingGroupAgentOrchestrationConfigArrayOutput) ElementType

func (GetProfilingGroupAgentOrchestrationConfigArrayOutput) Index

func (GetProfilingGroupAgentOrchestrationConfigArrayOutput) ToGetProfilingGroupAgentOrchestrationConfigArrayOutput

func (GetProfilingGroupAgentOrchestrationConfigArrayOutput) ToGetProfilingGroupAgentOrchestrationConfigArrayOutputWithContext

func (o GetProfilingGroupAgentOrchestrationConfigArrayOutput) ToGetProfilingGroupAgentOrchestrationConfigArrayOutputWithContext(ctx context.Context) GetProfilingGroupAgentOrchestrationConfigArrayOutput

type GetProfilingGroupAgentOrchestrationConfigInput

type GetProfilingGroupAgentOrchestrationConfigInput interface {
	pulumi.Input

	ToGetProfilingGroupAgentOrchestrationConfigOutput() GetProfilingGroupAgentOrchestrationConfigOutput
	ToGetProfilingGroupAgentOrchestrationConfigOutputWithContext(context.Context) GetProfilingGroupAgentOrchestrationConfigOutput
}

GetProfilingGroupAgentOrchestrationConfigInput is an input type that accepts GetProfilingGroupAgentOrchestrationConfigArgs and GetProfilingGroupAgentOrchestrationConfigOutput values. You can construct a concrete instance of `GetProfilingGroupAgentOrchestrationConfigInput` via:

GetProfilingGroupAgentOrchestrationConfigArgs{...}

type GetProfilingGroupAgentOrchestrationConfigOutput

type GetProfilingGroupAgentOrchestrationConfigOutput struct{ *pulumi.OutputState }

func (GetProfilingGroupAgentOrchestrationConfigOutput) ElementType

func (GetProfilingGroupAgentOrchestrationConfigOutput) ProfilingEnabled

func (GetProfilingGroupAgentOrchestrationConfigOutput) ToGetProfilingGroupAgentOrchestrationConfigOutput

func (o GetProfilingGroupAgentOrchestrationConfigOutput) ToGetProfilingGroupAgentOrchestrationConfigOutput() GetProfilingGroupAgentOrchestrationConfigOutput

func (GetProfilingGroupAgentOrchestrationConfigOutput) ToGetProfilingGroupAgentOrchestrationConfigOutputWithContext

func (o GetProfilingGroupAgentOrchestrationConfigOutput) ToGetProfilingGroupAgentOrchestrationConfigOutputWithContext(ctx context.Context) GetProfilingGroupAgentOrchestrationConfigOutput

type GetProfilingGroupProfilingStatus

type GetProfilingGroupProfilingStatus struct {
	LatestAgentOrchestratedAt    string                                                    `pulumi:"latestAgentOrchestratedAt"`
	LatestAgentProfileReportedAt string                                                    `pulumi:"latestAgentProfileReportedAt"`
	LatestAggregatedProfiles     []GetProfilingGroupProfilingStatusLatestAggregatedProfile `pulumi:"latestAggregatedProfiles"`
}

type GetProfilingGroupProfilingStatusArgs

type GetProfilingGroupProfilingStatusArgs struct {
	LatestAgentOrchestratedAt    pulumi.StringInput                                                `pulumi:"latestAgentOrchestratedAt"`
	LatestAgentProfileReportedAt pulumi.StringInput                                                `pulumi:"latestAgentProfileReportedAt"`
	LatestAggregatedProfiles     GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayInput `pulumi:"latestAggregatedProfiles"`
}

func (GetProfilingGroupProfilingStatusArgs) ElementType

func (GetProfilingGroupProfilingStatusArgs) ToGetProfilingGroupProfilingStatusOutput

func (i GetProfilingGroupProfilingStatusArgs) ToGetProfilingGroupProfilingStatusOutput() GetProfilingGroupProfilingStatusOutput

func (GetProfilingGroupProfilingStatusArgs) ToGetProfilingGroupProfilingStatusOutputWithContext

func (i GetProfilingGroupProfilingStatusArgs) ToGetProfilingGroupProfilingStatusOutputWithContext(ctx context.Context) GetProfilingGroupProfilingStatusOutput

type GetProfilingGroupProfilingStatusArray

type GetProfilingGroupProfilingStatusArray []GetProfilingGroupProfilingStatusInput

func (GetProfilingGroupProfilingStatusArray) ElementType

func (GetProfilingGroupProfilingStatusArray) ToGetProfilingGroupProfilingStatusArrayOutput

func (i GetProfilingGroupProfilingStatusArray) ToGetProfilingGroupProfilingStatusArrayOutput() GetProfilingGroupProfilingStatusArrayOutput

func (GetProfilingGroupProfilingStatusArray) ToGetProfilingGroupProfilingStatusArrayOutputWithContext

func (i GetProfilingGroupProfilingStatusArray) ToGetProfilingGroupProfilingStatusArrayOutputWithContext(ctx context.Context) GetProfilingGroupProfilingStatusArrayOutput

type GetProfilingGroupProfilingStatusArrayInput

type GetProfilingGroupProfilingStatusArrayInput interface {
	pulumi.Input

	ToGetProfilingGroupProfilingStatusArrayOutput() GetProfilingGroupProfilingStatusArrayOutput
	ToGetProfilingGroupProfilingStatusArrayOutputWithContext(context.Context) GetProfilingGroupProfilingStatusArrayOutput
}

GetProfilingGroupProfilingStatusArrayInput is an input type that accepts GetProfilingGroupProfilingStatusArray and GetProfilingGroupProfilingStatusArrayOutput values. You can construct a concrete instance of `GetProfilingGroupProfilingStatusArrayInput` via:

GetProfilingGroupProfilingStatusArray{ GetProfilingGroupProfilingStatusArgs{...} }

type GetProfilingGroupProfilingStatusArrayOutput

type GetProfilingGroupProfilingStatusArrayOutput struct{ *pulumi.OutputState }

func (GetProfilingGroupProfilingStatusArrayOutput) ElementType

func (GetProfilingGroupProfilingStatusArrayOutput) Index

func (GetProfilingGroupProfilingStatusArrayOutput) ToGetProfilingGroupProfilingStatusArrayOutput

func (o GetProfilingGroupProfilingStatusArrayOutput) ToGetProfilingGroupProfilingStatusArrayOutput() GetProfilingGroupProfilingStatusArrayOutput

func (GetProfilingGroupProfilingStatusArrayOutput) ToGetProfilingGroupProfilingStatusArrayOutputWithContext

func (o GetProfilingGroupProfilingStatusArrayOutput) ToGetProfilingGroupProfilingStatusArrayOutputWithContext(ctx context.Context) GetProfilingGroupProfilingStatusArrayOutput

type GetProfilingGroupProfilingStatusInput

type GetProfilingGroupProfilingStatusInput interface {
	pulumi.Input

	ToGetProfilingGroupProfilingStatusOutput() GetProfilingGroupProfilingStatusOutput
	ToGetProfilingGroupProfilingStatusOutputWithContext(context.Context) GetProfilingGroupProfilingStatusOutput
}

GetProfilingGroupProfilingStatusInput is an input type that accepts GetProfilingGroupProfilingStatusArgs and GetProfilingGroupProfilingStatusOutput values. You can construct a concrete instance of `GetProfilingGroupProfilingStatusInput` via:

GetProfilingGroupProfilingStatusArgs{...}

type GetProfilingGroupProfilingStatusLatestAggregatedProfile

type GetProfilingGroupProfilingStatusLatestAggregatedProfile struct {
	Period string `pulumi:"period"`
	Start  string `pulumi:"start"`
}

type GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs

type GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs struct {
	Period pulumi.StringInput `pulumi:"period"`
	Start  pulumi.StringInput `pulumi:"start"`
}

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs) ElementType

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutput

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutputWithContext

func (i GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutputWithContext(ctx context.Context) GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput

type GetProfilingGroupProfilingStatusLatestAggregatedProfileArray

type GetProfilingGroupProfilingStatusLatestAggregatedProfileArray []GetProfilingGroupProfilingStatusLatestAggregatedProfileInput

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileArray) ElementType

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileArray) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileArray) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutputWithContext

func (i GetProfilingGroupProfilingStatusLatestAggregatedProfileArray) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutputWithContext(ctx context.Context) GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput

type GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayInput

type GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayInput interface {
	pulumi.Input

	ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput() GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput
	ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutputWithContext(context.Context) GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput
}

GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayInput is an input type that accepts GetProfilingGroupProfilingStatusLatestAggregatedProfileArray and GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput values. You can construct a concrete instance of `GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayInput` via:

GetProfilingGroupProfilingStatusLatestAggregatedProfileArray{ GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs{...} }

type GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput

type GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput struct{ *pulumi.OutputState }

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput) ElementType

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput) Index

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutputWithContext

func (o GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutputWithContext(ctx context.Context) GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput

type GetProfilingGroupProfilingStatusLatestAggregatedProfileInput

type GetProfilingGroupProfilingStatusLatestAggregatedProfileInput interface {
	pulumi.Input

	ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutput() GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput
	ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutputWithContext(context.Context) GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput
}

GetProfilingGroupProfilingStatusLatestAggregatedProfileInput is an input type that accepts GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs and GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput values. You can construct a concrete instance of `GetProfilingGroupProfilingStatusLatestAggregatedProfileInput` via:

GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs{...}

type GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput

type GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput struct{ *pulumi.OutputState }

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput) ElementType

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput) Period

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput) Start

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutput

func (GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutputWithContext

func (o GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutputWithContext(ctx context.Context) GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput

type GetProfilingGroupProfilingStatusOutput

type GetProfilingGroupProfilingStatusOutput struct{ *pulumi.OutputState }

func (GetProfilingGroupProfilingStatusOutput) ElementType

func (GetProfilingGroupProfilingStatusOutput) LatestAgentOrchestratedAt

func (o GetProfilingGroupProfilingStatusOutput) LatestAgentOrchestratedAt() pulumi.StringOutput

func (GetProfilingGroupProfilingStatusOutput) LatestAgentProfileReportedAt

func (o GetProfilingGroupProfilingStatusOutput) LatestAgentProfileReportedAt() pulumi.StringOutput

func (GetProfilingGroupProfilingStatusOutput) LatestAggregatedProfiles

func (GetProfilingGroupProfilingStatusOutput) ToGetProfilingGroupProfilingStatusOutput

func (o GetProfilingGroupProfilingStatusOutput) ToGetProfilingGroupProfilingStatusOutput() GetProfilingGroupProfilingStatusOutput

func (GetProfilingGroupProfilingStatusOutput) ToGetProfilingGroupProfilingStatusOutputWithContext

func (o GetProfilingGroupProfilingStatusOutput) ToGetProfilingGroupProfilingStatusOutputWithContext(ctx context.Context) GetProfilingGroupProfilingStatusOutput

type LookupProfilingGroupArgs

type LookupProfilingGroupArgs struct {
	// The name of the profiling group.
	Name string `pulumi:"name"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getProfilingGroup.

type LookupProfilingGroupOutputArgs

type LookupProfilingGroupOutputArgs struct {
	// The name of the profiling group.
	Name pulumi.StringInput `pulumi:"name"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getProfilingGroup.

func (LookupProfilingGroupOutputArgs) ElementType

type LookupProfilingGroupResult

type LookupProfilingGroupResult struct {
	// Profiling Group agent orchestration config
	AgentOrchestrationConfigs []GetProfilingGroupAgentOrchestrationConfig `pulumi:"agentOrchestrationConfigs"`
	// ARN of the Profiling Group.
	Arn string `pulumi:"arn"`
	// The compute platform of the profiling group.
	ComputePlatform string `pulumi:"computePlatform"`
	// Timestamp when Profiling Group was created.
	CreatedAt string `pulumi:"createdAt"`
	Id        string `pulumi:"id"`
	Name      string `pulumi:"name"`
	// The status of the Profiling Group.
	ProfilingStatuses []GetProfilingGroupProfilingStatus `pulumi:"profilingStatuses"`
	Region            string                             `pulumi:"region"`
	// Mapping of Key-Value tags for the resource.
	Tags map[string]string `pulumi:"tags"`
	// Timestamp when Profiling Group was updated.
	UpdatedAt string `pulumi:"updatedAt"`
}

A collection of values returned by getProfilingGroup.

func LookupProfilingGroup

func LookupProfilingGroup(ctx *pulumi.Context, args *LookupProfilingGroupArgs, opts ...pulumi.InvokeOption) (*LookupProfilingGroupResult, error)

Data source for managing an AWS CodeGuru Profiler Profiling Group.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/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
	})
}

```

type LookupProfilingGroupResultOutput

type LookupProfilingGroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProfilingGroup.

func (LookupProfilingGroupResultOutput) AgentOrchestrationConfigs

Profiling Group agent orchestration config

func (LookupProfilingGroupResultOutput) Arn

ARN of the Profiling Group.

func (LookupProfilingGroupResultOutput) ComputePlatform

The compute platform of the profiling group.

func (LookupProfilingGroupResultOutput) CreatedAt

Timestamp when Profiling Group was created.

func (LookupProfilingGroupResultOutput) ElementType

func (LookupProfilingGroupResultOutput) Id

func (LookupProfilingGroupResultOutput) Name

func (LookupProfilingGroupResultOutput) ProfilingStatuses

The status of the Profiling Group.

func (LookupProfilingGroupResultOutput) Region

func (LookupProfilingGroupResultOutput) Tags

Mapping of Key-Value tags for the resource.

func (LookupProfilingGroupResultOutput) ToLookupProfilingGroupResultOutput

func (o LookupProfilingGroupResultOutput) ToLookupProfilingGroupResultOutput() LookupProfilingGroupResultOutput

func (LookupProfilingGroupResultOutput) ToLookupProfilingGroupResultOutputWithContext

func (o LookupProfilingGroupResultOutput) ToLookupProfilingGroupResultOutputWithContext(ctx context.Context) LookupProfilingGroupResultOutput

func (LookupProfilingGroupResultOutput) UpdatedAt

Timestamp when Profiling Group was updated.

type ProfilingGroup

type ProfilingGroup struct {
	pulumi.CustomResourceState

	// Specifies whether profiling is enabled or disabled for the created profiling. See Agent Orchestration Config for more details.
	AgentOrchestrationConfig ProfilingGroupAgentOrchestrationConfigPtrOutput `pulumi:"agentOrchestrationConfig"`
	// ARN of the profiling group.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Compute platform of the profiling group.
	ComputePlatform pulumi.StringOutput `pulumi:"computePlatform"`
	// Name of the profiling group.
	//
	// The following arguments are optional:
	Name pulumi.StringOutput `pulumi:"name"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS CodeGuru Profiler Profiling Group.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/codeguruprofiler"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := codeguruprofiler.NewProfilingGroup(ctx, "example", &codeguruprofiler.ProfilingGroupArgs{
			Name:            pulumi.String("example"),
			ComputePlatform: pulumi.String("Default"),
			AgentOrchestrationConfig: &codeguruprofiler.ProfilingGroupAgentOrchestrationConfigArgs{
				ProfilingEnabled: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CodeGuru Profiler Profiling Group using the `id`. For example:

```sh $ pulumi import aws:codeguruprofiler/profilingGroup:ProfilingGroup example profiling_group-name-12345678 ```

func GetProfilingGroup

func GetProfilingGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProfilingGroupState, opts ...pulumi.ResourceOption) (*ProfilingGroup, error)

GetProfilingGroup gets an existing ProfilingGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProfilingGroup

func NewProfilingGroup(ctx *pulumi.Context,
	name string, args *ProfilingGroupArgs, opts ...pulumi.ResourceOption) (*ProfilingGroup, error)

NewProfilingGroup registers a new resource with the given unique name, arguments, and options.

func (*ProfilingGroup) ElementType

func (*ProfilingGroup) ElementType() reflect.Type

func (*ProfilingGroup) ToProfilingGroupOutput

func (i *ProfilingGroup) ToProfilingGroupOutput() ProfilingGroupOutput

func (*ProfilingGroup) ToProfilingGroupOutputWithContext

func (i *ProfilingGroup) ToProfilingGroupOutputWithContext(ctx context.Context) ProfilingGroupOutput

type ProfilingGroupAgentOrchestrationConfig

type ProfilingGroupAgentOrchestrationConfig struct {
	// (Required) Boolean that specifies whether the profiling agent collects profiling data or
	ProfilingEnabled bool `pulumi:"profilingEnabled"`
}

type ProfilingGroupAgentOrchestrationConfigArgs

type ProfilingGroupAgentOrchestrationConfigArgs struct {
	// (Required) Boolean that specifies whether the profiling agent collects profiling data or
	ProfilingEnabled pulumi.BoolInput `pulumi:"profilingEnabled"`
}

func (ProfilingGroupAgentOrchestrationConfigArgs) ElementType

func (ProfilingGroupAgentOrchestrationConfigArgs) ToProfilingGroupAgentOrchestrationConfigOutput

func (i ProfilingGroupAgentOrchestrationConfigArgs) ToProfilingGroupAgentOrchestrationConfigOutput() ProfilingGroupAgentOrchestrationConfigOutput

func (ProfilingGroupAgentOrchestrationConfigArgs) ToProfilingGroupAgentOrchestrationConfigOutputWithContext

func (i ProfilingGroupAgentOrchestrationConfigArgs) ToProfilingGroupAgentOrchestrationConfigOutputWithContext(ctx context.Context) ProfilingGroupAgentOrchestrationConfigOutput

func (ProfilingGroupAgentOrchestrationConfigArgs) ToProfilingGroupAgentOrchestrationConfigPtrOutput

func (i ProfilingGroupAgentOrchestrationConfigArgs) ToProfilingGroupAgentOrchestrationConfigPtrOutput() ProfilingGroupAgentOrchestrationConfigPtrOutput

func (ProfilingGroupAgentOrchestrationConfigArgs) ToProfilingGroupAgentOrchestrationConfigPtrOutputWithContext

func (i ProfilingGroupAgentOrchestrationConfigArgs) ToProfilingGroupAgentOrchestrationConfigPtrOutputWithContext(ctx context.Context) ProfilingGroupAgentOrchestrationConfigPtrOutput

type ProfilingGroupAgentOrchestrationConfigInput

type ProfilingGroupAgentOrchestrationConfigInput interface {
	pulumi.Input

	ToProfilingGroupAgentOrchestrationConfigOutput() ProfilingGroupAgentOrchestrationConfigOutput
	ToProfilingGroupAgentOrchestrationConfigOutputWithContext(context.Context) ProfilingGroupAgentOrchestrationConfigOutput
}

ProfilingGroupAgentOrchestrationConfigInput is an input type that accepts ProfilingGroupAgentOrchestrationConfigArgs and ProfilingGroupAgentOrchestrationConfigOutput values. You can construct a concrete instance of `ProfilingGroupAgentOrchestrationConfigInput` via:

ProfilingGroupAgentOrchestrationConfigArgs{...}

type ProfilingGroupAgentOrchestrationConfigOutput

type ProfilingGroupAgentOrchestrationConfigOutput struct{ *pulumi.OutputState }

func (ProfilingGroupAgentOrchestrationConfigOutput) ElementType

func (ProfilingGroupAgentOrchestrationConfigOutput) ProfilingEnabled

(Required) Boolean that specifies whether the profiling agent collects profiling data or

func (ProfilingGroupAgentOrchestrationConfigOutput) ToProfilingGroupAgentOrchestrationConfigOutput

func (o ProfilingGroupAgentOrchestrationConfigOutput) ToProfilingGroupAgentOrchestrationConfigOutput() ProfilingGroupAgentOrchestrationConfigOutput

func (ProfilingGroupAgentOrchestrationConfigOutput) ToProfilingGroupAgentOrchestrationConfigOutputWithContext

func (o ProfilingGroupAgentOrchestrationConfigOutput) ToProfilingGroupAgentOrchestrationConfigOutputWithContext(ctx context.Context) ProfilingGroupAgentOrchestrationConfigOutput

func (ProfilingGroupAgentOrchestrationConfigOutput) ToProfilingGroupAgentOrchestrationConfigPtrOutput

func (o ProfilingGroupAgentOrchestrationConfigOutput) ToProfilingGroupAgentOrchestrationConfigPtrOutput() ProfilingGroupAgentOrchestrationConfigPtrOutput

func (ProfilingGroupAgentOrchestrationConfigOutput) ToProfilingGroupAgentOrchestrationConfigPtrOutputWithContext

func (o ProfilingGroupAgentOrchestrationConfigOutput) ToProfilingGroupAgentOrchestrationConfigPtrOutputWithContext(ctx context.Context) ProfilingGroupAgentOrchestrationConfigPtrOutput

type ProfilingGroupAgentOrchestrationConfigPtrInput

type ProfilingGroupAgentOrchestrationConfigPtrInput interface {
	pulumi.Input

	ToProfilingGroupAgentOrchestrationConfigPtrOutput() ProfilingGroupAgentOrchestrationConfigPtrOutput
	ToProfilingGroupAgentOrchestrationConfigPtrOutputWithContext(context.Context) ProfilingGroupAgentOrchestrationConfigPtrOutput
}

ProfilingGroupAgentOrchestrationConfigPtrInput is an input type that accepts ProfilingGroupAgentOrchestrationConfigArgs, ProfilingGroupAgentOrchestrationConfigPtr and ProfilingGroupAgentOrchestrationConfigPtrOutput values. You can construct a concrete instance of `ProfilingGroupAgentOrchestrationConfigPtrInput` via:

        ProfilingGroupAgentOrchestrationConfigArgs{...}

or:

        nil

type ProfilingGroupAgentOrchestrationConfigPtrOutput

type ProfilingGroupAgentOrchestrationConfigPtrOutput struct{ *pulumi.OutputState }

func (ProfilingGroupAgentOrchestrationConfigPtrOutput) Elem

func (ProfilingGroupAgentOrchestrationConfigPtrOutput) ElementType

func (ProfilingGroupAgentOrchestrationConfigPtrOutput) ProfilingEnabled

(Required) Boolean that specifies whether the profiling agent collects profiling data or

func (ProfilingGroupAgentOrchestrationConfigPtrOutput) ToProfilingGroupAgentOrchestrationConfigPtrOutput

func (o ProfilingGroupAgentOrchestrationConfigPtrOutput) ToProfilingGroupAgentOrchestrationConfigPtrOutput() ProfilingGroupAgentOrchestrationConfigPtrOutput

func (ProfilingGroupAgentOrchestrationConfigPtrOutput) ToProfilingGroupAgentOrchestrationConfigPtrOutputWithContext

func (o ProfilingGroupAgentOrchestrationConfigPtrOutput) ToProfilingGroupAgentOrchestrationConfigPtrOutputWithContext(ctx context.Context) ProfilingGroupAgentOrchestrationConfigPtrOutput

type ProfilingGroupArgs

type ProfilingGroupArgs struct {
	// Specifies whether profiling is enabled or disabled for the created profiling. See Agent Orchestration Config for more details.
	AgentOrchestrationConfig ProfilingGroupAgentOrchestrationConfigPtrInput
	// Compute platform of the profiling group.
	ComputePlatform pulumi.StringPtrInput
	// Name of the profiling group.
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ProfilingGroup resource.

func (ProfilingGroupArgs) ElementType

func (ProfilingGroupArgs) ElementType() reflect.Type

type ProfilingGroupArray

type ProfilingGroupArray []ProfilingGroupInput

func (ProfilingGroupArray) ElementType

func (ProfilingGroupArray) ElementType() reflect.Type

func (ProfilingGroupArray) ToProfilingGroupArrayOutput

func (i ProfilingGroupArray) ToProfilingGroupArrayOutput() ProfilingGroupArrayOutput

func (ProfilingGroupArray) ToProfilingGroupArrayOutputWithContext

func (i ProfilingGroupArray) ToProfilingGroupArrayOutputWithContext(ctx context.Context) ProfilingGroupArrayOutput

type ProfilingGroupArrayInput

type ProfilingGroupArrayInput interface {
	pulumi.Input

	ToProfilingGroupArrayOutput() ProfilingGroupArrayOutput
	ToProfilingGroupArrayOutputWithContext(context.Context) ProfilingGroupArrayOutput
}

ProfilingGroupArrayInput is an input type that accepts ProfilingGroupArray and ProfilingGroupArrayOutput values. You can construct a concrete instance of `ProfilingGroupArrayInput` via:

ProfilingGroupArray{ ProfilingGroupArgs{...} }

type ProfilingGroupArrayOutput

type ProfilingGroupArrayOutput struct{ *pulumi.OutputState }

func (ProfilingGroupArrayOutput) ElementType

func (ProfilingGroupArrayOutput) ElementType() reflect.Type

func (ProfilingGroupArrayOutput) Index

func (ProfilingGroupArrayOutput) ToProfilingGroupArrayOutput

func (o ProfilingGroupArrayOutput) ToProfilingGroupArrayOutput() ProfilingGroupArrayOutput

func (ProfilingGroupArrayOutput) ToProfilingGroupArrayOutputWithContext

func (o ProfilingGroupArrayOutput) ToProfilingGroupArrayOutputWithContext(ctx context.Context) ProfilingGroupArrayOutput

type ProfilingGroupInput

type ProfilingGroupInput interface {
	pulumi.Input

	ToProfilingGroupOutput() ProfilingGroupOutput
	ToProfilingGroupOutputWithContext(ctx context.Context) ProfilingGroupOutput
}

type ProfilingGroupMap

type ProfilingGroupMap map[string]ProfilingGroupInput

func (ProfilingGroupMap) ElementType

func (ProfilingGroupMap) ElementType() reflect.Type

func (ProfilingGroupMap) ToProfilingGroupMapOutput

func (i ProfilingGroupMap) ToProfilingGroupMapOutput() ProfilingGroupMapOutput

func (ProfilingGroupMap) ToProfilingGroupMapOutputWithContext

func (i ProfilingGroupMap) ToProfilingGroupMapOutputWithContext(ctx context.Context) ProfilingGroupMapOutput

type ProfilingGroupMapInput

type ProfilingGroupMapInput interface {
	pulumi.Input

	ToProfilingGroupMapOutput() ProfilingGroupMapOutput
	ToProfilingGroupMapOutputWithContext(context.Context) ProfilingGroupMapOutput
}

ProfilingGroupMapInput is an input type that accepts ProfilingGroupMap and ProfilingGroupMapOutput values. You can construct a concrete instance of `ProfilingGroupMapInput` via:

ProfilingGroupMap{ "key": ProfilingGroupArgs{...} }

type ProfilingGroupMapOutput

type ProfilingGroupMapOutput struct{ *pulumi.OutputState }

func (ProfilingGroupMapOutput) ElementType

func (ProfilingGroupMapOutput) ElementType() reflect.Type

func (ProfilingGroupMapOutput) MapIndex

func (ProfilingGroupMapOutput) ToProfilingGroupMapOutput

func (o ProfilingGroupMapOutput) ToProfilingGroupMapOutput() ProfilingGroupMapOutput

func (ProfilingGroupMapOutput) ToProfilingGroupMapOutputWithContext

func (o ProfilingGroupMapOutput) ToProfilingGroupMapOutputWithContext(ctx context.Context) ProfilingGroupMapOutput

type ProfilingGroupOutput

type ProfilingGroupOutput struct{ *pulumi.OutputState }

func (ProfilingGroupOutput) AgentOrchestrationConfig

Specifies whether profiling is enabled or disabled for the created profiling. See Agent Orchestration Config for more details.

func (ProfilingGroupOutput) Arn

ARN of the profiling group.

func (ProfilingGroupOutput) ComputePlatform

func (o ProfilingGroupOutput) ComputePlatform() pulumi.StringOutput

Compute platform of the profiling group.

func (ProfilingGroupOutput) ElementType

func (ProfilingGroupOutput) ElementType() reflect.Type

func (ProfilingGroupOutput) Name

Name of the profiling group.

The following arguments are optional:

func (ProfilingGroupOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (ProfilingGroupOutput) Tags

Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ProfilingGroupOutput) TagsAll

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (ProfilingGroupOutput) ToProfilingGroupOutput

func (o ProfilingGroupOutput) ToProfilingGroupOutput() ProfilingGroupOutput

func (ProfilingGroupOutput) ToProfilingGroupOutputWithContext

func (o ProfilingGroupOutput) ToProfilingGroupOutputWithContext(ctx context.Context) ProfilingGroupOutput

type ProfilingGroupState

type ProfilingGroupState struct {
	// Specifies whether profiling is enabled or disabled for the created profiling. See Agent Orchestration Config for more details.
	AgentOrchestrationConfig ProfilingGroupAgentOrchestrationConfigPtrInput
	// ARN of the profiling group.
	Arn pulumi.StringPtrInput
	// Compute platform of the profiling group.
	ComputePlatform pulumi.StringPtrInput
	// Name of the profiling group.
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
}

func (ProfilingGroupState) ElementType

func (ProfilingGroupState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL