Class CfnPentestPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.securityagent.CfnPentestPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.128.0 (build 749b9a9)",
date="2026-05-08T13:05:28.095Z")
@Stability(Stable)
public class CfnPentestPropsMixin
extends Mixin
implements software.constructs.IMixin
Resource Type definition for AWS::SecurityAgent::Pentest.
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.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnPentestPropsMixin cfnPentestPropsMixin = CfnPentestPropsMixin.Builder.create(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())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAn authenticated actor to be used during pentest execution.static interfaceCollection of assets to be tested during the pentest.static interfaceAuthentication configuration for a pentest actor.static final classA fluent builder forCfnPentestPropsMixin.static interfaceCloudWatch Logs configuration for pentest output.static interfaceA custom header to include in outbound requests.static interfaceA document stored in S3 that provides context for the pentest.static interfaceAn endpoint to be tested during the pentest.static interfaceA repository connected via a provider integration.static interfaceNetwork traffic configuration for the pentest.static interfaceNetwork traffic rule.static interfaceA source code archive stored in S3 for analysis during the pentest.static interfaceVPC configuration that the pentest agent accesses.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::SecurityAgent::Pentest.CfnPentestPropsMixin(CfnPentestMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::SecurityAgent::Pentest.protectedCfnPentestPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPentestPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnPentestMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnPentestPropsMixin
protected CfnPentestPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPentestPropsMixin
protected CfnPentestPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPentestPropsMixin
@Stability(Stable) public CfnPentestPropsMixin(@NotNull CfnPentestMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::SecurityAgent::Pentest.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnPentestPropsMixin
Create a mixin to apply properties toAWS::SecurityAgent::Pentest.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-