CreateClient.java - AWS Code Sample

CreateClient.java

CreateClient.java demonstrates how to create a client for KMS.

package aws.example.kms; import com.amazonaws.services.kms.AWSKMS; import com.amazonaws.services.kms.AWSKMSClientBuilder; public class CreateClient { public static void main(String[] args) { AWSKMS kmsClient = AWSKMSClientBuilder.standard().build(); } }

Sample Details

Service: kms

Last tested: 2019-04-08

Author: AWS

Type: full-example