Resource: awsAuditmanagerAssessmentDelegation
Terraform resource for managing an AWS Audit Manager Assessment Delegation.
Example Usage
Basic Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.auditmanagerAssessmentDelegation.AuditmanagerAssessmentDelegation(
this,
"example",
{
assessmentId: "${aws_auditmanager_assessment.example.id}",
controlSetId: "example",
roleArn: "${aws_iam_role.example.arn}",
roleType: "RESOURCE_OWNER",
}
);
Argument Reference
The following arguments are required:
assessmentId
- (Required) Identifier for the assessment.controlSetId
- (Required) Assessment control set name. This value is the control set name used during assessment creation (not the AWS-generated ID). Theid
suffix on this attribute has been preserved to be consistent with the underlying AWS API.roleArn
- (Required) Amazon Resource Name (ARN) of the IAM role.roleType
- (Required) Type of customer persona. For assessment delegation, type must always beRESOURCE_OWNER
.
The following arguments are optional:
comment
- (Optional) Comment describing the delegation request.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
delegationId
- Unique identifier for the delegation.id
- Unique identifier for the resource. This is a comma-separated string containingassessmentId
,roleArn
, andcontrolSetId
.status
- Status of the delegation.
Import
Audit Manager Assessment Delegation can be imported using the id
, e.g.,