How to use where clause in Knex
Create refunds with Stripe
Load HTML with Cheerio
How to send POST request with Axios
Find intersection of array in Lodash
Powered by Official white Bloop logo with a period

Terms / Privacy / Search / Support

  • new tasks.SageMakerCreateEndpoint(this, 'SagemakerEndpoint', {
      endpointName: sfn.JsonPath.stringAt('$.EndpointName'),
      endpointConfigName: sfn.JsonPath.stringAt('$.EndpointConfigName'),
    });
    
    Docs
    0
  • new tasks.SageMakerUpdateEndpoint(this, 'SagemakerEndpoint', {
      endpointName: sfn.JsonPath.stringAt('$.Endpoint.Name'),
      endpointConfigName: sfn.JsonPath.stringAt('$.Endpoint.EndpointConfig'),
    });
    
    Docs
    0
  • new tasks.SageMakerCreateEndpointConfig(this, 'SagemakerEndpointConfig', {
      endpointConfigName: 'MyEndpointConfig',
      productionVariants: [{
      initialInstanceCount: 2,
      instanceType: ec2.InstanceType.of(ec2.InstanceClass.M5, ec2.InstanceSize.XLARGE),
        modelName: 'MyModel',
        variantName: 'awesome-variant',
      }],
    });
    
    Docs
    0
  • new tasks.SageMakerCreateModel(this, 'Sagemaker', {
      modelName: 'MyModel',
      primaryContainer: new tasks.ContainerDefinition({
        image: tasks.DockerImage.fromJsonExpression(sfn.JsonPath.stringAt('$.Model.imageName')),
        mode: tasks.Mode.SINGLE_MODEL,
        modelS3Location: tasks.S3Location.fromJsonExpression('$.TrainingJob.ModelArtifacts.S3ModelArtifacts'),
      }),
    });
    
    Docs
    0
  • new tasks.SageMakerCreateTrainingJob(this, 'TrainSagemaker', {
      trainingJobName: sfn.JsonPath.stringAt('$.JobName'),
      algorithmSpecification: {
        algorithmName: 'BlazingText',
        trainingInputMode: tasks.InputMode.FILE,
      },
      inputDataConfig: [{
        channelName: 'train',
        dataSource: {
          s3DataSource: {
            s3DataType: tasks.S3DataType.S3_PREFIX,
            s3Location: tasks.S3Location.fromJsonExpression('$.S3Bucket'),
          },
        },
      }],
      outputDataConfig: {
        s3OutputLocation: tasks.S3Location.fromBucket(s3.Bucket.fromBucketName(this, 'Bucket', 'mybucket'), 'myoutputpath'),
      },
      resourceConfig: {
        instanceCount: 1,
        instanceType: new ec2.InstanceType(sfn.JsonPath.stringAt('$.InstanceType')),
        volumeSize: Size.gibibytes(50),
      }, // optional: default is 1 instance of EC2 `M4.XLarge` with `10GB` volume
      stoppingCondition: {
        maxRuntime: Duration.hours(2),
      }, // optional: default is 1 hour
    });
    
    Docs
    0
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples