io.linguarobot.aws.cdk.maven.context.ContextProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-cdk-maven-plugin Show documentation
Show all versions of aws-cdk-maven-plugin Show documentation
The AWS CDK Maven plugin produces and deploys CloudFormation templates based on the cloud infrastructure defined
by means of CDK. The goal of the project is to improve the experience of Java developers while working with
CDK by eliminating the need for installing Node.js and interacting with the CDK application by means of CDK
Toolkit.
package io.linguarobot.aws.cdk.maven.context;
import javax.json.JsonObject;
import javax.json.JsonValue;
/**
* Contextual information provider.
*/
public interface ContextProvider {
/**
* Provides context value based on the given set of properties.
*
* The implementation is expected to throw an exception if an error occurs while providing the value or if some of
* the properties are missing or have invalid values.
*
* @param properties the properties based on which the contextual information will be provided
* @return the context value represented as a JSON
*/
JsonValue getContextValue(JsonObject properties);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy