Skip to content
v2.277.0

AppSyncAwsIamConfig Struct ​

The authorization config in case the HTTP endpoint requires authorization.

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 appSyncAwsIamConfig: appsync.AppSyncAwsIamConfig = {
  signingRegion: 'signingRegion',
  signingServiceName: 'signingServiceName',
};
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
// 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();
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"
};
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 ​

signingRegionstringsigning_regionstrsigningRegionStringSigningRegionstringSigningRegion*stringrequired#
The signing region for AWS IAM authorization.
signingServiceNamestringsigning_service_namestrsigningServiceNameStringSigningServiceNamestringSigningServiceName*stringrequired#
The signing service name for AWS IAM authorization.