Package io.micronaut.starter.feature.aws
Class Cdk
java.lang.Object
io.micronaut.starter.feature.aws.Cdk
- All Implemented Interfaces:
io.micronaut.core.naming.Described,io.micronaut.core.naming.Named,io.micronaut.core.order.Ordered,Feature,MultiProjectFeature,InfrastructureAsCodeFeature
@Requires(property="micronaut.starter.feature.aws.cdk.enabled",
value="true",
defaultValue="true")
@Singleton
public class Cdk
extends Object
implements MultiProjectFeature, InfrastructureAsCodeFeature
Micronaut feature that provides support for AWS Cloud Development Kit (CDK)
to enable infrastructure-as-code for multi-project setups.
-
Field Summary
FieldsFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull String@NonNull StringgetName()The name of the feature.getThirdPartyDocumentation(GeneratorContext generatorContext) getTitle()booleanThis method must be implemented to ensure it is only selectable for the desired application types.booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface io.micronaut.projectgen.core.feature.Feature
apply, getFrameworkDocumentation, isCommunity, isPreview, isVisible, processSelectedFeaturesMethods inherited from interface io.micronaut.starter.feature.InfrastructureAsCodeFeature
getOrder
-
Field Details
-
INFRA_MODULE
- See Also:
-
NAME
- See Also:
-
-
Constructor Details
-
Cdk
-
-
Method Details
-
getName
Description copied from interface:FeatureThe name of the feature. It must be unique. -
getTitle
-
getDescription
- Specified by:
getDescriptionin interfaceio.micronaut.core.naming.Described- Specified by:
getDescriptionin interfaceFeature
-
supports
Description copied from interface:FeatureThis method must be implemented to ensure it is only selectable for the desired application types. This method is not used for determining if a default feature should be applied. -
getCategory
- Specified by:
getCategoryin interfaceFeature- Returns:
- The Category to which the feature belongs to.
-
useVersionCatalog
public boolean useVersionCatalog()- Returns:
- Whether the build should use Micronaut Gradle Version Catalog.
-
getThirdPartyDocumentation
- Specified by:
getThirdPartyDocumentationin interfaceFeature- Parameters:
generatorContext- Generator Context- Returns:
- Returns a link to third party. E.g. https://hazelcast.org
-