Package io.micronaut.starter.feature.aws
Class LambdaFunctionUrl
java.lang.Object
io.micronaut.starter.feature.aws.CdkFeature
io.micronaut.starter.feature.aws.LambdaFunctionUrl
- All Implemented Interfaces:
io.micronaut.core.naming.Described
,io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
,Feature
,OneOfFeature
,AwsApiFeature
,AwsCloudFeature
,AwsFeature
,AwsLambdaEventFeature
,LambdaTrigger
,CloudFeature
,LambdaRuntimeMainClass
@Requires(property="micronaut.starter.feature.aws.lambda.function.url.enabled",
value="true",
defaultValue="true")
@Singleton
public class LambdaFunctionUrl
extends CdkFeature
implements AwsApiFeature, LambdaRuntimeMainClass
-
Field Summary
FieldsFields inherited from interface io.micronaut.starter.feature.aws.AwsApiFeature
MICRONAUT_AWS_APIGATEWAY
Fields inherited from interface io.micronaut.starter.feature.aws.AwsFeature
GROUP_ID_AWS_SDK_V2, GROUP_ID_MICRONAUT_AWS
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull String
@NonNull String
getName()
The name of the feature.getThirdPartyDocumentation
(GeneratorContext generatorContext) getTitle()
boolean
This method must be implemented to ensure it is only selectable for the desired application types.Methods inherited from class io.micronaut.starter.feature.aws.CdkFeature
processSelectedFeatures
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.starter.feature.aws.AwsApiFeature
apply, getFrameworkDocumentation
Methods inherited from interface io.micronaut.starter.feature.aws.AwsCloudFeature
getCloud
Methods inherited from interface io.micronaut.starter.feature.aws.AwsLambdaEventFeature
getCategory, getFeatureClass
Methods inherited from interface io.micronaut.core.naming.Described
getDescription
Methods inherited from interface io.micronaut.projectgen.core.feature.Feature
getOrder, isCommunity, isPreview, isVisible, processSelectedFeatures
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
LambdaFunctionUrl
-
-
Method Details
-
getName
Description copied from interface:Feature
The name of the feature. It must be unique. -
getTitle
-
getDescription
- Specified by:
getDescription
in interfaceio.micronaut.core.naming.Described
- Specified by:
getDescription
in interfaceFeature
-
getThirdPartyDocumentation
- Specified by:
getThirdPartyDocumentation
in interfaceAwsApiFeature
- Specified by:
getThirdPartyDocumentation
in interfaceFeature
- Parameters:
generatorContext
- Generator Context- Returns:
- Returns a link to third party. E.g. https://hazelcast.org
-
supports
Description copied from interface:Feature
This 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.- Specified by:
supports
in interfaceAwsApiFeature
- Specified by:
supports
in interfaceFeature
- Parameters:
options
- Options- Returns:
- True if the feature can be selected by the user
-
getLambdaRuntimeMainClass
- Specified by:
getLambdaRuntimeMainClass
in interfaceLambdaRuntimeMainClass
-