Class ImdsPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<ImdsUtils>
org.springframework.core.env.EnumerablePropertySource<ImdsUtils>
io.awspring.cloud.core.config.AwsPropertySource<ImdsPropertySource,ImdsUtils>
io.awspring.cloud.autoconfigure.imds.ImdsPropertySource
Adds properties from the EC2 Instance MetaData Service (IDMS) when it is available.
- Since:
- 3.1.0
- Author:
- Ken Krueger
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
PropertySource.StubPropertySource -
Field Summary
Fields inherited from class org.springframework.core.env.PropertySource
logger, name, source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.core.env.EnumerablePropertySource
containsProperty
-
Constructor Details
-
ImdsPropertySource
-
-
Method Details
-
copy
Description copied from class:AwsPropertySourceCreates a non-initialized copy of the property source.- Specified by:
copyin classAwsPropertySource<ImdsPropertySource,ImdsUtils> - Returns:
- a property source
-
init
public void init()Description copied from class:AwsPropertySourceInitializes invalid input: '&' fetches properties.- Specified by:
initin classAwsPropertySource<ImdsPropertySource,ImdsUtils>
-
getPropertyNames
- Specified by:
getPropertyNamesin classEnumerablePropertySource<ImdsUtils>
-
getProperty
- Specified by:
getPropertyin classPropertySource<ImdsUtils>
-