public static AmazonAutoScaling autoScaling ( AWSCredentials credentials ) { AmazonAutoScaling client = new AmazonAutoScalingClient ( credentials ) ; client . setEndpoint ( System . getProperty ( AwsPropertyKeys . AWS_AUTO_SCALING_END_POINT . getBundle ( ) , "autoscaling.amazonaws.com" ) ) ; return client ; }
Get an AutoScaling client whose endpoint is configured based on properties .