Interface CfnPentestProps

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

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-14T18:32:04.510Z") @Stability(Stable) public interface CfnPentestProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnPentest.

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.securityagent.*;
 CfnPentestProps cfnPentestProps = CfnPentestProps.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())
         .serviceRole("serviceRole")
         // the properties below are optional
         .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())
         .title("title")
         .vpcConfig(VpcConfigProperty.builder()
                 .securityGroupArns(List.of("securityGroupArns"))
                 .subnetArns(List.of("subnetArns"))
                 .vpcArn("vpcArn")
                 .build())
         .build();
 

See Also: