# AppSyncAwsIamConfig

The authorization config in case the HTTP endpoint requires authorization.

- Source: [`aws-appsync/lib/data-source-common.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-appsync/lib/data-source-common.ts#L279)
- Type last changed: v2.193.0 · 30 Apr 2025

## 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 appSyncAwsIamConfig: appsync.AppSyncAwsIamConfig = {
  signingRegion: 'signingRegion',
  signingServiceName: 'signingServiceName',
};
```

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

app_sync_aws_iam_config = appsync.AppSyncAwsIamConfig(
    signing_region="signingRegion",
    signing_service_name="signingServiceName"
)
```

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.*;

AppSyncAwsIamConfig appSyncAwsIamConfig = AppSyncAwsIamConfig.builder()
        .signingRegion("signingRegion")
        .signingServiceName("signingServiceName")
        .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 appSyncAwsIamConfig = new AppSyncAwsIamConfig {
    SigningRegion = "signingRegion",
    SigningServiceName = "signingServiceName"
};
```

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"

appSyncAwsIamConfig := &AppSyncAwsIamConfig{
	SigningRegion: jsii.String("signingRegion"),
	SigningServiceName: jsii.String("signingServiceName"),
}
```

## Properties

- `signingRegion`: string (required) — The signing region for AWS IAM authorization.

- `signingServiceName`: string (required) — The signing service name for AWS IAM authorization.
