Skip to content
v2.278.0

AppFlowConfigProperty Struct ​

Details about an Amazon AppFlow flow datasource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lookoutmetrics as lookoutmetrics } from 'aws-cdk-lib';
const appFlowConfigProperty: lookoutmetrics.CfnAnomalyDetector.AppFlowConfigProperty = {
  flowName: 'flowName',
  roleArn: 'roleArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lookoutmetrics as lookoutmetrics

app_flow_config_property = lookoutmetrics.CfnAnomalyDetector.AppFlowConfigProperty(
    flow_name="flowName",
    role_arn="roleArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lookoutmetrics.*;

AppFlowConfigProperty appFlowConfigProperty = AppFlowConfigProperty.builder()
        .flowName("flowName")
        .roleArn("roleArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.LookoutMetrics;

var appFlowConfigProperty = new AppFlowConfigProperty {
    FlowName = "flowName",
    RoleArn = "roleArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

appFlowConfigProperty := &AppFlowConfigProperty{
	FlowName: jsii.String("flowName"),
	RoleArn: jsii.String("roleArn"),
}

Properties ​

flowNamestringflow_namestrflowNameStringFlowNamestringFlowName*string required #
name of the flow.
roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*string required #
An IAM role that gives Amazon Lookout for Metrics permission to access the flow.