Skip to content
v2.278.0

DocumentInfoProperty Struct ​

A document attached to the pentest, uploaded to S3.

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 documentInfoProperty: securityagent.CfnPentest.DocumentInfoProperty = {
  artifactId: 'artifactId',
  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

document_info_property = securityagent.CfnPentest.DocumentInfoProperty(
    artifact_id="artifactId",
    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.*;

DocumentInfoProperty documentInfoProperty = DocumentInfoProperty.builder()
        .artifactId("artifactId")
        .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 documentInfoProperty = new DocumentInfoProperty {
    ArtifactId = "artifactId",
    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"

documentInfoProperty := &DocumentInfoProperty{
	ArtifactId: jsii.String("artifactId"),
	S3Location: jsii.String("s3Location"),
}

Properties ​

artifactIdoptionalstringartifact_idoptionalstrartifactIdoptionalStringArtifactIdoptionalstringArtifactIdoptional*string #
Artifact identifier.
s3Locationoptionalstrings3_locationoptionalstrs3LocationoptionalStringS3LocationoptionalstringS3Locationoptional*string #
S3 document location.