Skip to content
v2.277.0

ReportExportConfigProperty Struct ​

Information about the location where the run of a report is exported.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
const reportExportConfigProperty: codebuild.CfnReportGroup.ReportExportConfigProperty = {
  exportConfigType: 'exportConfigType',

  // the properties below are optional
  s3Destination: {
    bucket: 'bucket',

    // the properties below are optional
    bucketOwner: 'bucketOwner',
    encryptionDisabled: false,
    encryptionKey: 'encryptionKey',
    packaging: 'packaging',
    path: 'path',
  },
};
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_codebuild as codebuild

report_export_config_property = codebuild.CfnReportGroup.ReportExportConfigProperty(
    export_config_type="exportConfigType",

    # the properties below are optional
    s3_destination=codebuild.CfnReportGroup.S3ReportExportConfigProperty(
        bucket="bucket",

        # the properties below are optional
        bucket_owner="bucketOwner",
        encryption_disabled=False,
        encryption_key="encryptionKey",
        packaging="packaging",
        path="path"
    )
)
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.codebuild.*;

ReportExportConfigProperty reportExportConfigProperty = ReportExportConfigProperty.builder()
        .exportConfigType("exportConfigType")

        // the properties below are optional
        .s3Destination(S3ReportExportConfigProperty.builder()
                .bucket("bucket")

                // the properties below are optional
                .bucketOwner("bucketOwner")
                .encryptionDisabled(false)
                .encryptionKey("encryptionKey")
                .packaging("packaging")
                .path("path")
                .build())
        .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.CodeBuild;

var reportExportConfigProperty = new ReportExportConfigProperty {
    ExportConfigType = "exportConfigType",

    // the properties below are optional
    S3Destination = new S3ReportExportConfigProperty {
        Bucket = "bucket",

        // the properties below are optional
        BucketOwner = "bucketOwner",
        EncryptionDisabled = false,
        EncryptionKey = "encryptionKey",
        Packaging = "packaging",
        Path = "path"
    }
};
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"

reportExportConfigProperty := &ReportExportConfigProperty{
	ExportConfigType: jsii.String("exportConfigType"),

	// the properties below are optional
	S3Destination: &S3ReportExportConfigProperty{
		Bucket: jsii.String("bucket"),

		// the properties below are optional
		BucketOwner: jsii.String("bucketOwner"),
		EncryptionDisabled: jsii.Boolean(false),
		EncryptionKey: jsii.String("encryptionKey"),
		Packaging: jsii.String("packaging"),
		Path: jsii.String("path"),
	},
}

Properties ​

exportConfigTypestringexport_config_typestrexportConfigTypeStringExportConfigTypestringExportConfigType*stringrequired#
The export configuration type. Valid values are:.
  • S3 : The report results are exported to an S3 bucket.
  • NO_EXPORT : The report results are not exported.
s3DestinationoptionalIResolvable | CfnReportGroup.S3ReportExportConfigPropertys3_destinationoptionaltyping.Union[IResolvable, S3ReportExportConfigProperty]s3DestinationoptionalIResolvableS3DestinationoptionalIResolvableS3Destinationoptionalinterface{}#
A `S3ReportExportConfig` object that contains information about the S3 bucket where the run of a report is exported.