Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PutManagedScalingPolicyCommand

Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed scaling policy defines the limits for resources, such as EC2 instances that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

example

Use a bare-bones client and the command you need to make an API call.

import { EMRClient, PutManagedScalingPolicyCommand } from "@aws-sdk/client-emr"; // ES Modules import
// const { EMRClient, PutManagedScalingPolicyCommand } = require("@aws-sdk/client-emr"); // CommonJS import
const client = new EMRClient(config);
const command = new PutManagedScalingPolicyCommand(input);
const response = await client.send(command);
see

PutManagedScalingPolicyCommandInput for command's input shape.

see

PutManagedScalingPolicyCommandOutput for command's response shape.

see

config for EMRClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: PutManagedScalingPolicyCommandInput

Readonly middlewareStack