Interface ICfnApplicationV2Props
Properties for defining a CfnApplication
.
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnApplicationV2Props
Syntax (vb)
Public Interface ICfnApplicationV2Props
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KinesisAnalytics;
var cfnApplicationV2Props = new CfnApplicationV2Props {
RuntimeEnvironment = "runtimeEnvironment",
ServiceExecutionRole = "serviceExecutionRole",
// the properties below are optional
ApplicationConfiguration = new ApplicationConfigurationProperty {
ApplicationCodeConfiguration = new ApplicationCodeConfigurationProperty {
CodeContent = new CodeContentProperty {
S3ContentLocation = new S3ContentLocationProperty {
BucketArn = "bucketArn",
FileKey = "fileKey",
// the properties below are optional
ObjectVersion = "objectVersion"
},
TextContent = "textContent",
ZipFileContent = "zipFileContent"
},
CodeContentType = "codeContentType"
},
ApplicationSnapshotConfiguration = new ApplicationSnapshotConfigurationProperty {
SnapshotsEnabled = false
},
EnvironmentProperties = new EnvironmentPropertiesProperty {
PropertyGroups = new [] { new PropertyGroupProperty {
PropertyGroupId = "propertyGroupId",
PropertyMap = new Dictionary<string, string> {
{ "propertyMapKey", "propertyMap" }
}
} }
},
FlinkApplicationConfiguration = new FlinkApplicationConfigurationProperty {
CheckpointConfiguration = new CheckpointConfigurationProperty {
ConfigurationType = "configurationType",
// the properties below are optional
CheckpointingEnabled = false,
CheckpointInterval = 123,
MinPauseBetweenCheckpoints = 123
},
MonitoringConfiguration = new MonitoringConfigurationProperty {
ConfigurationType = "configurationType",
// the properties below are optional
LogLevel = "logLevel",
MetricsLevel = "metricsLevel"
},
ParallelismConfiguration = new ParallelismConfigurationProperty {
ConfigurationType = "configurationType",
// the properties below are optional
AutoScalingEnabled = false,
Parallelism = 123,
ParallelismPerKpu = 123
}
},
SqlApplicationConfiguration = new SqlApplicationConfigurationProperty {
Inputs = new [] { new InputProperty {
InputSchema = new InputSchemaProperty {
RecordColumns = new [] { new RecordColumnProperty {
Name = "name",
SqlType = "sqlType",
// the properties below are optional
Mapping = "mapping"
} },
RecordFormat = new RecordFormatProperty {
RecordFormatType = "recordFormatType",
// the properties below are optional
MappingParameters = new MappingParametersProperty {
CsvMappingParameters = new CSVMappingParametersProperty {
RecordColumnDelimiter = "recordColumnDelimiter",
RecordRowDelimiter = "recordRowDelimiter"
},
JsonMappingParameters = new JSONMappingParametersProperty {
RecordRowPath = "recordRowPath"
}
}
},
// the properties below are optional
RecordEncoding = "recordEncoding"
},
NamePrefix = "namePrefix",
// the properties below are optional
InputParallelism = new InputParallelismProperty {
Count = 123
},
InputProcessingConfiguration = new InputProcessingConfigurationProperty {
InputLambdaProcessor = new InputLambdaProcessorProperty {
ResourceArn = "resourceArn"
}
},
KinesisFirehoseInput = new KinesisFirehoseInputProperty {
ResourceArn = "resourceArn"
},
KinesisStreamsInput = new KinesisStreamsInputProperty {
ResourceArn = "resourceArn"
}
} }
},
VpcConfigurations = new [] { new VpcConfigurationProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" }
} },
ZeppelinApplicationConfiguration = new ZeppelinApplicationConfigurationProperty {
CatalogConfiguration = new CatalogConfigurationProperty {
GlueDataCatalogConfiguration = new GlueDataCatalogConfigurationProperty {
DatabaseArn = "databaseArn"
}
},
CustomArtifactsConfiguration = new [] { new CustomArtifactConfigurationProperty {
ArtifactType = "artifactType",
// the properties below are optional
MavenReference = new MavenReferenceProperty {
ArtifactId = "artifactId",
GroupId = "groupId",
Version = "version"
},
S3ContentLocation = new S3ContentLocationProperty {
BucketArn = "bucketArn",
FileKey = "fileKey",
// the properties below are optional
ObjectVersion = "objectVersion"
}
} },
DeployAsApplicationConfiguration = new DeployAsApplicationConfigurationProperty {
S3ContentLocation = new S3ContentBaseLocationProperty {
BucketArn = "bucketArn",
// the properties below are optional
BasePath = "basePath"
}
},
MonitoringConfiguration = new ZeppelinMonitoringConfigurationProperty {
LogLevel = "logLevel"
}
}
},
ApplicationDescription = "applicationDescription",
ApplicationMaintenanceConfiguration = new ApplicationMaintenanceConfigurationProperty {
ApplicationMaintenanceWindowStartTime = "applicationMaintenanceWindowStartTime"
},
ApplicationMode = "applicationMode",
ApplicationName = "applicationName",
RunConfiguration = new RunConfigurationProperty {
ApplicationRestoreConfiguration = new ApplicationRestoreConfigurationProperty {
ApplicationRestoreType = "applicationRestoreType",
// the properties below are optional
SnapshotName = "snapshotName"
},
FlinkRunConfiguration = new FlinkRunConfigurationProperty {
AllowNonRestoredState = false
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
ApplicationConfiguration | Use this parameter to configure the application. |
ApplicationDescription | The description of the application. |
ApplicationMaintenanceConfiguration | Describes the maintenance configuration for the application. |
ApplicationMode | To create a Kinesis Data Analytics Studio notebook, you must set the mode to |
ApplicationName | The name of the application. |
RunConfiguration | Describes the starting parameters for an Managed Service for Apache Flink application. |
RuntimeEnvironment | The runtime environment for the application. |
ServiceExecutionRole | Specifies the IAM role that the application uses to access external resources. |
Tags | A list of one or more tags to assign to the application. |
Properties
ApplicationConfiguration
Use this parameter to configure the application.
virtual object ApplicationConfiguration { get; }
Property Value
System.Object
Remarks
ApplicationDescription
The description of the application.
virtual string ApplicationDescription { get; }
Property Value
System.String
Remarks
ApplicationMaintenanceConfiguration
Describes the maintenance configuration for the application.
virtual object ApplicationMaintenanceConfiguration { get; }
Property Value
System.Object
Remarks
ApplicationMode
To create a Kinesis Data Analytics Studio notebook, you must set the mode to INTERACTIVE
.
virtual string ApplicationMode { get; }
Property Value
System.String
Remarks
However, for a Kinesis Data Analytics for Apache Flink application, the mode is optional.
ApplicationName
The name of the application.
virtual string ApplicationName { get; }
Property Value
System.String
Remarks
RunConfiguration
Describes the starting parameters for an Managed Service for Apache Flink application.
virtual object RunConfiguration { get; }
Property Value
System.Object
Remarks
RuntimeEnvironment
The runtime environment for the application.
string RuntimeEnvironment { get; }
Property Value
System.String
Remarks
ServiceExecutionRole
Specifies the IAM role that the application uses to access external resources.
string ServiceExecutionRole { get; }
Property Value
System.String
Remarks
Tags
A list of one or more tags to assign to the application.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
A tag is a key-value pair that identifies an application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50.