Questions tagged [aws-java-sdk]

The AWS SDK for Java provides a Java API for Amazon Web Services. Using the SDK, you can easily build Java applications that work with Amazon S3, Amazon EC2, DynamoDB, and more.

The AWS SDK for Java provides a Java API for Amazon Web Services. Using the SDK, you can easily build Java applications that work with Amazon S3, Amazon EC2, DynamoDB, and more.

Links

548 questions
-1
votes
1 answer

PolicySimulator for ec2:AttachVolume

I am trying to validate action ec2:AttachVolume using policy simulator sdk java API. my policy looks as follows { "Action": [ "ec2:AttachVolume" ] }, "Effect": "Allow", …
-1
votes
1 answer

Overwrite a file on S3 bucket

I am developing a feature where we need to back up our files on S3 bucket with the key pattern as "tmp/yyyy-mm-dd.file_type.fileName" Now if I am running my app today for backing up the fileName "abc.txt", it will store that as the pattern…
user2594
  • 386
  • 1
  • 5
  • 18
-1
votes
1 answer

How to use AWS batch in java class(lambda function) to submit batch job

I read the output from stepfunctions using envContainerOverrides and then I am calling my batch job with this nodejscode: Here I am reading the environment variables which is passed to the batchjob. Stepfunctions…
nad87563
  • 3,672
  • 7
  • 32
  • 54
-1
votes
1 answer

aws credentials not found error

I have a jar uploaded to aws lambda but it keeps throwing below error: { "errorMessage": "java.lang.NullPointerException", "errorType": "java.lang.NullPointerException", "stackTrace": [ …
Gabriel Wu
  • 1,938
  • 18
  • 30
-1
votes
2 answers

Using AWS Java's SDKs, how can I terminate the CloudFormation stack of the current instance?

Uses on-line decomentation I come up with the following code to terminate the current EC2 Instance: public class Ec2Utility { static private final String LOCAL_META_DATA_ENDPOINT = "http://169.254.169.254/latest/meta-data/"; static private…
Roee Gavirel
  • 18,955
  • 12
  • 67
  • 94
-1
votes
1 answer

AWS error when connecting to DYNAMODB from cloud

I am developing an web application for the AWS cloud , i have developed the application in local ENV and now moving it to the cloud. I am using dynamoDB as the database. I have done all the developments in local and now i am moving to the cloud. The…
-2
votes
1 answer

Hit AWS ECS load balancer endpoint using java

I am trying to hit a load balancer endpoint using AWS SDK for java, however I dont see any API for in the AmazonECSClient class. I see the option to set endpoint, region, credentials etc. AmazonECSClient.builder() .withCredentials(new…
user2133404
  • 1,816
  • 6
  • 34
  • 60
-2
votes
1 answer

How to change AWS S3 V2 Java api's limit of 1000 while listing objects [For Bucket having more than 1 Billion objects]?

I am working on project where I need to download keys from Amazon S3 bucket, which has more than 1 Billion objects. I wrote a code using Java V2 API but it doesn't help as it downloads only 1000 keys at a time. Its takes days to get list of all keys…
Kapil
  • 193
  • 2
  • 14
1 2 3
36
37