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).
Inheritance
System.Object
CfnAssessment.RoleProperty
Implements
Namespace: Amazon.CDK.AWS.AuditManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RoleProperty : Object, CfnAssessment.IRoleProperty
Syntax (vb)
Public Class RoleProperty
Inherits Object
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() |
Properties
RoleArn | The Amazon Resource Name (ARN) of the IAM role. |
RoleType | The type of customer persona. |
Constructors
RoleProperty()
public RoleProperty()
Properties
RoleArn
The Amazon Resource Name (ARN) of the IAM role.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
RoleType
The type of customer persona.
public string RoleType { get; set; }
Property Value
System.String
Remarks
In CreateAssessment
, roleType
can only be PROCESS_OWNER
.
In UpdateSettings
, roleType
can only be PROCESS_OWNER
.
In BatchCreateDelegationByAssessment
, roleType
can only be RESOURCE_OWNER
.