Class CfnPentestPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityagent.CfnPentestPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPentestPropsMixin>
- Enclosing class:
CfnPentestPropsMixin
@Stability(Stable)
public static final class CfnPentestPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPentestPropsMixin>
A fluent builder for
CfnPentestPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) Identifier of agent space where the pentest should be created.Collection of assets to be tested during the pentest.assets(IResolvable assets) Collection of assets to be tested during the pentest.build()codeRemediationStrategy(String codeRemediationStrategy) Strategy for remediating code vulnerabilities discovered during the pentest.static CfnPentestPropsMixin.Buildercreate()static CfnPentestPropsMixin.Buildercreate(CfnPropertyMixinOptions options) excludeRiskTypes(List<String> excludeRiskTypes) A list of risk types excluded from the pentest execution.CloudWatch Logs configuration for pentest output.logConfig(IResolvable logConfig) CloudWatch Logs configuration for pentest output.networkTrafficConfig(CfnPentestPropsMixin.NetworkTrafficConfigProperty networkTrafficConfig) Network traffic configuration for the pentest.networkTrafficConfig(IResolvable networkTrafficConfig) Network traffic configuration for the pentest.serviceRole(String serviceRole) Service role for accessing resources.Title of the penetration test.vpcConfig(CfnPentestPropsMixin.VpcConfigProperty vpcConfig) VPC configuration that the pentest agent accesses.vpcConfig(IResolvable vpcConfig) VPC configuration that the pentest agent accesses.
-
Method Details
-
create
@Stability(Stable) public static CfnPentestPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPentestPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPentestPropsMixin.Builder.
-
agentSpaceId
Identifier of agent space where the pentest should be created.- Parameters:
agentSpaceId- Identifier of agent space where the pentest should be created. This parameter is required.- Returns:
this- See Also:
-
assets
Collection of assets to be tested during the pentest.- Parameters:
assets- Collection of assets to be tested during the pentest. This parameter is required.- Returns:
this- See Also:
-
assets
@Stability(Stable) public CfnPentestPropsMixin.Builder assets(CfnPentestPropsMixin.AssetsProperty assets) Collection of assets to be tested during the pentest.- Parameters:
assets- Collection of assets to be tested during the pentest. This parameter is required.- Returns:
this- See Also:
-
codeRemediationStrategy
@Stability(Stable) public CfnPentestPropsMixin.Builder codeRemediationStrategy(String codeRemediationStrategy) Strategy for remediating code vulnerabilities discovered during the pentest.- Parameters:
codeRemediationStrategy- Strategy for remediating code vulnerabilities discovered during the pentest. This parameter is required.- Returns:
this- See Also:
-
excludeRiskTypes
@Stability(Stable) public CfnPentestPropsMixin.Builder excludeRiskTypes(List<String> excludeRiskTypes) A list of risk types excluded from the pentest execution.- Parameters:
excludeRiskTypes- A list of risk types excluded from the pentest execution. This parameter is required.- Returns:
this- See Also:
-
logConfig
CloudWatch Logs configuration for pentest output.- Parameters:
logConfig- CloudWatch Logs configuration for pentest output. This parameter is required.- Returns:
this- See Also:
-
logConfig
@Stability(Stable) public CfnPentestPropsMixin.Builder logConfig(CfnPentestPropsMixin.CloudWatchLogProperty logConfig) CloudWatch Logs configuration for pentest output.- Parameters:
logConfig- CloudWatch Logs configuration for pentest output. This parameter is required.- Returns:
this- See Also:
-
networkTrafficConfig
@Stability(Stable) public CfnPentestPropsMixin.Builder networkTrafficConfig(IResolvable networkTrafficConfig) Network traffic configuration for the pentest.- Parameters:
networkTrafficConfig- Network traffic configuration for the pentest. This parameter is required.- Returns:
this- See Also:
-
networkTrafficConfig
@Stability(Stable) public CfnPentestPropsMixin.Builder networkTrafficConfig(CfnPentestPropsMixin.NetworkTrafficConfigProperty networkTrafficConfig) Network traffic configuration for the pentest.- Parameters:
networkTrafficConfig- Network traffic configuration for the pentest. This parameter is required.- Returns:
this- See Also:
-
serviceRole
Service role for accessing resources.- Parameters:
serviceRole- Service role for accessing resources. This parameter is required.- Returns:
this- See Also:
-
title
Title of the penetration test.- Parameters:
title- Title of the penetration test. This parameter is required.- Returns:
this- See Also:
-
vpcConfig
VPC configuration that the pentest agent accesses.- Parameters:
vpcConfig- VPC configuration that the pentest agent accesses. This parameter is required.- Returns:
this- See Also:
-
vpcConfig
@Stability(Stable) public CfnPentestPropsMixin.Builder vpcConfig(CfnPentestPropsMixin.VpcConfigProperty vpcConfig) VPC configuration that the pentest agent accesses.- Parameters:
vpcConfig- VPC configuration that the pentest agent accesses. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPentestPropsMixin>- Returns:
- a newly built instance of
CfnPentestPropsMixin.
-