You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeGuruProfiler::Types::PutPermissionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeGuruProfiler::Types::PutPermissionRequest
- Defined in:
- (unknown)
Overview
When passing PutPermissionRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
action_group: "agentPermissions", # required, accepts agentPermissions
principals: ["Principal"], # required
profiling_group_name: "ProfilingGroupName", # required
revision_id: "RevisionId",
}
The structure representing the putPermissionRequest
.
Instance Attribute Summary collapse
-
#action_group ⇒ String
Specifies an action group that contains permissions to add to a profiling group resource.
-
#principals ⇒ Array<String>
A list ARNs for the roles and users you want to grant access to the profiling group.
-
#profiling_group_name ⇒ String
The name of the profiling group to grant access to.
-
#revision_id ⇒ String
A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group.
Instance Attribute Details
#action_group ⇒ String
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.
Possible values:
- agentPermissions
#principals ⇒ Array<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.
#profiling_group_name ⇒ String
The name of the profiling group to grant access to.
#revision_id ⇒ String
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
.