@aws-cdk_aws-kinesisanalytics-flink-alpha.ApplicationCodeConfig

interface ApplicationCodeConfig ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Kinesisanalytics.Flink.Alpha.ApplicationCodeConfig
Gogithub.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha/v2#ApplicationCodeConfig
Javasoftware.amazon.awscdk.services.kinesisanalytics.flink.alpha.ApplicationCodeConfig
Pythonaws_cdk.aws_kinesisanalytics_flink_alpha.ApplicationCodeConfig
TypeScript (source)@aws-cdk/aws-kinesisanalytics-flink-alpha ยป ApplicationCodeConfig

Obtainable from ApplicationCode.bind()

The return type of ApplicationCode.bind. This represents CloudFormation configuration and an s3 bucket holding the Flink application JAR file.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as kinesisanalytics_flink_alpha from '@aws-cdk/aws-kinesisanalytics-flink-alpha';
import { aws_s3 as s3 } from 'aws-cdk-lib';

declare const bucket: s3.Bucket;
const applicationCodeConfig: kinesisanalytics_flink_alpha.ApplicationCodeConfig = {
  applicationCodeConfigurationProperty: {
    applicationCodeConfiguration: {
      codeContent: {
        s3ContentLocation: {
          bucketArn: 'bucketArn',
          fileKey: 'fileKey',

          // the properties below are optional
          objectVersion: 'objectVersion',
        },
        textContent: 'textContent',
        zipFileContent: 'zipFileContent',
      },
      codeContentType: 'codeContentType',
    },
    applicationSnapshotConfiguration: {
      snapshotsEnabled: false,
    },
    environmentProperties: {
      propertyGroups: [{
        propertyGroupId: 'propertyGroupId',
        propertyMap: {
          propertyMapKey: 'propertyMap',
        },
      }],
    },
    flinkApplicationConfiguration: {
      checkpointConfiguration: {
        configurationType: 'configurationType',

        // the properties below are optional
        checkpointingEnabled: false,
        checkpointInterval: 123,
        minPauseBetweenCheckpoints: 123,
      },
      monitoringConfiguration: {
        configurationType: 'configurationType',

        // the properties below are optional
        logLevel: 'logLevel',
        metricsLevel: 'metricsLevel',
      },
      parallelismConfiguration: {
        configurationType: 'configurationType',

        // the properties below are optional
        autoScalingEnabled: false,
        parallelism: 123,
        parallelismPerKpu: 123,
      },
    },
    sqlApplicationConfiguration: {
      inputs: [{
        inputSchema: {
          recordColumns: [{
            name: 'name',
            sqlType: 'sqlType',

            // the properties below are optional
            mapping: 'mapping',
          }],
          recordFormat: {
            recordFormatType: 'recordFormatType',

            // the properties below are optional
            mappingParameters: {
              csvMappingParameters: {
                recordColumnDelimiter: 'recordColumnDelimiter',
                recordRowDelimiter: 'recordRowDelimiter',
              },
              jsonMappingParameters: {
                recordRowPath: 'recordRowPath',
              },
            },
          },

          // the properties below are optional
          recordEncoding: 'recordEncoding',
        },
        namePrefix: 'namePrefix',

        // the properties below are optional
        inputParallelism: {
          count: 123,
        },
        inputProcessingConfiguration: {
          inputLambdaProcessor: {
            resourceArn: 'resourceArn',
          },
        },
        kinesisFirehoseInput: {
          resourceArn: 'resourceArn',
        },
        kinesisStreamsInput: {
          resourceArn: 'resourceArn',
        },
      }],
    },
    vpcConfigurations: [{
      securityGroupIds: ['securityGroupIds'],
      subnetIds: ['subnetIds'],
    }],
    zeppelinApplicationConfiguration: {
      catalogConfiguration: {
        glueDataCatalogConfiguration: {
          databaseArn: 'databaseArn',
        },
      },
      customArtifactsConfiguration: [{
        artifactType: 'artifactType',

        // the properties below are optional
        mavenReference: {
          artifactId: 'artifactId',
          groupId: 'groupId',
          version: 'version',
        },
        s3ContentLocation: {
          bucketArn: 'bucketArn',
          fileKey: 'fileKey',

          // the properties below are optional
          objectVersion: 'objectVersion',
        },
      }],
      deployAsApplicationConfiguration: {
        s3ContentLocation: {
          bucketArn: 'bucketArn',

          // the properties below are optional
          basePath: 'basePath',
        },
      },
      monitoringConfiguration: {
        logLevel: 'logLevel',
      },
    },
  },
  bucket: bucket,
};

Properties

NameTypeDescription
applicationCodeConfigurationProperty๐Ÿ”นApplicationConfigurationPropertyLow-level Cloudformation ApplicationConfigurationProperty.
bucket๐Ÿ”นIBucketS3 Bucket that stores the Flink application code.

applicationCodeConfigurationProperty๐Ÿ”น

Type: ApplicationConfigurationProperty

Low-level Cloudformation ApplicationConfigurationProperty.


bucket๐Ÿ”น

Type: IBucket

S3 Bucket that stores the Flink application code.