AppSync.DataSource
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-lambdaconfig.html
and rds_http_endpoint_config = {
aws_region : string;
schema : string option;
database_name : string option;
db_cluster_identifier : string;
aws_secret_store_arn : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-rdshttpendpointconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-opensearchserviceconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-elasticsearchconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-awsiamconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-eventbridgeconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-deltasyncconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-authorizationconfig.html
and dynamo_db_config = {
table_name : string;
aws_region : string;
versioned : bool option;
delta_sync_config : delta_sync_config option;
use_caller_credentials : bool option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-dynamodbconfig.html
and relational_database_config = {
rds_http_endpoint_config : rds_http_endpoint_config option;
relational_database_source_type : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-relationaldatabaseconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-httpconfig.html
type properties = {
open_search_service_config : open_search_service_config option;
description : string option;
service_role_arn : string option;
metrics_config : string option;
name : string;
type_ : string;
event_bridge_config : event_bridge_config option;
http_config : http_config option;
relational_database_config : relational_database_config option;
lambda_config : lambda_config option;
api_id : string;
dynamo_db_config : dynamo_db_config option;
elasticsearch_config : elasticsearch_config option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html;
val make_properties :
?open_search_service_config:open_search_service_config ->
?description:string ->
?service_role_arn:string ->
?metrics_config:string ->
name:string ->
type_:string ->
?event_bridge_config:event_bridge_config ->
?http_config:http_config ->
?relational_database_config:relational_database_config ->
?lambda_config:lambda_config ->
api_id:string ->
?dynamo_db_config:dynamo_db_config ->
?elasticsearch_config:elasticsearch_config ->
unit ->
properties
val make_lambda_config : lambda_function_arn:string -> unit -> lambda_config
val make_rds_http_endpoint_config :
aws_region:string ->
?schema:string ->
?database_name:string ->
db_cluster_identifier:string ->
aws_secret_store_arn:string ->
unit ->
rds_http_endpoint_config
val make_open_search_service_config :
aws_region:string ->
endpoint:string ->
unit ->
open_search_service_config
val make_elasticsearch_config :
aws_region:string ->
endpoint:string ->
unit ->
elasticsearch_config
val make_aws_iam_config :
?signing_region:string ->
?signing_service_name:string ->
unit ->
aws_iam_config
val make_event_bridge_config :
event_bus_arn:string ->
unit ->
event_bridge_config
val make_delta_sync_config :
base_table_ttl:string ->
delta_sync_table_ttl:string ->
delta_sync_table_name:string ->
unit ->
delta_sync_config
val make_authorization_config :
?aws_iam_config:aws_iam_config ->
authorization_type:string ->
unit ->
authorization_config
val make_dynamo_db_config :
table_name:string ->
aws_region:string ->
?versioned:bool ->
?delta_sync_config:delta_sync_config ->
?use_caller_credentials:bool ->
unit ->
dynamo_db_config
val make_relational_database_config :
?rds_http_endpoint_config:rds_http_endpoint_config ->
relational_database_source_type:string ->
unit ->
relational_database_config
val make_http_config :
endpoint:string ->
?authorization_config:authorization_config ->
unit ->
http_config
val yojson_of_lambda_config :
lambda_config ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_rds_http_endpoint_config :
rds_http_endpoint_config ->
Yojson.Safe.t
val yojson_of_open_search_service_config :
open_search_service_config ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_elasticsearch_config :
elasticsearch_config ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_aws_iam_config : aws_iam_config -> Yojson.Safe.t
val yojson_of_event_bridge_config :
event_bridge_config ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_delta_sync_config : delta_sync_config -> Yojson.Safe.t
val yojson_of_authorization_config : authorization_config -> Yojson.Safe.t
val yojson_of_dynamo_db_config :
dynamo_db_config ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_relational_database_config :
relational_database_config ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_http_config :
http_config ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes