AssessmentDelegation

class AssessmentDelegation : KotlinCustomResource

Resource for managing an AWS Audit Manager Assessment Delegation.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.auditmanager.AssessmentDelegation;
import com.pulumi.aws.auditmanager.AssessmentDelegationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new AssessmentDelegation("example", AssessmentDelegationArgs.builder()
.assessmentId(aws_auditmanager_assessment.example().id())
.roleArn(aws_iam_role.example().arn())
.roleType("RESOURCE_OWNER")
.controlSetId("example")
.build());
}
}

Import

Using pulumi import, import Audit Manager Assessment Delegation using the id. For example:

$ pulumi import aws:auditmanager/assessmentDelegation:AssessmentDelegation example abcdef-123456,arn:aws:iam::012345678901:role/example,example

Properties

Link copied to clipboard
val assessmentId: Output<String>

Identifier for the assessment.

Link copied to clipboard
val comment: Output<String>?

Comment describing the delegation request.

Link copied to clipboard
val controlSetId: Output<String>

Assessment control set name. This value is the control set name used during assessment creation (not the AWS-generated ID). The _id suffix on this attribute has been preserved to be consistent with the underlying AWS API.

Link copied to clipboard
val delegationId: Output<String>

Unique identifier for the delegation.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val roleArn: Output<String>

Amazon Resource Name (ARN) of the IAM role.

Link copied to clipboard
val roleType: Output<String>

Type of customer persona. For assessment delegation, type must always be RESOURCE_OWNER. The following arguments are optional:

Link copied to clipboard
val status: Output<String>

Status of the delegation.

Link copied to clipboard
val urn: Output<String>