979899100101102103104105106107
.name(NAME) .targetType(ScalingPolicyTargetType.DESIRED_CAPACITY) .target("0") .build(); pa.update(policyId, scalingPolicy); Uninterruptibles.sleepUninterruptibly(5, TimeUnit.SECONDS); try { pa.execute(policyId); } catch (Exception e) {