@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.181Z") @Stability(value=Stable) public class CfnApplicationV2 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.kinesisanalytics.*;
Object propertyMap;
CfnApplicationV2 cfnApplicationV2 = CfnApplicationV2.Builder.create(this, "MyCfnApplicationV2")
.runtimeEnvironment("runtimeEnvironment")
.serviceExecutionRole("serviceExecutionRole")
// the properties below are optional
.applicationConfiguration(ApplicationConfigurationProperty.builder()
.applicationCodeConfiguration(ApplicationCodeConfigurationProperty.builder()
.codeContent(CodeContentProperty.builder()
.s3ContentLocation(S3ContentLocationProperty.builder()
.bucketArn("bucketArn")
.fileKey("fileKey")
.objectVersion("objectVersion")
.build())
.textContent("textContent")
.zipFileContent("zipFileContent")
.build())
.codeContentType("codeContentType")
.build())
.applicationSnapshotConfiguration(ApplicationSnapshotConfigurationProperty.builder()
.snapshotsEnabled(false)
.build())
.environmentProperties(EnvironmentPropertiesProperty.builder()
.propertyGroups(List.of(PropertyGroupProperty.builder()
.propertyGroupId("propertyGroupId")
.propertyMap(propertyMap)
.build()))
.build())
.flinkApplicationConfiguration(FlinkApplicationConfigurationProperty.builder()
.checkpointConfiguration(CheckpointConfigurationProperty.builder()
.configurationType("configurationType")
// the properties below are optional
.checkpointingEnabled(false)
.checkpointInterval(123)
.minPauseBetweenCheckpoints(123)
.build())
.monitoringConfiguration(MonitoringConfigurationProperty.builder()
.configurationType("configurationType")
// the properties below are optional
.logLevel("logLevel")
.metricsLevel("metricsLevel")
.build())
.parallelismConfiguration(ParallelismConfigurationProperty.builder()
.configurationType("configurationType")
// the properties below are optional
.autoScalingEnabled(false)
.parallelism(123)
.parallelismPerKpu(123)
.build())
.build())
.sqlApplicationConfiguration(SqlApplicationConfigurationProperty.builder()
.inputs(List.of(InputProperty.builder()
.inputSchema(InputSchemaProperty.builder()
.recordColumns(List.of(RecordColumnProperty.builder()
.name("name")
.sqlType("sqlType")
// the properties below are optional
.mapping("mapping")
.build()))
.recordFormat(RecordFormatProperty.builder()
.recordFormatType("recordFormatType")
// the properties below are optional
.mappingParameters(MappingParametersProperty.builder()
.csvMappingParameters(CSVMappingParametersProperty.builder()
.recordColumnDelimiter("recordColumnDelimiter")
.recordRowDelimiter("recordRowDelimiter")
.build())
.jsonMappingParameters(JSONMappingParametersProperty.builder()
.recordRowPath("recordRowPath")
.build())
.build())
.build())
// the properties below are optional
.recordEncoding("recordEncoding")
.build())
.namePrefix("namePrefix")
// the properties below are optional
.inputParallelism(InputParallelismProperty.builder()
.count(123)
.build())
.inputProcessingConfiguration(InputProcessingConfigurationProperty.builder()
.inputLambdaProcessor(InputLambdaProcessorProperty.builder()
.resourceArn("resourceArn")
.build())
.build())
.kinesisFirehoseInput(KinesisFirehoseInputProperty.builder()
.resourceArn("resourceArn")
.build())
.kinesisStreamsInput(KinesisStreamsInputProperty.builder()
.resourceArn("resourceArn")
.build())
.build()))
.build())
.zeppelinApplicationConfiguration(ZeppelinApplicationConfigurationProperty.builder()
.catalogConfiguration(CatalogConfigurationProperty.builder()
.glueDataCatalogConfiguration(GlueDataCatalogConfigurationProperty.builder()
.databaseArn("databaseArn")
.build())
.build())
.customArtifactsConfiguration(List.of(CustomArtifactConfigurationProperty.builder()
.artifactType("artifactType")
// the properties below are optional
.mavenReference(MavenReferenceProperty.builder()
.artifactId("artifactId")
.groupId("groupId")
.version("version")
.build())
.s3ContentLocation(S3ContentLocationProperty.builder()
.bucketArn("bucketArn")
.fileKey("fileKey")
.objectVersion("objectVersion")
.build())
.build()))
.deployAsApplicationConfiguration(DeployAsApplicationConfigurationProperty.builder()
.s3ContentLocation(S3ContentBaseLocationProperty.builder()
.basePath("basePath")
.bucketArn("bucketArn")
.build())
.build())
.monitoringConfiguration(ZeppelinMonitoringConfigurationProperty.builder()
.logLevel("logLevel")
.build())
.build())
.build())
.applicationDescription("applicationDescription")
.applicationMode("applicationMode")
.applicationName("applicationName")
.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 |
|---|---|
|
CfnApplicationV2(software.constructs.Construct scope,
String id,
CfnApplicationV2Props props)
Create a new `AWS::KinesisAnalyticsV2::Application`.
|
protected |
CfnApplicationV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnApplicationV2(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getApplicationConfiguration()
`AWS::KinesisAnalyticsV2::Application.ApplicationConfiguration`.
|
String |
getApplicationDescription()
`AWS::KinesisAnalyticsV2::Application.ApplicationDescription`.
|
String |
getApplicationMode()
`AWS::KinesisAnalyticsV2::Application.ApplicationMode`.
|
String |
getApplicationName()
`AWS::KinesisAnalyticsV2::Application.ApplicationName`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getRuntimeEnvironment()
`AWS::KinesisAnalyticsV2::Application.RuntimeEnvironment`.
|
String |
getServiceExecutionRole()
`AWS::KinesisAnalyticsV2::Application.ServiceExecutionRole`.
|
TagManager |
getTags()
`AWS::KinesisAnalyticsV2::Application.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setApplicationConfiguration(CfnApplicationV2.ApplicationConfigurationProperty value)
`AWS::KinesisAnalyticsV2::Application.ApplicationConfiguration`.
|
void |
setApplicationConfiguration(IResolvable value)
`AWS::KinesisAnalyticsV2::Application.ApplicationConfiguration`.
|
void |
setApplicationDescription(String value)
`AWS::KinesisAnalyticsV2::Application.ApplicationDescription`.
|
void |
setApplicationMode(String value)
`AWS::KinesisAnalyticsV2::Application.ApplicationMode`.
|
void |
setApplicationName(String value)
`AWS::KinesisAnalyticsV2::Application.ApplicationName`.
|
void |
setRuntimeEnvironment(String value)
`AWS::KinesisAnalyticsV2::Application.RuntimeEnvironment`.
|
void |
setServiceExecutionRole(String value)
`AWS::KinesisAnalyticsV2::Application.ServiceExecutionRole`.
|
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 CfnApplicationV2(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnApplicationV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnApplicationV2(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnApplicationV2Props 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) @Nullable public Object getApplicationConfiguration()
@Stability(value=Stable)
public void setApplicationConfiguration(@Nullable
CfnApplicationV2.ApplicationConfigurationProperty value)
@Stability(value=Stable)
public void setApplicationConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getApplicationDescription()
@Stability(value=Stable)
public void setApplicationDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getApplicationMode()
@Stability(value=Stable)
public void setApplicationMode(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getApplicationName()
@Stability(value=Stable)
public void setApplicationName(@Nullable
String value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getRuntimeEnvironment()
@Stability(value=Stable)
public void setRuntimeEnvironment(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getServiceExecutionRole()
@Stability(value=Stable)
public void setServiceExecutionRole(@NotNull
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.