I'm to trying to automated appflow creation via cloud formation. I have multiple fields (130+) in source & I'm unable to map it manually. From UI I can directly choose multiple columns but from cloudformation I have to specify, therefore looking if any option which will automatically fetch all columns from source.
AWSTemplateFormatVersion: "2010-09-09"
Metadata:
Generator: "Automation"
Description: ""
Parameters:
snowusername:
Type: String
MaxLength: 128
snowpassword:
Type: String
MaxLength: 128
ServicenowUrl:
Type: String
MaxLength: 180
Resources:
AppFlowFlowTest:
Type: "AWS::AppFlow::Flow"
Properties:
FlowName: "IMGroupTest"
Description: "Servicenow"
SourceFlowConfig:
ConnectorType: "Servicenow"
ConnectorProfileName: !Ref AppFlowConnectorProfile
SourceConnectorProperties:
ServiceNow:
Object: "business_service_group"
DestinationFlowConfigList:
-
ConnectorType: "S3"
DestinationConnectorProperties:
S3:
BucketName: "raw-data
BucketPrefix: "servicenow/appflow"
S3OutputFormatConfig:
FileType: "PARQUET"
PrefixConfig:
PrefixType: "FILENAME"
AggregationConfig:
AggregationType: "None"
TriggerConfig:
TriggerType: "OnDemand"
Tasks:
-
SourceFields:
- "id"
- "site_name"
.
.
.
.