Module AppSync.DataSource

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html

type lambda_config = {
  1. lambda_function_arn : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-lambdaconfig.html

and rds_http_endpoint_config = {
  1. aws_region : string;
  2. schema : string option;
  3. database_name : string option;
  4. db_cluster_identifier : string;
  5. aws_secret_store_arn : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-rdshttpendpointconfig.html

and open_search_service_config = {
  1. aws_region : string;
  2. endpoint : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-opensearchserviceconfig.html

and elasticsearch_config = {
  1. aws_region : string;
  2. endpoint : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-elasticsearchconfig.html

and aws_iam_config = {
  1. signing_region : string option;
  2. signing_service_name : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-awsiamconfig.html

and event_bridge_config = {
  1. event_bus_arn : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-eventbridgeconfig.html

and delta_sync_config = {
  1. base_table_ttl : string;
  2. delta_sync_table_ttl : string;
  3. delta_sync_table_name : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-deltasyncconfig.html

and authorization_config = {
  1. aws_iam_config : aws_iam_config option;
  2. authorization_type : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-authorizationconfig.html

and dynamo_db_config = {
  1. table_name : string;
  2. aws_region : string;
  3. versioned : bool option;
  4. delta_sync_config : delta_sync_config option;
  5. use_caller_credentials : bool option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-dynamodbconfig.html

and relational_database_config = {
  1. rds_http_endpoint_config : rds_http_endpoint_config option;
  2. relational_database_source_type : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-relationaldatabaseconfig.html

and http_config = {
  1. endpoint : string;
  2. authorization_config : authorization_config option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-httpconfig.html

type properties = {
  1. open_search_service_config : open_search_service_config option;
  2. description : string option;
  3. service_role_arn : string option;
  4. metrics_config : string option;
  5. name : string;
  6. type_ : string;
  7. event_bridge_config : event_bridge_config option;
  8. http_config : http_config option;
  9. relational_database_config : relational_database_config option;
  10. lambda_config : lambda_config option;
  11. api_id : string;
  12. dynamo_db_config : dynamo_db_config option;
  13. 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 ]
type attributes = {
  1. ref_ : string;
  2. data_source_arn : string;
  3. name : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string