@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:15.832Z") @Stability(value=Stable) public class CfnFlow extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appflow.*;
CfnFlow cfnFlow = CfnFlow.Builder.create(this, "MyCfnFlow")
.destinationFlowConfigList(List.of(DestinationFlowConfigProperty.builder()
.connectorType("connectorType")
.destinationConnectorProperties(DestinationConnectorPropertiesProperty.builder()
.eventBridge(EventBridgeDestinationPropertiesProperty.builder()
.object("object")
// the properties below are optional
.errorHandlingConfig(ErrorHandlingConfigProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.failOnFirstError(false)
.build())
.build())
.lookoutMetrics(LookoutMetricsDestinationPropertiesProperty.builder()
.object("object")
.build())
.redshift(RedshiftDestinationPropertiesProperty.builder()
.intermediateBucketName("intermediateBucketName")
.object("object")
// the properties below are optional
.bucketPrefix("bucketPrefix")
.errorHandlingConfig(ErrorHandlingConfigProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.failOnFirstError(false)
.build())
.build())
.s3(S3DestinationPropertiesProperty.builder()
.bucketName("bucketName")
// the properties below are optional
.bucketPrefix("bucketPrefix")
.s3OutputFormatConfig(S3OutputFormatConfigProperty.builder()
.aggregationConfig(AggregationConfigProperty.builder()
.aggregationType("aggregationType")
.build())
.fileType("fileType")
.prefixConfig(PrefixConfigProperty.builder()
.prefixFormat("prefixFormat")
.prefixType("prefixType")
.build())
.build())
.build())
.salesforce(SalesforceDestinationPropertiesProperty.builder()
.object("object")
// the properties below are optional
.errorHandlingConfig(ErrorHandlingConfigProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.failOnFirstError(false)
.build())
.idFieldNames(List.of("idFieldNames"))
.writeOperationType("writeOperationType")
.build())
.snowflake(SnowflakeDestinationPropertiesProperty.builder()
.intermediateBucketName("intermediateBucketName")
.object("object")
// the properties below are optional
.bucketPrefix("bucketPrefix")
.errorHandlingConfig(ErrorHandlingConfigProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.failOnFirstError(false)
.build())
.build())
.upsolver(UpsolverDestinationPropertiesProperty.builder()
.bucketName("bucketName")
.s3OutputFormatConfig(UpsolverS3OutputFormatConfigProperty.builder()
.prefixConfig(PrefixConfigProperty.builder()
.prefixFormat("prefixFormat")
.prefixType("prefixType")
.build())
// the properties below are optional
.aggregationConfig(AggregationConfigProperty.builder()
.aggregationType("aggregationType")
.build())
.fileType("fileType")
.build())
// the properties below are optional
.bucketPrefix("bucketPrefix")
.build())
.zendesk(ZendeskDestinationPropertiesProperty.builder()
.object("object")
// the properties below are optional
.errorHandlingConfig(ErrorHandlingConfigProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.failOnFirstError(false)
.build())
.idFieldNames(List.of("idFieldNames"))
.writeOperationType("writeOperationType")
.build())
.build())
// the properties below are optional
.connectorProfileName("connectorProfileName")
.build()))
.flowName("flowName")
.sourceFlowConfig(SourceFlowConfigProperty.builder()
.connectorType("connectorType")
.sourceConnectorProperties(SourceConnectorPropertiesProperty.builder()
.amplitude(AmplitudeSourcePropertiesProperty.builder()
.object("object")
.build())
.datadog(DatadogSourcePropertiesProperty.builder()
.object("object")
.build())
.dynatrace(DynatraceSourcePropertiesProperty.builder()
.object("object")
.build())
.googleAnalytics(GoogleAnalyticsSourcePropertiesProperty.builder()
.object("object")
.build())
.inforNexus(InforNexusSourcePropertiesProperty.builder()
.object("object")
.build())
.marketo(MarketoSourcePropertiesProperty.builder()
.object("object")
.build())
.s3(S3SourcePropertiesProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
// the properties below are optional
.s3InputFormatConfig(S3InputFormatConfigProperty.builder()
.s3InputFileType("s3InputFileType")
.build())
.build())
.salesforce(SalesforceSourcePropertiesProperty.builder()
.object("object")
// the properties below are optional
.enableDynamicFieldUpdate(false)
.includeDeletedRecords(false)
.build())
.sapoData(SAPODataSourcePropertiesProperty.builder()
.objectPath("objectPath")
.build())
.serviceNow(ServiceNowSourcePropertiesProperty.builder()
.object("object")
.build())
.singular(SingularSourcePropertiesProperty.builder()
.object("object")
.build())
.slack(SlackSourcePropertiesProperty.builder()
.object("object")
.build())
.trendmicro(TrendmicroSourcePropertiesProperty.builder()
.object("object")
.build())
.veeva(VeevaSourcePropertiesProperty.builder()
.object("object")
// the properties below are optional
.documentType("documentType")
.includeAllVersions(false)
.includeRenditions(false)
.includeSourceFiles(false)
.build())
.zendesk(ZendeskSourcePropertiesProperty.builder()
.object("object")
.build())
.build())
// the properties below are optional
.connectorProfileName("connectorProfileName")
.incrementalPullConfig(IncrementalPullConfigProperty.builder()
.datetimeTypeFieldName("datetimeTypeFieldName")
.build())
.build())
.tasks(List.of(TaskProperty.builder()
.sourceFields(List.of("sourceFields"))
.taskType("taskType")
// the properties below are optional
.connectorOperator(ConnectorOperatorProperty.builder()
.amplitude("amplitude")
.datadog("datadog")
.dynatrace("dynatrace")
.googleAnalytics("googleAnalytics")
.inforNexus("inforNexus")
.marketo("marketo")
.s3("s3")
.salesforce("salesforce")
.sapoData("sapoData")
.serviceNow("serviceNow")
.singular("singular")
.slack("slack")
.trendmicro("trendmicro")
.veeva("veeva")
.zendesk("zendesk")
.build())
.destinationField("destinationField")
.taskProperties(List.of(TaskPropertiesObjectProperty.builder()
.key("key")
.value("value")
.build()))
.build()))
.triggerConfig(TriggerConfigProperty.builder()
.triggerType("triggerType")
// the properties below are optional
.triggerProperties(ScheduledTriggerPropertiesProperty.builder()
.scheduleExpression("scheduleExpression")
// the properties below are optional
.dataPullMode("dataPullMode")
.scheduleEndTime(123)
.scheduleOffset(123)
.scheduleStartTime(123)
.timeZone("timeZone")
.build())
.build())
// the properties below are optional
.description("description")
.kmsArn("kmsArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnFlow(software.constructs.Construct scope,
String id,
CfnFlowProps props)
Create a new `AWS::AppFlow::Flow`.
|
protected |
CfnFlow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnFlow(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrFlowArn() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::AppFlow::Flow.Description`.
|
Object |
getDestinationFlowConfigList()
`AWS::AppFlow::Flow.DestinationFlowConfigList`.
|
String |
getFlowName()
`AWS::AppFlow::Flow.FlowName`.
|
String |
getKmsArn()
`AWS::AppFlow::Flow.KMSArn`.
|
Object |
getSourceFlowConfig()
`AWS::AppFlow::Flow.SourceFlowConfig`.
|
TagManager |
getTags()
`AWS::AppFlow::Flow.Tags`.
|
Object |
getTasks()
`AWS::AppFlow::Flow.Tasks`.
|
Object |
getTriggerConfig()
`AWS::AppFlow::Flow.TriggerConfig`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
`AWS::AppFlow::Flow.Description`.
|
void |
setDestinationFlowConfigList(IResolvable value)
`AWS::AppFlow::Flow.DestinationFlowConfigList`.
|
void |
setDestinationFlowConfigList(List<Object> value)
`AWS::AppFlow::Flow.DestinationFlowConfigList`.
|
void |
setFlowName(String value)
`AWS::AppFlow::Flow.FlowName`.
|
void |
setKmsArn(String value)
`AWS::AppFlow::Flow.KMSArn`.
|
void |
setSourceFlowConfig(CfnFlow.SourceFlowConfigProperty value)
`AWS::AppFlow::Flow.SourceFlowConfig`.
|
void |
setSourceFlowConfig(IResolvable value)
`AWS::AppFlow::Flow.SourceFlowConfig`.
|
void |
setTasks(IResolvable value)
`AWS::AppFlow::Flow.Tasks`.
|
void |
setTasks(List<Object> value)
`AWS::AppFlow::Flow.Tasks`.
|
void |
setTriggerConfig(CfnFlow.TriggerConfigProperty value)
`AWS::AppFlow::Flow.TriggerConfig`.
|
void |
setTriggerConfig(IResolvable value)
`AWS::AppFlow::Flow.TriggerConfig`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnFlow(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnFlow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnFlow(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnFlowProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrFlowArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @NotNull public Object getDestinationFlowConfigList()
@Stability(value=Stable)
public void setDestinationFlowConfigList(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setDestinationFlowConfigList(@NotNull
List<Object> value)
@Stability(value=Stable) @NotNull public String getFlowName()
@Stability(value=Stable)
public void setFlowName(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getKmsArn()
@Stability(value=Stable)
public void setKmsArn(@Nullable
String value)
@Stability(value=Stable) @NotNull public Object getSourceFlowConfig()
@Stability(value=Stable)
public void setSourceFlowConfig(@NotNull
CfnFlow.SourceFlowConfigProperty value)
@Stability(value=Stable)
public void setSourceFlowConfig(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public Object getTasks()
@Stability(value=Stable)
public void setTasks(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setTasks(@NotNull
List<Object> value)
@Stability(value=Stable) @NotNull public Object getTriggerConfig()
@Stability(value=Stable)
public void setTriggerConfig(@NotNull
CfnFlow.TriggerConfigProperty value)
@Stability(value=Stable)
public void setTriggerConfig(@NotNull
IResolvable value)
Copyright © 2021. All rights reserved.