Interface CfnAssessmentTargetProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAssessmentTargetProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:57.466Z") @Stability(Stable) public interface CfnAssessmentTargetProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnAssessmentTarget.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.inspector.*;
 CfnAssessmentTargetProps cfnAssessmentTargetProps = CfnAssessmentTargetProps.builder()
         .assessmentTargetName("assessmentTargetName")
         .resourceGroupArn("resourceGroupArn")
         .build();
 
  • Method Details

    • getAssessmentTargetName

      @Stability(Stable) @Nullable default String getAssessmentTargetName()
      The name of the Amazon Inspector assessment target.

      The name must be unique within the AWS account .

    • getResourceGroupArn

      @Stability(Stable) @Nullable default String getResourceGroupArn()
      The ARN that specifies the resource group that is used to create the assessment target.

      If resourceGroupArn is not specified, all EC2 instances in the current AWS account and Region are included in the assessment target.

    • builder

      @Stability(Stable) static CfnAssessmentTargetProps.Builder builder()
      Returns:
      a CfnAssessmentTargetProps.Builder of CfnAssessmentTargetProps