Interface CfnPentestMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPentestMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.130.0 (build 048a5ee)",
date="2026-05-21T17:27:59.215Z")
@Stability(Stable)
public interface CfnPentestMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnPentestPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.securityagent.*;
CfnPentestMixinProps cfnPentestMixinProps = CfnPentestMixinProps.builder()
.agentSpaceId("agentSpaceId")
.assets(AssetsProperty.builder()
.actors(List.of(ActorProperty.builder()
.authentication(AuthenticationProperty.builder()
.providerType("providerType")
.value("value")
.build())
.description("description")
.identifier("identifier")
.uris(List.of("uris"))
.build()))
.documents(List.of(DocumentInfoProperty.builder()
.artifactId("artifactId")
.s3Location("s3Location")
.build()))
.endpoints(List.of(EndpointProperty.builder()
.uri("uri")
.build()))
.integratedRepositories(List.of(IntegratedRepositoryProperty.builder()
.integrationId("integrationId")
.providerResourceId("providerResourceId")
.build()))
.sourceCode(List.of(SourceCodeRepositoryProperty.builder()
.s3Location("s3Location")
.build()))
.build())
.codeRemediationStrategy("codeRemediationStrategy")
.excludeRiskTypes(List.of("excludeRiskTypes"))
.logConfig(CloudWatchLogProperty.builder()
.logGroup("logGroup")
.logStream("logStream")
.build())
.networkTrafficConfig(NetworkTrafficConfigProperty.builder()
.customHeaders(List.of(CustomHeaderProperty.builder()
.name("name")
.value("value")
.build()))
.rules(List.of(NetworkTrafficRuleProperty.builder()
.effect("effect")
.networkTrafficRuleType("networkTrafficRuleType")
.pattern("pattern")
.build()))
.build())
.serviceRole("serviceRole")
.title("title")
.vpcConfig(VpcConfigProperty.builder()
.securityGroupArns(List.of("securityGroupArns"))
.subnetArns(List.of("subnetArns"))
.vpcArn("vpcArn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPentestMixinPropsstatic final classAn implementation forCfnPentestMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPentestMixinProps.Builderbuilder()default StringIdentifier of agent space where the pentest should be created.default ObjectCollection of assets to be tested during the pentest.default StringStrategy for remediating code vulnerabilities discovered during the pentest.A list of risk types excluded from the pentest execution.default ObjectCloudWatch Logs configuration for pentest output.default ObjectNetwork traffic configuration for the pentest.default StringService role for accessing resources.default StringgetTitle()Title of the penetration test.default ObjectVPC configuration that the pentest agent accesses.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAgentSpaceId
Identifier of agent space where the pentest should be created.- See Also:
-
getAssets
Collection of assets to be tested during the pentest.Returns union: either
IResolvableorCfnPentestPropsMixin.AssetsProperty- See Also:
-
getCodeRemediationStrategy
Strategy for remediating code vulnerabilities discovered during the pentest.- See Also:
-
getExcludeRiskTypes
A list of risk types excluded from the pentest execution.- See Also:
-
getLogConfig
CloudWatch Logs configuration for pentest output.Returns union: either
IResolvableorCfnPentestPropsMixin.CloudWatchLogProperty- See Also:
-
getNetworkTrafficConfig
Network traffic configuration for the pentest.Returns union: either
IResolvableorCfnPentestPropsMixin.NetworkTrafficConfigProperty- See Also:
-
getServiceRole
Service role for accessing resources.- See Also:
-
getTitle
Title of the penetration test.- See Also:
-
getVpcConfig
VPC configuration that the pentest agent accesses.Returns union: either
IResolvableorCfnPentestPropsMixin.VpcConfigProperty- See Also:
-
builder
- Returns:
- a
CfnPentestMixinProps.BuilderofCfnPentestMixinProps
-