interface RoleProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AuditManager.CfnAssessment.RoleProperty |
Java | software.amazon.awscdk.services.auditmanager.CfnAssessment.RoleProperty |
Python | aws_cdk.aws_auditmanager.CfnAssessment.RoleProperty |
TypeScript | @aws-cdk/aws-auditmanager » 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).
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as auditmanager from '@aws-cdk/aws-auditmanager';
const roleProperty: auditmanager.CfnAssessment.RoleProperty = {
roleArn: 'roleArn',
roleType: 'roleType',
};
Properties
Name | Type | Description |
---|---|---|
role | string | The Amazon Resource Name (ARN) of the IAM role. |
role | string | The type of customer persona. |
roleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the IAM role.
roleType?
Type:
string
(optional)
The type of customer persona.
In
CreateAssessment
,roleType
can only bePROCESS_OWNER
.In
UpdateSettings
,roleType
can only bePROCESS_OWNER
.In
BatchCreateDelegationByAssessment
,roleType
can only beRESOURCE_OWNER
.