Skip to content
v2.277.0

AppsyncFunctionAttributes Struct ​

The attributes for imported AppSync Functions.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';
const appsyncFunctionAttributes: appsync.AppsyncFunctionAttributes = {
  functionArn: 'functionArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appsync as appsync

appsync_function_attributes = appsync.AppsyncFunctionAttributes(
    function_arn="functionArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appsync.*;

AppsyncFunctionAttributes appsyncFunctionAttributes = AppsyncFunctionAttributes.builder()
        .functionArn("functionArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;

var appsyncFunctionAttributes = new AppsyncFunctionAttributes {
    FunctionArn = "functionArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

appsyncFunctionAttributes := &AppsyncFunctionAttributes{
	FunctionArn: jsii.String("functionArn"),
}

Properties ​

functionArnstringfunction_arnstrfunctionArnStringFunctionArnstringFunctionArn*stringrequired#
the ARN of the AppSync function.