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:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> 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 to AWS::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 to AWS::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.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnFunctionConfigurationMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()