Class CfnAssessmentTargetProps
Properties for defining a CfnAssessmentTarget
.
Inheritance
System.Object
CfnAssessmentTargetProps
Implements
Namespace: Amazon.CDK.AWS.Inspector
Assembly: Amazon.CDK.AWS.Inspector.dll
Syntax (csharp)
public class CfnAssessmentTargetProps : Object, ICfnAssessmentTargetProps
Syntax (vb)
Public Class CfnAssessmentTargetProps
Inherits Object
Implements ICfnAssessmentTargetProps
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 cfnAssessmentTargetProps = new CfnAssessmentTargetProps {
AssessmentTargetName = "assessmentTargetName",
ResourceGroupArn = "resourceGroupArn"
};
Synopsis
Constructors
CfnAssessmentTargetProps() |
Properties
AssessmentTargetName | The name of the Amazon Inspector assessment target. |
ResourceGroupArn | The ARN that specifies the resource group that is used to create the assessment target. |
Constructors
CfnAssessmentTargetProps()
public CfnAssessmentTargetProps()
Properties
AssessmentTargetName
The name of the Amazon Inspector assessment target.
public string AssessmentTargetName { get; set; }
Property Value
System.String
Remarks
The name must be unique within the AWS account .
ResourceGroupArn
The ARN that specifies the resource group that is used to create the assessment target.
public string ResourceGroupArn { get; set; }
Property Value
System.String
Remarks
If resourceGroupArn
is not specified, all EC2 instances in the current AWS account and Region are included in the assessment target.