사용자 도구

사이트 도구


aws:localstack

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
aws:localstack [2022/03/29 12:43]
kwon37xi
aws:localstack [2022/03/29 12:49] (현재)
kwon37xi [LocalStack]
줄 6: 줄 6:
   * Python 기반이지만 [[:docker|Docker]]로 모든 서버를 띄울 수 있다.   * Python 기반이지만 [[:docker|Docker]]로 모든 서버를 띄울 수 있다.
   * Unit Test 시에 JUnit 4/5 를 모두 지원하여 자동으로 컨테이너를 띄웠다 내려줄 수 있다.   * Unit Test 시에 JUnit 4/5 를 모두 지원하여 자동으로 컨테이너를 띄웠다 내려줄 수 있다.
-  * +  * [[aws:java_sdk|AWS Java SDK]]
   * [[aws:goaws|goaws]]   * [[aws:goaws|goaws]]
  
줄 108: 줄 108:
         new AwsClientBuilder.EndpointConfiguration("http://localhost:4566", Regions.AP_NORTHEAST_2.name());         new AwsClientBuilder.EndpointConfiguration("http://localhost:4566", Regions.AP_NORTHEAST_2.name());
  
-AmazonSNS amazonSNS =  AmazonSNSClient.builder()+AmazonSNS amazonSNS =  AmazonSNSClient 
 +    .standard()
     .withEndpointConfiguration(localstackEndpointConfiguration)     .withEndpointConfiguration(localstackEndpointConfiguration)
     .withCredentials(localstackCrendentialProvider)     .withCredentials(localstackCrendentialProvider)
-     .build();+    .build();
 </code> </code>
  
줄 120: 줄 121:
 AmazonS3 amazonS3 = AmazonS3ClientBuilder AmazonS3 amazonS3 = AmazonS3ClientBuilder
     .standard()     .standard()
-    .withEndpointConfiguration(null+    .withEndpointConfiguration(localstackEndpointConfiguration
-    .withCredentials(null)+    .withCredentials(localstackCrendentialProvider)
     .withPathStyleAccessEnabled(true)     .withPathStyleAccessEnabled(true)
     .build();     .build();
aws/localstack.1648525435.txt.gz · 마지막으로 수정됨: 2022/03/29 12:43 저자 kwon37xi