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

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

Overview

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)


1631
1632
1633
1634
1635
1636
1637
1638
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1631

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>)


1631
1632
1633
1634
1635
1636
1637
1638
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1631

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)


1631
1632
1633
1634
1635
1636
1637
1638
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1631

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)


1631
1632
1633
1634
1635
1636
1637
1638
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1631

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