Show / Hide Table of Contents

Interface IAwsIamConfig

(experimental) The authorization config in case the HTTP endpoint requires authorization.

Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public interface IAwsIamConfig
Syntax (vb)
Public Interface IAwsIamConfig
Remarks

Stability: Experimental

ExampleMetadata: infused

Examples
var api = new GraphqlApi(this, "api", new GraphqlApiProps {
    Name = "api",
    Schema = Schema.FromAsset(Join(__dirname, "schema.graphql"))
});

var httpDs = api.AddHttpDataSource("ds", "https://states.amazonaws.com", new HttpDataSourceOptions {
    Name = "httpDsWithStepF",
    Description = "from appsync to StepFunctions Workflow",
    AuthorizationConfig = new AwsIamConfig {
        SigningRegion = "us-east-1",
        SigningServiceName = "states"
    }
});

httpDs.CreateResolver(new BaseResolverProps {
    TypeName = "Mutation",
    FieldName = "callStepFunction",
    RequestMappingTemplate = MappingTemplate.FromFile("request.vtl"),
    ResponseMappingTemplate = MappingTemplate.FromFile("response.vtl")
});

Synopsis

Properties

SigningRegion

(experimental) The signing region for AWS IAM authorization.

SigningServiceName

(experimental) The signing service name for AWS IAM authorization.

Properties

SigningRegion

(experimental) The signing region for AWS IAM authorization.

string SigningRegion { get; }
Property Value

System.String

Remarks

Stability: Experimental

SigningServiceName

(experimental) The signing service name for AWS IAM authorization.

string SigningServiceName { get; }
Property Value

System.String

Remarks

Stability: Experimental

Back to top Generated by DocFX