Class CfnAssessment.RoleProperty
The Role property type specifies the wrapper that contains AWS Audit Manager role information, such as the role type and IAM Amazon Resource Name (ARN).
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AuditManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAssessment.RoleProperty : CfnAssessment.IRoleProperty
Syntax (vb)
Public Class CfnAssessment.RoleProperty Implements CfnAssessment.IRoleProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AuditManager;
var roleProperty = new RoleProperty {
RoleArn = "roleArn",
RoleType = "roleType"
};
Synopsis
Constructors
| RoleProperty() | The |
Properties
| RoleArn | The Amazon Resource Name (ARN) of the IAM role. |
| RoleType | The type of customer persona. |
Constructors
RoleProperty()
The Role property type specifies the wrapper that contains AWS Audit Manager role information, such as the role type and IAM Amazon Resource Name (ARN).
public RoleProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AuditManager;
var roleProperty = new RoleProperty {
RoleArn = "roleArn",
RoleType = "roleType"
};
Properties
RoleArn
The Amazon Resource Name (ARN) of the IAM role.
public string? RoleArn { get; set; }
Property Value
Remarks
RoleType
The type of customer persona.
public string? RoleType { get; set; }
Property Value
Remarks
In <code>CreateAssessment</code> , <code>roleType</code> can only be <code>PROCESS_OWNER</code> .
In UpdateSettings , roleType can only be PROCESS_OWNER .
In BatchCreateDelegationByAssessment , roleType can only be RESOURCE_OWNER .