Class: Aws::CodeGuruProfiler::Types::CreateProfilingGroupRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb

Overview

Note:

When making an API call, you may pass CreateProfilingGroupRequest data as a hash:

{
  agent_orchestration_config: {
    profiling_enabled: false, # required
  },
  client_token: "ClientToken", # required
  compute_platform: "Default", # accepts Default, AWSLambda
  profiling_group_name: "ProfilingGroupName", # required
  tags: {
    "String" => "String",
  },
}

The structure representing the createProfiliingGroupRequest.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_orchestration_configTypes::AgentOrchestrationConfig

Specifies whether profiling is enabled or disabled for the created profiling group.



577
578
579
580
581
582
583
584
585
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 577

class CreateProfilingGroupRequest < Struct.new(
  :agent_orchestration_config,
  :client_token,
  :compute_platform,
  :profiling_group_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


577
578
579
580
581
582
583
584
585
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 577

class CreateProfilingGroupRequest < Struct.new(
  :agent_orchestration_config,
  :client_token,
  :compute_platform,
  :profiling_group_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#compute_platformString

The compute platform of the profiling group. Use AWSLambda if your application runs on AWS Lambda. Use Default if your application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. If not specified, Default is used.

Returns:

  • (String)


577
578
579
580
581
582
583
584
585
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 577

class CreateProfilingGroupRequest < Struct.new(
  :agent_orchestration_config,
  :client_token,
  :compute_platform,
  :profiling_group_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#profiling_group_nameString

The name of the profiling group to create.

Returns:

  • (String)


577
578
579
580
581
582
583
584
585
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 577

class CreateProfilingGroupRequest < Struct.new(
  :agent_orchestration_config,
  :client_token,
  :compute_platform,
  :profiling_group_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

A list of tags to add to the created profiling group.

Returns:

  • (Hash<String,String>)


577
578
579
580
581
582
583
584
585
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 577

class CreateProfilingGroupRequest < Struct.new(
  :agent_orchestration_config,
  :client_token,
  :compute_platform,
  :profiling_group_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end