Show / Hide Table of Contents

Interface IAppSyncHttpDataSourceProps

Properties for an AppSync http datasource.

Inherited Members
IAppSyncBackedDataSourceProps.ServiceRole
IAppSyncBaseDataSourceProps.Api
IAppSyncBaseDataSourceProps.Description
IAppSyncBaseDataSourceProps.Name
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAppSyncHttpDataSourceProps : IAppSyncBackedDataSourceProps, IAppSyncBaseDataSourceProps
Syntax (vb)
Public Interface IAppSyncHttpDataSourceProps Inherits IAppSyncBackedDataSourceProps, IAppSyncBaseDataSourceProps
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK.AWS.AppSync;
            using Amazon.CDK.AWS.IAM;
            using Amazon.CDK.Interfaces.AppSync;

            IApiRef apiRef;
            Role role;

            var appSyncHttpDataSourceProps = new AppSyncHttpDataSourceProps {
                Api = apiRef,
                Endpoint = "endpoint",

                // the properties below are optional
                AuthorizationConfig = new AppSyncAwsIamConfig {
                    SigningRegion = "signingRegion",
                    SigningServiceName = "signingServiceName"
                },
                Description = "description",
                Name = "name",
                ServiceRole = role
            };

Synopsis

Properties

AuthorizationConfig

The authorization config in case the HTTP endpoint requires authorization.

Endpoint

The http endpoint.

Properties

AuthorizationConfig

The authorization config in case the HTTP endpoint requires authorization.

IAppSyncAwsIamConfig? AuthorizationConfig { get; }
Property Value

IAppSyncAwsIamConfig

Remarks

Default: - none

Endpoint

The http endpoint.

string Endpoint { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX