Documentation ¶
Index ¶
- func CfnApplicationCloudWatchLoggingOption_CFN_RESOURCE_TYPE_NAME() *string
- func CfnApplicationCloudWatchLoggingOption_IsCfnElement(x interface{}) *bool
- func CfnApplicationCloudWatchLoggingOption_IsCfnResource(x interface{}) *bool
- func CfnApplicationCloudWatchLoggingOption_IsConstruct(x interface{}) *bool
- func CfnApplicationOutput_CFN_RESOURCE_TYPE_NAME() *string
- func CfnApplicationOutput_IsCfnElement(x interface{}) *bool
- func CfnApplicationOutput_IsCfnResource(x interface{}) *bool
- func CfnApplicationOutput_IsConstruct(x interface{}) *bool
- func CfnApplicationReferenceDataSource_CFN_RESOURCE_TYPE_NAME() *string
- func CfnApplicationReferenceDataSource_IsCfnElement(x interface{}) *bool
- func CfnApplicationReferenceDataSource_IsCfnResource(x interface{}) *bool
- func CfnApplicationReferenceDataSource_IsConstruct(x interface{}) *bool
- func CfnApplication_CFN_RESOURCE_TYPE_NAME() *string
- func CfnApplication_IsCfnElement(x interface{}) *bool
- func CfnApplication_IsCfnResource(x interface{}) *bool
- func CfnApplication_IsConstruct(x interface{}) *bool
- func NewCfnApplicationCloudWatchLoggingOption_Override(c CfnApplicationCloudWatchLoggingOption, scope constructs.Construct, ...)
- func NewCfnApplicationOutput_Override(c CfnApplicationOutput, scope constructs.Construct, id *string, ...)
- func NewCfnApplicationReferenceDataSource_Override(c CfnApplicationReferenceDataSource, scope constructs.Construct, id *string, ...)
- func NewCfnApplication_Override(c CfnApplication, scope constructs.Construct, id *string, ...)
- type CfnApplication
- type CfnApplicationCloudWatchLoggingOption
- type CfnApplicationCloudWatchLoggingOptionProps
- type CfnApplicationCloudWatchLoggingOption_CloudWatchLoggingOptionProperty
- type CfnApplicationOutput
- type CfnApplicationOutputProps
- type CfnApplicationOutput_DestinationSchemaProperty
- type CfnApplicationOutput_KinesisFirehoseOutputProperty
- type CfnApplicationOutput_KinesisStreamsOutputProperty
- type CfnApplicationOutput_LambdaOutputProperty
- type CfnApplicationOutput_OutputProperty
- type CfnApplicationProps
- type CfnApplicationReferenceDataSource
- type CfnApplicationReferenceDataSourceProps
- type CfnApplicationReferenceDataSource_CSVMappingParametersProperty
- type CfnApplicationReferenceDataSource_JSONMappingParametersProperty
- type CfnApplicationReferenceDataSource_MappingParametersProperty
- type CfnApplicationReferenceDataSource_RecordColumnProperty
- type CfnApplicationReferenceDataSource_RecordFormatProperty
- type CfnApplicationReferenceDataSource_ReferenceDataSourceProperty
- type CfnApplicationReferenceDataSource_ReferenceSchemaProperty
- type CfnApplicationReferenceDataSource_S3ReferenceDataSourceProperty
- type CfnApplication_ApplicationCodeConfigurationProperty
- type CfnApplication_ApplicationConfigurationProperty
- type CfnApplication_ApplicationMaintenanceConfigurationProperty
- type CfnApplication_ApplicationRestoreConfigurationProperty
- type CfnApplication_ApplicationSnapshotConfigurationProperty
- type CfnApplication_CSVMappingParametersProperty
- type CfnApplication_CatalogConfigurationProperty
- type CfnApplication_CheckpointConfigurationProperty
- type CfnApplication_CodeContentProperty
- type CfnApplication_CustomArtifactConfigurationProperty
- type CfnApplication_DeployAsApplicationConfigurationProperty
- type CfnApplication_EnvironmentPropertiesProperty
- type CfnApplication_FlinkApplicationConfigurationProperty
- type CfnApplication_FlinkRunConfigurationProperty
- type CfnApplication_GlueDataCatalogConfigurationProperty
- type CfnApplication_InputLambdaProcessorProperty
- type CfnApplication_InputParallelismProperty
- type CfnApplication_InputProcessingConfigurationProperty
- type CfnApplication_InputProperty
- type CfnApplication_InputSchemaProperty
- type CfnApplication_JSONMappingParametersProperty
- type CfnApplication_KinesisFirehoseInputProperty
- type CfnApplication_KinesisStreamsInputProperty
- type CfnApplication_MappingParametersProperty
- type CfnApplication_MavenReferenceProperty
- type CfnApplication_MonitoringConfigurationProperty
- type CfnApplication_ParallelismConfigurationProperty
- type CfnApplication_PropertyGroupProperty
- type CfnApplication_RecordColumnProperty
- type CfnApplication_RecordFormatProperty
- type CfnApplication_RunConfigurationProperty
- type CfnApplication_S3ContentBaseLocationProperty
- type CfnApplication_S3ContentLocationProperty
- type CfnApplication_SqlApplicationConfigurationProperty
- type CfnApplication_VpcConfigurationProperty
- type CfnApplication_ZeppelinApplicationConfigurationProperty
- type CfnApplication_ZeppelinMonitoringConfigurationProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnApplicationCloudWatchLoggingOption_CFN_RESOURCE_TYPE_NAME ¶
func CfnApplicationCloudWatchLoggingOption_CFN_RESOURCE_TYPE_NAME() *string
func CfnApplicationCloudWatchLoggingOption_IsCfnElement ¶
func CfnApplicationCloudWatchLoggingOption_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnApplicationCloudWatchLoggingOption_IsCfnResource ¶
func CfnApplicationCloudWatchLoggingOption_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnApplicationCloudWatchLoggingOption_IsConstruct ¶
func CfnApplicationCloudWatchLoggingOption_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnApplicationOutput_CFN_RESOURCE_TYPE_NAME ¶
func CfnApplicationOutput_CFN_RESOURCE_TYPE_NAME() *string
func CfnApplicationOutput_IsCfnElement ¶
func CfnApplicationOutput_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnApplicationOutput_IsCfnResource ¶
func CfnApplicationOutput_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnApplicationOutput_IsConstruct ¶
func CfnApplicationOutput_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnApplicationReferenceDataSource_CFN_RESOURCE_TYPE_NAME ¶
func CfnApplicationReferenceDataSource_CFN_RESOURCE_TYPE_NAME() *string
func CfnApplicationReferenceDataSource_IsCfnElement ¶
func CfnApplicationReferenceDataSource_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnApplicationReferenceDataSource_IsCfnResource ¶
func CfnApplicationReferenceDataSource_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnApplicationReferenceDataSource_IsConstruct ¶
func CfnApplicationReferenceDataSource_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnApplication_CFN_RESOURCE_TYPE_NAME ¶
func CfnApplication_CFN_RESOURCE_TYPE_NAME() *string
func CfnApplication_IsCfnElement ¶
func CfnApplication_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnApplication_IsCfnResource ¶
func CfnApplication_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnApplication_IsConstruct ¶
func CfnApplication_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func NewCfnApplicationCloudWatchLoggingOption_Override ¶
func NewCfnApplicationCloudWatchLoggingOption_Override(c CfnApplicationCloudWatchLoggingOption, scope constructs.Construct, id *string, props *CfnApplicationCloudWatchLoggingOptionProps)
func NewCfnApplicationOutput_Override ¶
func NewCfnApplicationOutput_Override(c CfnApplicationOutput, scope constructs.Construct, id *string, props *CfnApplicationOutputProps)
func NewCfnApplicationReferenceDataSource_Override ¶
func NewCfnApplicationReferenceDataSource_Override(c CfnApplicationReferenceDataSource, scope constructs.Construct, id *string, props *CfnApplicationReferenceDataSourceProps)
func NewCfnApplication_Override ¶
func NewCfnApplication_Override(c CfnApplication, scope constructs.Construct, id *string, props *CfnApplicationProps)
Types ¶
type CfnApplication ¶
type CfnApplication interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggable // Use this parameter to configure the application. ApplicationConfiguration() interface{} SetApplicationConfiguration(val interface{}) // The description of the application. ApplicationDescription() *string SetApplicationDescription(val *string) // Describes the maintenance configuration for the application. ApplicationMaintenanceConfiguration() interface{} SetApplicationMaintenanceConfiguration(val interface{}) // To create a Kinesis Data Analytics Studio notebook, you must set the mode to `INTERACTIVE` . ApplicationMode() *string SetApplicationMode(val *string) // The name of the application. ApplicationName() *string SetApplicationName(val *string) // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Describes the starting parameters for an Managed Service for Apache Flink application. RunConfiguration() interface{} SetRunConfiguration(val interface{}) // The runtime environment for the application. RuntimeEnvironment() *string SetRuntimeEnvironment(val *string) // Specifies the IAM role that the application uses to access external resources. ServiceExecutionRole() *string SetServiceExecutionRole(val *string) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Tag Manager which manages the tags for this resource. Tags() awscdk.TagManager // A list of one or more tags to assign to the application. TagsRaw() *[]*awscdk.CfnTag SetTagsRaw(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Creates an Amazon Kinesis Data Analytics application.
For information about creating a Kinesis Data Analytics application, see [Creating an Application](https://docs.aws.amazon.com/managed-flink/latest/java/getting-started.html) .
Example:
// 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" cfnApplication := awscdk.Aws_kinesisanalyticsv2.NewCfnApplication(this, jsii.String("MyCfnApplication"), &CfnApplicationProps{ RuntimeEnvironment: jsii.String("runtimeEnvironment"), ServiceExecutionRole: jsii.String("serviceExecutionRole"), // the properties below are optional ApplicationConfiguration: &ApplicationConfigurationProperty{ ApplicationCodeConfiguration: &ApplicationCodeConfigurationProperty{ CodeContent: &CodeContentProperty{ S3ContentLocation: &S3ContentLocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }, TextContent: jsii.String("textContent"), ZipFileContent: jsii.String("zipFileContent"), }, CodeContentType: jsii.String("codeContentType"), }, ApplicationSnapshotConfiguration: &ApplicationSnapshotConfigurationProperty{ SnapshotsEnabled: jsii.Boolean(false), }, EnvironmentProperties: &EnvironmentPropertiesProperty{ PropertyGroups: []interface{}{ &PropertyGroupProperty{ PropertyGroupId: jsii.String("propertyGroupId"), PropertyMap: map[string]*string{ "propertyMapKey": jsii.String("propertyMap"), }, }, }, }, FlinkApplicationConfiguration: &FlinkApplicationConfigurationProperty{ CheckpointConfiguration: &CheckpointConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional CheckpointingEnabled: jsii.Boolean(false), CheckpointInterval: jsii.Number(123), MinPauseBetweenCheckpoints: jsii.Number(123), }, MonitoringConfiguration: &MonitoringConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional LogLevel: jsii.String("logLevel"), MetricsLevel: jsii.String("metricsLevel"), }, ParallelismConfiguration: &ParallelismConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional AutoScalingEnabled: jsii.Boolean(false), Parallelism: jsii.Number(123), ParallelismPerKpu: jsii.Number(123), }, }, SqlApplicationConfiguration: &SqlApplicationConfigurationProperty{ Inputs: []interface{}{ &InputProperty{ InputSchema: &InputSchemaProperty{ RecordColumns: []interface{}{ &RecordColumnProperty{ Name: jsii.String("name"), SqlType: jsii.String("sqlType"), // the properties below are optional Mapping: jsii.String("mapping"), }, }, RecordFormat: &RecordFormatProperty{ RecordFormatType: jsii.String("recordFormatType"), // the properties below are optional MappingParameters: &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }, }, // the properties below are optional RecordEncoding: jsii.String("recordEncoding"), }, NamePrefix: jsii.String("namePrefix"), // the properties below are optional InputParallelism: &InputParallelismProperty{ Count: jsii.Number(123), }, InputProcessingConfiguration: &InputProcessingConfigurationProperty{ InputLambdaProcessor: &InputLambdaProcessorProperty{ ResourceArn: jsii.String("resourceArn"), }, }, KinesisFirehoseInput: &KinesisFirehoseInputProperty{ ResourceArn: jsii.String("resourceArn"), }, KinesisStreamsInput: &KinesisStreamsInputProperty{ ResourceArn: jsii.String("resourceArn"), }, }, }, }, VpcConfigurations: []interface{}{ &VpcConfigurationProperty{ SecurityGroupIds: []*string{ jsii.String("securityGroupIds"), }, SubnetIds: []*string{ jsii.String("subnetIds"), }, }, }, ZeppelinApplicationConfiguration: &ZeppelinApplicationConfigurationProperty{ CatalogConfiguration: &CatalogConfigurationProperty{ GlueDataCatalogConfiguration: &GlueDataCatalogConfigurationProperty{ DatabaseArn: jsii.String("databaseArn"), }, }, CustomArtifactsConfiguration: []interface{}{ &CustomArtifactConfigurationProperty{ ArtifactType: jsii.String("artifactType"), // the properties below are optional MavenReference: &MavenReferenceProperty{ ArtifactId: jsii.String("artifactId"), GroupId: jsii.String("groupId"), Version: jsii.String("version"), }, S3ContentLocation: &S3ContentLocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }, }, }, DeployAsApplicationConfiguration: &DeployAsApplicationConfigurationProperty{ S3ContentLocation: &S3ContentBaseLocationProperty{ BucketArn: jsii.String("bucketArn"), // the properties below are optional BasePath: jsii.String("basePath"), }, }, MonitoringConfiguration: &ZeppelinMonitoringConfigurationProperty{ LogLevel: jsii.String("logLevel"), }, }, }, ApplicationDescription: jsii.String("applicationDescription"), ApplicationMaintenanceConfiguration: &ApplicationMaintenanceConfigurationProperty{ ApplicationMaintenanceWindowStartTime: jsii.String("applicationMaintenanceWindowStartTime"), }, ApplicationMode: jsii.String("applicationMode"), ApplicationName: jsii.String("applicationName"), RunConfiguration: &RunConfigurationProperty{ ApplicationRestoreConfiguration: &ApplicationRestoreConfigurationProperty{ ApplicationRestoreType: jsii.String("applicationRestoreType"), // the properties below are optional SnapshotName: jsii.String("snapshotName"), }, FlinkRunConfiguration: &FlinkRunConfigurationProperty{ AllowNonRestoredState: jsii.Boolean(false), }, }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnApplication ¶
func NewCfnApplication(scope constructs.Construct, id *string, props *CfnApplicationProps) CfnApplication
type CfnApplicationCloudWatchLoggingOption ¶
type CfnApplicationCloudWatchLoggingOption interface { awscdk.CfnResource awscdk.IInspectable // The name of the application. ApplicationName() *string SetApplicationName(val *string) AttrId() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Provides a description of Amazon CloudWatch logging options, including the log stream Amazon Resource Name (ARN). CloudWatchLoggingOption() interface{} SetCloudWatchLoggingOption(val interface{}) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Adds an Amazon CloudWatch log stream to monitor application configuration errors.
> Only one *ApplicationCloudWatchLoggingOption* resource can be attached per application.
Example:
// 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" cfnApplicationCloudWatchLoggingOption := awscdk.Aws_kinesisanalyticsv2.NewCfnApplicationCloudWatchLoggingOption(this, jsii.String("MyCfnApplicationCloudWatchLoggingOption"), &CfnApplicationCloudWatchLoggingOptionProps{ ApplicationName: jsii.String("applicationName"), CloudWatchLoggingOption: &CloudWatchLoggingOptionProperty{ LogStreamArn: jsii.String("logStreamArn"), }, })
func NewCfnApplicationCloudWatchLoggingOption ¶
func NewCfnApplicationCloudWatchLoggingOption(scope constructs.Construct, id *string, props *CfnApplicationCloudWatchLoggingOptionProps) CfnApplicationCloudWatchLoggingOption
type CfnApplicationCloudWatchLoggingOptionProps ¶
type CfnApplicationCloudWatchLoggingOptionProps struct { // The name of the application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationcloudwatchloggingoption.html#cfn-kinesisanalyticsv2-applicationcloudwatchloggingoption-applicationname // ApplicationName *string `field:"required" json:"applicationName" yaml:"applicationName"` // Provides a description of Amazon CloudWatch logging options, including the log stream Amazon Resource Name (ARN). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationcloudwatchloggingoption.html#cfn-kinesisanalyticsv2-applicationcloudwatchloggingoption-cloudwatchloggingoption // CloudWatchLoggingOption interface{} `field:"required" json:"cloudWatchLoggingOption" yaml:"cloudWatchLoggingOption"` }
Properties for defining a `CfnApplicationCloudWatchLoggingOption`.
Example:
// 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" cfnApplicationCloudWatchLoggingOptionProps := &CfnApplicationCloudWatchLoggingOptionProps{ ApplicationName: jsii.String("applicationName"), CloudWatchLoggingOption: &CloudWatchLoggingOptionProperty{ LogStreamArn: jsii.String("logStreamArn"), }, }
type CfnApplicationCloudWatchLoggingOption_CloudWatchLoggingOptionProperty ¶
type CfnApplicationCloudWatchLoggingOption_CloudWatchLoggingOptionProperty struct { // The ARN of the CloudWatch log to receive application messages. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationcloudwatchloggingoption-cloudwatchloggingoption.html#cfn-kinesisanalyticsv2-applicationcloudwatchloggingoption-cloudwatchloggingoption-logstreamarn // LogStreamArn *string `field:"required" json:"logStreamArn" yaml:"logStreamArn"` }
Provides a description of Amazon CloudWatch logging options, including the log stream Amazon Resource Name (ARN).
Example:
// 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" cloudWatchLoggingOptionProperty := &CloudWatchLoggingOptionProperty{ LogStreamArn: jsii.String("logStreamArn"), }
type CfnApplicationOutput ¶
type CfnApplicationOutput interface { awscdk.CfnResource awscdk.IInspectable // The name of the application. ApplicationName() *string SetApplicationName(val *string) AttrId() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Describes a SQL-based Kinesis Data Analytics application's output configuration, in which you identify an in-application stream and a destination where you want the in-application stream data to be written. Output() interface{} SetOutput(val interface{}) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Adds an external destination to your SQL-based Amazon Kinesis Data Analytics application.
If you want Kinesis Data Analytics to deliver data from an in-application stream within your application to an external destination (such as an Kinesis data stream, a Kinesis Data Firehose delivery stream, or an Amazon Lambda function), you add the relevant configuration to your application using this operation. You can configure one or more outputs for your application. Each output configuration maps an in-application stream and an external destination.
You can use one of the output configurations to deliver data from your in-application error stream to an external destination so that you can analyze the errors.
Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the [DescribeApplication](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_DescribeApplication.html) operation to find the current application version.
> Creation of multiple outputs should be sequential (use of DependsOn) to avoid a problem with a stale application version ( *ConcurrentModificationException* ).
Example:
// 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" cfnApplicationOutput := awscdk.Aws_kinesisanalyticsv2.NewCfnApplicationOutput(this, jsii.String("MyCfnApplicationOutput"), &CfnApplicationOutputProps{ ApplicationName: jsii.String("applicationName"), Output: &OutputProperty{ DestinationSchema: &DestinationSchemaProperty{ RecordFormatType: jsii.String("recordFormatType"), }, // the properties below are optional KinesisFirehoseOutput: &KinesisFirehoseOutputProperty{ ResourceArn: jsii.String("resourceArn"), }, KinesisStreamsOutput: &KinesisStreamsOutputProperty{ ResourceArn: jsii.String("resourceArn"), }, LambdaOutput: &LambdaOutputProperty{ ResourceArn: jsii.String("resourceArn"), }, Name: jsii.String("name"), }, })
func NewCfnApplicationOutput ¶
func NewCfnApplicationOutput(scope constructs.Construct, id *string, props *CfnApplicationOutputProps) CfnApplicationOutput
type CfnApplicationOutputProps ¶
type CfnApplicationOutputProps struct { // The name of the application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationoutput.html#cfn-kinesisanalyticsv2-applicationoutput-applicationname // ApplicationName *string `field:"required" json:"applicationName" yaml:"applicationName"` // Describes a SQL-based Kinesis Data Analytics application's output configuration, in which you identify an in-application stream and a destination where you want the in-application stream data to be written. // // The destination can be a Kinesis data stream or a Kinesis Data Firehose delivery stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationoutput.html#cfn-kinesisanalyticsv2-applicationoutput-output // Output interface{} `field:"required" json:"output" yaml:"output"` }
Properties for defining a `CfnApplicationOutput`.
Example:
// 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" cfnApplicationOutputProps := &CfnApplicationOutputProps{ ApplicationName: jsii.String("applicationName"), Output: &OutputProperty{ DestinationSchema: &DestinationSchemaProperty{ RecordFormatType: jsii.String("recordFormatType"), }, // the properties below are optional KinesisFirehoseOutput: &KinesisFirehoseOutputProperty{ ResourceArn: jsii.String("resourceArn"), }, KinesisStreamsOutput: &KinesisStreamsOutputProperty{ ResourceArn: jsii.String("resourceArn"), }, LambdaOutput: &LambdaOutputProperty{ ResourceArn: jsii.String("resourceArn"), }, Name: jsii.String("name"), }, }
type CfnApplicationOutput_DestinationSchemaProperty ¶
type CfnApplicationOutput_DestinationSchemaProperty struct { // Specifies the format of the records on the output stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-destinationschema.html#cfn-kinesisanalyticsv2-applicationoutput-destinationschema-recordformattype // RecordFormatType *string `field:"optional" json:"recordFormatType" yaml:"recordFormatType"` }
Describes the data format when records are written to the destination in a SQL-based Kinesis Data Analytics application.
Example:
// 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" destinationSchemaProperty := &DestinationSchemaProperty{ RecordFormatType: jsii.String("recordFormatType"), }
type CfnApplicationOutput_KinesisFirehoseOutputProperty ¶
type CfnApplicationOutput_KinesisFirehoseOutputProperty struct { // The ARN of the destination delivery stream to write to. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-kinesisfirehoseoutput.html#cfn-kinesisanalyticsv2-applicationoutput-kinesisfirehoseoutput-resourcearn // ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"` }
For a SQL-based Kinesis Data Analytics application, when configuring application output, identifies a Kinesis Data Firehose delivery stream as the destination.
You provide the stream Amazon Resource Name (ARN) of the delivery stream.
Example:
// 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" kinesisFirehoseOutputProperty := &KinesisFirehoseOutputProperty{ ResourceArn: jsii.String("resourceArn"), }
type CfnApplicationOutput_KinesisStreamsOutputProperty ¶
type CfnApplicationOutput_KinesisStreamsOutputProperty struct { // The ARN of the destination Kinesis data stream to write to. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-kinesisstreamsoutput.html#cfn-kinesisanalyticsv2-applicationoutput-kinesisstreamsoutput-resourcearn // ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"` }
When you configure a SQL-based Kinesis Data Analytics application's output, identifies a Kinesis data stream as the destination.
You provide the stream Amazon Resource Name (ARN).
Example:
// 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" kinesisStreamsOutputProperty := &KinesisStreamsOutputProperty{ ResourceArn: jsii.String("resourceArn"), }
type CfnApplicationOutput_LambdaOutputProperty ¶
type CfnApplicationOutput_LambdaOutputProperty struct { // The Amazon Resource Name (ARN) of the destination Lambda function to write to. // // > To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see [Example ARNs: Amazon Lambda](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda) // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-lambdaoutput.html#cfn-kinesisanalyticsv2-applicationoutput-lambdaoutput-resourcearn // ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"` }
When you configure a SQL-based Kinesis Data Analytics application's output, identifies an Amazon Lambda function as the destination.
You provide the function Amazon Resource Name (ARN) of the Lambda function.
Example:
// 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" lambdaOutputProperty := &LambdaOutputProperty{ ResourceArn: jsii.String("resourceArn"), }
type CfnApplicationOutput_OutputProperty ¶
type CfnApplicationOutput_OutputProperty struct { // Describes the data format when records are written to the destination. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-output.html#cfn-kinesisanalyticsv2-applicationoutput-output-destinationschema // DestinationSchema interface{} `field:"required" json:"destinationSchema" yaml:"destinationSchema"` // Identifies a Kinesis Data Firehose delivery stream as the destination. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-output.html#cfn-kinesisanalyticsv2-applicationoutput-output-kinesisfirehoseoutput // KinesisFirehoseOutput interface{} `field:"optional" json:"kinesisFirehoseOutput" yaml:"kinesisFirehoseOutput"` // Identifies a Kinesis data stream as the destination. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-output.html#cfn-kinesisanalyticsv2-applicationoutput-output-kinesisstreamsoutput // KinesisStreamsOutput interface{} `field:"optional" json:"kinesisStreamsOutput" yaml:"kinesisStreamsOutput"` // Identifies an Amazon Lambda function as the destination. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-output.html#cfn-kinesisanalyticsv2-applicationoutput-output-lambdaoutput // LambdaOutput interface{} `field:"optional" json:"lambdaOutput" yaml:"lambdaOutput"` // The name of the in-application stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-output.html#cfn-kinesisanalyticsv2-applicationoutput-output-name // Name *string `field:"optional" json:"name" yaml:"name"` }
Describes a SQL-based Kinesis Data Analytics application's output configuration, in which you identify an in-application stream and a destination where you want the in-application stream data to be written.
The destination can be a Kinesis data stream or a Kinesis Data Firehose delivery stream.
Example:
// 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" outputProperty := &OutputProperty{ DestinationSchema: &DestinationSchemaProperty{ RecordFormatType: jsii.String("recordFormatType"), }, // the properties below are optional KinesisFirehoseOutput: &KinesisFirehoseOutputProperty{ ResourceArn: jsii.String("resourceArn"), }, KinesisStreamsOutput: &KinesisStreamsOutputProperty{ ResourceArn: jsii.String("resourceArn"), }, LambdaOutput: &LambdaOutputProperty{ ResourceArn: jsii.String("resourceArn"), }, Name: jsii.String("name"), }
type CfnApplicationProps ¶
type CfnApplicationProps struct { // The runtime environment for the application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-runtimeenvironment // RuntimeEnvironment *string `field:"required" json:"runtimeEnvironment" yaml:"runtimeEnvironment"` // Specifies the IAM role that the application uses to access external resources. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-serviceexecutionrole // ServiceExecutionRole *string `field:"required" json:"serviceExecutionRole" yaml:"serviceExecutionRole"` // Use this parameter to configure the application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-applicationconfiguration // ApplicationConfiguration interface{} `field:"optional" json:"applicationConfiguration" yaml:"applicationConfiguration"` // The description of the application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-applicationdescription // // Default: - "". // ApplicationDescription *string `field:"optional" json:"applicationDescription" yaml:"applicationDescription"` // Describes the maintenance configuration for the application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-applicationmaintenanceconfiguration // ApplicationMaintenanceConfiguration interface{} `field:"optional" json:"applicationMaintenanceConfiguration" yaml:"applicationMaintenanceConfiguration"` // To create a Kinesis Data Analytics Studio notebook, you must set the mode to `INTERACTIVE` . // // However, for a Kinesis Data Analytics for Apache Flink application, the mode is optional. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-applicationmode // ApplicationMode *string `field:"optional" json:"applicationMode" yaml:"applicationMode"` // The name of the application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-applicationname // ApplicationName *string `field:"optional" json:"applicationName" yaml:"applicationName"` // Describes the starting parameters for an Managed Service for Apache Flink application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-runconfiguration // RunConfiguration interface{} `field:"optional" json:"runConfiguration" yaml:"runConfiguration"` // A list of one or more tags to assign to the application. // // 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. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnApplication`.
Example:
// 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" cfnApplicationProps := &CfnApplicationProps{ RuntimeEnvironment: jsii.String("runtimeEnvironment"), ServiceExecutionRole: jsii.String("serviceExecutionRole"), // the properties below are optional ApplicationConfiguration: &ApplicationConfigurationProperty{ ApplicationCodeConfiguration: &ApplicationCodeConfigurationProperty{ CodeContent: &CodeContentProperty{ S3ContentLocation: &S3ContentLocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }, TextContent: jsii.String("textContent"), ZipFileContent: jsii.String("zipFileContent"), }, CodeContentType: jsii.String("codeContentType"), }, ApplicationSnapshotConfiguration: &ApplicationSnapshotConfigurationProperty{ SnapshotsEnabled: jsii.Boolean(false), }, EnvironmentProperties: &EnvironmentPropertiesProperty{ PropertyGroups: []interface{}{ &PropertyGroupProperty{ PropertyGroupId: jsii.String("propertyGroupId"), PropertyMap: map[string]*string{ "propertyMapKey": jsii.String("propertyMap"), }, }, }, }, FlinkApplicationConfiguration: &FlinkApplicationConfigurationProperty{ CheckpointConfiguration: &CheckpointConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional CheckpointingEnabled: jsii.Boolean(false), CheckpointInterval: jsii.Number(123), MinPauseBetweenCheckpoints: jsii.Number(123), }, MonitoringConfiguration: &MonitoringConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional LogLevel: jsii.String("logLevel"), MetricsLevel: jsii.String("metricsLevel"), }, ParallelismConfiguration: &ParallelismConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional AutoScalingEnabled: jsii.Boolean(false), Parallelism: jsii.Number(123), ParallelismPerKpu: jsii.Number(123), }, }, SqlApplicationConfiguration: &SqlApplicationConfigurationProperty{ Inputs: []interface{}{ &InputProperty{ InputSchema: &InputSchemaProperty{ RecordColumns: []interface{}{ &RecordColumnProperty{ Name: jsii.String("name"), SqlType: jsii.String("sqlType"), // the properties below are optional Mapping: jsii.String("mapping"), }, }, RecordFormat: &RecordFormatProperty{ RecordFormatType: jsii.String("recordFormatType"), // the properties below are optional MappingParameters: &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }, }, // the properties below are optional RecordEncoding: jsii.String("recordEncoding"), }, NamePrefix: jsii.String("namePrefix"), // the properties below are optional InputParallelism: &InputParallelismProperty{ Count: jsii.Number(123), }, InputProcessingConfiguration: &InputProcessingConfigurationProperty{ InputLambdaProcessor: &InputLambdaProcessorProperty{ ResourceArn: jsii.String("resourceArn"), }, }, KinesisFirehoseInput: &KinesisFirehoseInputProperty{ ResourceArn: jsii.String("resourceArn"), }, KinesisStreamsInput: &KinesisStreamsInputProperty{ ResourceArn: jsii.String("resourceArn"), }, }, }, }, VpcConfigurations: []interface{}{ &VpcConfigurationProperty{ SecurityGroupIds: []*string{ jsii.String("securityGroupIds"), }, SubnetIds: []*string{ jsii.String("subnetIds"), }, }, }, ZeppelinApplicationConfiguration: &ZeppelinApplicationConfigurationProperty{ CatalogConfiguration: &CatalogConfigurationProperty{ GlueDataCatalogConfiguration: &GlueDataCatalogConfigurationProperty{ DatabaseArn: jsii.String("databaseArn"), }, }, CustomArtifactsConfiguration: []interface{}{ &CustomArtifactConfigurationProperty{ ArtifactType: jsii.String("artifactType"), // the properties below are optional MavenReference: &MavenReferenceProperty{ ArtifactId: jsii.String("artifactId"), GroupId: jsii.String("groupId"), Version: jsii.String("version"), }, S3ContentLocation: &S3ContentLocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }, }, }, DeployAsApplicationConfiguration: &DeployAsApplicationConfigurationProperty{ S3ContentLocation: &S3ContentBaseLocationProperty{ BucketArn: jsii.String("bucketArn"), // the properties below are optional BasePath: jsii.String("basePath"), }, }, MonitoringConfiguration: &ZeppelinMonitoringConfigurationProperty{ LogLevel: jsii.String("logLevel"), }, }, }, ApplicationDescription: jsii.String("applicationDescription"), ApplicationMaintenanceConfiguration: &ApplicationMaintenanceConfigurationProperty{ ApplicationMaintenanceWindowStartTime: jsii.String("applicationMaintenanceWindowStartTime"), }, ApplicationMode: jsii.String("applicationMode"), ApplicationName: jsii.String("applicationName"), RunConfiguration: &RunConfigurationProperty{ ApplicationRestoreConfiguration: &ApplicationRestoreConfigurationProperty{ ApplicationRestoreType: jsii.String("applicationRestoreType"), // the properties below are optional SnapshotName: jsii.String("snapshotName"), }, FlinkRunConfiguration: &FlinkRunConfigurationProperty{ AllowNonRestoredState: jsii.Boolean(false), }, }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnApplicationReferenceDataSource ¶
type CfnApplicationReferenceDataSource interface { awscdk.CfnResource awscdk.IInspectable // The name of the application. ApplicationName() *string SetApplicationName(val *string) AttrId() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table. ReferenceDataSource() interface{} SetReferenceDataSource(val interface{}) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.
Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table.
Example:
// 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" cfnApplicationReferenceDataSource := awscdk.Aws_kinesisanalyticsv2.NewCfnApplicationReferenceDataSource(this, jsii.String("MyCfnApplicationReferenceDataSource"), &CfnApplicationReferenceDataSourceProps{ ApplicationName: jsii.String("applicationName"), ReferenceDataSource: &ReferenceDataSourceProperty{ ReferenceSchema: &ReferenceSchemaProperty{ RecordColumns: []interface{}{ &RecordColumnProperty{ Name: jsii.String("name"), SqlType: jsii.String("sqlType"), // the properties below are optional Mapping: jsii.String("mapping"), }, }, RecordFormat: &RecordFormatProperty{ RecordFormatType: jsii.String("recordFormatType"), // the properties below are optional MappingParameters: &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }, }, // the properties below are optional RecordEncoding: jsii.String("recordEncoding"), }, // the properties below are optional S3ReferenceDataSource: &S3ReferenceDataSourceProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), }, TableName: jsii.String("tableName"), }, })
func NewCfnApplicationReferenceDataSource ¶
func NewCfnApplicationReferenceDataSource(scope constructs.Construct, id *string, props *CfnApplicationReferenceDataSourceProps) CfnApplicationReferenceDataSource
type CfnApplicationReferenceDataSourceProps ¶
type CfnApplicationReferenceDataSourceProps struct { // The name of the application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationreferencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-applicationname // ApplicationName *string `field:"required" json:"applicationName" yaml:"applicationName"` // For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationreferencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource // ReferenceDataSource interface{} `field:"required" json:"referenceDataSource" yaml:"referenceDataSource"` }
Properties for defining a `CfnApplicationReferenceDataSource`.
Example:
// 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" cfnApplicationReferenceDataSourceProps := &CfnApplicationReferenceDataSourceProps{ ApplicationName: jsii.String("applicationName"), ReferenceDataSource: &ReferenceDataSourceProperty{ ReferenceSchema: &ReferenceSchemaProperty{ RecordColumns: []interface{}{ &RecordColumnProperty{ Name: jsii.String("name"), SqlType: jsii.String("sqlType"), // the properties below are optional Mapping: jsii.String("mapping"), }, }, RecordFormat: &RecordFormatProperty{ RecordFormatType: jsii.String("recordFormatType"), // the properties below are optional MappingParameters: &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }, }, // the properties below are optional RecordEncoding: jsii.String("recordEncoding"), }, // the properties below are optional S3ReferenceDataSource: &S3ReferenceDataSourceProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), }, TableName: jsii.String("tableName"), }, }
type CfnApplicationReferenceDataSource_CSVMappingParametersProperty ¶
type CfnApplicationReferenceDataSource_CSVMappingParametersProperty struct { // The column delimiter. // // For example, in a CSV format, a comma (",") is the typical column delimiter. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-csvmappingparameters.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-csvmappingparameters-recordcolumndelimiter // RecordColumnDelimiter *string `field:"required" json:"recordColumnDelimiter" yaml:"recordColumnDelimiter"` // The row delimiter. // // For example, in a CSV format, *'\n'* is the typical row delimiter. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-csvmappingparameters.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-csvmappingparameters-recordrowdelimiter // RecordRowDelimiter *string `field:"required" json:"recordRowDelimiter" yaml:"recordRowDelimiter"` }
For a SQL-based Kinesis Data Analytics application, provides additional mapping information when the record format uses delimiters, such as CSV.
For example, the following sample records use CSV format, where the records use the *'\n'* as the row delimiter and a comma (",") as the column delimiter:
`"name1", "address1"`
`"name2", "address2"`.
Example:
// 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" cSVMappingParametersProperty := &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }
type CfnApplicationReferenceDataSource_JSONMappingParametersProperty ¶
type CfnApplicationReferenceDataSource_JSONMappingParametersProperty struct { // The path to the top-level parent that contains the records. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-jsonmappingparameters.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-jsonmappingparameters-recordrowpath // RecordRowPath *string `field:"required" json:"recordRowPath" yaml:"recordRowPath"` }
For a SQL-based Kinesis Data Analytics application, provides additional mapping information when JSON is the record format on the streaming source.
Example:
// 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" jSONMappingParametersProperty := &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }
type CfnApplicationReferenceDataSource_MappingParametersProperty ¶
type CfnApplicationReferenceDataSource_MappingParametersProperty struct { // Provides additional mapping information when the record format uses delimiters (for example, CSV). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-mappingparameters.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-mappingparameters-csvmappingparameters // CsvMappingParameters interface{} `field:"optional" json:"csvMappingParameters" yaml:"csvMappingParameters"` // Provides additional mapping information when JSON is the record format on the streaming source. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-mappingparameters.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-mappingparameters-jsonmappingparameters // JsonMappingParameters interface{} `field:"optional" json:"jsonMappingParameters" yaml:"jsonMappingParameters"` }
When you configure a SQL-based Kinesis Data Analytics application's input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
Example:
// 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" mappingParametersProperty := &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }
type CfnApplicationReferenceDataSource_RecordColumnProperty ¶
type CfnApplicationReferenceDataSource_RecordColumnProperty struct { // The name of the column that is created in the in-application input stream or reference table. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-recordcolumn.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-recordcolumn-name // Name *string `field:"required" json:"name" yaml:"name"` // The type of column created in the in-application input stream or reference table. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-recordcolumn.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-recordcolumn-sqltype // SqlType *string `field:"required" json:"sqlType" yaml:"sqlType"` // A reference to the data element in the streaming input or the reference data source. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-recordcolumn.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-recordcolumn-mapping // Mapping *string `field:"optional" json:"mapping" yaml:"mapping"` }
For a SQL-based Kinesis Data Analytics application, describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.
Also used to describe the format of the reference data source.
Example:
// 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" recordColumnProperty := &RecordColumnProperty{ Name: jsii.String("name"), SqlType: jsii.String("sqlType"), // the properties below are optional Mapping: jsii.String("mapping"), }
type CfnApplicationReferenceDataSource_RecordFormatProperty ¶
type CfnApplicationReferenceDataSource_RecordFormatProperty struct { // The type of record format. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-recordformat.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-recordformat-recordformattype // RecordFormatType *string `field:"required" json:"recordFormatType" yaml:"recordFormatType"` // When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-recordformat.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-recordformat-mappingparameters // MappingParameters interface{} `field:"optional" json:"mappingParameters" yaml:"mappingParameters"` }
For a SQL-based Kinesis Data Analytics application, describes the record format and relevant mapping information that should be applied to schematize the records on the stream.
Example:
// 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" recordFormatProperty := &RecordFormatProperty{ RecordFormatType: jsii.String("recordFormatType"), // the properties below are optional MappingParameters: &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }, }
type CfnApplicationReferenceDataSource_ReferenceDataSourceProperty ¶
type CfnApplicationReferenceDataSource_ReferenceDataSourceProperty struct { // Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource-referenceschema // ReferenceSchema interface{} `field:"required" json:"referenceSchema" yaml:"referenceSchema"` // Identifies the S3 bucket and object that contains the reference data. // // A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the [UpdateApplication](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_UpdateApplication.html) operation to trigger reloading of data into your application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource-s3referencedatasource // S3ReferenceDataSource interface{} `field:"optional" json:"s3ReferenceDataSource" yaml:"s3ReferenceDataSource"` // The name of the in-application table to create. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource-tablename // TableName *string `field:"optional" json:"tableName" yaml:"tableName"` }
For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table.
Example:
// 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" referenceDataSourceProperty := &ReferenceDataSourceProperty{ ReferenceSchema: &ReferenceSchemaProperty{ RecordColumns: []interface{}{ &RecordColumnProperty{ Name: jsii.String("name"), SqlType: jsii.String("sqlType"), // the properties below are optional Mapping: jsii.String("mapping"), }, }, RecordFormat: &RecordFormatProperty{ RecordFormatType: jsii.String("recordFormatType"), // the properties below are optional MappingParameters: &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }, }, // the properties below are optional RecordEncoding: jsii.String("recordEncoding"), }, // the properties below are optional S3ReferenceDataSource: &S3ReferenceDataSourceProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), }, TableName: jsii.String("tableName"), }
type CfnApplicationReferenceDataSource_ReferenceSchemaProperty ¶
type CfnApplicationReferenceDataSource_ReferenceSchemaProperty struct { // A list of `RecordColumn` objects. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referenceschema-recordcolumns // RecordColumns interface{} `field:"required" json:"recordColumns" yaml:"recordColumns"` // Specifies the format of the records on the streaming source. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referenceschema-recordformat // RecordFormat interface{} `field:"required" json:"recordFormat" yaml:"recordFormat"` // Specifies the encoding of the records in the streaming source. // // For example, UTF-8. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referenceschema-recordencoding // RecordEncoding *string `field:"optional" json:"recordEncoding" yaml:"recordEncoding"` }
For a SQL-based Kinesis Data Analytics application, describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
Example:
// 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" referenceSchemaProperty := &ReferenceSchemaProperty{ RecordColumns: []interface{}{ &RecordColumnProperty{ Name: jsii.String("name"), SqlType: jsii.String("sqlType"), // the properties below are optional Mapping: jsii.String("mapping"), }, }, RecordFormat: &RecordFormatProperty{ RecordFormatType: jsii.String("recordFormatType"), // the properties below are optional MappingParameters: &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }, }, // the properties below are optional RecordEncoding: jsii.String("recordEncoding"), }
type CfnApplicationReferenceDataSource_S3ReferenceDataSourceProperty ¶
type CfnApplicationReferenceDataSource_S3ReferenceDataSourceProperty struct { // The Amazon Resource Name (ARN) of the S3 bucket. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-s3referencedatasource-bucketarn // BucketArn *string `field:"required" json:"bucketArn" yaml:"bucketArn"` // The object key name containing the reference data. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-s3referencedatasource-filekey // FileKey *string `field:"required" json:"fileKey" yaml:"fileKey"` }
For an SQL-based Amazon Kinesis Data Analytics application, identifies the Amazon S3 bucket and object that contains the reference data.
A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the [UpdateApplication](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_UpdateApplication.html) operation to trigger reloading of data into your application.
Example:
// 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" s3ReferenceDataSourceProperty := &S3ReferenceDataSourceProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), }
type CfnApplication_ApplicationCodeConfigurationProperty ¶
type CfnApplication_ApplicationCodeConfigurationProperty struct { // The location and type of the application code. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationcodeconfiguration.html#cfn-kinesisanalyticsv2-application-applicationcodeconfiguration-codecontent // CodeContent interface{} `field:"required" json:"codeContent" yaml:"codeContent"` // Specifies whether the code content is in text or zip format. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationcodeconfiguration.html#cfn-kinesisanalyticsv2-application-applicationcodeconfiguration-codecontenttype // CodeContentType *string `field:"required" json:"codeContentType" yaml:"codeContentType"` }
Describes code configuration for an application.
Example:
// 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" applicationCodeConfigurationProperty := &ApplicationCodeConfigurationProperty{ CodeContent: &CodeContentProperty{ S3ContentLocation: &S3ContentLocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }, TextContent: jsii.String("textContent"), ZipFileContent: jsii.String("zipFileContent"), }, CodeContentType: jsii.String("codeContentType"), }
type CfnApplication_ApplicationConfigurationProperty ¶
type CfnApplication_ApplicationConfigurationProperty struct { // The code location and type parameters for a Managed Service for Apache Flink application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-applicationcodeconfiguration // ApplicationCodeConfiguration interface{} `field:"optional" json:"applicationCodeConfiguration" yaml:"applicationCodeConfiguration"` // Describes whether snapshots are enabled for a Managed Service for Apache Flink application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-applicationsnapshotconfiguration // ApplicationSnapshotConfiguration interface{} `field:"optional" json:"applicationSnapshotConfiguration" yaml:"applicationSnapshotConfiguration"` // Describes execution properties for a Managed Service for Apache Flink application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-environmentproperties // EnvironmentProperties interface{} `field:"optional" json:"environmentProperties" yaml:"environmentProperties"` // The creation and update parameters for a Managed Service for Apache Flink application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-flinkapplicationconfiguration // FlinkApplicationConfiguration interface{} `field:"optional" json:"flinkApplicationConfiguration" yaml:"flinkApplicationConfiguration"` // The creation and update parameters for a SQL-based Kinesis Data Analytics application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-sqlapplicationconfiguration // SqlApplicationConfiguration interface{} `field:"optional" json:"sqlApplicationConfiguration" yaml:"sqlApplicationConfiguration"` // The array of descriptions of VPC configurations available to the application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-vpcconfigurations // VpcConfigurations interface{} `field:"optional" json:"vpcConfigurations" yaml:"vpcConfigurations"` // The configuration parameters for a Kinesis Data Analytics Studio notebook. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-zeppelinapplicationconfiguration // ZeppelinApplicationConfiguration interface{} `field:"optional" json:"zeppelinApplicationConfiguration" yaml:"zeppelinApplicationConfiguration"` }
Specifies the creation parameters for a Managed Service for Apache Flink application.
Example:
// 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" applicationConfigurationProperty := &ApplicationConfigurationProperty{ ApplicationCodeConfiguration: &ApplicationCodeConfigurationProperty{ CodeContent: &CodeContentProperty{ S3ContentLocation: &S3ContentLocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }, TextContent: jsii.String("textContent"), ZipFileContent: jsii.String("zipFileContent"), }, CodeContentType: jsii.String("codeContentType"), }, ApplicationSnapshotConfiguration: &ApplicationSnapshotConfigurationProperty{ SnapshotsEnabled: jsii.Boolean(false), }, EnvironmentProperties: &EnvironmentPropertiesProperty{ PropertyGroups: []interface{}{ &PropertyGroupProperty{ PropertyGroupId: jsii.String("propertyGroupId"), PropertyMap: map[string]*string{ "propertyMapKey": jsii.String("propertyMap"), }, }, }, }, FlinkApplicationConfiguration: &FlinkApplicationConfigurationProperty{ CheckpointConfiguration: &CheckpointConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional CheckpointingEnabled: jsii.Boolean(false), CheckpointInterval: jsii.Number(123), MinPauseBetweenCheckpoints: jsii.Number(123), }, MonitoringConfiguration: &MonitoringConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional LogLevel: jsii.String("logLevel"), MetricsLevel: jsii.String("metricsLevel"), }, ParallelismConfiguration: &ParallelismConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional AutoScalingEnabled: jsii.Boolean(false), Parallelism: jsii.Number(123), ParallelismPerKpu: jsii.Number(123), }, }, SqlApplicationConfiguration: &SqlApplicationConfigurationProperty{ Inputs: []interface{}{ &InputProperty{ InputSchema: &InputSchemaProperty{ RecordColumns: []interface{}{ &RecordColumnProperty{ Name: jsii.String("name"), SqlType: jsii.String("sqlType"), // the properties below are optional Mapping: jsii.String("mapping"), }, }, RecordFormat: &RecordFormatProperty{ RecordFormatType: jsii.String("recordFormatType"), // the properties below are optional MappingParameters: &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }, }, // the properties below are optional RecordEncoding: jsii.String("recordEncoding"), }, NamePrefix: jsii.String("namePrefix"), // the properties below are optional InputParallelism: &InputParallelismProperty{ Count: jsii.Number(123), }, InputProcessingConfiguration: &InputProcessingConfigurationProperty{ InputLambdaProcessor: &InputLambdaProcessorProperty{ ResourceArn: jsii.String("resourceArn"), }, }, KinesisFirehoseInput: &KinesisFirehoseInputProperty{ ResourceArn: jsii.String("resourceArn"), }, KinesisStreamsInput: &KinesisStreamsInputProperty{ ResourceArn: jsii.String("resourceArn"), }, }, }, }, VpcConfigurations: []interface{}{ &VpcConfigurationProperty{ SecurityGroupIds: []*string{ jsii.String("securityGroupIds"), }, SubnetIds: []*string{ jsii.String("subnetIds"), }, }, }, ZeppelinApplicationConfiguration: &ZeppelinApplicationConfigurationProperty{ CatalogConfiguration: &CatalogConfigurationProperty{ GlueDataCatalogConfiguration: &GlueDataCatalogConfigurationProperty{ DatabaseArn: jsii.String("databaseArn"), }, }, CustomArtifactsConfiguration: []interface{}{ &CustomArtifactConfigurationProperty{ ArtifactType: jsii.String("artifactType"), // the properties below are optional MavenReference: &MavenReferenceProperty{ ArtifactId: jsii.String("artifactId"), GroupId: jsii.String("groupId"), Version: jsii.String("version"), }, S3ContentLocation: &S3ContentLocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }, }, }, DeployAsApplicationConfiguration: &DeployAsApplicationConfigurationProperty{ S3ContentLocation: &S3ContentBaseLocationProperty{ BucketArn: jsii.String("bucketArn"), // the properties below are optional BasePath: jsii.String("basePath"), }, }, MonitoringConfiguration: &ZeppelinMonitoringConfigurationProperty{ LogLevel: jsii.String("logLevel"), }, }, }
type CfnApplication_ApplicationMaintenanceConfigurationProperty ¶ added in v2.31.0
type CfnApplication_ApplicationMaintenanceConfigurationProperty struct { // Specifies the start time of the maintence window. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationmaintenanceconfiguration.html#cfn-kinesisanalyticsv2-application-applicationmaintenanceconfiguration-applicationmaintenancewindowstarttime // ApplicationMaintenanceWindowStartTime *string `field:"required" json:"applicationMaintenanceWindowStartTime" yaml:"applicationMaintenanceWindowStartTime"` }
Specifies the maintence window parameters for a Kinesis Data Analytics application.
Example:
// 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" applicationMaintenanceConfigurationProperty := &ApplicationMaintenanceConfigurationProperty{ ApplicationMaintenanceWindowStartTime: jsii.String("applicationMaintenanceWindowStartTime"), }
type CfnApplication_ApplicationRestoreConfigurationProperty ¶ added in v2.31.0
type CfnApplication_ApplicationRestoreConfigurationProperty struct { // Specifies how the application should be restored. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationrestoreconfiguration.html#cfn-kinesisanalyticsv2-application-applicationrestoreconfiguration-applicationrestoretype // ApplicationRestoreType *string `field:"required" json:"applicationRestoreType" yaml:"applicationRestoreType"` // The identifier of an existing snapshot of application state to use to restart an application. // // The application uses this value if `RESTORE_FROM_CUSTOM_SNAPSHOT` is specified for the `ApplicationRestoreType` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationrestoreconfiguration.html#cfn-kinesisanalyticsv2-application-applicationrestoreconfiguration-snapshotname // SnapshotName *string `field:"optional" json:"snapshotName" yaml:"snapshotName"` }
Specifies the method and snapshot to use when restarting an application using previously saved application state.
Example:
// 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" applicationRestoreConfigurationProperty := &ApplicationRestoreConfigurationProperty{ ApplicationRestoreType: jsii.String("applicationRestoreType"), // the properties below are optional SnapshotName: jsii.String("snapshotName"), }
type CfnApplication_ApplicationSnapshotConfigurationProperty ¶
type CfnApplication_ApplicationSnapshotConfigurationProperty struct { // Describes whether snapshots are enabled for a Managed Service for Apache Flink application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationsnapshotconfiguration.html#cfn-kinesisanalyticsv2-application-applicationsnapshotconfiguration-snapshotsenabled // SnapshotsEnabled interface{} `field:"required" json:"snapshotsEnabled" yaml:"snapshotsEnabled"` }
Describes whether snapshots are enabled for a Managed Service for Apache Flink application.
Example:
// 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" applicationSnapshotConfigurationProperty := &ApplicationSnapshotConfigurationProperty{ SnapshotsEnabled: jsii.Boolean(false), }
type CfnApplication_CSVMappingParametersProperty ¶
type CfnApplication_CSVMappingParametersProperty struct { // The column delimiter. // // For example, in a CSV format, a comma (",") is the typical column delimiter. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-csvmappingparameters.html#cfn-kinesisanalyticsv2-application-csvmappingparameters-recordcolumndelimiter // RecordColumnDelimiter *string `field:"required" json:"recordColumnDelimiter" yaml:"recordColumnDelimiter"` // The row delimiter. // // For example, in a CSV format, *'\n'* is the typical row delimiter. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-csvmappingparameters.html#cfn-kinesisanalyticsv2-application-csvmappingparameters-recordrowdelimiter // RecordRowDelimiter *string `field:"required" json:"recordRowDelimiter" yaml:"recordRowDelimiter"` }
For a SQL-based Kinesis Data Analytics application, provides additional mapping information when the record format uses delimiters, such as CSV.
For example, the following sample records use CSV format, where the records use the *'\n'* as the row delimiter and a comma (",") as the column delimiter:
`"name1", "address1"`
`"name2", "address2"`.
Example:
// 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" cSVMappingParametersProperty := &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }
type CfnApplication_CatalogConfigurationProperty ¶
type CfnApplication_CatalogConfigurationProperty struct { // The configuration parameters for the default Amazon Glue database. // // You use this database for Apache Flink SQL queries and table API transforms that you write in a Kinesis Data Analytics Studio notebook. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-catalogconfiguration.html#cfn-kinesisanalyticsv2-application-catalogconfiguration-gluedatacatalogconfiguration // GlueDataCatalogConfiguration interface{} `field:"optional" json:"glueDataCatalogConfiguration" yaml:"glueDataCatalogConfiguration"` }
The configuration parameters for the default Amazon Glue database.
You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.
Example:
// 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" catalogConfigurationProperty := &CatalogConfigurationProperty{ GlueDataCatalogConfiguration: &GlueDataCatalogConfigurationProperty{ DatabaseArn: jsii.String("databaseArn"), }, }
type CfnApplication_CheckpointConfigurationProperty ¶
type CfnApplication_CheckpointConfigurationProperty struct { // Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior. // // You must set this property to `CUSTOM` in order to set the `CheckpointingEnabled` , `CheckpointInterval` , or `MinPauseBetweenCheckpoints` parameters. // // > If this value is set to `DEFAULT` , the application will use the following values, even if they are set to other values using APIs or application code: // > // > - *CheckpointingEnabled:* true // > - *CheckpointInterval:* 60000 // > - *MinPauseBetweenCheckpoints:* 5000. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-checkpointconfiguration.html#cfn-kinesisanalyticsv2-application-checkpointconfiguration-configurationtype // ConfigurationType *string `field:"required" json:"configurationType" yaml:"configurationType"` // Describes whether checkpointing is enabled for a Managed Service for Apache Flink application. // // > If `CheckpointConfiguration.ConfigurationType` is `DEFAULT` , the application will use a `CheckpointingEnabled` value of `true` , even if this value is set to another value using this API or in application code. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-checkpointconfiguration.html#cfn-kinesisanalyticsv2-application-checkpointconfiguration-checkpointingenabled // CheckpointingEnabled interface{} `field:"optional" json:"checkpointingEnabled" yaml:"checkpointingEnabled"` // Describes the interval in milliseconds between checkpoint operations. // // > If `CheckpointConfiguration.ConfigurationType` is `DEFAULT` , the application will use a `CheckpointInterval` value of 60000, even if this value is set to another value using this API or in application code. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-checkpointconfiguration.html#cfn-kinesisanalyticsv2-application-checkpointconfiguration-checkpointinterval // CheckpointInterval *float64 `field:"optional" json:"checkpointInterval" yaml:"checkpointInterval"` // Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. // // If a checkpoint operation takes longer than the `CheckpointInterval` , the application otherwise performs continual checkpoint operations. For more information, see [Tuning Checkpointing](https://docs.aws.amazon.com/https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/state/large_state_tuning.html#tuning-checkpointing) in the [Apache Flink Documentation](https://docs.aws.amazon.com/https://ci.apache.org/projects/flink/flink-docs-release-1.8/) . // // > If `CheckpointConfiguration.ConfigurationType` is `DEFAULT` , the application will use a `MinPauseBetweenCheckpoints` value of 5000, even if this value is set using this API or in application code. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-checkpointconfiguration.html#cfn-kinesisanalyticsv2-application-checkpointconfiguration-minpausebetweencheckpoints // MinPauseBetweenCheckpoints *float64 `field:"optional" json:"minPauseBetweenCheckpoints" yaml:"minPauseBetweenCheckpoints"` }
Describes an application's checkpointing configuration.
Checkpointing is the process of persisting application state for fault tolerance. For more information, see [Checkpoints for Fault Tolerance](https://docs.aws.amazon.com/https://ci.apache.org/projects/flink/flink-docs-release-1.8/concepts/programming-model.html#checkpoints-for-fault-tolerance) in the [Apache Flink Documentation](https://docs.aws.amazon.com/https://ci.apache.org/projects/flink/flink-docs-release-1.8/) .
Example:
// 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" checkpointConfigurationProperty := &CheckpointConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional CheckpointingEnabled: jsii.Boolean(false), CheckpointInterval: jsii.Number(123), MinPauseBetweenCheckpoints: jsii.Number(123), }
type CfnApplication_CodeContentProperty ¶
type CfnApplication_CodeContentProperty struct { // Information about the Amazon S3 bucket that contains the application code. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-codecontent.html#cfn-kinesisanalyticsv2-application-codecontent-s3contentlocation // S3ContentLocation interface{} `field:"optional" json:"s3ContentLocation" yaml:"s3ContentLocation"` // The text-format code for a Managed Service for Apache Flink application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-codecontent.html#cfn-kinesisanalyticsv2-application-codecontent-textcontent // TextContent *string `field:"optional" json:"textContent" yaml:"textContent"` // The zip-format code for a Managed Service for Apache Flink application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-codecontent.html#cfn-kinesisanalyticsv2-application-codecontent-zipfilecontent // ZipFileContent *string `field:"optional" json:"zipFileContent" yaml:"zipFileContent"` }
Specifies either the application code, or the location of the application code, for a Managed Service for Apache Flink application.
Example:
// 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" codeContentProperty := &CodeContentProperty{ S3ContentLocation: &S3ContentLocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }, TextContent: jsii.String("textContent"), ZipFileContent: jsii.String("zipFileContent"), }
type CfnApplication_CustomArtifactConfigurationProperty ¶
type CfnApplication_CustomArtifactConfigurationProperty struct { // Set this to either `UDF` or `DEPENDENCY_JAR` . // // `UDF` stands for user-defined functions. This type of artifact must be in an S3 bucket. A `DEPENDENCY_JAR` can be in either Maven or an S3 bucket. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-customartifactconfiguration.html#cfn-kinesisanalyticsv2-application-customartifactconfiguration-artifacttype // ArtifactType *string `field:"required" json:"artifactType" yaml:"artifactType"` // The parameters required to fully specify a Maven reference. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-customartifactconfiguration.html#cfn-kinesisanalyticsv2-application-customartifactconfiguration-mavenreference // MavenReference interface{} `field:"optional" json:"mavenReference" yaml:"mavenReference"` // The location of the custom artifacts. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-customartifactconfiguration.html#cfn-kinesisanalyticsv2-application-customartifactconfiguration-s3contentlocation // S3ContentLocation interface{} `field:"optional" json:"s3ContentLocation" yaml:"s3ContentLocation"` }
The configuration of connectors and user-defined functions.
Example:
// 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" customArtifactConfigurationProperty := &CustomArtifactConfigurationProperty{ ArtifactType: jsii.String("artifactType"), // the properties below are optional MavenReference: &MavenReferenceProperty{ ArtifactId: jsii.String("artifactId"), GroupId: jsii.String("groupId"), Version: jsii.String("version"), }, S3ContentLocation: &S3ContentLocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }, }
type CfnApplication_DeployAsApplicationConfigurationProperty ¶
type CfnApplication_DeployAsApplicationConfigurationProperty struct { // The description of an Amazon S3 object that contains the Amazon Data Analytics application, including the Amazon Resource Name (ARN) of the S3 bucket, the name of the Amazon S3 object that contains the data, and the version number of the Amazon S3 object that contains the data. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-deployasapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-deployasapplicationconfiguration-s3contentlocation // S3ContentLocation interface{} `field:"required" json:"s3ContentLocation" yaml:"s3ContentLocation"` }
The information required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state.
Example:
// 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" deployAsApplicationConfigurationProperty := &DeployAsApplicationConfigurationProperty{ S3ContentLocation: &S3ContentBaseLocationProperty{ BucketArn: jsii.String("bucketArn"), // the properties below are optional BasePath: jsii.String("basePath"), }, }
type CfnApplication_EnvironmentPropertiesProperty ¶
type CfnApplication_EnvironmentPropertiesProperty struct { // Describes the execution property groups. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-environmentproperties.html#cfn-kinesisanalyticsv2-application-environmentproperties-propertygroups // PropertyGroups interface{} `field:"optional" json:"propertyGroups" yaml:"propertyGroups"` }
Describes execution properties for a Managed Service for Apache Flink application.
Example:
// 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" environmentPropertiesProperty := &EnvironmentPropertiesProperty{ PropertyGroups: []interface{}{ &PropertyGroupProperty{ PropertyGroupId: jsii.String("propertyGroupId"), PropertyMap: map[string]*string{ "propertyMapKey": jsii.String("propertyMap"), }, }, }, }
type CfnApplication_FlinkApplicationConfigurationProperty ¶
type CfnApplication_FlinkApplicationConfigurationProperty struct { // Describes an application's checkpointing configuration. // // Checkpointing is the process of persisting application state for fault tolerance. For more information, see [Checkpoints for Fault Tolerance](https://docs.aws.amazon.com/https://ci.apache.org/projects/flink/flink-docs-release-1.8/concepts/programming-model.html#checkpoints-for-fault-tolerance) in the [Apache Flink Documentation](https://docs.aws.amazon.com/https://ci.apache.org/projects/flink/flink-docs-release-1.8/) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-flinkapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-flinkapplicationconfiguration-checkpointconfiguration // CheckpointConfiguration interface{} `field:"optional" json:"checkpointConfiguration" yaml:"checkpointConfiguration"` // Describes configuration parameters for Amazon CloudWatch logging for an application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-flinkapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-flinkapplicationconfiguration-monitoringconfiguration // MonitoringConfiguration interface{} `field:"optional" json:"monitoringConfiguration" yaml:"monitoringConfiguration"` // Describes parameters for how an application executes multiple tasks simultaneously. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-flinkapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-flinkapplicationconfiguration-parallelismconfiguration // ParallelismConfiguration interface{} `field:"optional" json:"parallelismConfiguration" yaml:"parallelismConfiguration"` }
Describes configuration parameters for a Managed Service for Apache Flink application or a Studio notebook.
Example:
// 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" flinkApplicationConfigurationProperty := &FlinkApplicationConfigurationProperty{ CheckpointConfiguration: &CheckpointConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional CheckpointingEnabled: jsii.Boolean(false), CheckpointInterval: jsii.Number(123), MinPauseBetweenCheckpoints: jsii.Number(123), }, MonitoringConfiguration: &MonitoringConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional LogLevel: jsii.String("logLevel"), MetricsLevel: jsii.String("metricsLevel"), }, ParallelismConfiguration: &ParallelismConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional AutoScalingEnabled: jsii.Boolean(false), Parallelism: jsii.Number(123), ParallelismPerKpu: jsii.Number(123), }, }
type CfnApplication_FlinkRunConfigurationProperty ¶ added in v2.31.0
type CfnApplication_FlinkRunConfigurationProperty struct { // When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. // // This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see [Allowing Non-Restored State](https://docs.aws.amazon.com/https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/state/savepoints.html#allowing-non-restored-state) in the [Apache Flink documentation](https://docs.aws.amazon.com/https://ci.apache.org/projects/flink/flink-docs-release-1.8/) . // // > This value defaults to `false` . If you update your application without specifying this parameter, `AllowNonRestoredState` will be set to `false` , even if it was previously set to `true` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-flinkrunconfiguration.html#cfn-kinesisanalyticsv2-application-flinkrunconfiguration-allownonrestoredstate // AllowNonRestoredState interface{} `field:"optional" json:"allowNonRestoredState" yaml:"allowNonRestoredState"` }
Describes the starting parameters for a Managed Service for Apache Flink application.
Example:
// 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" flinkRunConfigurationProperty := &FlinkRunConfigurationProperty{ AllowNonRestoredState: jsii.Boolean(false), }
type CfnApplication_GlueDataCatalogConfigurationProperty ¶
type CfnApplication_GlueDataCatalogConfigurationProperty struct { // The Amazon Resource Name (ARN) of the database. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-gluedatacatalogconfiguration.html#cfn-kinesisanalyticsv2-application-gluedatacatalogconfiguration-databasearn // DatabaseArn *string `field:"optional" json:"databaseArn" yaml:"databaseArn"` }
The configuration of the Glue Data Catalog that you use for Apache Flink SQL queries and table API transforms that you write in an application.
Example:
// 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" glueDataCatalogConfigurationProperty := &GlueDataCatalogConfigurationProperty{ DatabaseArn: jsii.String("databaseArn"), }
type CfnApplication_InputLambdaProcessorProperty ¶
type CfnApplication_InputLambdaProcessorProperty struct { // The ARN of the Amazon Lambda function that operates on records in the stream. // // > To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see [Example ARNs: Amazon Lambda](https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda) // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputlambdaprocessor.html#cfn-kinesisanalyticsv2-application-inputlambdaprocessor-resourcearn // ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"` }
An object that contains the Amazon Resource Name (ARN) of the Amazon Lambda function that is used to preprocess records in the stream in a SQL-based Kinesis Data Analytics application.
Example:
// 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" inputLambdaProcessorProperty := &InputLambdaProcessorProperty{ ResourceArn: jsii.String("resourceArn"), }
type CfnApplication_InputParallelismProperty ¶
type CfnApplication_InputParallelismProperty struct { // The number of in-application streams to create. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputparallelism.html#cfn-kinesisanalyticsv2-application-inputparallelism-count // Count *float64 `field:"optional" json:"count" yaml:"count"` }
For a SQL-based Kinesis Data Analytics application, describes the number of in-application streams to create for a given streaming source.
Example:
// 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" inputParallelismProperty := &InputParallelismProperty{ Count: jsii.Number(123), }
type CfnApplication_InputProcessingConfigurationProperty ¶
type CfnApplication_InputProcessingConfigurationProperty struct { // The [InputLambdaProcessor](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_InputLambdaProcessor.html) that is used to preprocess the records in the stream before being processed by your application code. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputprocessingconfiguration.html#cfn-kinesisanalyticsv2-application-inputprocessingconfiguration-inputlambdaprocessor // InputLambdaProcessor interface{} `field:"optional" json:"inputLambdaProcessor" yaml:"inputLambdaProcessor"` }
For an SQL-based Amazon Kinesis Data Analytics application, describes a processor that is used to preprocess the records in the stream before being processed by your application code.
Currently, the only input processor available is [Amazon Lambda](https://docs.aws.amazon.com/lambda/) .
Example:
// 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" inputProcessingConfigurationProperty := &InputProcessingConfigurationProperty{ InputLambdaProcessor: &InputLambdaProcessorProperty{ ResourceArn: jsii.String("resourceArn"), }, }
type CfnApplication_InputProperty ¶
type CfnApplication_InputProperty struct { // Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created. // // Also used to describe the format of the reference data source. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-inputschema // InputSchema interface{} `field:"required" json:"inputSchema" yaml:"inputSchema"` // The name prefix to use when creating an in-application stream. // // Suppose that you specify a prefix " `MyInApplicationStream` ." Kinesis Data Analytics then creates one or more (as per the `InputParallelism` count you specified) in-application streams with the names " `MyInApplicationStream_001` ," " `MyInApplicationStream_002` ," and so on. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-nameprefix // NamePrefix *string `field:"required" json:"namePrefix" yaml:"namePrefix"` // Describes the number of in-application streams to create. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-inputparallelism // InputParallelism interface{} `field:"optional" json:"inputParallelism" yaml:"inputParallelism"` // The [InputProcessingConfiguration](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_InputProcessingConfiguration.html) for the input. An input processor transforms records as they are received from the stream, before the application's SQL code executes. Currently, the only input processing configuration available is [InputLambdaProcessor](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_InputLambdaProcessor.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-inputprocessingconfiguration // InputProcessingConfiguration interface{} `field:"optional" json:"inputProcessingConfiguration" yaml:"inputProcessingConfiguration"` // If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-kinesisfirehoseinput // KinesisFirehoseInput interface{} `field:"optional" json:"kinesisFirehoseInput" yaml:"kinesisFirehoseInput"` // If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-kinesisstreamsinput // KinesisStreamsInput interface{} `field:"optional" json:"kinesisStreamsInput" yaml:"kinesisStreamsInput"` }
When you configure the application input for a SQL-based Kinesis Data Analytics application, you specify the streaming source, the in-application stream name that is created, and the mapping between the two.
Example:
// 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" inputProperty := &InputProperty{ InputSchema: &InputSchemaProperty{ RecordColumns: []interface{}{ &RecordColumnProperty{ Name: jsii.String("name"), SqlType: jsii.String("sqlType"), // the properties below are optional Mapping: jsii.String("mapping"), }, }, RecordFormat: &RecordFormatProperty{ RecordFormatType: jsii.String("recordFormatType"), // the properties below are optional MappingParameters: &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }, }, // the properties below are optional RecordEncoding: jsii.String("recordEncoding"), }, NamePrefix: jsii.String("namePrefix"), // the properties below are optional InputParallelism: &InputParallelismProperty{ Count: jsii.Number(123), }, InputProcessingConfiguration: &InputProcessingConfigurationProperty{ InputLambdaProcessor: &InputLambdaProcessorProperty{ ResourceArn: jsii.String("resourceArn"), }, }, KinesisFirehoseInput: &KinesisFirehoseInputProperty{ ResourceArn: jsii.String("resourceArn"), }, KinesisStreamsInput: &KinesisStreamsInputProperty{ ResourceArn: jsii.String("resourceArn"), }, }
type CfnApplication_InputSchemaProperty ¶
type CfnApplication_InputSchemaProperty struct { // A list of `RecordColumn` objects. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputschema.html#cfn-kinesisanalyticsv2-application-inputschema-recordcolumns // RecordColumns interface{} `field:"required" json:"recordColumns" yaml:"recordColumns"` // Specifies the format of the records on the streaming source. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputschema.html#cfn-kinesisanalyticsv2-application-inputschema-recordformat // RecordFormat interface{} `field:"required" json:"recordFormat" yaml:"recordFormat"` // Specifies the encoding of the records in the streaming source. // // For example, UTF-8. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputschema.html#cfn-kinesisanalyticsv2-application-inputschema-recordencoding // RecordEncoding *string `field:"optional" json:"recordEncoding" yaml:"recordEncoding"` }
For a SQL-based Kinesis Data Analytics application, describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
Example:
// 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" inputSchemaProperty := &InputSchemaProperty{ RecordColumns: []interface{}{ &RecordColumnProperty{ Name: jsii.String("name"), SqlType: jsii.String("sqlType"), // the properties below are optional Mapping: jsii.String("mapping"), }, }, RecordFormat: &RecordFormatProperty{ RecordFormatType: jsii.String("recordFormatType"), // the properties below are optional MappingParameters: &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }, }, // the properties below are optional RecordEncoding: jsii.String("recordEncoding"), }
type CfnApplication_JSONMappingParametersProperty ¶
type CfnApplication_JSONMappingParametersProperty struct { // The path to the top-level parent that contains the records. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-jsonmappingparameters.html#cfn-kinesisanalyticsv2-application-jsonmappingparameters-recordrowpath // RecordRowPath *string `field:"required" json:"recordRowPath" yaml:"recordRowPath"` }
For a SQL-based Kinesis Data Analytics application, provides additional mapping information when JSON is the record format on the streaming source.
Example:
// 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" jSONMappingParametersProperty := &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }
type CfnApplication_KinesisFirehoseInputProperty ¶
type CfnApplication_KinesisFirehoseInputProperty struct { // The Amazon Resource Name (ARN) of the delivery stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-kinesisfirehoseinput.html#cfn-kinesisanalyticsv2-application-kinesisfirehoseinput-resourcearn // ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"` }
For a SQL-based Kinesis Data Analytics application, identifies a Kinesis Data Firehose delivery stream as the streaming source.
You provide the delivery stream's Amazon Resource Name (ARN).
Example:
// 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" kinesisFirehoseInputProperty := &KinesisFirehoseInputProperty{ ResourceArn: jsii.String("resourceArn"), }
type CfnApplication_KinesisStreamsInputProperty ¶
type CfnApplication_KinesisStreamsInputProperty struct { // The ARN of the input Kinesis data stream to read. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-kinesisstreamsinput.html#cfn-kinesisanalyticsv2-application-kinesisstreamsinput-resourcearn // ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"` }
Identifies a Kinesis data stream as the streaming source.
You provide the stream's Amazon Resource Name (ARN).
Example:
// 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" kinesisStreamsInputProperty := &KinesisStreamsInputProperty{ ResourceArn: jsii.String("resourceArn"), }
type CfnApplication_MappingParametersProperty ¶
type CfnApplication_MappingParametersProperty struct { // Provides additional mapping information when the record format uses delimiters (for example, CSV). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-mappingparameters.html#cfn-kinesisanalyticsv2-application-mappingparameters-csvmappingparameters // CsvMappingParameters interface{} `field:"optional" json:"csvMappingParameters" yaml:"csvMappingParameters"` // Provides additional mapping information when JSON is the record format on the streaming source. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-mappingparameters.html#cfn-kinesisanalyticsv2-application-mappingparameters-jsonmappingparameters // JsonMappingParameters interface{} `field:"optional" json:"jsonMappingParameters" yaml:"jsonMappingParameters"` }
When you configure a SQL-based Kinesis Data Analytics application's input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
Example:
// 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" mappingParametersProperty := &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }
type CfnApplication_MavenReferenceProperty ¶
type CfnApplication_MavenReferenceProperty struct { // The artifact ID of the Maven reference. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-mavenreference.html#cfn-kinesisanalyticsv2-application-mavenreference-artifactid // ArtifactId *string `field:"required" json:"artifactId" yaml:"artifactId"` // The group ID of the Maven reference. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-mavenreference.html#cfn-kinesisanalyticsv2-application-mavenreference-groupid // GroupId *string `field:"required" json:"groupId" yaml:"groupId"` // The version of the Maven reference. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-mavenreference.html#cfn-kinesisanalyticsv2-application-mavenreference-version // Version *string `field:"required" json:"version" yaml:"version"` }
The information required to specify a Maven reference.
You can use Maven references to specify dependency JAR files.
Example:
// 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" mavenReferenceProperty := &MavenReferenceProperty{ ArtifactId: jsii.String("artifactId"), GroupId: jsii.String("groupId"), Version: jsii.String("version"), }
type CfnApplication_MonitoringConfigurationProperty ¶
type CfnApplication_MonitoringConfigurationProperty struct { // Describes whether to use the default CloudWatch logging configuration for an application. // // You must set this property to `CUSTOM` in order to set the `LogLevel` or `MetricsLevel` parameters. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-monitoringconfiguration.html#cfn-kinesisanalyticsv2-application-monitoringconfiguration-configurationtype // ConfigurationType *string `field:"required" json:"configurationType" yaml:"configurationType"` // Describes the verbosity of the CloudWatch Logs for an application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-monitoringconfiguration.html#cfn-kinesisanalyticsv2-application-monitoringconfiguration-loglevel // LogLevel *string `field:"optional" json:"logLevel" yaml:"logLevel"` // Describes the granularity of the CloudWatch Logs for an application. // // The `Parallelism` level is not recommended for applications with a Parallelism over 64 due to excessive costs. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-monitoringconfiguration.html#cfn-kinesisanalyticsv2-application-monitoringconfiguration-metricslevel // MetricsLevel *string `field:"optional" json:"metricsLevel" yaml:"metricsLevel"` }
Describes configuration parameters for Amazon CloudWatch logging for a Java-based Kinesis Data Analytics application.
For more information about CloudWatch logging, see [Monitoring](https://docs.aws.amazon.com/managed-flink/latest/java/monitoring-overview) .
Example:
// 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" monitoringConfigurationProperty := &MonitoringConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional LogLevel: jsii.String("logLevel"), MetricsLevel: jsii.String("metricsLevel"), }
type CfnApplication_ParallelismConfigurationProperty ¶
type CfnApplication_ParallelismConfigurationProperty struct { // Describes whether the application uses the default parallelism for the Managed Service for Apache Flink service. // // You must set this property to `CUSTOM` in order to change your application's `AutoScalingEnabled` , `Parallelism` , or `ParallelismPerKPU` properties. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-parallelismconfiguration.html#cfn-kinesisanalyticsv2-application-parallelismconfiguration-configurationtype // ConfigurationType *string `field:"required" json:"configurationType" yaml:"configurationType"` // Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in response to increased throughput. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-parallelismconfiguration.html#cfn-kinesisanalyticsv2-application-parallelismconfiguration-autoscalingenabled // AutoScalingEnabled interface{} `field:"optional" json:"autoScalingEnabled" yaml:"autoScalingEnabled"` // Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform. // // The Kinesis Data Analytics service can increase this number automatically if [ParallelismConfiguration:AutoScalingEnabled](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_ParallelismConfiguration.html#kinesisanalytics-Type-ParallelismConfiguration-AutoScalingEnabled.html) is set to `true` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-parallelismconfiguration.html#cfn-kinesisanalyticsv2-application-parallelismconfiguration-parallelism // Parallelism *float64 `field:"optional" json:"parallelism" yaml:"parallelism"` // Describes the number of parallel tasks that a Java-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application. // // For more information about KPUs, see [Amazon Kinesis Data Analytics Pricing](https://docs.aws.amazon.com/kinesis/data-analytics/pricing/) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-parallelismconfiguration.html#cfn-kinesisanalyticsv2-application-parallelismconfiguration-parallelismperkpu // ParallelismPerKpu *float64 `field:"optional" json:"parallelismPerKpu" yaml:"parallelismPerKpu"` }
Describes parameters for how a Flink-based Kinesis Data Analytics application executes multiple tasks simultaneously.
For more information about parallelism, see [Parallel Execution](https://docs.aws.amazon.com/https://ci.apache.org/projects/flink/flink-docs-release-1.8/dev/parallel.html) in the [Apache Flink Documentation](https://docs.aws.amazon.com/https://ci.apache.org/projects/flink/flink-docs-release-1.8/) .
Example:
// 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" parallelismConfigurationProperty := &ParallelismConfigurationProperty{ ConfigurationType: jsii.String("configurationType"), // the properties below are optional AutoScalingEnabled: jsii.Boolean(false), Parallelism: jsii.Number(123), ParallelismPerKpu: jsii.Number(123), }
type CfnApplication_PropertyGroupProperty ¶
type CfnApplication_PropertyGroupProperty struct { // Describes the key of an application execution property key-value pair. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-propertygroup.html#cfn-kinesisanalyticsv2-application-propertygroup-propertygroupid // PropertyGroupId *string `field:"optional" json:"propertyGroupId" yaml:"propertyGroupId"` // Describes the value of an application execution property key-value pair. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-propertygroup.html#cfn-kinesisanalyticsv2-application-propertygroup-propertymap // PropertyMap interface{} `field:"optional" json:"propertyMap" yaml:"propertyMap"` }
Property key-value pairs passed into an application.
Example:
// 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" propertyGroupProperty := &PropertyGroupProperty{ PropertyGroupId: jsii.String("propertyGroupId"), PropertyMap: map[string]*string{ "propertyMapKey": jsii.String("propertyMap"), }, }
type CfnApplication_RecordColumnProperty ¶
type CfnApplication_RecordColumnProperty struct { // The name of the column that is created in the in-application input stream or reference table. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-recordcolumn.html#cfn-kinesisanalyticsv2-application-recordcolumn-name // Name *string `field:"required" json:"name" yaml:"name"` // The type of column created in the in-application input stream or reference table. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-recordcolumn.html#cfn-kinesisanalyticsv2-application-recordcolumn-sqltype // SqlType *string `field:"required" json:"sqlType" yaml:"sqlType"` // A reference to the data element in the streaming input or the reference data source. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-recordcolumn.html#cfn-kinesisanalyticsv2-application-recordcolumn-mapping // Mapping *string `field:"optional" json:"mapping" yaml:"mapping"` }
For a SQL-based Kinesis Data Analytics application, describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.
Also used to describe the format of the reference data source.
Example:
// 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" recordColumnProperty := &RecordColumnProperty{ Name: jsii.String("name"), SqlType: jsii.String("sqlType"), // the properties below are optional Mapping: jsii.String("mapping"), }
type CfnApplication_RecordFormatProperty ¶
type CfnApplication_RecordFormatProperty struct { // The type of record format. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-recordformat.html#cfn-kinesisanalyticsv2-application-recordformat-recordformattype // RecordFormatType *string `field:"required" json:"recordFormatType" yaml:"recordFormatType"` // When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-recordformat.html#cfn-kinesisanalyticsv2-application-recordformat-mappingparameters // MappingParameters interface{} `field:"optional" json:"mappingParameters" yaml:"mappingParameters"` }
For a SQL-based Kinesis Data Analytics application, describes the record format and relevant mapping information that should be applied to schematize the records on the stream.
Example:
// 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" recordFormatProperty := &RecordFormatProperty{ RecordFormatType: jsii.String("recordFormatType"), // the properties below are optional MappingParameters: &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }, }
type CfnApplication_RunConfigurationProperty ¶ added in v2.31.0
type CfnApplication_RunConfigurationProperty struct { // Describes the restore behavior of a restarting application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-runconfiguration.html#cfn-kinesisanalyticsv2-application-runconfiguration-applicationrestoreconfiguration // ApplicationRestoreConfiguration interface{} `field:"optional" json:"applicationRestoreConfiguration" yaml:"applicationRestoreConfiguration"` // Describes the starting parameters for a Managed Service for Apache Flink application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-runconfiguration.html#cfn-kinesisanalyticsv2-application-runconfiguration-flinkrunconfiguration // FlinkRunConfiguration interface{} `field:"optional" json:"flinkRunConfiguration" yaml:"flinkRunConfiguration"` }
Describes the starting parameters for an Managed Service for Apache Flink application.
Example:
// 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" runConfigurationProperty := &RunConfigurationProperty{ ApplicationRestoreConfiguration: &ApplicationRestoreConfigurationProperty{ ApplicationRestoreType: jsii.String("applicationRestoreType"), // the properties below are optional SnapshotName: jsii.String("snapshotName"), }, FlinkRunConfiguration: &FlinkRunConfigurationProperty{ AllowNonRestoredState: jsii.Boolean(false), }, }
type CfnApplication_S3ContentBaseLocationProperty ¶
type CfnApplication_S3ContentBaseLocationProperty struct { // The Amazon Resource Name (ARN) of the S3 bucket. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-s3contentbaselocation.html#cfn-kinesisanalyticsv2-application-s3contentbaselocation-bucketarn // BucketArn *string `field:"required" json:"bucketArn" yaml:"bucketArn"` // The base path for the S3 bucket. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-s3contentbaselocation.html#cfn-kinesisanalyticsv2-application-s3contentbaselocation-basepath // BasePath *string `field:"optional" json:"basePath" yaml:"basePath"` }
The base location of the Amazon Data Analytics application.
Example:
// 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" s3ContentBaseLocationProperty := &S3ContentBaseLocationProperty{ BucketArn: jsii.String("bucketArn"), // the properties below are optional BasePath: jsii.String("basePath"), }
type CfnApplication_S3ContentLocationProperty ¶
type CfnApplication_S3ContentLocationProperty struct { // The Amazon Resource Name (ARN) for the S3 bucket containing the application code. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-s3contentlocation.html#cfn-kinesisanalyticsv2-application-s3contentlocation-bucketarn // BucketArn *string `field:"required" json:"bucketArn" yaml:"bucketArn"` // The file key for the object containing the application code. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-s3contentlocation.html#cfn-kinesisanalyticsv2-application-s3contentlocation-filekey // FileKey *string `field:"required" json:"fileKey" yaml:"fileKey"` // The version of the object containing the application code. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-s3contentlocation.html#cfn-kinesisanalyticsv2-application-s3contentlocation-objectversion // ObjectVersion *string `field:"optional" json:"objectVersion" yaml:"objectVersion"` }
The location of an application or a custom artifact.
Example:
// 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" s3ContentLocationProperty := &S3ContentLocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }
type CfnApplication_SqlApplicationConfigurationProperty ¶
type CfnApplication_SqlApplicationConfigurationProperty struct { // The array of [Input](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_Input.html) objects describing the input streams used by the application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-sqlapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-sqlapplicationconfiguration-inputs // Inputs interface{} `field:"optional" json:"inputs" yaml:"inputs"` }
Describes the inputs, outputs, and reference data sources for a SQL-based Kinesis Data Analytics application.
Example:
// 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" sqlApplicationConfigurationProperty := &SqlApplicationConfigurationProperty{ Inputs: []interface{}{ &InputProperty{ InputSchema: &InputSchemaProperty{ RecordColumns: []interface{}{ &RecordColumnProperty{ Name: jsii.String("name"), SqlType: jsii.String("sqlType"), // the properties below are optional Mapping: jsii.String("mapping"), }, }, RecordFormat: &RecordFormatProperty{ RecordFormatType: jsii.String("recordFormatType"), // the properties below are optional MappingParameters: &MappingParametersProperty{ CsvMappingParameters: &CSVMappingParametersProperty{ RecordColumnDelimiter: jsii.String("recordColumnDelimiter"), RecordRowDelimiter: jsii.String("recordRowDelimiter"), }, JsonMappingParameters: &JSONMappingParametersProperty{ RecordRowPath: jsii.String("recordRowPath"), }, }, }, // the properties below are optional RecordEncoding: jsii.String("recordEncoding"), }, NamePrefix: jsii.String("namePrefix"), // the properties below are optional InputParallelism: &InputParallelismProperty{ Count: jsii.Number(123), }, InputProcessingConfiguration: &InputProcessingConfigurationProperty{ InputLambdaProcessor: &InputLambdaProcessorProperty{ ResourceArn: jsii.String("resourceArn"), }, }, KinesisFirehoseInput: &KinesisFirehoseInputProperty{ ResourceArn: jsii.String("resourceArn"), }, KinesisStreamsInput: &KinesisStreamsInputProperty{ ResourceArn: jsii.String("resourceArn"), }, }, }, }
type CfnApplication_VpcConfigurationProperty ¶ added in v2.31.0
type CfnApplication_VpcConfigurationProperty struct { // The array of [SecurityGroup](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html) IDs used by the VPC configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-vpcconfiguration.html#cfn-kinesisanalyticsv2-application-vpcconfiguration-securitygroupids // SecurityGroupIds *[]*string `field:"required" json:"securityGroupIds" yaml:"securityGroupIds"` // The array of [Subnet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html) IDs used by the VPC configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-vpcconfiguration.html#cfn-kinesisanalyticsv2-application-vpcconfiguration-subnetids // SubnetIds *[]*string `field:"required" json:"subnetIds" yaml:"subnetIds"` }
Describes the parameters of a VPC used by the application.
Example:
// 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" vpcConfigurationProperty := &VpcConfigurationProperty{ SecurityGroupIds: []*string{ jsii.String("securityGroupIds"), }, SubnetIds: []*string{ jsii.String("subnetIds"), }, }
type CfnApplication_ZeppelinApplicationConfigurationProperty ¶
type CfnApplication_ZeppelinApplicationConfigurationProperty struct { // The Amazon Glue Data Catalog that you use in queries in a Kinesis Data Analytics Studio notebook. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-zeppelinapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-zeppelinapplicationconfiguration-catalogconfiguration // CatalogConfiguration interface{} `field:"optional" json:"catalogConfiguration" yaml:"catalogConfiguration"` // A list of `CustomArtifactConfiguration` objects. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-zeppelinapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-zeppelinapplicationconfiguration-customartifactsconfiguration // CustomArtifactsConfiguration interface{} `field:"optional" json:"customArtifactsConfiguration" yaml:"customArtifactsConfiguration"` // The information required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-zeppelinapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-zeppelinapplicationconfiguration-deployasapplicationconfiguration // DeployAsApplicationConfiguration interface{} `field:"optional" json:"deployAsApplicationConfiguration" yaml:"deployAsApplicationConfiguration"` // The monitoring configuration of a Kinesis Data Analytics Studio notebook. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-zeppelinapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-zeppelinapplicationconfiguration-monitoringconfiguration // MonitoringConfiguration interface{} `field:"optional" json:"monitoringConfiguration" yaml:"monitoringConfiguration"` }
The configuration of a Kinesis Data Analytics Studio notebook.
Example:
// 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" zeppelinApplicationConfigurationProperty := &ZeppelinApplicationConfigurationProperty{ CatalogConfiguration: &CatalogConfigurationProperty{ GlueDataCatalogConfiguration: &GlueDataCatalogConfigurationProperty{ DatabaseArn: jsii.String("databaseArn"), }, }, CustomArtifactsConfiguration: []interface{}{ &CustomArtifactConfigurationProperty{ ArtifactType: jsii.String("artifactType"), // the properties below are optional MavenReference: &MavenReferenceProperty{ ArtifactId: jsii.String("artifactId"), GroupId: jsii.String("groupId"), Version: jsii.String("version"), }, S3ContentLocation: &S3ContentLocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }, }, }, DeployAsApplicationConfiguration: &DeployAsApplicationConfigurationProperty{ S3ContentLocation: &S3ContentBaseLocationProperty{ BucketArn: jsii.String("bucketArn"), // the properties below are optional BasePath: jsii.String("basePath"), }, }, MonitoringConfiguration: &ZeppelinMonitoringConfigurationProperty{ LogLevel: jsii.String("logLevel"), }, }
type CfnApplication_ZeppelinMonitoringConfigurationProperty ¶
type CfnApplication_ZeppelinMonitoringConfigurationProperty struct { // The verbosity of the CloudWatch Logs for an application. // // You can set it to `INFO` , `WARN` , `ERROR` , or `DEBUG` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-zeppelinmonitoringconfiguration.html#cfn-kinesisanalyticsv2-application-zeppelinmonitoringconfiguration-loglevel // LogLevel *string `field:"optional" json:"logLevel" yaml:"logLevel"` }
Describes configuration parameters for Amazon CloudWatch logging for a Kinesis Data Analytics Studio notebook.
For more information about CloudWatch logging, see [Monitoring](https://docs.aws.amazon.com/managed-flink/latest/java/monitoring-overview.html) .
Example:
// 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" zeppelinMonitoringConfigurationProperty := &ZeppelinMonitoringConfigurationProperty{ LogLevel: jsii.String("logLevel"), }
Source Files ¶
- CfnApplication.go
- CfnApplicationCloudWatchLoggingOption.go
- CfnApplicationCloudWatchLoggingOptionProps.go
- CfnApplicationCloudWatchLoggingOption_CloudWatchLoggingOptionProperty.go
- CfnApplicationCloudWatchLoggingOption__checks.go
- CfnApplicationOutput.go
- CfnApplicationOutputProps.go
- CfnApplicationOutput_DestinationSchemaProperty.go
- CfnApplicationOutput_KinesisFirehoseOutputProperty.go
- CfnApplicationOutput_KinesisStreamsOutputProperty.go
- CfnApplicationOutput_LambdaOutputProperty.go
- CfnApplicationOutput_OutputProperty.go
- CfnApplicationOutput__checks.go
- CfnApplicationProps.go
- CfnApplicationReferenceDataSource.go
- CfnApplicationReferenceDataSourceProps.go
- CfnApplicationReferenceDataSource_CSVMappingParametersProperty.go
- CfnApplicationReferenceDataSource_JSONMappingParametersProperty.go
- CfnApplicationReferenceDataSource_MappingParametersProperty.go
- CfnApplicationReferenceDataSource_RecordColumnProperty.go
- CfnApplicationReferenceDataSource_RecordFormatProperty.go
- CfnApplicationReferenceDataSource_ReferenceDataSourceProperty.go
- CfnApplicationReferenceDataSource_ReferenceSchemaProperty.go
- CfnApplicationReferenceDataSource_S3ReferenceDataSourceProperty.go
- CfnApplicationReferenceDataSource__checks.go
- CfnApplication_ApplicationCodeConfigurationProperty.go
- CfnApplication_ApplicationConfigurationProperty.go
- CfnApplication_ApplicationMaintenanceConfigurationProperty.go
- CfnApplication_ApplicationRestoreConfigurationProperty.go
- CfnApplication_ApplicationSnapshotConfigurationProperty.go
- CfnApplication_CSVMappingParametersProperty.go
- CfnApplication_CatalogConfigurationProperty.go
- CfnApplication_CheckpointConfigurationProperty.go
- CfnApplication_CodeContentProperty.go
- CfnApplication_CustomArtifactConfigurationProperty.go
- CfnApplication_DeployAsApplicationConfigurationProperty.go
- CfnApplication_EnvironmentPropertiesProperty.go
- CfnApplication_FlinkApplicationConfigurationProperty.go
- CfnApplication_FlinkRunConfigurationProperty.go
- CfnApplication_GlueDataCatalogConfigurationProperty.go
- CfnApplication_InputLambdaProcessorProperty.go
- CfnApplication_InputParallelismProperty.go
- CfnApplication_InputProcessingConfigurationProperty.go
- CfnApplication_InputProperty.go
- CfnApplication_InputSchemaProperty.go
- CfnApplication_JSONMappingParametersProperty.go
- CfnApplication_KinesisFirehoseInputProperty.go
- CfnApplication_KinesisStreamsInputProperty.go
- CfnApplication_MappingParametersProperty.go
- CfnApplication_MavenReferenceProperty.go
- CfnApplication_MonitoringConfigurationProperty.go
- CfnApplication_ParallelismConfigurationProperty.go
- CfnApplication_PropertyGroupProperty.go
- CfnApplication_RecordColumnProperty.go
- CfnApplication_RecordFormatProperty.go
- CfnApplication_RunConfigurationProperty.go
- CfnApplication_S3ContentBaseLocationProperty.go
- CfnApplication_S3ContentLocationProperty.go
- CfnApplication_SqlApplicationConfigurationProperty.go
- CfnApplication_VpcConfigurationProperty.go
- CfnApplication_ZeppelinApplicationConfigurationProperty.go
- CfnApplication_ZeppelinMonitoringConfigurationProperty.go
- CfnApplication__checks.go
- main.go