Package com.nike.pdm.localstack.aws
Class AwsClientFactory
- java.lang.Object
-
- com.nike.pdm.localstack.aws.AwsClientFactory
-
public final class AwsClientFactory extends java.lang.Object
Factory to create clients for supported AWS services.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.amazonaws.services.cloudformation.AmazonCloudFormation
cloudformation(org.gradle.api.Project project)
Gets a client for the AWS CloudFormation service.com.amazonaws.services.dynamodbv2.AmazonDynamoDB
dynamoDb(org.gradle.api.Project project)
Gets a client for the AWS DynamoDB service.static AwsClientFactory
getInstance()
com.amazonaws.services.s3.AmazonS3
s3(org.gradle.api.Project project)
Gets a client for the AWS S3 service.com.amazonaws.services.sns.AmazonSNS
sns(org.gradle.api.Project project)
Gets a client for the AWS SNS service.com.amazonaws.services.sqs.AmazonSQS
sqs(org.gradle.api.Project project)
Gets a client for the AWS SQS service.
-
-
-
Method Detail
-
getInstance
public static AwsClientFactory getInstance()
-
cloudformation
public com.amazonaws.services.cloudformation.AmazonCloudFormation cloudformation(org.gradle.api.Project project)
Gets a client for the AWS CloudFormation service.- Parameters:
project
- gradle project- Returns:
- aws client
-
dynamoDb
public com.amazonaws.services.dynamodbv2.AmazonDynamoDB dynamoDb(org.gradle.api.Project project)
Gets a client for the AWS DynamoDB service.- Parameters:
project
- gradle project- Returns:
- aws client
-
s3
public com.amazonaws.services.s3.AmazonS3 s3(org.gradle.api.Project project)
Gets a client for the AWS S3 service.- Parameters:
project
- gradle project- Returns:
- aws client
-
sqs
public com.amazonaws.services.sqs.AmazonSQS sqs(org.gradle.api.Project project)
Gets a client for the AWS SQS service.- Parameters:
project
- gradle project- Returns:
- aws client
-
sns
public com.amazonaws.services.sns.AmazonSNS sns(org.gradle.api.Project project)
Gets a client for the AWS SNS service.- Parameters:
project
- gradle project- Returns:
- aws client
-
-