AssessmentReport

class AssessmentReport : KotlinCustomResource

Resource for managing an AWS Audit Manager Assessment Report.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.auditmanager.AssessmentReport("test", {
name: "example",
assessmentId: testAwsAuditmanagerAssessment.id,
});
import pulumi
import pulumi_aws as aws
test = aws.auditmanager.AssessmentReport("test",
name="example",
assessment_id=test_aws_auditmanager_assessment["id"])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = new Aws.Auditmanager.AssessmentReport("test", new()
{
Name = "example",
AssessmentId = testAwsAuditmanagerAssessment.Id,
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/auditmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := auditmanager.NewAssessmentReport(ctx, "test", &auditmanager.AssessmentReportArgs{
Name: pulumi.String("example"),
AssessmentId: pulumi.Any(testAwsAuditmanagerAssessment.Id),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.auditmanager.AssessmentReport;
import com.pulumi.aws.auditmanager.AssessmentReportArgs;
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 test = new AssessmentReport("test", AssessmentReportArgs.builder()
.name("example")
.assessmentId(testAwsAuditmanagerAssessment.id())
.build());
}
}
resources:
test:
type: aws:auditmanager:AssessmentReport
properties:
name: example
assessmentId: ${testAwsAuditmanagerAssessment.id}

Import

Using pulumi import, import Audit Manager Assessment Reports using the assessment report id. For example:

$ pulumi import aws:auditmanager/assessmentReport:AssessmentReport example abc123-de45

Properties

Link copied to clipboard
val assessmentId: Output<String>

Unique identifier of the assessment to create the report from. The following arguments are optional:

Link copied to clipboard
val author: Output<String>

Name of the user who created the assessment report.

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

Description of the assessment report.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Name of the assessment report.

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

Current status of the specified assessment report. Valid values are COMPLETE, IN_PROGRESS, and FAILED.

Link copied to clipboard
val urn: Output<String>