Example usage for com.amazonaws.services.cloudformation AmazonCloudFormation setEndpoint

List of usage examples for com.amazonaws.services.cloudformation AmazonCloudFormation setEndpoint

Introduction

In this page you can find the example usage for com.amazonaws.services.cloudformation AmazonCloudFormation setEndpoint.

Prototype

@Deprecated
void setEndpoint(String endpoint);

Source Link

Document

Overrides the default endpoint for this client ("https://cloudformation.us-east-1.amazonaws.com").

Usage

From source file:com.carrotgarden.maven.aws.cfn.CarrotCloudForm.java

License:BSD License

private AmazonCloudFormation newClient() {

    final AmazonCloudFormation amazonClient = new AmazonCloudFormationAsyncClient(credentials);

    logger.info("stack endpoint : {}", endpoint);

    amazonClient.setEndpoint(endpoint);

    return amazonClient;

}