@Stability(value=Stable) public static final class CfnAssessmentTarget.Builder extends Object implements software.amazon.jsii.Builder<CfnAssessmentTarget>
CfnAssessmentTarget.| Modifier and Type | Method and Description |
|---|---|
CfnAssessmentTarget.Builder |
assessmentTargetName(String assessmentTargetName)
The name of the Amazon Inspector assessment target.
|
CfnAssessmentTarget |
build() |
static CfnAssessmentTarget.Builder |
create(software.constructs.Construct scope,
String id) |
CfnAssessmentTarget.Builder |
resourceGroupArn(String resourceGroupArn)
The ARN that specifies the resource group that is used to create the assessment target.
|
@Stability(value=Stable) public static CfnAssessmentTarget.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnAssessmentTarget.Builder.@Stability(value=Stable) public CfnAssessmentTarget.Builder assessmentTargetName(String assessmentTargetName)
The name must be unique within the AWS account .
assessmentTargetName - The name of the Amazon Inspector assessment target. This parameter is required.this@Stability(value=Stable) public CfnAssessmentTarget.Builder resourceGroupArn(String resourceGroupArn)
If resourceGroupArn is not specified, all EC2 instances in the current AWS account and Region are included in the assessment target.
resourceGroupArn - The ARN that specifies the resource group that is used to create the assessment target. This parameter is required.this@Stability(value=Stable) public CfnAssessmentTarget build()
build in interface software.amazon.jsii.Builder<CfnAssessmentTarget>Copyright © 2022. All rights reserved.