1. Packages
  2. AWS Classic
  3. API Docs
  4. auditmanager
  5. AssessmentReport

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.2.1 published on Friday, Sep 22, 2023 by Pulumi

aws.auditmanager.AssessmentReport

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.2.1 published on Friday, Sep 22, 2023 by Pulumi

    Resource for managing an AWS Audit Manager Assessment Report.

    Example Usage

    Basic Usage

    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()
        {
            AssessmentId = aws_auditmanager_assessment.Test.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{
    			AssessmentId: pulumi.Any(aws_auditmanager_assessment.Test.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()        
                .assessmentId(aws_auditmanager_assessment.test().id())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aws as aws
    
    test = aws.auditmanager.AssessmentReport("test", assessment_id=aws_auditmanager_assessment["test"]["id"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const test = new aws.auditmanager.AssessmentReport("test", {assessmentId: aws_auditmanager_assessment.test.id});
    
    resources:
      test:
        type: aws:auditmanager:AssessmentReport
        properties:
          assessmentId: ${aws_auditmanager_assessment.test.id}
    

    Create AssessmentReport Resource

    new AssessmentReport(name: string, args: AssessmentReportArgs, opts?: CustomResourceOptions);
    @overload
    def AssessmentReport(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         assessment_id: Optional[str] = None,
                         description: Optional[str] = None,
                         name: Optional[str] = None)
    @overload
    def AssessmentReport(resource_name: str,
                         args: AssessmentReportArgs,
                         opts: Optional[ResourceOptions] = None)
    func NewAssessmentReport(ctx *Context, name string, args AssessmentReportArgs, opts ...ResourceOption) (*AssessmentReport, error)
    public AssessmentReport(string name, AssessmentReportArgs args, CustomResourceOptions? opts = null)
    public AssessmentReport(String name, AssessmentReportArgs args)
    public AssessmentReport(String name, AssessmentReportArgs args, CustomResourceOptions options)
    
    type: aws:auditmanager:AssessmentReport
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AssessmentReportArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AssessmentReportArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AssessmentReportArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AssessmentReportArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AssessmentReportArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AssessmentReport Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AssessmentReport resource accepts the following input properties:

    AssessmentId string

    Unique identifier of the assessment to create the report from.

    The following arguments are optional:

    Description string

    Description of the assessment report.

    Name string

    Name of the assessment report.

    AssessmentId string

    Unique identifier of the assessment to create the report from.

    The following arguments are optional:

    Description string

    Description of the assessment report.

    Name string

    Name of the assessment report.

    assessmentId String

    Unique identifier of the assessment to create the report from.

    The following arguments are optional:

    description String

    Description of the assessment report.

    name String

    Name of the assessment report.

    assessmentId string

    Unique identifier of the assessment to create the report from.

    The following arguments are optional:

    description string

    Description of the assessment report.

    name string

    Name of the assessment report.

    assessment_id str

    Unique identifier of the assessment to create the report from.

    The following arguments are optional:

    description str

    Description of the assessment report.

    name str

    Name of the assessment report.

    assessmentId String

    Unique identifier of the assessment to create the report from.

    The following arguments are optional:

    description String

    Description of the assessment report.

    name String

    Name of the assessment report.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AssessmentReport resource produces the following output properties:

    Author string

    Name of the user who created the assessment report.

    Id string

    The provider-assigned unique ID for this managed resource.

    Status string

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

    Author string

    Name of the user who created the assessment report.

    Id string

    The provider-assigned unique ID for this managed resource.

    Status string

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

    author String

    Name of the user who created the assessment report.

    id String

    The provider-assigned unique ID for this managed resource.

    status String

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

    author string

    Name of the user who created the assessment report.

    id string

    The provider-assigned unique ID for this managed resource.

    status string

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

    author str

    Name of the user who created the assessment report.

    id str

    The provider-assigned unique ID for this managed resource.

    status str

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

    author String

    Name of the user who created the assessment report.

    id String

    The provider-assigned unique ID for this managed resource.

    status String

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

    Look up Existing AssessmentReport Resource

    Get an existing AssessmentReport resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AssessmentReportState, opts?: CustomResourceOptions): AssessmentReport
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            assessment_id: Optional[str] = None,
            author: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            status: Optional[str] = None) -> AssessmentReport
    func GetAssessmentReport(ctx *Context, name string, id IDInput, state *AssessmentReportState, opts ...ResourceOption) (*AssessmentReport, error)
    public static AssessmentReport Get(string name, Input<string> id, AssessmentReportState? state, CustomResourceOptions? opts = null)
    public static AssessmentReport get(String name, Output<String> id, AssessmentReportState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AssessmentId string

    Unique identifier of the assessment to create the report from.

    The following arguments are optional:

    Author string

    Name of the user who created the assessment report.

    Description string

    Description of the assessment report.

    Name string

    Name of the assessment report.

    Status string

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

    AssessmentId string

    Unique identifier of the assessment to create the report from.

    The following arguments are optional:

    Author string

    Name of the user who created the assessment report.

    Description string

    Description of the assessment report.

    Name string

    Name of the assessment report.

    Status string

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

    assessmentId String

    Unique identifier of the assessment to create the report from.

    The following arguments are optional:

    author String

    Name of the user who created the assessment report.

    description String

    Description of the assessment report.

    name String

    Name of the assessment report.

    status String

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

    assessmentId string

    Unique identifier of the assessment to create the report from.

    The following arguments are optional:

    author string

    Name of the user who created the assessment report.

    description string

    Description of the assessment report.

    name string

    Name of the assessment report.

    status string

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

    assessment_id str

    Unique identifier of the assessment to create the report from.

    The following arguments are optional:

    author str

    Name of the user who created the assessment report.

    description str

    Description of the assessment report.

    name str

    Name of the assessment report.

    status str

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

    assessmentId String

    Unique identifier of the assessment to create the report from.

    The following arguments are optional:

    author String

    Name of the user who created the assessment report.

    description String

    Description of the assessment report.

    name String

    Name of the assessment report.

    status String

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

    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
    

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the aws Terraform Provider.

    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.2.1 published on Friday, Sep 22, 2023 by Pulumi