Class CfnFunctionConfigurationPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnFunctionConfigurationPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:55.977Z")
@Stability(Stable)
public class CfnFunctionConfigurationPropsMixin
extends Mixin
implements software.constructs.IMixin
The
AWS::AppSync::FunctionConfiguration resource defines the functions in GraphQL APIs to perform certain operations.
You can use pipeline resolvers to attach functions. For more information, see Pipeline Resolvers in the AWS AppSync Developer Guide .
When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.
See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.appsync.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnFunctionConfigurationPropsMixin cfnFunctionConfigurationPropsMixin = CfnFunctionConfigurationPropsMixin.Builder.create(CfnFunctionConfigurationMixinProps.builder()
.apiId("apiId")
.code("code")
.codeS3Location("codeS3Location")
.dataSourceName("dataSourceName")
.description("description")
.functionVersion("functionVersion")
.maxBatchSize(123)
.name("name")
.requestMappingTemplate("requestMappingTemplate")
.requestMappingTemplateS3Location("requestMappingTemplateS3Location")
.responseMappingTemplate("responseMappingTemplate")
.responseMappingTemplateS3Location("responseMappingTemplateS3Location")
.runtime(AppSyncRuntimeProperty.builder()
.name("name")
.runtimeVersion("runtimeVersion")
.build())
.syncConfig(SyncConfigProperty.builder()
.conflictDetection("conflictDetection")
.conflictHandler("conflictHandler")
.lambdaConflictHandlerConfig(LambdaConflictHandlerConfigProperty.builder()
.lambdaConflictHandlerArn("lambdaConflictHandlerArn")
.build())
.build())
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDescribes a runtime used by an AWS AppSync resolver or AWS AppSync function.static final classA fluent builder forCfnFunctionConfigurationPropsMixin.static interfaceTheLambdaConflictHandlerConfigobject when configuringLAMBDAas the Conflict Handler.static interfaceDescribes a Sync configuration for a resolver.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::AppSync::FunctionConfiguration.CfnFunctionConfigurationPropsMixin(CfnFunctionConfigurationMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::AppSync::FunctionConfiguration.protectedCfnFunctionConfigurationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnFunctionConfigurationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnFunctionConfigurationMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnFunctionConfigurationPropsMixin
protected CfnFunctionConfigurationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFunctionConfigurationPropsMixin
protected CfnFunctionConfigurationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFunctionConfigurationPropsMixin
@Stability(Stable) public CfnFunctionConfigurationPropsMixin(@NotNull CfnFunctionConfigurationMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::AppSync::FunctionConfiguration.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnFunctionConfigurationPropsMixin
@Stability(Stable) public CfnFunctionConfigurationPropsMixin(@NotNull CfnFunctionConfigurationMixinProps props) Create a mixin to apply properties toAWS::AppSync::FunctionConfiguration.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-