Interface ICfnAssessmentProps
Properties for defining a CfnAssessment
.
Namespace: Amazon.CDK.AWS.AuditManager
Assembly: Amazon.CDK.AWS.AuditManager.dll
Syntax (csharp)
public interface ICfnAssessmentProps
Syntax (vb)
Public Interface ICfnAssessmentProps
Remarks
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
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. |
Properties
AssessmentReportsDestination
The destination that evidence reports are stored in for the assessment.
virtual object AssessmentReportsDestination { get; }
Property Value
System.Object
Remarks
AwsAccount
The AWS account that's associated with the assessment.
virtual object AwsAccount { get; }
Property Value
System.Object
Remarks
Delegations
The delegations that are associated with the assessment.
virtual object Delegations { get; }
Property Value
System.Object
Remarks
Description
The description of the assessment.
virtual string Description { get; }
Property Value
System.String
Remarks
FrameworkId
The unique identifier for the framework.
virtual string FrameworkId { get; }
Property Value
System.String
Remarks
Name
The name of the assessment.
virtual string Name { get; }
Property Value
System.String
Remarks
Roles
The roles that are associated with the assessment.
virtual object Roles { get; }
Property Value
System.Object
Remarks
Scope
The wrapper of AWS accounts and services that are in scope for the assessment.
virtual object Scope { get; }
Property Value
System.Object
Remarks
Status
The overall status of the assessment.
virtual string Status { get; }
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
.
Tags
The tags that are associated with the assessment.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]