import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class CaptureOption { CaptureMode ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ProductionVariant { ModelName ! : Value < string > ; VariantName ! : Value < string > ; InitialInstanceCount ! : Value < number > ; InstanceType ! : Value < string > ; AcceleratorType ? : Value < string > ; InitialVariantWeight ! : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class CaptureContentTypeHeader { JsonContentTypes ? : List < Value < string > > ; CsvContentTypes ? : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DataCaptureConfig { CaptureOptions ! : List < CaptureOption > ; KmsKeyId ? : Value < string > ; DestinationS3Uri ! : Value < string > ; InitialSamplingPercentage ! : Value < number > ; CaptureContentTypeHeader ? : CaptureContentTypeHeader ; EnableCapture ? : Value < boolean > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface EndpointConfigProperties { DataCaptureConfig ? : DataCaptureConfig ; ProductionVariants : List < ProductionVariant > ; KmsKeyId ? : Value < string > ; EndpointConfigName ? : Value < string > ; Tags ? : List < ResourceTag > ; } export default class EndpointConfig extends ResourceBase < EndpointConfigProperties > { static CaptureOption = CaptureOption ; static ProductionVariant = ProductionVariant ; static CaptureContentTypeHeader = CaptureContentTypeHeader ; static DataCaptureConfig = DataCaptureConfig ; constructor ( properties ) { super ( 'AWS::SageMaker::EndpointConfig' , properties ) ; } }