Class CfnApplicationV2
(deprecated) Creates an Amazon Kinesis Data Analytics application.
Inherited Members
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
[Obsolete("use `aws-kinesisanalyticsv2` instead")]
public class CfnApplicationV2 : CfnResource, IInspectable, IApplicationRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Syntax (vb)
<Obsolete("use `aws-kinesisanalyticsv2` instead")>
Public Class CfnApplicationV2 Inherits CfnResource Implements IInspectable, IApplicationRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Remarks
For information about creating a Kinesis Data Analytics application, see Creating an Application .
Stability: Deprecated
CloudformationResource: AWS::KinesisAnalyticsV2::Application
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 cfnApplicationV2 = new CfnApplicationV2(this, "MyCfnApplicationV2", 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"
},
ApplicationEncryptionConfiguration = new ApplicationEncryptionConfigurationProperty {
KeyType = "keyType",
// the properties below are optional
KeyId = "keyId"
},
ApplicationSnapshotConfiguration = new ApplicationSnapshotConfigurationProperty {
SnapshotsEnabled = false
},
ApplicationSystemRollbackConfiguration = new ApplicationSystemRollbackConfigurationProperty {
RollbackEnabled = 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
Constructors
| CfnApplicationV2(Construct, string, ICfnApplicationV2Props) | (deprecated) Create a new |
Properties
| ApplicationConfiguration | (deprecated) Use this parameter to configure the application. |
| ApplicationDescription | (deprecated) The description of the application. |
| ApplicationMaintenanceConfiguration | (deprecated) Specifies the maintenance window parameters for a Kinesis Data Analytics application. |
| ApplicationMode | (deprecated) To create a Kinesis Data Analytics Studio notebook, you must set the mode to |
| ApplicationName | (deprecated) The name of the application. |
| ApplicationRef | (deprecated) A reference to a Application resource. |
| CFN_RESOURCE_TYPE_NAME | (deprecated) The CloudFormation resource type name for this resource class. |
| CfnProperties | (deprecated) Creates an Amazon Kinesis Data Analytics application. |
| RunConfiguration | (deprecated) Describes the starting parameters for an Managed Service for Apache Flink application. |
| RuntimeEnvironment | (deprecated) The runtime environment for the application. |
| ServiceExecutionRole | (deprecated) Specifies the IAM role that the application uses to access external resources. |
| Tags | (deprecated) Tag Manager which manages the tags for this resource. |
| TagsRaw | (deprecated) A list of one or more tags to assign to the application. |
Methods
| ArnForApplication(IApplicationRef) | (deprecated) Creates an Amazon Kinesis Data Analytics application. |
| FromApplicationName(Construct, string, string) | (deprecated) Creates a new IApplicationRef from a applicationName. |
| Inspect(TreeInspector) | (deprecated) Examines the CloudFormation resource and discloses attributes. |
| IsCfnApplicationV2(object) | (deprecated) Checks whether the given object is a CfnApplicationV2. |
| RenderProperties(IDictionary<string, object>) | (deprecated) Creates an Amazon Kinesis Data Analytics application. |
Constructors
CfnApplicationV2(Construct, string, ICfnApplicationV2Props)
(deprecated) Create a new AWS::KinesisAnalyticsV2::Application.
[Obsolete]
public CfnApplicationV2(Construct scope, string id, ICfnApplicationV2Props props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnApplicationV2Props
Resource properties.
Remarks
Stability: Deprecated
Properties
ApplicationConfiguration
(deprecated) Use this parameter to configure the application.
[Obsolete]
public virtual object? ApplicationConfiguration { get; set; }
Property Value
Remarks
Stability: Deprecated
Type union: either IResolvable or CfnApplicationV2.IApplicationConfigurationProperty
ApplicationDescription
(deprecated) The description of the application.
[Obsolete]
public virtual string? ApplicationDescription { get; set; }
Property Value
Remarks
Stability: Deprecated
ApplicationMaintenanceConfiguration
(deprecated) Specifies the maintenance window parameters for a Kinesis Data Analytics application.
[Obsolete]
public virtual object? ApplicationMaintenanceConfiguration { get; set; }
Property Value
Remarks
Stability: Deprecated
Type union: either IResolvable or CfnApplicationV2.IApplicationMaintenanceConfigurationProperty
ApplicationMode
(deprecated) To create a Kinesis Data Analytics Studio notebook, you must set the mode to INTERACTIVE .
[Obsolete]
public virtual string? ApplicationMode { get; set; }
Property Value
Remarks
Stability: Deprecated
ApplicationName
(deprecated) The name of the application.
[Obsolete]
public virtual string? ApplicationName { get; set; }
Property Value
Remarks
Stability: Deprecated
ApplicationRef
(deprecated) A reference to a Application resource.
[Obsolete]
public virtual IApplicationReference ApplicationRef { get; }
Property Value
Remarks
Stability: Deprecated
CFN_RESOURCE_TYPE_NAME
(deprecated) The CloudFormation resource type name for this resource class.
[Obsolete]
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
Stability: Deprecated
CfnProperties
(deprecated) Creates an Amazon Kinesis Data Analytics application.
[Obsolete]
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
Stability: Deprecated
RunConfiguration
(deprecated) Describes the starting parameters for an Managed Service for Apache Flink application.
[Obsolete]
public virtual object? RunConfiguration { get; set; }
Property Value
Remarks
Stability: Deprecated
Type union: either IResolvable or CfnApplicationV2.IRunConfigurationProperty
RuntimeEnvironment
(deprecated) The runtime environment for the application.
[Obsolete]
public virtual string RuntimeEnvironment { get; set; }
Property Value
Remarks
Stability: Deprecated
ServiceExecutionRole
(deprecated) Specifies the IAM role that the application uses to access external resources.
[Obsolete]
public virtual string ServiceExecutionRole { get; set; }
Property Value
Remarks
Stability: Deprecated
Tags
(deprecated) Tag Manager which manages the tags for this resource.
[Obsolete]
public virtual TagManager Tags { get; }
Property Value
Remarks
Stability: Deprecated
TagsRaw
(deprecated) A list of one or more tags to assign to the application.
[Obsolete]
public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value
ICfnTag[]
Remarks
Stability: Deprecated
Methods
ArnForApplication(IApplicationRef)
(deprecated) Creates an Amazon Kinesis Data Analytics application.
[Obsolete]
public static string ArnForApplication(IApplicationRef resource)
Parameters
- resource IApplicationRef
Returns
Remarks
Stability: Deprecated
FromApplicationName(Construct, string, string)
(deprecated) Creates a new IApplicationRef from a applicationName.
[Obsolete]
public static IApplicationRef FromApplicationName(Construct scope, string id, string applicationName)
Parameters
Returns
Remarks
Stability: Deprecated
Inspect(TreeInspector)
(deprecated) Examines the CloudFormation resource and discloses attributes.
[Obsolete]
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
Stability: Deprecated
IsCfnApplicationV2(object)
(deprecated) Checks whether the given object is a CfnApplicationV2.
[Obsolete]
public static bool IsCfnApplicationV2(object x)
Parameters
- x object
Returns
Remarks
Stability: Deprecated
RenderProperties(IDictionary<string, object>)
(deprecated) Creates an Amazon Kinesis Data Analytics application.
[Obsolete]
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
Stability: Deprecated