Skip to content
v2.277.0

SourceCodeRepositoryProperty Struct ​

A source code archive stored in S3 for analysis during the pentest.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const sourceCodeRepositoryProperty: securityagent.CfnPentest.SourceCodeRepositoryProperty = {
  s3Location: 's3Location',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_securityagent as securityagent

source_code_repository_property = securityagent.CfnPentest.SourceCodeRepositoryProperty(
    s3_location="s3Location"
)
java
// 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.*;

SourceCodeRepositoryProperty sourceCodeRepositoryProperty = SourceCodeRepositoryProperty.builder()
        .s3Location("s3Location")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityAgent;

var sourceCodeRepositoryProperty = new SourceCodeRepositoryProperty {
    S3Location = "s3Location"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

sourceCodeRepositoryProperty := &SourceCodeRepositoryProperty{
	S3Location: jsii.String("s3Location"),
}

Properties ​

s3Locationoptionalstrings3_locationoptionalstrs3LocationoptionalStringS3LocationoptionalstringS3Locationoptional*string#
S3 source code location.