Skip to content
v2.275.0

S3SourceConfigProperty Struct ​

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

Example ​

ts
// 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 ​

fileFormatDescriptorIResolvable | CfnAnomalyDetector.FileFormatDescriptorPropertyfile_format_descriptortyping.Union[IResolvable, FileFormatDescriptorProperty]fileFormatDescriptorIResolvableFileFormatDescriptorIResolvableFileFormatDescriptorinterface{}required#
Contains information about a source file's formatting.
historicalDataPathListoptionalstring[]historical_data_path_listoptionaltyping.List[str]historicalDataPathListoptionalList<String>HistoricalDataPathListoptionalstring[]HistoricalDataPathListoptional*[]*string#
A list of paths to the historical data files.
roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*stringrequired#
The ARN of an IAM role that has read and write access permissions to the source S3 bucket.
templatedPathListoptionalstring[]templated_path_listoptionaltyping.List[str]templatedPathListoptionalList<String>TemplatedPathListoptionalstring[]TemplatedPathListoptional*[]*string#
A list of templated paths to the source files.