Replies: 1 comment
-
String nextToken = null;
do {
DescribeInstanceTypesRequest instanceType = DescribeInstanceTypesRequest.builder()
.filters(f)
.nextToken(nextToken)
.build();
DescribeInstanceTypesResponse instanceTypesResponse = ec2.describeInstanceTypes(instanceType);
System.out.println("======================================================================");
for (InstanceTypeInfo type : instanceTypesResponse.instanceTypes()) {
System.out.println("instanceType:"+type.instanceType()+ " ProcessorInfo:"+ type.processorInfo()+ " supportedBootModes:"+type.supportedBootModes()
// +"VCpuInfo:"+type.vCpuInfo()+"\n"
// +"MemoryInfo:"+type.memoryInfo()
);
}
nextToken = instanceTypesResponse.nextToken();
} while (nextToken!=null); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
aws cli command
Java code
The AWS CLI command returned 168 results, but the Java SDK only returned 91 results. Did I make a mistake somewhere?
Beta Was this translation helpful? Give feedback.
All reactions