Interface CfnPentest.AssetsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPentest.AssetsProperty.Jsii$Proxy
- Enclosing class:
CfnPentest
@Stability(Stable)
public static interface CfnPentest.AssetsProperty
extends software.amazon.jsii.JsiiSerializable
Collection of assets to be tested during the 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.services.securityagent.*;
AssetsProperty assetsProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPentest.AssetsPropertystatic final classAn implementation forCfnPentest.AssetsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectList of actors used during testing.default ObjectList of documents providing additional context for the pentest.default ObjectList of endpoints to test.default ObjectList of repositories connected via provider integrations.default ObjectList of source code repositories to analyze.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActors
List of actors used during testing.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPentest.ActorProperty>- See Also:
-
getDocuments
List of documents providing additional context for the pentest.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPentest.DocumentInfoProperty>- See Also:
-
getEndpoints
List of endpoints to test.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPentest.EndpointProperty>- See Also:
-
getIntegratedRepositories
List of repositories connected via provider integrations.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPentest.IntegratedRepositoryProperty>- See Also:
-
getSourceCode
List of source code repositories to analyze.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPentest.SourceCodeRepositoryProperty>- See Also:
-
builder
- Returns:
- a
CfnPentest.AssetsProperty.BuilderofCfnPentest.AssetsProperty
-