AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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
show all
Defined in:
(unknown)

Overview

Note:

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

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.

Possible values:

  • agentPermissions

Returns:

  • (String)

    Specifies an action group that contains permissions to add to a profiling group resource.

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

    A list ARNs for the roles and users you want to grant access to the profiling group.

#profiling_group_nameString

The name of the profiling group to grant access to.

Returns:

  • (String)

    The name of the profiling group to grant access to.

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

    A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group.