Interface ICfnAssessmentTemplateProps
Properties for defining a CfnAssessmentTemplate
.
Namespace: Amazon.CDK.AWS.Inspector
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnAssessmentTemplateProps
Syntax (vb)
Public Interface ICfnAssessmentTemplateProps
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.Inspector;
var cfnAssessmentTemplateProps = new CfnAssessmentTemplateProps {
AssessmentTargetArn = "assessmentTargetArn",
DurationInSeconds = 123,
RulesPackageArns = new [] { "rulesPackageArns" },
// the properties below are optional
AssessmentTemplateName = "assessmentTemplateName",
UserAttributesForFindings = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
AssessmentTargetArn | The ARN of the assessment target to be included in the assessment template. |
AssessmentTemplateName | The user-defined name that identifies the assessment template that you want to create. |
DurationInSeconds | The duration of the assessment run in seconds. |
RulesPackageArns | The ARNs of the rules packages that you want to use in the assessment template. |
UserAttributesForFindings | The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. |
Properties
AssessmentTargetArn
The ARN of the assessment target to be included in the assessment template.
string AssessmentTargetArn { get; }
Property Value
System.String
Remarks
AssessmentTemplateName
The user-defined name that identifies the assessment template that you want to create.
virtual string AssessmentTemplateName { get; }
Property Value
System.String
Remarks
You can create several assessment templates for the same assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
DurationInSeconds
The duration of the assessment run in seconds.
double DurationInSeconds { get; }
Property Value
System.Double
Remarks
RulesPackageArns
The ARNs of the rules packages that you want to use in the assessment template.
string[] RulesPackageArns { get; }
Property Value
System.String[]
Remarks
UserAttributesForFindings
The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template.
virtual object UserAttributesForFindings { get; }
Property Value
System.Object
Remarks
Within an assessment template, each key must be unique.