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

Commit ed79bfe

Browse files
committed
Add docs
1 parent 27a8d4c commit ed79bfe

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

docs/src/main/asciidoc/_configprops.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,12 @@
2929
|cloud.aws.sqs.region || The specific region for SQS integration.
3030
|cloud.aws.stack.auto | true | Enables the automatic stack name detection for the application.
3131
|cloud.aws.stack.name | | The name of the manually configured stack name that will be used to retrieve the resources.
32+
|spring.cloud.aws.parameterstore.default-context | application |
33+
|spring.cloud.aws.parameterstore.enabled | true | Is AWS Parameter Store support enabled.
34+
|spring.cloud.aws.parameterstore.fail-fast | true | Throw exceptions during config lookup if true, otherwise, log warnings.
35+
|spring.cloud.aws.parameterstore.name | | Alternative to spring.application.name to use in looking up values in AWS Parameter Store.
36+
|spring.cloud.aws.parameterstore.prefix | /config | Prefix indicating first level for every property. Value must start with a forward slash followed by a valid path segment or be empty. Defaults to "/config".
37+
|spring.cloud.aws.parameterstore.profile-separator | _ |
38+
|spring.cloud.aws.parameterstore.region | | The specific region for Parameter Store integration.
3239

3340
|===

docs/src/main/asciidoc/spring-cloud-aws.adoc

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,49 @@ You can configure the following settings in a Spring Cloud `bootstrap.properties
707707
|`aws.paramstore.enabled`
708708
|`true`
709709
|Can be used to disable the Parameter Store Configuration support even though the auto-configuration is on the classpath.
710+
711+
|`aws.paramstore.region`
712+
|`_`
713+
|The specific region for Parameter Store integration.
714+
|===
715+
716+
There is a new starter `spring-cloud-starter-aws-parameter-store` and it offers new configuration properties.
717+
718+
[cols="3*", options="header"]
719+
|===
720+
|property
721+
|default
722+
|explanation
723+
724+
|`spring.cloud.aws.parameterstore.prefix`
725+
|`/config`
726+
|Prefix indicating first level for every property loaded from the Parameter Store.
727+
Value must start with a forward slash followed by one or more valid path segments or be empty.
728+
729+
|`spring.cloud.aws.parameterstore.defaultContext`
730+
|`application`
731+
|Name of the context that defines properties shared across all services
732+
733+
|`spring.cloud.aws.parameterstore.profileSeparator`
734+
|`_`
735+
|String that separates an appended profile from the context name. Can only contain
736+
dots, dashes, forward slashes, backward slashes and underscores next to alphanumeric characters.
737+
738+
|`spring.cloud.aws.parameterstore.failFast`
739+
|`true`
740+
|Indicates if an error while retrieving the parameters should fail starting the application.
741+
742+
|`spring.cloud.aws.parameterstore.name`
743+
|the configured value for `spring.application.name`
744+
|Name to use when constructing the path for the properties to look up for this specific service.
745+
746+
|`spring.cloud.aws.parameterstore.enabled`
747+
|`true`
748+
|Can be used to disable the Parameter Store Configuration support even though the auto-configuration is on the classpath.
749+
750+
|`spring.cloud.aws.parameterstore.region`
751+
|`_`
752+
|The specific region for Parameter Store integration.
710753
|===
711754

712755
[TIP]

0 commit comments

Comments
 (0)