Skip to content
v2.278.0

CfnResolverPropsMixin Mixin ​

The AWS::AppSync::Resolver resource defines the logical GraphQL resolver that you attach to fields in a schema.

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

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 .

Initializer ​

ts
new CfnResolverPropsMixin(props: CfnResolverMixinProps, options?: CfnPropertyMixinOptions)
python
CfnResolverPropsMixin(props: CfnResolverMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnResolverPropsMixin(CfnResolverMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnResolverPropsMixin(CfnResolverMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnResolverPropsMixin(Props CfnResolverMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct) #
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *bool static #
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool #
Check if this mixin supports the given construct.