CfnDataIntegrationPropsMixin

class aws_cdk.mixins_preview.aws_appintegrations.mixins.CfnDataIntegrationPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates and persists a DataIntegration resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-dataintegration.html

CloudformationResource:

AWS::AppIntegrations::DataIntegration

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_appintegrations import mixins as appintegrations_mixins

# filters: Any
# object_configuration: Any

cfn_data_integration_props_mixin = appintegrations_mixins.CfnDataIntegrationPropsMixin(appintegrations_mixins.CfnDataIntegrationMixinProps(
    description="description",
    file_configuration=appintegrations_mixins.CfnDataIntegrationPropsMixin.FileConfigurationProperty(
        filters=filters,
        folders=["folders"]
    ),
    kms_key="kmsKey",
    name="name",
    object_configuration=object_configuration,
    schedule_config=appintegrations_mixins.CfnDataIntegrationPropsMixin.ScheduleConfigProperty(
        first_execution_from="firstExecutionFrom",
        object="object",
        schedule_expression="scheduleExpression"
    ),
    source_uri="sourceUri",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::AppIntegrations::DataIntegration.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['description', 'fileConfiguration', 'kmsKey', 'name', 'objectConfiguration', 'scheduleConfig', 'sourceUri', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

FileConfigurationProperty

class CfnDataIntegrationPropsMixin.FileConfigurationProperty(*, filters=None, folders=None)

Bases: object

The configuration for what files should be pulled from the source.

Parameters:
  • filters (Any) – Restrictions for what files should be pulled from the source.

  • folders (Optional[Sequence[str]]) – Identifiers for the source folders to pull all files from recursively.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-dataintegration-fileconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_appintegrations import mixins as appintegrations_mixins

# filters: Any

file_configuration_property = appintegrations_mixins.CfnDataIntegrationPropsMixin.FileConfigurationProperty(
    filters=filters,
    folders=["folders"]
)

Attributes

filters

Restrictions for what files should be pulled from the source.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-dataintegration-fileconfiguration.html#cfn-appintegrations-dataintegration-fileconfiguration-filters

folders

Identifiers for the source folders to pull all files from recursively.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-dataintegration-fileconfiguration.html#cfn-appintegrations-dataintegration-fileconfiguration-folders

ScheduleConfigProperty

class CfnDataIntegrationPropsMixin.ScheduleConfigProperty(*, first_execution_from=None, object=None, schedule_expression=None)

Bases: object

The name of the data and how often it should be pulled from the source.

Parameters:
  • first_execution_from (Optional[str]) – The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.

  • object (Optional[str]) – The name of the object to pull from the data source.

  • schedule_expression (Optional[str]) – How often the data should be pulled from data source.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-dataintegration-scheduleconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_appintegrations import mixins as appintegrations_mixins

schedule_config_property = appintegrations_mixins.CfnDataIntegrationPropsMixin.ScheduleConfigProperty(
    first_execution_from="firstExecutionFrom",
    object="object",
    schedule_expression="scheduleExpression"
)

Attributes

first_execution_from

The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-dataintegration-scheduleconfig.html#cfn-appintegrations-dataintegration-scheduleconfig-firstexecutionfrom

object

The name of the object to pull from the data source.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-dataintegration-scheduleconfig.html#cfn-appintegrations-dataintegration-scheduleconfig-object

schedule_expression

How often the data should be pulled from data source.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-dataintegration-scheduleconfig.html#cfn-appintegrations-dataintegration-scheduleconfig-scheduleexpression