Class: Aws::CodeGuruProfiler::Types::PutPermissionRequest

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 PutPermissionRequest data as a hash:

{
  action_group: "agentPermissions", # required, accepts agentPermissions
  principals: ["Principal"], # required
  profiling_group_name: "ProfilingGroupName", # required
  revision_id: "RevisionId",
}

The structure representing the putPermissionRequest.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_groupString

Specifies an action group that contains permissions to add to a profiling group resource. One action group is supported, agentPermissions, which grants permission to perform actions required by the profiling agent, ConfigureAgent and PostAgentProfile permissions.

Returns:

  • (String)


1834
1835
1836
1837
1838
1839
1840
1841
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 1834

class PutPermissionRequest < Struct.new(
  :action_group,
  :principals,
  :profiling_group_name,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#principalsArray<String>

A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs.

Returns:

  • (Array<String>)


1834
1835
1836
1837
1838
1839
1840
1841
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 1834

class PutPermissionRequest < Struct.new(
  :action_group,
  :principals,
  :profiling_group_name,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#profiling_group_nameString

The name of the profiling group to grant access to.

Returns:

  • (String)


1834
1835
1836
1837
1838
1839
1840
1841
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 1834

class PutPermissionRequest < Struct.new(
  :action_group,
  :principals,
  :profiling_group_name,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#revision_idString

A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group. Do not specify this when you add permissions to a profiling group for the first time. If a policy already exists on the profiling group, you must specify the revisionId.

Returns:

  • (String)


1834
1835
1836
1837
1838
1839
1840
1841
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 1834

class PutPermissionRequest < Struct.new(
  :action_group,
  :principals,
  :profiling_group_name,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end