# AppsyncFunctionAttributes

The attributes for imported AppSync Functions.

- Source: [`aws-appsync/lib/appsync-function.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-appsync/lib/appsync-function.ts#L88)
- Type last changed: v2.60.0 · 12 Jan 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `functionArn`: string (required) — the ARN of the AppSync function.
