CfnIntegrationPropsMixin

class aws_cdk.mixins_preview.aws_redshift.mixins.CfnIntegrationPropsMixin(props, *, strategy=None)

Bases: Mixin

Describes a zero-ETL or S3 integration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-integration.html

CloudformationResource:

AWS::Redshift::Integration

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_redshift import mixins as redshift_mixins

cfn_integration_props_mixin = redshift_mixins.CfnIntegrationPropsMixin(redshift_mixins.CfnIntegrationMixinProps(
    additional_encryption_context={
        "additional_encryption_context_key": "additionalEncryptionContext"
    },
    integration_name="integrationName",
    kms_key_id="kmsKeyId",
    source_arn="sourceArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    target_arn="targetArn"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Redshift::Integration.

Parameters:
  • props (Union[CfnIntegrationMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

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 = ['additionalEncryptionContext', 'integrationName', 'kmsKeyId', 'sourceArn', 'tags', 'targetArn']

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