Show / Hide Table of Contents

Class CfnAssessmentProps

Properties for defining a CfnAssessment.

Inheritance
System.Object
CfnAssessmentProps
Implements
ICfnAssessmentProps
Namespace: Amazon.CDK.AWS.AuditManager
Assembly: Amazon.CDK.AWS.AuditManager.dll
Syntax (csharp)
public class CfnAssessmentProps : Object, ICfnAssessmentProps
Syntax (vb)
Public Class CfnAssessmentProps
    Inherits Object
    Implements ICfnAssessmentProps
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AuditManager;

var cfnAssessmentProps = new CfnAssessmentProps {
    AssessmentReportsDestination = new AssessmentReportsDestinationProperty {
        Destination = "destination",
        DestinationType = "destinationType"
    },
    AwsAccount = new AWSAccountProperty {
        EmailAddress = "emailAddress",
        Id = "id",
        Name = "name"
    },
    Delegations = new [] { new DelegationProperty {
        AssessmentId = "assessmentId",
        AssessmentName = "assessmentName",
        Comment = "comment",
        ControlSetId = "controlSetId",
        CreatedBy = "createdBy",
        CreationTime = 123,
        Id = "id",
        LastUpdated = 123,
        RoleArn = "roleArn",
        RoleType = "roleType",
        Status = "status"
    } },
    Description = "description",
    FrameworkId = "frameworkId",
    Name = "name",
    Roles = new [] { new RoleProperty {
        RoleArn = "roleArn",
        RoleType = "roleType"
    } },
    Scope = new ScopeProperty {
        AwsAccounts = new [] { new AWSAccountProperty {
            EmailAddress = "emailAddress",
            Id = "id",
            Name = "name"
        } },
        AwsServices = new [] { new AWSServiceProperty {
            ServiceName = "serviceName"
        } }
    },
    Status = "status",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};

Synopsis

Constructors

CfnAssessmentProps()

Properties

AssessmentReportsDestination

The destination that evidence reports are stored in for the assessment.

AwsAccount

The AWS account that's associated with the assessment.

Delegations

The delegations that are associated with the assessment.

Description

The description of the assessment.

FrameworkId

The unique identifier for the framework.

Name

The name of the assessment.

Roles

The roles that are associated with the assessment.

Scope

The wrapper of AWS accounts and services that are in scope for the assessment.

Status

The overall status of the assessment.

Tags

The tags that are associated with the assessment.

Constructors

CfnAssessmentProps()

public CfnAssessmentProps()

Properties

AssessmentReportsDestination

The destination that evidence reports are stored in for the assessment.

public object AssessmentReportsDestination { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-assessmentreportsdestination

AwsAccount

The AWS account that's associated with the assessment.

public object AwsAccount { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-awsaccount

Delegations

The delegations that are associated with the assessment.

public object Delegations { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-delegations

Description

The description of the assessment.

public string Description { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-description

FrameworkId

The unique identifier for the framework.

public string FrameworkId { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-frameworkid

Name

The name of the assessment.

public string Name { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-name

Roles

The roles that are associated with the assessment.

public object Roles { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-roles

Scope

The wrapper of AWS accounts and services that are in scope for the assessment.

public object Scope { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-scope

Status

The overall status of the assessment.

public string Status { get; set; }
Property Value

System.String

Remarks

When you create a new assessment, the initial Status value is always ACTIVE . When you create an assessment, even if you specify the value as INACTIVE , the value overrides to ACTIVE .

After you create an assessment, you can change the value of the Status property at any time. For example, when you want to stop collecting evidence for your assessment, you can change the assessment status to INACTIVE .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-status

Tags

The tags that are associated with the assessment.

public ICfnTag[] Tags { get; set; }
Property Value

ICfnTag[]

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-tags

Implements

ICfnAssessmentProps
Back to top Generated by DocFX