// Code generated by generators/singular-data-source/main.go; DO NOT EDIT. package appflow import ( "context" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" . "github.com/hashicorp/terraform-provider-awscc/internal/generic" "github.com/hashicorp/terraform-provider-awscc/internal/registry" ) func init() { registry.AddDataSourceTypeFactory("awscc_appflow_flow", flowDataSourceType) } // flowDataSourceType returns the Terraform awscc_appflow_flow data source type. // This Terraform data source type corresponds to the CloudFormation AWS::AppFlow::Flow resource type. func flowDataSourceType(ctx context.Context) (tfsdk.DataSourceType, error) { attributes := map[string]tfsdk.Attribute{ "description": { // Property: Description // CloudFormation resource type schema: // { // "description": "Description of the flow.", // "maxLength": 2048, // "pattern": "[\\w!@#\\-.?,\\s]*", // "type": "string" // } Description: "Description of the flow.", Type: types.StringType, Computed: true, }, "destination_flow_config_list": { // Property: DestinationFlowConfigList // CloudFormation resource type schema: // { // "description": "List of Destination connectors of the flow.", // "items": { // "additionalProperties": false, // "description": "Configurations of destination connector.", // "properties": { // "ConnectorProfileName": { // "description": "Name of destination connector profile", // "maxLength": 256, // "pattern": "[\\w/!@#+=.-]+", // "type": "string" // }, // "ConnectorType": { // "description": "Destination connector type", // "enum": [ // "SAPOData", // "Salesforce", // "Singular", // "Slack", // "Redshift", // "S3", // "Marketo", // "Googleanalytics", // "Zendesk", // "Servicenow", // "Datadog", // "Trendmicro", // "Snowflake", // "Dynatrace", // "Infornexus", // "Amplitude", // "Veeva", // "EventBridge", // "Upsolver", // "LookoutMetrics" // ], // "type": "string" // }, // "DestinationConnectorProperties": { // "description": "Destination connector details", // "properties": { // "EventBridge": { // "additionalProperties": false, // "properties": { // "ErrorHandlingConfig": { // "additionalProperties": false, // "properties": { // "BucketName": { // "maxLength": 63, // "minLength": 3, // "pattern": "\\S+", // "type": "string" // }, // "BucketPrefix": { // "maxLength": 512, // "type": "string" // }, // "FailOnFirstError": { // "type": "boolean" // } // }, // "type": "object" // }, // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "LookoutMetrics": { // "additionalProperties": false, // "properties": { // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "type": "object" // }, // "Marketo": { // "additionalProperties": false, // "properties": { // "ErrorHandlingConfig": { // "additionalProperties": false, // "properties": { // "BucketName": { // "maxLength": 63, // "minLength": 3, // "pattern": "\\S+", // "type": "string" // }, // "BucketPrefix": { // "maxLength": 512, // "type": "string" // }, // "FailOnFirstError": { // "type": "boolean" // } // }, // "type": "object" // }, // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "Redshift": { // "additionalProperties": false, // "properties": { // "BucketPrefix": { // "maxLength": 512, // "type": "string" // }, // "ErrorHandlingConfig": { // "additionalProperties": false, // "properties": { // "BucketName": { // "maxLength": 63, // "minLength": 3, // "pattern": "\\S+", // "type": "string" // }, // "BucketPrefix": { // "maxLength": 512, // "type": "string" // }, // "FailOnFirstError": { // "type": "boolean" // } // }, // "type": "object" // }, // "IntermediateBucketName": { // "maxLength": 63, // "minLength": 3, // "pattern": "\\S+", // "type": "string" // }, // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object", // "IntermediateBucketName" // ], // "type": "object" // }, // "S3": { // "additionalProperties": false, // "properties": { // "BucketName": { // "maxLength": 63, // "minLength": 3, // "pattern": "\\S+", // "type": "string" // }, // "BucketPrefix": { // "maxLength": 512, // "type": "string" // }, // "S3OutputFormatConfig": { // "additionalProperties": false, // "properties": { // "AggregationConfig": { // "properties": { // "AggregationType": { // "enum": [ // "None", // "SingleFile" // ], // "type": "string" // } // }, // "type": "object" // }, // "FileType": { // "enum": [ // "CSV", // "JSON", // "PARQUET" // ], // "type": "string" // }, // "PrefixConfig": { // "additionalProperties": false, // "properties": { // "PrefixFormat": { // "enum": [ // "YEAR", // "MONTH", // "DAY", // "HOUR", // "MINUTE" // ], // "type": "string" // }, // "PrefixType": { // "enum": [ // "FILENAME", // "PATH", // "PATH_AND_FILENAME" // ], // "type": "string" // } // }, // "type": "object" // } // }, // "type": "object" // } // }, // "required": [ // "BucketName" // ], // "type": "object" // }, // "SAPOData": { // "additionalProperties": false, // "properties": { // "ErrorHandlingConfig": { // "additionalProperties": false, // "properties": { // "BucketName": { // "maxLength": 63, // "minLength": 3, // "pattern": "\\S+", // "type": "string" // }, // "BucketPrefix": { // "maxLength": 512, // "type": "string" // }, // "FailOnFirstError": { // "type": "boolean" // } // }, // "type": "object" // }, // "IdFieldNames": { // "description": "List of fields used as ID when performing a write operation.", // "items": { // "type": "string" // }, // "type": "array" // }, // "ObjectPath": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // }, // "SuccessResponseHandlingConfig": { // "additionalProperties": false, // "properties": { // "BucketName": { // "maxLength": 63, // "minLength": 3, // "pattern": "\\S+", // "type": "string" // }, // "BucketPrefix": { // "maxLength": 512, // "type": "string" // } // }, // "type": "object" // }, // "WriteOperationType": { // "enum": [ // "INSERT", // "UPSERT", // "UPDATE" // ], // "type": "string" // } // }, // "required": [ // "ObjectPath" // ], // "type": "object" // }, // "Salesforce": { // "additionalProperties": false, // "properties": { // "ErrorHandlingConfig": { // "additionalProperties": false, // "properties": { // "BucketName": { // "maxLength": 63, // "minLength": 3, // "pattern": "\\S+", // "type": "string" // }, // "BucketPrefix": { // "maxLength": 512, // "type": "string" // }, // "FailOnFirstError": { // "type": "boolean" // } // }, // "type": "object" // }, // "IdFieldNames": { // "description": "List of fields used as ID when performing a write operation.", // "items": { // "type": "string" // }, // "type": "array" // }, // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // }, // "WriteOperationType": { // "enum": [ // "INSERT", // "UPSERT", // "UPDATE" // ], // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "Snowflake": { // "additionalProperties": false, // "properties": { // "BucketPrefix": { // "maxLength": 512, // "type": "string" // }, // "ErrorHandlingConfig": { // "additionalProperties": false, // "properties": { // "BucketName": { // "maxLength": 63, // "minLength": 3, // "pattern": "\\S+", // "type": "string" // }, // "BucketPrefix": { // "maxLength": 512, // "type": "string" // }, // "FailOnFirstError": { // "type": "boolean" // } // }, // "type": "object" // }, // "IntermediateBucketName": { // "maxLength": 63, // "minLength": 3, // "pattern": "\\S+", // "type": "string" // }, // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object", // "IntermediateBucketName" // ], // "type": "object" // }, // "Upsolver": { // "additionalProperties": false, // "properties": { // "BucketName": { // "maxLength": 63, // "minLength": 16, // "pattern": "^(upsolver-appflow)\\S*", // "type": "string" // }, // "BucketPrefix": { // "maxLength": 512, // "type": "string" // }, // "S3OutputFormatConfig": { // "additionalProperties": false, // "properties": { // "AggregationConfig": { // "properties": { // "AggregationType": { // "enum": [ // "None", // "SingleFile" // ], // "type": "string" // } // }, // "type": "object" // }, // "FileType": { // "enum": [ // "CSV", // "JSON", // "PARQUET" // ], // "type": "string" // }, // "PrefixConfig": { // "additionalProperties": false, // "properties": { // "PrefixFormat": { // "enum": [ // "YEAR", // "MONTH", // "DAY", // "HOUR", // "MINUTE" // ], // "type": "string" // }, // "PrefixType": { // "enum": [ // "FILENAME", // "PATH", // "PATH_AND_FILENAME" // ], // "type": "string" // } // }, // "type": "object" // } // }, // "required": [ // "PrefixConfig" // ], // "type": "object" // } // }, // "required": [ // "BucketName", // "S3OutputFormatConfig" // ], // "type": "object" // }, // "Zendesk": { // "additionalProperties": false, // "properties": { // "ErrorHandlingConfig": { // "additionalProperties": false, // "properties": { // "BucketName": { // "maxLength": 63, // "minLength": 3, // "pattern": "\\S+", // "type": "string" // }, // "BucketPrefix": { // "maxLength": 512, // "type": "string" // }, // "FailOnFirstError": { // "type": "boolean" // } // }, // "type": "object" // }, // "IdFieldNames": { // "description": "List of fields used as ID when performing a write operation.", // "items": { // "type": "string" // }, // "type": "array" // }, // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // }, // "WriteOperationType": { // "enum": [ // "INSERT", // "UPSERT", // "UPDATE" // ], // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // } // }, // "type": "object" // } // }, // "required": [ // "ConnectorType", // "DestinationConnectorProperties" // ], // "type": "object" // }, // "type": "array" // } Description: "List of Destination connectors of the flow.", Attributes: tfsdk.ListNestedAttributes( map[string]tfsdk.Attribute{ "connector_profile_name": { // Property: ConnectorProfileName Description: "Name of destination connector profile", Type: types.StringType, Computed: true, }, "connector_type": { // Property: ConnectorType Description: "Destination connector type", Type: types.StringType, Computed: true, }, "destination_connector_properties": { // Property: DestinationConnectorProperties Description: "Destination connector details", Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "event_bridge": { // Property: EventBridge Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "error_handling_config": { // Property: ErrorHandlingConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "bucket_name": { // Property: BucketName Type: types.StringType, Computed: true, }, "bucket_prefix": { // Property: BucketPrefix Type: types.StringType, Computed: true, }, "fail_on_first_error": { // Property: FailOnFirstError Type: types.BoolType, Computed: true, }, }, ), Computed: true, }, "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "lookout_metrics": { // Property: LookoutMetrics Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "marketo": { // Property: Marketo Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "error_handling_config": { // Property: ErrorHandlingConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "bucket_name": { // Property: BucketName Type: types.StringType, Computed: true, }, "bucket_prefix": { // Property: BucketPrefix Type: types.StringType, Computed: true, }, "fail_on_first_error": { // Property: FailOnFirstError Type: types.BoolType, Computed: true, }, }, ), Computed: true, }, "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "redshift": { // Property: Redshift Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "bucket_prefix": { // Property: BucketPrefix Type: types.StringType, Computed: true, }, "error_handling_config": { // Property: ErrorHandlingConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "bucket_name": { // Property: BucketName Type: types.StringType, Computed: true, }, "bucket_prefix": { // Property: BucketPrefix Type: types.StringType, Computed: true, }, "fail_on_first_error": { // Property: FailOnFirstError Type: types.BoolType, Computed: true, }, }, ), Computed: true, }, "intermediate_bucket_name": { // Property: IntermediateBucketName Type: types.StringType, Computed: true, }, "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "s3": { // Property: S3 Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "bucket_name": { // Property: BucketName Type: types.StringType, Computed: true, }, "bucket_prefix": { // Property: BucketPrefix Type: types.StringType, Computed: true, }, "s3_output_format_config": { // Property: S3OutputFormatConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "aggregation_config": { // Property: AggregationConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "aggregation_type": { // Property: AggregationType Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "file_type": { // Property: FileType Type: types.StringType, Computed: true, }, "prefix_config": { // Property: PrefixConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "prefix_format": { // Property: PrefixFormat Type: types.StringType, Computed: true, }, "prefix_type": { // Property: PrefixType Type: types.StringType, Computed: true, }, }, ), Computed: true, }, }, ), Computed: true, }, }, ), Computed: true, }, "sapo_data": { // Property: SAPOData Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "error_handling_config": { // Property: ErrorHandlingConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "bucket_name": { // Property: BucketName Type: types.StringType, Computed: true, }, "bucket_prefix": { // Property: BucketPrefix Type: types.StringType, Computed: true, }, "fail_on_first_error": { // Property: FailOnFirstError Type: types.BoolType, Computed: true, }, }, ), Computed: true, }, "id_field_names": { // Property: IdFieldNames Description: "List of fields used as ID when performing a write operation.", Type: types.ListType{ElemType: types.StringType}, Computed: true, }, "object_path": { // Property: ObjectPath Type: types.StringType, Computed: true, }, "success_response_handling_config": { // Property: SuccessResponseHandlingConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "bucket_name": { // Property: BucketName Type: types.StringType, Computed: true, }, "bucket_prefix": { // Property: BucketPrefix Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "write_operation_type": { // Property: WriteOperationType Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "salesforce": { // Property: Salesforce Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "error_handling_config": { // Property: ErrorHandlingConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "bucket_name": { // Property: BucketName Type: types.StringType, Computed: true, }, "bucket_prefix": { // Property: BucketPrefix Type: types.StringType, Computed: true, }, "fail_on_first_error": { // Property: FailOnFirstError Type: types.BoolType, Computed: true, }, }, ), Computed: true, }, "id_field_names": { // Property: IdFieldNames Description: "List of fields used as ID when performing a write operation.", Type: types.ListType{ElemType: types.StringType}, Computed: true, }, "object": { // Property: Object Type: types.StringType, Computed: true, }, "write_operation_type": { // Property: WriteOperationType Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "snowflake": { // Property: Snowflake Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "bucket_prefix": { // Property: BucketPrefix Type: types.StringType, Computed: true, }, "error_handling_config": { // Property: ErrorHandlingConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "bucket_name": { // Property: BucketName Type: types.StringType, Computed: true, }, "bucket_prefix": { // Property: BucketPrefix Type: types.StringType, Computed: true, }, "fail_on_first_error": { // Property: FailOnFirstError Type: types.BoolType, Computed: true, }, }, ), Computed: true, }, "intermediate_bucket_name": { // Property: IntermediateBucketName Type: types.StringType, Computed: true, }, "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "upsolver": { // Property: Upsolver Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "bucket_name": { // Property: BucketName Type: types.StringType, Computed: true, }, "bucket_prefix": { // Property: BucketPrefix Type: types.StringType, Computed: true, }, "s3_output_format_config": { // Property: S3OutputFormatConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "aggregation_config": { // Property: AggregationConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "aggregation_type": { // Property: AggregationType Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "file_type": { // Property: FileType Type: types.StringType, Computed: true, }, "prefix_config": { // Property: PrefixConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "prefix_format": { // Property: PrefixFormat Type: types.StringType, Computed: true, }, "prefix_type": { // Property: PrefixType Type: types.StringType, Computed: true, }, }, ), Computed: true, }, }, ), Computed: true, }, }, ), Computed: true, }, "zendesk": { // Property: Zendesk Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "error_handling_config": { // Property: ErrorHandlingConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "bucket_name": { // Property: BucketName Type: types.StringType, Computed: true, }, "bucket_prefix": { // Property: BucketPrefix Type: types.StringType, Computed: true, }, "fail_on_first_error": { // Property: FailOnFirstError Type: types.BoolType, Computed: true, }, }, ), Computed: true, }, "id_field_names": { // Property: IdFieldNames Description: "List of fields used as ID when performing a write operation.", Type: types.ListType{ElemType: types.StringType}, Computed: true, }, "object": { // Property: Object Type: types.StringType, Computed: true, }, "write_operation_type": { // Property: WriteOperationType Type: types.StringType, Computed: true, }, }, ), Computed: true, }, }, ), Computed: true, }, }, tfsdk.ListNestedAttributesOptions{}, ), Computed: true, }, "flow_arn": { // Property: FlowArn // CloudFormation resource type schema: // { // "description": "ARN identifier of the flow.", // "maxLength": 512, // "pattern": "arn:aws:appflow:.*:[0-9]+:.*", // "type": "string" // } Description: "ARN identifier of the flow.", Type: types.StringType, Computed: true, }, "flow_name": { // Property: FlowName // CloudFormation resource type schema: // { // "description": "Name of the flow.", // "maxLength": 256, // "minLength": 1, // "pattern": "[a-zA-Z0-9][\\w!@#.-]+", // "type": "string" // } Description: "Name of the flow.", Type: types.StringType, Computed: true, }, "kms_arn": { // Property: KMSArn // CloudFormation resource type schema: // { // "description": "The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.", // "maxLength": 2048, // "minLength": 20, // "pattern": "arn:aws:kms:.*:[0-9]+:.*", // "type": "string" // } Description: "The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.", Type: types.StringType, Computed: true, }, "source_flow_config": { // Property: SourceFlowConfig // CloudFormation resource type schema: // { // "additionalProperties": false, // "description": "Configurations of Source connector of the flow.", // "properties": { // "ConnectorProfileName": { // "description": "Name of source connector profile", // "maxLength": 256, // "pattern": "[\\w/!@#+=.-]+", // "type": "string" // }, // "ConnectorType": { // "description": "Type of source connector", // "enum": [ // "SAPOData", // "Salesforce", // "Singular", // "Slack", // "Redshift", // "S3", // "Marketo", // "Googleanalytics", // "Zendesk", // "Servicenow", // "Datadog", // "Trendmicro", // "Snowflake", // "Dynatrace", // "Infornexus", // "Amplitude", // "Veeva", // "EventBridge", // "Upsolver", // "LookoutMetrics" // ], // "type": "string" // }, // "IncrementalPullConfig": { // "description": "Configuration for scheduled incremental data pull", // "properties": { // "DatetimeTypeFieldName": { // "description": "Name of the datetime/timestamp data type field to be used for importing incremental records from the source", // "maxLength": 256, // "type": "string" // } // }, // "type": "object" // }, // "SourceConnectorProperties": { // "description": "Source connector details required to query a connector", // "properties": { // "Amplitude": { // "additionalProperties": false, // "properties": { // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "Datadog": { // "additionalProperties": false, // "properties": { // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "Dynatrace": { // "additionalProperties": false, // "properties": { // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "GoogleAnalytics": { // "additionalProperties": false, // "properties": { // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "InforNexus": { // "additionalProperties": false, // "properties": { // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "Marketo": { // "additionalProperties": false, // "properties": { // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "S3": { // "additionalProperties": false, // "properties": { // "BucketName": { // "maxLength": 63, // "minLength": 3, // "pattern": "\\S+", // "type": "string" // }, // "BucketPrefix": { // "maxLength": 512, // "type": "string" // }, // "S3InputFormatConfig": { // "properties": { // "S3InputFileType": { // "enum": [ // "CSV", // "JSON" // ], // "type": "string" // } // }, // "type": "object" // } // }, // "required": [ // "BucketName", // "BucketPrefix" // ], // "type": "object" // }, // "SAPOData": { // "additionalProperties": false, // "properties": { // "ObjectPath": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "ObjectPath" // ], // "type": "object" // }, // "Salesforce": { // "additionalProperties": false, // "properties": { // "EnableDynamicFieldUpdate": { // "type": "boolean" // }, // "IncludeDeletedRecords": { // "type": "boolean" // }, // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "ServiceNow": { // "additionalProperties": false, // "properties": { // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "Singular": { // "additionalProperties": false, // "properties": { // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "Slack": { // "additionalProperties": false, // "properties": { // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "Trendmicro": { // "additionalProperties": false, // "properties": { // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "Veeva": { // "additionalProperties": false, // "properties": { // "DocumentType": { // "maxLength": 512, // "pattern": "[\\s\\w_-]+", // "type": "string" // }, // "IncludeAllVersions": { // "type": "boolean" // }, // "IncludeRenditions": { // "type": "boolean" // }, // "IncludeSourceFiles": { // "type": "boolean" // }, // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // }, // "Zendesk": { // "additionalProperties": false, // "properties": { // "Object": { // "maxLength": 512, // "pattern": "\\S+", // "type": "string" // } // }, // "required": [ // "Object" // ], // "type": "object" // } // }, // "type": "object" // } // }, // "required": [ // "ConnectorType", // "SourceConnectorProperties" // ], // "type": "object" // } Description: "Configurations of Source connector of the flow.", Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "connector_profile_name": { // Property: ConnectorProfileName Description: "Name of source connector profile", Type: types.StringType, Computed: true, }, "connector_type": { // Property: ConnectorType Description: "Type of source connector", Type: types.StringType, Computed: true, }, "incremental_pull_config": { // Property: IncrementalPullConfig Description: "Configuration for scheduled incremental data pull", Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "datetime_type_field_name": { // Property: DatetimeTypeFieldName Description: "Name of the datetime/timestamp data type field to be used for importing incremental records from the source", Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "source_connector_properties": { // Property: SourceConnectorProperties Description: "Source connector details required to query a connector", Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "amplitude": { // Property: Amplitude Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "datadog": { // Property: Datadog Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "dynatrace": { // Property: Dynatrace Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "google_analytics": { // Property: GoogleAnalytics Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "infor_nexus": { // Property: InforNexus Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "marketo": { // Property: Marketo Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "s3": { // Property: S3 Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "bucket_name": { // Property: BucketName Type: types.StringType, Computed: true, }, "bucket_prefix": { // Property: BucketPrefix Type: types.StringType, Computed: true, }, "s3_input_format_config": { // Property: S3InputFormatConfig Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "s3_input_file_type": { // Property: S3InputFileType Type: types.StringType, Computed: true, }, }, ), Computed: true, }, }, ), Computed: true, }, "sapo_data": { // Property: SAPOData Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "object_path": { // Property: ObjectPath Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "salesforce": { // Property: Salesforce Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "enable_dynamic_field_update": { // Property: EnableDynamicFieldUpdate Type: types.BoolType, Computed: true, }, "include_deleted_records": { // Property: IncludeDeletedRecords Type: types.BoolType, Computed: true, }, "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "service_now": { // Property: ServiceNow Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "singular": { // Property: Singular Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "slack": { // Property: Slack Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "trendmicro": { // Property: Trendmicro Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "veeva": { // Property: Veeva Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "document_type": { // Property: DocumentType Type: types.StringType, Computed: true, }, "include_all_versions": { // Property: IncludeAllVersions Type: types.BoolType, Computed: true, }, "include_renditions": { // Property: IncludeRenditions Type: types.BoolType, Computed: true, }, "include_source_files": { // Property: IncludeSourceFiles Type: types.BoolType, Computed: true, }, "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "zendesk": { // Property: Zendesk Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "object": { // Property: Object Type: types.StringType, Computed: true, }, }, ), Computed: true, }, }, ), Computed: true, }, }, ), Computed: true, }, "tags": { // Property: Tags // CloudFormation resource type schema: // { // "description": "List of Tags.", // "items": { // "additionalProperties": false, // "description": "A label for tagging AppFlow resources", // "properties": { // "Key": { // "description": "A string used to identify this tag", // "maxLength": 128, // "minLength": 1, // "type": "string" // }, // "Value": { // "description": "A string containing the value for the tag", // "maxLength": 256, // "minLength": 0, // "type": "string" // } // }, // "required": [ // "Key", // "Value" // ], // "type": "object" // }, // "type": "array" // } Description: "List of Tags.", Attributes: tfsdk.ListNestedAttributes( map[string]tfsdk.Attribute{ "key": { // Property: Key Description: "A string used to identify this tag", Type: types.StringType, Computed: true, }, "value": { // Property: Value Description: "A string containing the value for the tag", Type: types.StringType, Computed: true, }, }, tfsdk.ListNestedAttributesOptions{}, ), Computed: true, }, "tasks": { // Property: Tasks // CloudFormation resource type schema: // { // "description": "List of tasks for the flow.", // "items": { // "additionalProperties": false, // "properties": { // "ConnectorOperator": { // "description": "Operation to be performed on provided source fields", // "properties": { // "Amplitude": { // "enum": [ // "BETWEEN" // ], // "type": "string" // }, // "Datadog": { // "enum": [ // "PROJECTION", // "BETWEEN", // "EQUAL_TO", // "ADDITION", // "MULTIPLICATION", // "DIVISION", // "SUBTRACTION", // "MASK_ALL", // "MASK_FIRST_N", // "MASK_LAST_N", // "VALIDATE_NON_NULL", // "VALIDATE_NON_ZERO", // "VALIDATE_NON_NEGATIVE", // "VALIDATE_NUMERIC", // "NO_OP" // ], // "type": "string" // }, // "Dynatrace": { // "enum": [ // "PROJECTION", // "BETWEEN", // "EQUAL_TO", // "ADDITION", // "MULTIPLICATION", // "DIVISION", // "SUBTRACTION", // "MASK_ALL", // "MASK_FIRST_N", // "MASK_LAST_N", // "VALIDATE_NON_NULL", // "VALIDATE_NON_ZERO", // "VALIDATE_NON_NEGATIVE", // "VALIDATE_NUMERIC", // "NO_OP" // ], // "type": "string" // }, // "GoogleAnalytics": { // "enum": [ // "PROJECTION", // "BETWEEN" // ], // "type": "string" // }, // "InforNexus": { // "enum": [ // "PROJECTION", // "BETWEEN", // "EQUAL_TO", // "ADDITION", // "MULTIPLICATION", // "DIVISION", // "SUBTRACTION", // "MASK_ALL", // "MASK_FIRST_N", // "MASK_LAST_N", // "VALIDATE_NON_NULL", // "VALIDATE_NON_ZERO", // "VALIDATE_NON_NEGATIVE", // "VALIDATE_NUMERIC", // "NO_OP" // ], // "type": "string" // }, // "Marketo": { // "enum": [ // "PROJECTION", // "LESS_THAN", // "GREATER_THAN", // "BETWEEN", // "ADDITION", // "MULTIPLICATION", // "DIVISION", // "SUBTRACTION", // "MASK_ALL", // "MASK_FIRST_N", // "MASK_LAST_N", // "VALIDATE_NON_NULL", // "VALIDATE_NON_ZERO", // "VALIDATE_NON_NEGATIVE", // "VALIDATE_NUMERIC", // "NO_OP" // ], // "type": "string" // }, // "S3": { // "enum": [ // "PROJECTION", // "LESS_THAN", // "GREATER_THAN", // "BETWEEN", // "LESS_THAN_OR_EQUAL_TO", // "GREATER_THAN_OR_EQUAL_TO", // "EQUAL_TO", // "NOT_EQUAL_TO", // "ADDITION", // "MULTIPLICATION", // "DIVISION", // "SUBTRACTION", // "MASK_ALL", // "MASK_FIRST_N", // "MASK_LAST_N", // "VALIDATE_NON_NULL", // "VALIDATE_NON_ZERO", // "VALIDATE_NON_NEGATIVE", // "VALIDATE_NUMERIC", // "NO_OP" // ], // "type": "string" // }, // "SAPOData": { // "enum": [ // "PROJECTION", // "LESS_THAN", // "CONTAINS", // "GREATER_THAN", // "BETWEEN", // "LESS_THAN_OR_EQUAL_TO", // "GREATER_THAN_OR_EQUAL_TO", // "EQUAL_TO", // "NOT_EQUAL_TO", // "ADDITION", // "MULTIPLICATION", // "DIVISION", // "SUBTRACTION", // "MASK_ALL", // "MASK_FIRST_N", // "MASK_LAST_N", // "VALIDATE_NON_NULL", // "VALIDATE_NON_ZERO", // "VALIDATE_NON_NEGATIVE", // "VALIDATE_NUMERIC", // "NO_OP" // ], // "type": "string" // }, // "Salesforce": { // "enum": [ // "PROJECTION", // "LESS_THAN", // "CONTAINS", // "GREATER_THAN", // "BETWEEN", // "LESS_THAN_OR_EQUAL_TO", // "GREATER_THAN_OR_EQUAL_TO", // "EQUAL_TO", // "NOT_EQUAL_TO", // "ADDITION", // "MULTIPLICATION", // "DIVISION", // "SUBTRACTION", // "MASK_ALL", // "MASK_FIRST_N", // "MASK_LAST_N", // "VALIDATE_NON_NULL", // "VALIDATE_NON_ZERO", // "VALIDATE_NON_NEGATIVE", // "VALIDATE_NUMERIC", // "NO_OP" // ], // "type": "string" // }, // "ServiceNow": { // "enum": [ // "PROJECTION", // "LESS_THAN", // "CONTAINS", // "GREATER_THAN", // "BETWEEN", // "LESS_THAN_OR_EQUAL_TO", // "GREATER_THAN_OR_EQUAL_TO", // "EQUAL_TO", // "NOT_EQUAL_TO", // "ADDITION", // "MULTIPLICATION", // "DIVISION", // "SUBTRACTION", // "MASK_ALL", // "MASK_FIRST_N", // "MASK_LAST_N", // "VALIDATE_NON_NULL", // "VALIDATE_NON_ZERO", // "VALIDATE_NON_NEGATIVE", // "VALIDATE_NUMERIC", // "NO_OP" // ], // "type": "string" // }, // "Singular": { // "enum": [ // "PROJECTION", // "EQUAL_TO", // "ADDITION", // "MULTIPLICATION", // "DIVISION", // "SUBTRACTION", // "MASK_ALL", // "MASK_FIRST_N", // "MASK_LAST_N", // "VALIDATE_NON_NULL", // "VALIDATE_NON_ZERO", // "VALIDATE_NON_NEGATIVE", // "VALIDATE_NUMERIC", // "NO_OP" // ], // "type": "string" // }, // "Slack": { // "enum": [ // "PROJECTION", // "BETWEEN", // "EQUAL_TO", // "ADDITION", // "MULTIPLICATION", // "DIVISION", // "SUBTRACTION", // "MASK_ALL", // "MASK_FIRST_N", // "MASK_LAST_N", // "VALIDATE_NON_NULL", // "VALIDATE_NON_ZERO", // "VALIDATE_NON_NEGATIVE", // "VALIDATE_NUMERIC", // "NO_OP" // ], // "type": "string" // }, // "Trendmicro": { // "enum": [ // "PROJECTION", // "EQUAL_TO", // "ADDITION", // "MULTIPLICATION", // "DIVISION", // "SUBTRACTION", // "MASK_ALL", // "MASK_FIRST_N", // "MASK_LAST_N", // "VALIDATE_NON_NULL", // "VALIDATE_NON_ZERO", // "VALIDATE_NON_NEGATIVE", // "VALIDATE_NUMERIC", // "NO_OP" // ], // "type": "string" // }, // "Veeva": { // "enum": [ // "PROJECTION", // "LESS_THAN", // "GREATER_THAN", // "BETWEEN", // "LESS_THAN_OR_EQUAL_TO", // "GREATER_THAN_OR_EQUAL_TO", // "EQUAL_TO", // "NOT_EQUAL_TO", // "ADDITION", // "MULTIPLICATION", // "DIVISION", // "SUBTRACTION", // "MASK_ALL", // "MASK_FIRST_N", // "MASK_LAST_N", // "VALIDATE_NON_NULL", // "VALIDATE_NON_ZERO", // "VALIDATE_NON_NEGATIVE", // "VALIDATE_NUMERIC", // "NO_OP" // ], // "type": "string" // }, // "Zendesk": { // "enum": [ // "PROJECTION", // "GREATER_THAN", // "ADDITION", // "MULTIPLICATION", // "DIVISION", // "SUBTRACTION", // "MASK_ALL", // "MASK_FIRST_N", // "MASK_LAST_N", // "VALIDATE_NON_NULL", // "VALIDATE_NON_ZERO", // "VALIDATE_NON_NEGATIVE", // "VALIDATE_NUMERIC", // "NO_OP" // ], // "type": "string" // } // }, // "type": "object" // }, // "DestinationField": { // "description": "A field value on which source field should be validated", // "maxLength": 256, // "type": "string" // }, // "SourceFields": { // "description": "Source fields on which particular task will be applied", // "items": { // "type": "string" // }, // "type": "array" // }, // "TaskProperties": { // "additionalProperties": false, // "description": "A Map used to store task related info", // "items": { // "additionalProperties": false, // "description": "An object used to store task related info", // "properties": { // "Key": { // "enum": [ // "VALUE", // "VALUES", // "DATA_TYPE", // "UPPER_BOUND", // "LOWER_BOUND", // "SOURCE_DATA_TYPE", // "DESTINATION_DATA_TYPE", // "VALIDATION_ACTION", // "MASK_VALUE", // "MASK_LENGTH", // "TRUNCATE_LENGTH", // "MATH_OPERATION_FIELDS_ORDER", // "CONCAT_FORMAT", // "SUBFIELD_CATEGORY_MAP", // "EXCLUDE_SOURCE_FIELDS_LIST" // ], // "type": "string" // }, // "Value": { // "maxLength": 2048, // "pattern": ".+", // "type": "string" // } // }, // "required": [ // "Key", // "Value" // ], // "type": "object" // }, // "type": "array" // }, // "TaskType": { // "description": "Type of task", // "enum": [ // "Arithmetic", // "Filter", // "Map", // "Map_all", // "Mask", // "Merge", // "Passthrough", // "Truncate", // "Validate" // ], // "type": "string" // } // }, // "required": [ // "SourceFields", // "TaskType" // ], // "type": "object" // }, // "type": "array" // } Description: "List of tasks for the flow.", Attributes: tfsdk.ListNestedAttributes( map[string]tfsdk.Attribute{ "connector_operator": { // Property: ConnectorOperator Description: "Operation to be performed on provided source fields", Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "amplitude": { // Property: Amplitude Type: types.StringType, Computed: true, }, "datadog": { // Property: Datadog Type: types.StringType, Computed: true, }, "dynatrace": { // Property: Dynatrace Type: types.StringType, Computed: true, }, "google_analytics": { // Property: GoogleAnalytics Type: types.StringType, Computed: true, }, "infor_nexus": { // Property: InforNexus Type: types.StringType, Computed: true, }, "marketo": { // Property: Marketo Type: types.StringType, Computed: true, }, "s3": { // Property: S3 Type: types.StringType, Computed: true, }, "sapo_data": { // Property: SAPOData Type: types.StringType, Computed: true, }, "salesforce": { // Property: Salesforce Type: types.StringType, Computed: true, }, "service_now": { // Property: ServiceNow Type: types.StringType, Computed: true, }, "singular": { // Property: Singular Type: types.StringType, Computed: true, }, "slack": { // Property: Slack Type: types.StringType, Computed: true, }, "trendmicro": { // Property: Trendmicro Type: types.StringType, Computed: true, }, "veeva": { // Property: Veeva Type: types.StringType, Computed: true, }, "zendesk": { // Property: Zendesk Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "destination_field": { // Property: DestinationField Description: "A field value on which source field should be validated", Type: types.StringType, Computed: true, }, "source_fields": { // Property: SourceFields Description: "Source fields on which particular task will be applied", Type: types.ListType{ElemType: types.StringType}, Computed: true, }, "task_properties": { // Property: TaskProperties Description: "A Map used to store task related info", Attributes: tfsdk.ListNestedAttributes( map[string]tfsdk.Attribute{ "key": { // Property: Key Type: types.StringType, Computed: true, }, "value": { // Property: Value Type: types.StringType, Computed: true, }, }, tfsdk.ListNestedAttributesOptions{}, ), Computed: true, }, "task_type": { // Property: TaskType Description: "Type of task", Type: types.StringType, Computed: true, }, }, tfsdk.ListNestedAttributesOptions{}, ), Computed: true, }, "trigger_config": { // Property: TriggerConfig // CloudFormation resource type schema: // { // "additionalProperties": false, // "description": "Trigger settings of the flow.", // "properties": { // "TriggerProperties": { // "additionalProperties": false, // "description": "Details required based on the type of trigger", // "properties": { // "DataPullMode": { // "enum": [ // "Incremental", // "Complete" // ], // "type": "string" // }, // "ScheduleEndTime": { // "type": "number" // }, // "ScheduleExpression": { // "maxLength": 256, // "minLength": 1, // "type": "string" // }, // "ScheduleOffset": { // "maximum": 36000, // "minimum": 0, // "type": "number" // }, // "ScheduleStartTime": { // "type": "number" // }, // "TimeZone": { // "maxLength": 256, // "type": "string" // } // }, // "required": [ // "ScheduleExpression" // ], // "type": "object" // }, // "TriggerType": { // "description": "Trigger type of the flow", // "enum": [ // "Scheduled", // "Event", // "OnDemand" // ], // "type": "string" // } // }, // "required": [ // "TriggerType" // ], // "type": "object" // } Description: "Trigger settings of the flow.", Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "trigger_properties": { // Property: TriggerProperties Description: "Details required based on the type of trigger", Attributes: tfsdk.SingleNestedAttributes( map[string]tfsdk.Attribute{ "data_pull_mode": { // Property: DataPullMode Type: types.StringType, Computed: true, }, "schedule_end_time": { // Property: ScheduleEndTime Type: types.Float64Type, Computed: true, }, "schedule_expression": { // Property: ScheduleExpression Type: types.StringType, Computed: true, }, "schedule_offset": { // Property: ScheduleOffset Type: types.Float64Type, Computed: true, }, "schedule_start_time": { // Property: ScheduleStartTime Type: types.Float64Type, Computed: true, }, "time_zone": { // Property: TimeZone Type: types.StringType, Computed: true, }, }, ), Computed: true, }, "trigger_type": { // Property: TriggerType Description: "Trigger type of the flow", Type: types.StringType, Computed: true, }, }, ), Computed: true, }, } attributes["id"] = tfsdk.Attribute{ Description: "Uniquely identifies the resource.", Type: types.StringType, Required: true, } schema := tfsdk.Schema{ Description: "Data Source schema for AWS::AppFlow::Flow", Version: 1, Attributes: attributes, } var opts DataSourceTypeOptions opts = opts.WithCloudFormationTypeName("AWS::AppFlow::Flow").WithTerraformTypeName("awscc_appflow_flow") opts = opts.WithTerraformSchema(schema) opts = opts.WithAttributeNameMap(map[string]string{ "aggregation_config": "AggregationConfig", "aggregation_type": "AggregationType", "amplitude": "Amplitude", "bucket_name": "BucketName", "bucket_prefix": "BucketPrefix", "connector_operator": "ConnectorOperator", "connector_profile_name": "ConnectorProfileName", "connector_type": "ConnectorType", "data_pull_mode": "DataPullMode", "datadog": "Datadog", "datetime_type_field_name": "DatetimeTypeFieldName", "description": "Description", "destination_connector_properties": "DestinationConnectorProperties", "destination_field": "DestinationField", "destination_flow_config_list": "DestinationFlowConfigList", "document_type": "DocumentType", "dynatrace": "Dynatrace", "enable_dynamic_field_update": "EnableDynamicFieldUpdate", "error_handling_config": "ErrorHandlingConfig", "event_bridge": "EventBridge", "fail_on_first_error": "FailOnFirstError", "file_type": "FileType", "flow_arn": "FlowArn", "flow_name": "FlowName", "google_analytics": "GoogleAnalytics", "id_field_names": "IdFieldNames", "include_all_versions": "IncludeAllVersions", "include_deleted_records": "IncludeDeletedRecords", "include_renditions": "IncludeRenditions", "include_source_files": "IncludeSourceFiles", "incremental_pull_config": "IncrementalPullConfig", "infor_nexus": "InforNexus", "intermediate_bucket_name": "IntermediateBucketName", "key": "Key", "kms_arn": "KMSArn", "lookout_metrics": "LookoutMetrics", "marketo": "Marketo", "object": "Object", "object_path": "ObjectPath", "prefix_config": "PrefixConfig", "prefix_format": "PrefixFormat", "prefix_type": "PrefixType", "redshift": "Redshift", "s3": "S3", "s3_input_file_type": "S3InputFileType", "s3_input_format_config": "S3InputFormatConfig", "s3_output_format_config": "S3OutputFormatConfig", "salesforce": "Salesforce", "sapo_data": "SAPOData", "schedule_end_time": "ScheduleEndTime", "schedule_expression": "ScheduleExpression", "schedule_offset": "ScheduleOffset", "schedule_start_time": "ScheduleStartTime", "service_now": "ServiceNow", "singular": "Singular", "slack": "Slack", "snowflake": "Snowflake", "source_connector_properties": "SourceConnectorProperties", "source_fields": "SourceFields", "source_flow_config": "SourceFlowConfig", "success_response_handling_config": "SuccessResponseHandlingConfig", "tags": "Tags", "task_properties": "TaskProperties", "task_type": "TaskType", "tasks": "Tasks", "time_zone": "TimeZone", "trendmicro": "Trendmicro", "trigger_config": "TriggerConfig", "trigger_properties": "TriggerProperties", "trigger_type": "TriggerType", "upsolver": "Upsolver", "value": "Value", "veeva": "Veeva", "write_operation_type": "WriteOperationType", "zendesk": "Zendesk", }) singularDataSourceType, err := NewSingularDataSourceType(ctx, opts...) if err != nil { return nil, err } return singularDataSourceType, nil }