aws-cdk-lib.aws_lookoutmetrics.CfnAnomalyDetector.S3SourceConfigProperty

interface S3SourceConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.LookoutMetrics.CfnAnomalyDetector.S3SourceConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslookoutmetrics#CfnAnomalyDetector_S3SourceConfigProperty
Javasoftware.amazon.awscdk.services.lookoutmetrics.CfnAnomalyDetector.S3SourceConfigProperty
Pythonaws_cdk.aws_lookoutmetrics.CfnAnomalyDetector.S3SourceConfigProperty
TypeScript aws-cdk-lib » aws_lookoutmetrics » CfnAnomalyDetector » S3SourceConfigProperty

Contains information about the configuration of the S3 bucket that contains source files.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lookoutmetrics as lookoutmetrics } from 'aws-cdk-lib';
const s3SourceConfigProperty: lookoutmetrics.CfnAnomalyDetector.S3SourceConfigProperty = {
  fileFormatDescriptor: {
    csvFormatDescriptor: {
      charset: 'charset',
      containsHeader: false,
      delimiter: 'delimiter',
      fileCompression: 'fileCompression',
      headerList: ['headerList'],
      quoteSymbol: 'quoteSymbol',
    },
    jsonFormatDescriptor: {
      charset: 'charset',
      fileCompression: 'fileCompression',
    },
  },
  roleArn: 'roleArn',

  // the properties below are optional
  historicalDataPathList: ['historicalDataPathList'],
  templatedPathList: ['templatedPathList'],
};

Properties

NameTypeDescription
fileFormatDescriptorIResolvable | FileFormatDescriptorPropertyContains information about a source file's formatting.
roleArnstringThe ARN of an IAM role that has read and write access permissions to the source S3 bucket.
historicalDataPathList?string[]A list of paths to the historical data files.
templatedPathList?string[]A list of templated paths to the source files.

fileFormatDescriptor

Type: IResolvable | FileFormatDescriptorProperty

Contains information about a source file's formatting.


roleArn

Type: string

The ARN of an IAM role that has read and write access permissions to the source S3 bucket.


historicalDataPathList?

Type: string[] (optional)

A list of paths to the historical data files.


templatedPathList?

Type: string[] (optional)

A list of templated paths to the source files.