Documentation ¶
Index ¶
- func CfnApplicationCloudWatchLoggingOptionV2_CFN_RESOURCE_TYPE_NAME() *string
- func CfnApplicationCloudWatchLoggingOptionV2_IsCfnElement(x interface{}) *bool
- func CfnApplicationCloudWatchLoggingOptionV2_IsCfnResource(x interface{}) *bool
- func CfnApplicationCloudWatchLoggingOptionV2_IsConstruct(x interface{}) *bool
- func CfnApplicationOutputV2_CFN_RESOURCE_TYPE_NAME() *string
- func CfnApplicationOutputV2_IsCfnElement(x interface{}) *bool
- func CfnApplicationOutputV2_IsCfnResource(x interface{}) *bool
- func CfnApplicationOutputV2_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 CfnApplicationReferenceDataSourceV2_CFN_RESOURCE_TYPE_NAME() *string
- func CfnApplicationReferenceDataSourceV2_IsCfnElement(x interface{}) *bool
- func CfnApplicationReferenceDataSourceV2_IsCfnResource(x interface{}) *bool
- func CfnApplicationReferenceDataSourceV2_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 CfnApplicationV2_CFN_RESOURCE_TYPE_NAME() *string
- func CfnApplicationV2_IsCfnElement(x interface{}) *bool
- func CfnApplicationV2_IsCfnResource(x interface{}) *bool
- func CfnApplicationV2_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 NewCfnApplicationCloudWatchLoggingOptionV2_Override(c CfnApplicationCloudWatchLoggingOptionV2, scope constructs.Construct, ...)
- func NewCfnApplicationOutputV2_Override(c CfnApplicationOutputV2, scope constructs.Construct, id *string, ...)
- func NewCfnApplicationOutput_Override(c CfnApplicationOutput, scope constructs.Construct, id *string, ...)
- func NewCfnApplicationReferenceDataSourceV2_Override(c CfnApplicationReferenceDataSourceV2, scope constructs.Construct, id *string, ...)
- func NewCfnApplicationReferenceDataSource_Override(c CfnApplicationReferenceDataSource, scope constructs.Construct, id *string, ...)
- func NewCfnApplicationV2_Override(c CfnApplicationV2, scope constructs.Construct, id *string, ...)
- func NewCfnApplication_Override(c CfnApplication, scope constructs.Construct, id *string, ...)
- type CfnApplication
- type CfnApplicationCloudWatchLoggingOptionV2
- type CfnApplicationCloudWatchLoggingOptionV2Props
- type CfnApplicationCloudWatchLoggingOptionV2_CloudWatchLoggingOptionProperty
- type CfnApplicationOutput
- type CfnApplicationOutputProps
- type CfnApplicationOutputV2
- type CfnApplicationOutputV2Props
- type CfnApplicationOutputV2_DestinationSchemaProperty
- type CfnApplicationOutputV2_KinesisFirehoseOutputProperty
- type CfnApplicationOutputV2_KinesisStreamsOutputProperty
- type CfnApplicationOutputV2_LambdaOutputProperty
- type CfnApplicationOutputV2_OutputProperty
- type CfnApplicationOutput_DestinationSchemaProperty
- type CfnApplicationOutput_KinesisFirehoseOutputProperty
- type CfnApplicationOutput_KinesisStreamsOutputProperty
- type CfnApplicationOutput_LambdaOutputProperty
- type CfnApplicationOutput_OutputProperty
- type CfnApplicationProps
- type CfnApplicationReferenceDataSource
- type CfnApplicationReferenceDataSourceProps
- type CfnApplicationReferenceDataSourceV2
- type CfnApplicationReferenceDataSourceV2Props
- type CfnApplicationReferenceDataSourceV2_CSVMappingParametersProperty
- type CfnApplicationReferenceDataSourceV2_JSONMappingParametersProperty
- type CfnApplicationReferenceDataSourceV2_MappingParametersProperty
- type CfnApplicationReferenceDataSourceV2_RecordColumnProperty
- type CfnApplicationReferenceDataSourceV2_RecordFormatProperty
- type CfnApplicationReferenceDataSourceV2_ReferenceDataSourceProperty
- type CfnApplicationReferenceDataSourceV2_ReferenceSchemaProperty
- type CfnApplicationReferenceDataSourceV2_S3ReferenceDataSourceProperty
- 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 CfnApplicationV2
- type CfnApplicationV2Props
- type CfnApplicationV2_ApplicationCodeConfigurationProperty
- type CfnApplicationV2_ApplicationConfigurationProperty
- type CfnApplicationV2_ApplicationMaintenanceConfigurationProperty
- type CfnApplicationV2_ApplicationRestoreConfigurationProperty
- type CfnApplicationV2_ApplicationSnapshotConfigurationProperty
- type CfnApplicationV2_ApplicationSystemRollbackConfigurationProperty
- type CfnApplicationV2_CSVMappingParametersProperty
- type CfnApplicationV2_CatalogConfigurationProperty
- type CfnApplicationV2_CheckpointConfigurationProperty
- type CfnApplicationV2_CodeContentProperty
- type CfnApplicationV2_CustomArtifactConfigurationProperty
- type CfnApplicationV2_DeployAsApplicationConfigurationProperty
- type CfnApplicationV2_EnvironmentPropertiesProperty
- type CfnApplicationV2_FlinkApplicationConfigurationProperty
- type CfnApplicationV2_FlinkRunConfigurationProperty
- type CfnApplicationV2_GlueDataCatalogConfigurationProperty
- type CfnApplicationV2_InputLambdaProcessorProperty
- type CfnApplicationV2_InputParallelismProperty
- type CfnApplicationV2_InputProcessingConfigurationProperty
- type CfnApplicationV2_InputProperty
- type CfnApplicationV2_InputSchemaProperty
- type CfnApplicationV2_JSONMappingParametersProperty
- type CfnApplicationV2_KinesisFirehoseInputProperty
- type CfnApplicationV2_KinesisStreamsInputProperty
- type CfnApplicationV2_MappingParametersProperty
- type CfnApplicationV2_MavenReferenceProperty
- type CfnApplicationV2_MonitoringConfigurationProperty
- type CfnApplicationV2_ParallelismConfigurationProperty
- type CfnApplicationV2_PropertyGroupProperty
- type CfnApplicationV2_RecordColumnProperty
- type CfnApplicationV2_RecordFormatProperty
- type CfnApplicationV2_RunConfigurationProperty
- type CfnApplicationV2_S3ContentBaseLocationProperty
- type CfnApplicationV2_S3ContentLocationProperty
- type CfnApplicationV2_SqlApplicationConfigurationProperty
- type CfnApplicationV2_VpcConfigurationProperty
- type CfnApplicationV2_ZeppelinApplicationConfigurationProperty
- type CfnApplicationV2_ZeppelinMonitoringConfigurationProperty
- type CfnApplication_CSVMappingParametersProperty
- 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_RecordColumnProperty
- type CfnApplication_RecordFormatProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnApplicationCloudWatchLoggingOptionV2_CFN_RESOURCE_TYPE_NAME ¶
func CfnApplicationCloudWatchLoggingOptionV2_CFN_RESOURCE_TYPE_NAME() *string
func CfnApplicationCloudWatchLoggingOptionV2_IsCfnElement ¶
func CfnApplicationCloudWatchLoggingOptionV2_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 CfnApplicationCloudWatchLoggingOptionV2_IsCfnResource ¶
func CfnApplicationCloudWatchLoggingOptionV2_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnApplicationCloudWatchLoggingOptionV2_IsConstruct ¶
func CfnApplicationCloudWatchLoggingOptionV2_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 CfnApplicationOutputV2_CFN_RESOURCE_TYPE_NAME ¶
func CfnApplicationOutputV2_CFN_RESOURCE_TYPE_NAME() *string
func CfnApplicationOutputV2_IsCfnElement ¶
func CfnApplicationOutputV2_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 CfnApplicationOutputV2_IsCfnResource ¶
func CfnApplicationOutputV2_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnApplicationOutputV2_IsConstruct ¶
func CfnApplicationOutputV2_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 CfnApplicationReferenceDataSourceV2_CFN_RESOURCE_TYPE_NAME ¶
func CfnApplicationReferenceDataSourceV2_CFN_RESOURCE_TYPE_NAME() *string
func CfnApplicationReferenceDataSourceV2_IsCfnElement ¶
func CfnApplicationReferenceDataSourceV2_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 CfnApplicationReferenceDataSourceV2_IsCfnResource ¶
func CfnApplicationReferenceDataSourceV2_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnApplicationReferenceDataSourceV2_IsConstruct ¶
func CfnApplicationReferenceDataSourceV2_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 CfnApplicationV2_CFN_RESOURCE_TYPE_NAME ¶
func CfnApplicationV2_CFN_RESOURCE_TYPE_NAME() *string
func CfnApplicationV2_IsCfnElement ¶
func CfnApplicationV2_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 CfnApplicationV2_IsCfnResource ¶
func CfnApplicationV2_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnApplicationV2_IsConstruct ¶
func CfnApplicationV2_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 NewCfnApplicationCloudWatchLoggingOptionV2_Override ¶
func NewCfnApplicationCloudWatchLoggingOptionV2_Override(c CfnApplicationCloudWatchLoggingOptionV2, scope constructs.Construct, id *string, props *CfnApplicationCloudWatchLoggingOptionV2Props)
func NewCfnApplicationOutputV2_Override ¶
func NewCfnApplicationOutputV2_Override(c CfnApplicationOutputV2, scope constructs.Construct, id *string, props *CfnApplicationOutputV2Props)
func NewCfnApplicationOutput_Override ¶
func NewCfnApplicationOutput_Override(c CfnApplicationOutput, scope constructs.Construct, id *string, props *CfnApplicationOutputProps)
func NewCfnApplicationReferenceDataSourceV2_Override ¶
func NewCfnApplicationReferenceDataSourceV2_Override(c CfnApplicationReferenceDataSourceV2, scope constructs.Construct, id *string, props *CfnApplicationReferenceDataSourceV2Props)
func NewCfnApplicationReferenceDataSource_Override ¶
func NewCfnApplicationReferenceDataSource_Override(c CfnApplicationReferenceDataSource, scope constructs.Construct, id *string, props *CfnApplicationReferenceDataSourceProps)
func NewCfnApplicationV2_Override ¶
func NewCfnApplicationV2_Override(c CfnApplicationV2, scope constructs.Construct, id *string, props *CfnApplicationV2Props)
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 // One or more SQL statements that read input data, transform it, and generate output. ApplicationCode() *string SetApplicationCode(val *string) // Summary description of the application. ApplicationDescription() *string SetApplicationDescription(val *string) // Name of your Amazon Kinesis Analytics application (for example, `sample-app` ). 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 // Use this parameter to configure the application input. Inputs() interface{} SetInputs(val interface{}) // 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{}) }
The `AWS::KinesisAnalytics::Application` resource creates an Amazon Kinesis Data Analytics application.
For more information, see the [Amazon Kinesis Data Analytics Developer Guide](https://docs.aws.amazon.com//kinesisanalytics/latest/dev/what-is.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_kinesisanalytics.NewCfnApplication(this, jsii.String("MyCfnApplication"), &CfnApplicationProps{ 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"), RoleArn: jsii.String("roleArn"), }, }, KinesisFirehoseInput: &KinesisFirehoseInputProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }, KinesisStreamsInput: &KinesisStreamsInputProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }, }, }, // the properties below are optional ApplicationCode: jsii.String("applicationCode"), ApplicationDescription: jsii.String("applicationDescription"), ApplicationName: jsii.String("applicationName"), })
func NewCfnApplication ¶
func NewCfnApplication(scope constructs.Construct, id *string, props *CfnApplicationProps) CfnApplication
type CfnApplicationCloudWatchLoggingOptionV2 ¶
type CfnApplicationCloudWatchLoggingOptionV2 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" cfnApplicationCloudWatchLoggingOptionV2 := awscdk.Aws_kinesisanalytics.NewCfnApplicationCloudWatchLoggingOptionV2(this, jsii.String("MyCfnApplicationCloudWatchLoggingOptionV2"), &CfnApplicationCloudWatchLoggingOptionV2Props{ ApplicationName: jsii.String("applicationName"), CloudWatchLoggingOption: &CloudWatchLoggingOptionProperty{ LogStreamArn: jsii.String("logStreamArn"), }, })
func NewCfnApplicationCloudWatchLoggingOptionV2 ¶
func NewCfnApplicationCloudWatchLoggingOptionV2(scope constructs.Construct, id *string, props *CfnApplicationCloudWatchLoggingOptionV2Props) CfnApplicationCloudWatchLoggingOptionV2
type CfnApplicationCloudWatchLoggingOptionV2Props ¶
type CfnApplicationCloudWatchLoggingOptionV2Props 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" cfnApplicationCloudWatchLoggingOptionV2Props := &CfnApplicationCloudWatchLoggingOptionV2Props{ ApplicationName: jsii.String("applicationName"), CloudWatchLoggingOption: &CloudWatchLoggingOptionProperty{ LogStreamArn: jsii.String("logStreamArn"), }, }
type CfnApplicationCloudWatchLoggingOptionV2_CloudWatchLoggingOptionProperty ¶
type CfnApplicationCloudWatchLoggingOptionV2_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 // Name of the application to which you want to add the output configuration. 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 // An array of objects, each describing one output configuration. 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 Amazon Kinesis Analytics application.
If you want Amazon Kinesis Analytics to deliver data from an in-application stream within your application to an external destination (such as an Amazon Kinesis stream, an Amazon Kinesis 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. For more information, see [Understanding Application Output (Destination)](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html) .
Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the `DescribeApplication` operation to find the current application version.
For the limits on the number of application inputs and outputs you can configure, see [Limits](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html) .
This operation requires permissions to perform the `kinesisanalytics:AddApplicationOutput` action.
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_kinesisanalytics.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"), RoleArn: jsii.String("roleArn"), }, KinesisStreamsOutput: &KinesisStreamsOutputProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }, LambdaOutput: &LambdaOutputProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }, Name: jsii.String("name"), }, })
func NewCfnApplicationOutput ¶
func NewCfnApplicationOutput(scope constructs.Construct, id *string, props *CfnApplicationOutputProps) CfnApplicationOutput
type CfnApplicationOutputProps ¶
type CfnApplicationOutputProps struct { // Name of the application to which you want to add the output configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationoutput.html#cfn-kinesisanalytics-applicationoutput-applicationname // ApplicationName *string `field:"required" json:"applicationName" yaml:"applicationName"` // An array of objects, each describing one output configuration. // // In the output configuration, you specify the name of an in-application stream, a destination (that is, an Amazon Kinesis stream, an Amazon Kinesis Firehose delivery stream, or an AWS Lambda function), and record the formation to use when writing to the destination. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationoutput.html#cfn-kinesisanalytics-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"), RoleArn: jsii.String("roleArn"), }, KinesisStreamsOutput: &KinesisStreamsOutputProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }, LambdaOutput: &LambdaOutputProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }, Name: jsii.String("name"), }, }
type CfnApplicationOutputV2 ¶
type CfnApplicationOutputV2 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" cfnApplicationOutputV2 := awscdk.Aws_kinesisanalytics.NewCfnApplicationOutputV2(this, jsii.String("MyCfnApplicationOutputV2"), &CfnApplicationOutputV2Props{ 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 NewCfnApplicationOutputV2 ¶
func NewCfnApplicationOutputV2(scope constructs.Construct, id *string, props *CfnApplicationOutputV2Props) CfnApplicationOutputV2
type CfnApplicationOutputV2Props ¶
type CfnApplicationOutputV2Props 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" cfnApplicationOutputV2Props := &CfnApplicationOutputV2Props{ 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 CfnApplicationOutputV2_DestinationSchemaProperty ¶
type CfnApplicationOutputV2_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 CfnApplicationOutputV2_KinesisFirehoseOutputProperty ¶
type CfnApplicationOutputV2_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 CfnApplicationOutputV2_KinesisStreamsOutputProperty ¶
type CfnApplicationOutputV2_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 CfnApplicationOutputV2_LambdaOutputProperty ¶
type CfnApplicationOutputV2_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 CfnApplicationOutputV2_OutputProperty ¶
type CfnApplicationOutputV2_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 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-kinesisanalytics-applicationoutput-destinationschema.html#cfn-kinesisanalytics-applicationoutput-destinationschema-recordformattype // RecordFormatType *string `field:"optional" json:"recordFormatType" yaml:"recordFormatType"` }
Describes the data format when records are written to the destination.
For more information, see [Configuring Application Output](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.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" destinationSchemaProperty := &DestinationSchemaProperty{ RecordFormatType: jsii.String("recordFormatType"), }
type CfnApplicationOutput_KinesisFirehoseOutputProperty ¶
type CfnApplicationOutput_KinesisFirehoseOutputProperty struct { // ARN of the destination Amazon Kinesis Firehose delivery stream to write to. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisfirehoseoutput.html#cfn-kinesisanalytics-applicationoutput-kinesisfirehoseoutput-resourcearn // ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"` // ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf. // // You need to grant the necessary permissions to this role. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisfirehoseoutput.html#cfn-kinesisanalytics-applicationoutput-kinesisfirehoseoutput-rolearn // RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"` }
When configuring application output, identifies an Amazon Kinesis Firehose delivery stream as the destination.
You provide the stream Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to write to the stream on your behalf.
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"), RoleArn: jsii.String("roleArn"), }
type CfnApplicationOutput_KinesisStreamsOutputProperty ¶
type CfnApplicationOutput_KinesisStreamsOutputProperty struct { // ARN of the destination Amazon Kinesis stream to write to. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisstreamsoutput.html#cfn-kinesisanalytics-applicationoutput-kinesisstreamsoutput-resourcearn // ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"` // ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf. // // You need to grant the necessary permissions to this role. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisstreamsoutput.html#cfn-kinesisanalytics-applicationoutput-kinesisstreamsoutput-rolearn // RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"` }
When configuring application output, identifies an Amazon Kinesis stream as the destination.
You provide the stream Amazon Resource Name (ARN) and also an IAM role ARN that Amazon Kinesis Analytics can use to write to the stream on your behalf.
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"), RoleArn: jsii.String("roleArn"), }
type CfnApplicationOutput_LambdaOutputProperty ¶
type CfnApplicationOutput_LambdaOutputProperty struct { // 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: AWS 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-kinesisanalytics-applicationoutput-lambdaoutput.html#cfn-kinesisanalytics-applicationoutput-lambdaoutput-resourcearn // ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"` // ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination function on your behalf. // // You need to grant the necessary permissions to this role. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-lambdaoutput.html#cfn-kinesisanalytics-applicationoutput-lambdaoutput-rolearn // RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"` }
When configuring application output, identifies an AWS Lambda function as the destination.
You provide the function Amazon Resource Name (ARN) and also an IAM role ARN that Amazon Kinesis Analytics can use to write to the function on your behalf.
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"), RoleArn: jsii.String("roleArn"), }
type CfnApplicationOutput_OutputProperty ¶
type CfnApplicationOutput_OutputProperty struct { // Describes the data format when records are written to the destination. // // For more information, see [Configuring Application Output](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-output.html#cfn-kinesisanalytics-applicationoutput-output-destinationschema // DestinationSchema interface{} `field:"required" json:"destinationSchema" yaml:"destinationSchema"` // Identifies an Amazon Kinesis Firehose delivery stream as the destination. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-output.html#cfn-kinesisanalytics-applicationoutput-output-kinesisfirehoseoutput // KinesisFirehoseOutput interface{} `field:"optional" json:"kinesisFirehoseOutput" yaml:"kinesisFirehoseOutput"` // Identifies an Amazon Kinesis stream as the destination. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-output.html#cfn-kinesisanalytics-applicationoutput-output-kinesisstreamsoutput // KinesisStreamsOutput interface{} `field:"optional" json:"kinesisStreamsOutput" yaml:"kinesisStreamsOutput"` // Identifies an AWS Lambda function as the destination. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-output.html#cfn-kinesisanalytics-applicationoutput-output-lambdaoutput // LambdaOutput interface{} `field:"optional" json:"lambdaOutput" yaml:"lambdaOutput"` // Name of the in-application stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-output.html#cfn-kinesisanalytics-applicationoutput-output-name // Name *string `field:"optional" json:"name" yaml:"name"` }
Describes application 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 an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery stream.
For limits on how many destinations an application can write and other limitations, see [Limits](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.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" outputProperty := &OutputProperty{ DestinationSchema: &DestinationSchemaProperty{ RecordFormatType: jsii.String("recordFormatType"), }, // the properties below are optional KinesisFirehoseOutput: &KinesisFirehoseOutputProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }, KinesisStreamsOutput: &KinesisStreamsOutputProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }, LambdaOutput: &LambdaOutputProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }, Name: jsii.String("name"), }
type CfnApplicationProps ¶
type CfnApplicationProps struct { // Use this parameter to configure the application input. // // You can configure your application to receive input from a single streaming source. In this configuration, you map this streaming source to an in-application stream that is created. Your application code can then query the in-application stream like a table (you can think of it as a constantly updating table). // // For the streaming source, you provide its Amazon Resource Name (ARN) and format of data on the stream (for example, JSON, CSV, etc.). You also must provide an IAM role that Amazon Kinesis Analytics can assume to read this stream on your behalf. // // To create the in-application stream, you need to specify a schema to transform your data into a schematized version used in SQL. In the schema, you provide the necessary mapping of the data elements in the streaming source to record columns in the in-app stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-application.html#cfn-kinesisanalytics-application-inputs // Inputs interface{} `field:"required" json:"inputs" yaml:"inputs"` // One or more SQL statements that read input data, transform it, and generate output. // // For example, you can write a SQL statement that reads data from one in-application stream, generates a running average of the number of advertisement clicks by vendor, and insert resulting rows in another in-application stream using pumps. For more information about the typical pattern, see [Application Code](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-app-code.html) . // // You can provide such series of SQL statements, where output of one statement can be used as the input for the next statement. You store intermediate results by creating in-application streams and pumps. // // Note that the application code must create the streams with names specified in the `Outputs` . For example, if your `Outputs` defines output streams named `ExampleOutputStream1` and `ExampleOutputStream2` , then your application code must create these streams. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-application.html#cfn-kinesisanalytics-application-applicationcode // ApplicationCode *string `field:"optional" json:"applicationCode" yaml:"applicationCode"` // Summary description of the application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-application.html#cfn-kinesisanalytics-application-applicationdescription // ApplicationDescription *string `field:"optional" json:"applicationDescription" yaml:"applicationDescription"` // Name of your Amazon Kinesis Analytics application (for example, `sample-app` ). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-application.html#cfn-kinesisanalytics-application-applicationname // ApplicationName *string `field:"optional" json:"applicationName" yaml:"applicationName"` }
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{ 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"), RoleArn: jsii.String("roleArn"), }, }, KinesisFirehoseInput: &KinesisFirehoseInputProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }, KinesisStreamsInput: &KinesisStreamsInputProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }, }, }, // the properties below are optional ApplicationCode: jsii.String("applicationCode"), ApplicationDescription: jsii.String("applicationDescription"), ApplicationName: jsii.String("applicationName"), }
type CfnApplicationReferenceDataSource ¶
type CfnApplicationReferenceDataSource interface { awscdk.CfnResource awscdk.IInspectable // Name of an existing 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 // The reference data source can be an object in your Amazon S3 bucket. 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 application.
Amazon Kinesis 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 Amazon S3 object maps to columns in the resulting in-application table.
For conceptual information, see [Configuring Application Input](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html) . For the limits on data sources you can add to your application, see [Limits](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html) .
This operation requires permissions to perform the `kinesisanalytics:AddApplicationOutput` action.
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_kinesisanalytics.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"), ReferenceRoleArn: jsii.String("referenceRoleArn"), }, TableName: jsii.String("tableName"), }, })
func NewCfnApplicationReferenceDataSource ¶
func NewCfnApplicationReferenceDataSource(scope constructs.Construct, id *string, props *CfnApplicationReferenceDataSourceProps) CfnApplicationReferenceDataSource
type CfnApplicationReferenceDataSourceProps ¶
type CfnApplicationReferenceDataSourceProps struct { // Name of an existing application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationreferencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-applicationname // ApplicationName *string `field:"required" json:"applicationName" yaml:"applicationName"` // The reference data source can be an object in your Amazon S3 bucket. // // Amazon Kinesis Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created. You must also provide an IAM role with the necessary permissions that Amazon Kinesis Analytics can assume to read the object from your S3 bucket on your behalf. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationreferencedatasource.html#cfn-kinesisanalytics-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"), ReferenceRoleArn: jsii.String("referenceRoleArn"), }, TableName: jsii.String("tableName"), }, }
type CfnApplicationReferenceDataSourceV2 ¶
type CfnApplicationReferenceDataSourceV2 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" cfnApplicationReferenceDataSourceV2 := awscdk.Aws_kinesisanalytics.NewCfnApplicationReferenceDataSourceV2(this, jsii.String("MyCfnApplicationReferenceDataSourceV2"), &CfnApplicationReferenceDataSourceV2Props{ 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 NewCfnApplicationReferenceDataSourceV2 ¶
func NewCfnApplicationReferenceDataSourceV2(scope constructs.Construct, id *string, props *CfnApplicationReferenceDataSourceV2Props) CfnApplicationReferenceDataSourceV2
type CfnApplicationReferenceDataSourceV2Props ¶
type CfnApplicationReferenceDataSourceV2Props 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" cfnApplicationReferenceDataSourceV2Props := &CfnApplicationReferenceDataSourceV2Props{ 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 CfnApplicationReferenceDataSourceV2_CSVMappingParametersProperty ¶
type CfnApplicationReferenceDataSourceV2_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 CfnApplicationReferenceDataSourceV2_JSONMappingParametersProperty ¶
type CfnApplicationReferenceDataSourceV2_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 CfnApplicationReferenceDataSourceV2_MappingParametersProperty ¶
type CfnApplicationReferenceDataSourceV2_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 CfnApplicationReferenceDataSourceV2_RecordColumnProperty ¶
type CfnApplicationReferenceDataSourceV2_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 CfnApplicationReferenceDataSourceV2_RecordFormatProperty ¶
type CfnApplicationReferenceDataSourceV2_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 CfnApplicationReferenceDataSourceV2_ReferenceDataSourceProperty ¶
type CfnApplicationReferenceDataSourceV2_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 CfnApplicationReferenceDataSourceV2_ReferenceSchemaProperty ¶
type CfnApplicationReferenceDataSourceV2_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 CfnApplicationReferenceDataSourceV2_S3ReferenceDataSourceProperty ¶
type CfnApplicationReferenceDataSourceV2_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 CfnApplicationReferenceDataSource_CSVMappingParametersProperty ¶
type CfnApplicationReferenceDataSource_CSVMappingParametersProperty struct { // 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-kinesisanalytics-applicationreferencedatasource-csvmappingparameters.html#cfn-kinesisanalytics-applicationreferencedatasource-csvmappingparameters-recordcolumndelimiter // RecordColumnDelimiter *string `field:"required" json:"recordColumnDelimiter" yaml:"recordColumnDelimiter"` // 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-kinesisanalytics-applicationreferencedatasource-csvmappingparameters.html#cfn-kinesisanalytics-applicationreferencedatasource-csvmappingparameters-recordrowdelimiter // RecordRowDelimiter *string `field:"required" json:"recordRowDelimiter" yaml:"recordRowDelimiter"` }
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 { // Path to the top-level parent that contains the records. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-jsonmappingparameters.html#cfn-kinesisanalytics-applicationreferencedatasource-jsonmappingparameters-recordrowpath // RecordRowPath *string `field:"required" json:"recordRowPath" yaml:"recordRowPath"` }
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-kinesisanalytics-applicationreferencedatasource-mappingparameters.html#cfn-kinesisanalytics-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-kinesisanalytics-applicationreferencedatasource-mappingparameters.html#cfn-kinesisanalytics-applicationreferencedatasource-mappingparameters-jsonmappingparameters // JsonMappingParameters interface{} `field:"optional" json:"jsonMappingParameters" yaml:"jsonMappingParameters"` }
When configuring 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.
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 { // Name of the column created in the in-application input stream or reference table. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-recordcolumn.html#cfn-kinesisanalytics-applicationreferencedatasource-recordcolumn-name // Name *string `field:"required" json:"name" yaml:"name"` // Type of column created in the in-application input stream or reference table. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-recordcolumn.html#cfn-kinesisanalytics-applicationreferencedatasource-recordcolumn-sqltype // SqlType *string `field:"required" json:"sqlType" yaml:"sqlType"` // Reference to the data element in the streaming input or the reference data source. // // This element is required if the [RecordFormatType](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_RecordFormat.html#analytics-Type-RecordFormat-RecordFormatTypel) is `JSON` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-recordcolumn.html#cfn-kinesisanalytics-applicationreferencedatasource-recordcolumn-mapping // Mapping *string `field:"optional" json:"mapping" yaml:"mapping"` }
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-kinesisanalytics-applicationreferencedatasource-recordformat.html#cfn-kinesisanalytics-applicationreferencedatasource-recordformat-recordformattype // RecordFormatType *string `field:"required" json:"recordFormatType" yaml:"recordFormatType"` // When configuring 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-kinesisanalytics-applicationreferencedatasource-recordformat.html#cfn-kinesisanalytics-applicationreferencedatasource-recordformat-mappingparameters // MappingParameters interface{} `field:"optional" json:"mappingParameters" yaml:"mappingParameters"` }
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-kinesisanalytics-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-referencedatasource-referenceschema // ReferenceSchema interface{} `field:"required" json:"referenceSchema" yaml:"referenceSchema"` // Identifies the S3 bucket and object that contains the reference data. // // Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf. An Amazon Kinesis Analytics application loads reference data only once. If the data changes, you call the `UpdateApplication` operation to trigger reloading of data into your application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-referencedatasource-s3referencedatasource // S3ReferenceDataSource interface{} `field:"optional" json:"s3ReferenceDataSource" yaml:"s3ReferenceDataSource"` // Name of the in-application table to create. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-referencedatasource-tablename // TableName *string `field:"optional" json:"tableName" yaml:"tableName"` }
Describes the reference data source by providing the source information (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"), ReferenceRoleArn: jsii.String("referenceRoleArn"), }, 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-kinesisanalytics-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalytics-applicationreferencedatasource-referenceschema-recordcolumns // RecordColumns interface{} `field:"required" json:"recordColumns" yaml:"recordColumns"` // Specifies the format of the records on the reference source. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalytics-applicationreferencedatasource-referenceschema-recordformat // RecordFormat interface{} `field:"required" json:"recordFormat" yaml:"recordFormat"` // Specifies the encoding of the records in the reference source. // // For example, UTF-8. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalytics-applicationreferencedatasource-referenceschema-recordencoding // RecordEncoding *string `field:"optional" json:"recordEncoding" yaml:"recordEncoding"` }
The ReferenceSchema property type specifies the format of the data in the reference source for a SQL-based Amazon 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" 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 { // Amazon Resource Name (ARN) of the S3 bucket. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-bucketarn // BucketArn *string `field:"required" json:"bucketArn" yaml:"bucketArn"` // Object key name containing reference data. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-filekey // FileKey *string `field:"required" json:"fileKey" yaml:"fileKey"` // ARN of the IAM role that the service can assume to read data on your behalf. // // This role must have permission for the `s3:GetObject` action on the object and trust policy that allows Amazon Kinesis Analytics service principal to assume this role. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-referencerolearn // ReferenceRoleArn *string `field:"required" json:"referenceRoleArn" yaml:"referenceRoleArn"` }
Identifies the S3 bucket and object that contains the reference data.
Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf.
An Amazon Kinesis Analytics application loads reference data only once. If the data changes, you call the [UpdateApplication](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/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"), ReferenceRoleArn: jsii.String("referenceRoleArn"), }
type CfnApplicationV2 ¶
type CfnApplicationV2 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" cfnApplicationV2 := awscdk.Aws_kinesisanalytics.NewCfnApplicationV2(this, jsii.String("MyCfnApplicationV2"), &CfnApplicationV2Props{ 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), }, ApplicationSystemRollbackConfiguration: &ApplicationSystemRollbackConfigurationProperty{ RollbackEnabled: 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 NewCfnApplicationV2 ¶
func NewCfnApplicationV2(scope constructs.Construct, id *string, props *CfnApplicationV2Props) CfnApplicationV2
type CfnApplicationV2Props ¶
type CfnApplicationV2Props 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" cfnApplicationV2Props := &CfnApplicationV2Props{ 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), }, ApplicationSystemRollbackConfiguration: &ApplicationSystemRollbackConfigurationProperty{ RollbackEnabled: 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 CfnApplicationV2_ApplicationCodeConfigurationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_ApplicationConfigurationProperty ¶
type CfnApplicationV2_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 whether system initiated rollbacks are enabled for a Flink-based Kinesis Data Analytics application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-applicationsystemrollbackconfiguration // ApplicationSystemRollbackConfiguration interface{} `field:"optional" json:"applicationSystemRollbackConfiguration" yaml:"applicationSystemRollbackConfiguration"` // 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), }, ApplicationSystemRollbackConfiguration: &ApplicationSystemRollbackConfigurationProperty{ RollbackEnabled: 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 CfnApplicationV2_ApplicationMaintenanceConfigurationProperty ¶ added in v2.31.0
type CfnApplicationV2_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 CfnApplicationV2_ApplicationRestoreConfigurationProperty ¶ added in v2.31.0
type CfnApplicationV2_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 CfnApplicationV2_ApplicationSnapshotConfigurationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_ApplicationSystemRollbackConfigurationProperty ¶ added in v2.148.0
type CfnApplicationV2_ApplicationSystemRollbackConfigurationProperty struct { // Describes whether system initiated rollbacks are enabled for a Flink-based Kinesis Data Analytics application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationsystemrollbackconfiguration.html#cfn-kinesisanalyticsv2-application-applicationsystemrollbackconfiguration-rollbackenabled // RollbackEnabled interface{} `field:"required" json:"rollbackEnabled" yaml:"rollbackEnabled"` }
Describes whether system initiated rollbacks are enabled for a Flink-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" applicationSystemRollbackConfigurationProperty := &ApplicationSystemRollbackConfigurationProperty{ RollbackEnabled: jsii.Boolean(false), }
type CfnApplicationV2_CSVMappingParametersProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_CatalogConfigurationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_CheckpointConfigurationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_CodeContentProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_CustomArtifactConfigurationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_DeployAsApplicationConfigurationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_EnvironmentPropertiesProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_FlinkApplicationConfigurationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_FlinkRunConfigurationProperty ¶ added in v2.31.0
type CfnApplicationV2_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 CfnApplicationV2_GlueDataCatalogConfigurationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_InputLambdaProcessorProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_InputParallelismProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_InputProcessingConfigurationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_InputProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_InputSchemaProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_JSONMappingParametersProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_KinesisFirehoseInputProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_KinesisStreamsInputProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_MappingParametersProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_MavenReferenceProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_MonitoringConfigurationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_ParallelismConfigurationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_PropertyGroupProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_RecordColumnProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_RecordFormatProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_RunConfigurationProperty ¶ added in v2.31.0
type CfnApplicationV2_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 CfnApplicationV2_S3ContentBaseLocationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_S3ContentLocationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_SqlApplicationConfigurationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_VpcConfigurationProperty ¶ added in v2.31.0
type CfnApplicationV2_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 CfnApplicationV2_ZeppelinApplicationConfigurationProperty ¶
type CfnApplicationV2_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 CfnApplicationV2_ZeppelinMonitoringConfigurationProperty ¶
type CfnApplicationV2_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"), }
type CfnApplication_CSVMappingParametersProperty ¶
type CfnApplication_CSVMappingParametersProperty struct { // 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-kinesisanalytics-application-csvmappingparameters.html#cfn-kinesisanalytics-application-csvmappingparameters-recordcolumndelimiter // RecordColumnDelimiter *string `field:"required" json:"recordColumnDelimiter" yaml:"recordColumnDelimiter"` // 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-kinesisanalytics-application-csvmappingparameters.html#cfn-kinesisanalytics-application-csvmappingparameters-recordrowdelimiter // RecordRowDelimiter *string `field:"required" json:"recordRowDelimiter" yaml:"recordRowDelimiter"` }
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_InputLambdaProcessorProperty ¶
type CfnApplication_InputLambdaProcessorProperty struct { // The ARN of the [AWS Lambda](https://docs.aws.amazon.com/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: AWS 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-kinesisanalytics-application-inputlambdaprocessor.html#cfn-kinesisanalytics-application-inputlambdaprocessor-resourcearn // ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"` // The ARN of the IAM role that is used to access the AWS Lambda function. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputlambdaprocessor.html#cfn-kinesisanalytics-application-inputlambdaprocessor-rolearn // RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"` }
An object that contains the Amazon Resource Name (ARN) of the [AWS Lambda](https://docs.aws.amazon.com/lambda/) function that is used to preprocess records in the stream, and the ARN of the IAM role that is used to access the AWS 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" inputLambdaProcessorProperty := &InputLambdaProcessorProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }
type CfnApplication_InputParallelismProperty ¶
type CfnApplication_InputParallelismProperty struct { // Number of in-application streams to create. // // For more information, see [Limits](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputparallelism.html#cfn-kinesisanalytics-application-inputparallelism-count // Count *float64 `field:"optional" json:"count" yaml:"count"` }
Describes the number of in-application streams to create for a given streaming source.
For information about parallelism, see [Configuring Application Input](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.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" inputParallelismProperty := &InputParallelismProperty{ Count: jsii.Number(123), }
type CfnApplication_InputProcessingConfigurationProperty ¶
type CfnApplication_InputProcessingConfigurationProperty struct { // The [InputLambdaProcessor](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-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-kinesisanalytics-application-inputprocessingconfiguration.html#cfn-kinesisanalytics-application-inputprocessingconfiguration-inputlambdaprocessor // InputLambdaProcessor interface{} `field:"optional" json:"inputLambdaProcessor" yaml:"inputLambdaProcessor"` }
Provides a description of 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 [AWS 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"), RoleArn: jsii.String("roleArn"), }, }
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-kinesisanalytics-application-input.html#cfn-kinesisanalytics-application-input-inputschema // InputSchema interface{} `field:"required" json:"inputSchema" yaml:"inputSchema"` // Name prefix to use when creating an in-application stream. // // Suppose that you specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates one or more (as per the `InputParallelism` count you specified) in-application streams with names "MyInApplicationStream_001," "MyInApplicationStream_002," and so on. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-input.html#cfn-kinesisanalytics-application-input-nameprefix // NamePrefix *string `field:"required" json:"namePrefix" yaml:"namePrefix"` // Describes the number of in-application streams to create. // // Data from your source is routed to these in-application input streams. // // See [Configuring Application Input](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-input.html#cfn-kinesisanalytics-application-input-inputparallelism // InputParallelism interface{} `field:"optional" json:"inputParallelism" yaml:"inputParallelism"` // The [InputProcessingConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-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/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputlambdaprocessor.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-input.html#cfn-kinesisanalytics-application-input-inputprocessingconfiguration // InputProcessingConfiguration interface{} `field:"optional" json:"inputProcessingConfiguration" yaml:"inputProcessingConfiguration"` // If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf. // // Note: Either `KinesisStreamsInput` or `KinesisFirehoseInput` is required. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-input.html#cfn-kinesisanalytics-application-input-kinesisfirehoseinput // KinesisFirehoseInput interface{} `field:"optional" json:"kinesisFirehoseInput" yaml:"kinesisFirehoseInput"` // If the streaming source is an Amazon Kinesis stream, identifies the stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf. // // Note: Either `KinesisStreamsInput` or `KinesisFirehoseInput` is required. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-input.html#cfn-kinesisanalytics-application-input-kinesisstreamsinput // KinesisStreamsInput interface{} `field:"optional" json:"kinesisStreamsInput" yaml:"kinesisStreamsInput"` }
When you configure the application input, you specify the streaming source, the in-application stream name that is created, and the mapping between the two.
For more information, see [Configuring Application Input](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.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" 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"), RoleArn: jsii.String("roleArn"), }, }, KinesisFirehoseInput: &KinesisFirehoseInputProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }, KinesisStreamsInput: &KinesisStreamsInputProperty{ ResourceArn: jsii.String("resourceArn"), RoleArn: jsii.String("roleArn"), }, }
type CfnApplication_InputSchemaProperty ¶
type CfnApplication_InputSchemaProperty struct { // A list of `RecordColumn` objects. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputschema.html#cfn-kinesisanalytics-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-kinesisanalytics-application-inputschema.html#cfn-kinesisanalytics-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-kinesisanalytics-application-inputschema.html#cfn-kinesisanalytics-application-inputschema-recordencoding // RecordEncoding *string `field:"optional" json:"recordEncoding" yaml:"recordEncoding"` }
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.
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 { // Path to the top-level parent that contains the records. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-jsonmappingparameters.html#cfn-kinesisanalytics-application-jsonmappingparameters-recordrowpath // RecordRowPath *string `field:"required" json:"recordRowPath" yaml:"recordRowPath"` }
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 { // ARN of the input delivery stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-kinesisfirehoseinput.html#cfn-kinesisanalytics-application-kinesisfirehoseinput-resourcearn // ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"` // ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. // // You need to make sure that the role has the necessary permissions to access the stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-kinesisfirehoseinput.html#cfn-kinesisanalytics-application-kinesisfirehoseinput-rolearn // RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"` }
Identifies an Amazon Kinesis Firehose delivery stream as the streaming source.
You provide the delivery stream's Amazon Resource Name (ARN) and an IAM role ARN that enables Amazon Kinesis Analytics to access the stream on your behalf.
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"), RoleArn: jsii.String("roleArn"), }
type CfnApplication_KinesisStreamsInputProperty ¶
type CfnApplication_KinesisStreamsInputProperty struct { // ARN of the input Amazon Kinesis stream to read. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-kinesisstreamsinput.html#cfn-kinesisanalytics-application-kinesisstreamsinput-resourcearn // ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"` // ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. // // You need to grant the necessary permissions to this role. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-kinesisstreamsinput.html#cfn-kinesisanalytics-application-kinesisstreamsinput-rolearn // RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"` }
Identifies an Amazon Kinesis stream as the streaming source.
You provide the stream's Amazon Resource Name (ARN) and an IAM role ARN that enables Amazon Kinesis Analytics to access the stream on your behalf.
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"), RoleArn: jsii.String("roleArn"), }
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-kinesisanalytics-application-mappingparameters.html#cfn-kinesisanalytics-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-kinesisanalytics-application-mappingparameters.html#cfn-kinesisanalytics-application-mappingparameters-jsonmappingparameters // JsonMappingParameters interface{} `field:"optional" json:"jsonMappingParameters" yaml:"jsonMappingParameters"` }
When configuring 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.
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_RecordColumnProperty ¶
type CfnApplication_RecordColumnProperty struct { // Name of the column created in the in-application input stream or reference table. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-recordcolumn.html#cfn-kinesisanalytics-application-recordcolumn-name // Name *string `field:"required" json:"name" yaml:"name"` // Type of column created in the in-application input stream or reference table. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-recordcolumn.html#cfn-kinesisanalytics-application-recordcolumn-sqltype // SqlType *string `field:"required" json:"sqlType" yaml:"sqlType"` // Reference to the data element in the streaming input or the reference data source. // // This element is required if the [RecordFormatType](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_RecordFormat.html#analytics-Type-RecordFormat-RecordFormatTypel) is `JSON` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-recordcolumn.html#cfn-kinesisanalytics-application-recordcolumn-mapping // Mapping *string `field:"optional" json:"mapping" yaml:"mapping"` }
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-kinesisanalytics-application-recordformat.html#cfn-kinesisanalytics-application-recordformat-recordformattype // RecordFormatType *string `field:"required" json:"recordFormatType" yaml:"recordFormatType"` // When configuring 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-kinesisanalytics-application-recordformat.html#cfn-kinesisanalytics-application-recordformat-mappingparameters // MappingParameters interface{} `field:"optional" json:"mappingParameters" yaml:"mappingParameters"` }
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"), }, }, }
Source Files ¶
- CfnApplication.go
- CfnApplicationCloudWatchLoggingOptionV2.go
- CfnApplicationCloudWatchLoggingOptionV2Props.go
- CfnApplicationCloudWatchLoggingOptionV2_CloudWatchLoggingOptionProperty.go
- CfnApplicationCloudWatchLoggingOptionV2__checks.go
- CfnApplicationOutput.go
- CfnApplicationOutputProps.go
- CfnApplicationOutputV2.go
- CfnApplicationOutputV2Props.go
- CfnApplicationOutputV2_DestinationSchemaProperty.go
- CfnApplicationOutputV2_KinesisFirehoseOutputProperty.go
- CfnApplicationOutputV2_KinesisStreamsOutputProperty.go
- CfnApplicationOutputV2_LambdaOutputProperty.go
- CfnApplicationOutputV2_OutputProperty.go
- CfnApplicationOutputV2__checks.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
- CfnApplicationReferenceDataSourceV2.go
- CfnApplicationReferenceDataSourceV2Props.go
- CfnApplicationReferenceDataSourceV2_CSVMappingParametersProperty.go
- CfnApplicationReferenceDataSourceV2_JSONMappingParametersProperty.go
- CfnApplicationReferenceDataSourceV2_MappingParametersProperty.go
- CfnApplicationReferenceDataSourceV2_RecordColumnProperty.go
- CfnApplicationReferenceDataSourceV2_RecordFormatProperty.go
- CfnApplicationReferenceDataSourceV2_ReferenceDataSourceProperty.go
- CfnApplicationReferenceDataSourceV2_ReferenceSchemaProperty.go
- CfnApplicationReferenceDataSourceV2_S3ReferenceDataSourceProperty.go
- CfnApplicationReferenceDataSourceV2__checks.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
- CfnApplicationV2.go
- CfnApplicationV2Props.go
- CfnApplicationV2_ApplicationCodeConfigurationProperty.go
- CfnApplicationV2_ApplicationConfigurationProperty.go
- CfnApplicationV2_ApplicationMaintenanceConfigurationProperty.go
- CfnApplicationV2_ApplicationRestoreConfigurationProperty.go
- CfnApplicationV2_ApplicationSnapshotConfigurationProperty.go
- CfnApplicationV2_ApplicationSystemRollbackConfigurationProperty.go
- CfnApplicationV2_CSVMappingParametersProperty.go
- CfnApplicationV2_CatalogConfigurationProperty.go
- CfnApplicationV2_CheckpointConfigurationProperty.go
- CfnApplicationV2_CodeContentProperty.go
- CfnApplicationV2_CustomArtifactConfigurationProperty.go
- CfnApplicationV2_DeployAsApplicationConfigurationProperty.go
- CfnApplicationV2_EnvironmentPropertiesProperty.go
- CfnApplicationV2_FlinkApplicationConfigurationProperty.go
- CfnApplicationV2_FlinkRunConfigurationProperty.go
- CfnApplicationV2_GlueDataCatalogConfigurationProperty.go
- CfnApplicationV2_InputLambdaProcessorProperty.go
- CfnApplicationV2_InputParallelismProperty.go
- CfnApplicationV2_InputProcessingConfigurationProperty.go
- CfnApplicationV2_InputProperty.go
- CfnApplicationV2_InputSchemaProperty.go
- CfnApplicationV2_JSONMappingParametersProperty.go
- CfnApplicationV2_KinesisFirehoseInputProperty.go
- CfnApplicationV2_KinesisStreamsInputProperty.go
- CfnApplicationV2_MappingParametersProperty.go
- CfnApplicationV2_MavenReferenceProperty.go
- CfnApplicationV2_MonitoringConfigurationProperty.go
- CfnApplicationV2_ParallelismConfigurationProperty.go
- CfnApplicationV2_PropertyGroupProperty.go
- CfnApplicationV2_RecordColumnProperty.go
- CfnApplicationV2_RecordFormatProperty.go
- CfnApplicationV2_RunConfigurationProperty.go
- CfnApplicationV2_S3ContentBaseLocationProperty.go
- CfnApplicationV2_S3ContentLocationProperty.go
- CfnApplicationV2_SqlApplicationConfigurationProperty.go
- CfnApplicationV2_VpcConfigurationProperty.go
- CfnApplicationV2_ZeppelinApplicationConfigurationProperty.go
- CfnApplicationV2_ZeppelinMonitoringConfigurationProperty.go
- CfnApplicationV2__checks.go
- CfnApplication_CSVMappingParametersProperty.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_RecordColumnProperty.go
- CfnApplication_RecordFormatProperty.go
- CfnApplication__checks.go
- main.go