Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit 8d1675b

Browse files
Merge remote-tracking branch 'origin/2.3.x' into master
2 parents a0a7182 + 9597d5a commit 8d1675b

File tree

4 files changed

+57
-0
lines changed

4 files changed

+57
-0
lines changed

README.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Edit the files in the src/main/asciidoc/ directory instead.
99

1010
Spring Cloud for Amazon Web Services, part of the Spring Cloud umbrella project, eases the integration with hosted Amazon Web Services. It offers a convenient way to interact with AWS provided services using well-known Spring idioms and APIs, such as the messaging or caching API. Developers can build their application around the hosted services without having to care about infrastructure or maintenance.
1111

12+
> *Note:* Further Spring Cloud AWS versions development moved to https://github.com/awspring/spring-cloud-aws[awspring/spring-cloud-aws]. The only active branch in this repository is *2.2.x*.
13+
1214
= Checking out and building
1315
To check out the project and build it from source, do the following:
1416

docs/src/main/asciidoc/README.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
include::intro.adoc[]
44

5+
> *Note:* Further Spring Cloud AWS versions development moved to https://github.com/awspring/spring-cloud-aws[awspring/spring-cloud-aws]. The only active branch in this repository is *2.2.x*.
6+
57
= Checking out and building
68
To check out the project and build it from source, do the following:
79

docs/src/main/asciidoc/elasticache.adoc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,3 +200,31 @@ The cache cluster can then be used with the name `CacheCluster` inside the appli
200200

201201
With the configuration above the application can be deployed with multiple stacks on different environments
202202
without any configuration change inside the application.
203+
204+
=== IAM Permissions
205+
Following IAM permissions are required by Spring Cloud AWS:
206+
207+
[cols="2"]
208+
|===
209+
| To configure to ElastiCache you will need:
210+
| `elasticache:DescribeCacheClusters`
211+
212+
213+
214+
|===
215+
216+
Sample IAM policy granting access to ElastiCache:
217+
218+
[source,json,indent=0]
219+
----
220+
{
221+
"Version": "2012-10-17",
222+
"Statement": [
223+
{
224+
"Effect": "Allow",
225+
"Action": "elasticache:DescribeCacheClusters",
226+
"Resource": "yourArn"
227+
}
228+
]
229+
}
230+
----

docs/src/main/asciidoc/rds.adoc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,3 +383,28 @@ public class SampleService {
383383
The database tag `aws:cloudformation:aws:cloudformation:stack-name` is a default tag that is created if the
384384
database is configured using CloudFormation.
385385
====
386+
387+
=== IAM Permissions
388+
Following IAM permissions are required by Spring Cloud AWS:
389+
390+
[cols="2"]
391+
|===
392+
| Describe database instances
393+
| `rds:DescribeDBInstances`
394+
395+
|===
396+
397+
Sample IAM policy granting access to RDS:
398+
399+
[source,json,indent=0]
400+
----
401+
{
402+
"Version": "2012-10-17",
403+
"Statement": [
404+
{
405+
"Effect": "Allow",
406+
"Action": "rds:DescribeDBInstances",
407+
"Resource": "db-arn"
408+
},
409+
}
410+
----

0 commit comments

Comments
 (0)