Class CfnApplicationV2
Creates an Amazon Kinesis Data Analytics application.
Inherited Members
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApplicationV2 : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnApplicationV2
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
For information about creating a Kinesis Data Analytics application, see Creating an Application .
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"
},
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
Constructors
CfnApplicationV2(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnApplicationV2(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnApplicationV2(Construct, String, ICfnApplicationV2Props) |
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. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
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 | Tag Manager which manages the tags for this resource. |
TagsRaw | A list of one or more tags to assign to the application. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnApplicationV2(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnApplicationV2(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnApplicationV2(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnApplicationV2(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnApplicationV2(Construct, String, ICfnApplicationV2Props)
public CfnApplicationV2(Construct scope, string id, ICfnApplicationV2Props props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnApplicationV2Props
Resource properties.
Properties
ApplicationConfiguration
Use this parameter to configure the application.
public virtual object ApplicationConfiguration { get; set; }
Property Value
System.Object
ApplicationDescription
The description of the application.
public virtual string ApplicationDescription { get; set; }
Property Value
System.String
ApplicationMaintenanceConfiguration
Describes the maintenance configuration for the application.
public virtual object ApplicationMaintenanceConfiguration { get; set; }
Property Value
System.Object
ApplicationMode
To create a Kinesis Data Analytics Studio notebook, you must set the mode to INTERACTIVE
.
public virtual string ApplicationMode { get; set; }
Property Value
System.String
ApplicationName
The name of the application.
public virtual string ApplicationName { get; set; }
Property Value
System.String
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
RunConfiguration
Describes the starting parameters for an Managed Service for Apache Flink application.
public virtual object RunConfiguration { get; set; }
Property Value
System.Object
RuntimeEnvironment
The runtime environment for the application.
public virtual string RuntimeEnvironment { get; set; }
Property Value
System.String
ServiceExecutionRole
Specifies the IAM role that the application uses to access external resources.
public virtual string ServiceExecutionRole { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
A list of one or more tags to assign to the application.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>