Class: Aws::AuditManager::Types::CreateDelegationRequest

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

Overview

Note:

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

{
  comment: "DelegationComment",
  control_set_id: "ControlSetId",
  role_arn: "IamArn",
  role_type: "PROCESS_OWNER", # accepts PROCESS_OWNER, RESOURCE_OWNER
}

A collection of attributes that’s used to create a delegation for an assessment in Audit Manager.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

A comment that’s related to the delegation request.

Returns:

  • (String)


2073
2074
2075
2076
2077
2078
2079
2080
# File 'lib/aws-sdk-auditmanager/types.rb', line 2073

class CreateDelegationRequest < Struct.new(
  :comment,
  :control_set_id,
  :role_arn,
  :role_type)
  SENSITIVE = []
  include Aws::Structure
end

#control_set_idString

The unique identifier for the control set.

Returns:

  • (String)


2073
2074
2075
2076
2077
2078
2079
2080
# File 'lib/aws-sdk-auditmanager/types.rb', line 2073

class CreateDelegationRequest < Struct.new(
  :comment,
  :control_set_id,
  :role_arn,
  :role_type)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of the IAM role.

Returns:

  • (String)


2073
2074
2075
2076
2077
2078
2079
2080
# File 'lib/aws-sdk-auditmanager/types.rb', line 2073

class CreateDelegationRequest < Struct.new(
  :comment,
  :control_set_id,
  :role_arn,
  :role_type)
  SENSITIVE = []
  include Aws::Structure
end

#role_typeString

The type of customer persona.

<note markdown=“1”> In ‘CreateAssessment`, `roleType` can only be `PROCESS_OWNER`.

In `UpdateSettings`, `roleType` can only be `PROCESS_OWNER`.

In `BatchCreateDelegationByAssessment`, `roleType` can only be

‘RESOURCE_OWNER`.

</note>

Returns:

  • (String)


2073
2074
2075
2076
2077
2078
2079
2080
# File 'lib/aws-sdk-auditmanager/types.rb', line 2073

class CreateDelegationRequest < Struct.new(
  :comment,
  :control_set_id,
  :role_arn,
  :role_type)
  SENSITIVE = []
  include Aws::Structure
end