CfnFeedPropsMixin

class aws_cdk.cfn_property_mixins.aws_elementalinference.CfnFeedPropsMixin(props, *, strategy=None)

Bases: Mixin

Represents a feed that receives media for inference processing.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elementalinference-feed.html

CloudformationResource:

AWS::ElementalInference::Feed

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.cfn_property_mixins import aws_elementalinference as elementalinference
import aws_cdk as cdk

# cropping: Any
# merge_strategy: cdk.IMergeStrategy

cfn_feed_props_mixin = elementalinference.CfnFeedPropsMixin(elementalinference.CfnFeedMixinProps(
    name="name",
    outputs=[elementalinference.CfnFeedPropsMixin.GetOutputProperty(
        description="description",
        name="name",
        output_config=elementalinference.CfnFeedPropsMixin.OutputConfigProperty(
            clipping=elementalinference.CfnFeedPropsMixin.ClippingConfigProperty(
                callback_metadata="callbackMetadata"
            ),
            cropping=cropping,
            subtitling=elementalinference.CfnFeedPropsMixin.SubtitlingConfigProperty(
                aspect_ratio=elementalinference.CfnFeedPropsMixin.AspectRatioProperty(
                    height=123,
                    width=123
                ),
                dictionary="dictionary",
                language="language",
                profanity_filter="profanityFilter"
            )
        ),
        status="status"
    )],
    tags={
        "tags_key": "tags"
    }
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::ElementalInference::Feed.

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

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

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['name', 'outputs', 'tags']

Static Methods

classmethod is_mixin(x)

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.

AspectRatioProperty

class CfnFeedPropsMixin.AspectRatioProperty(*, height=None, width=None)

Bases: object

Parameters:
  • height (Union[int, float, None])

  • width (Union[int, float, None])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-aspectratio.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.cfn_property_mixins import aws_elementalinference as elementalinference

aspect_ratio_property = elementalinference.CfnFeedPropsMixin.AspectRatioProperty(
    height=123,
    width=123
)

Attributes

height

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-aspectratio.html#cfn-elementalinference-feed-aspectratio-height

Type:

see

width

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-aspectratio.html#cfn-elementalinference-feed-aspectratio-width

Type:

see

ClippingConfigProperty

class CfnFeedPropsMixin.ClippingConfigProperty(*, callback_metadata=None)

Bases: object

Parameters:

callback_metadata (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-clippingconfig.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.cfn_property_mixins import aws_elementalinference as elementalinference

clipping_config_property = elementalinference.CfnFeedPropsMixin.ClippingConfigProperty(
    callback_metadata="callbackMetadata"
)

Attributes

callback_metadata

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-clippingconfig.html#cfn-elementalinference-feed-clippingconfig-callbackmetadata

Type:

see

GetOutputProperty

class CfnFeedPropsMixin.GetOutputProperty(*, description=None, name=None, output_config=None, status=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-getoutput.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.cfn_property_mixins import aws_elementalinference as elementalinference

# cropping: Any

get_output_property = elementalinference.CfnFeedPropsMixin.GetOutputProperty(
    description="description",
    name="name",
    output_config=elementalinference.CfnFeedPropsMixin.OutputConfigProperty(
        clipping=elementalinference.CfnFeedPropsMixin.ClippingConfigProperty(
            callback_metadata="callbackMetadata"
        ),
        cropping=cropping,
        subtitling=elementalinference.CfnFeedPropsMixin.SubtitlingConfigProperty(
            aspect_ratio=elementalinference.CfnFeedPropsMixin.AspectRatioProperty(
                height=123,
                width=123
            ),
            dictionary="dictionary",
            language="language",
            profanity_filter="profanityFilter"
        )
    ),
    status="status"
)

Attributes

description

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-getoutput.html#cfn-elementalinference-feed-getoutput-description

Type:

see

name

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-getoutput.html#cfn-elementalinference-feed-getoutput-name

Type:

see

output_config

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-getoutput.html#cfn-elementalinference-feed-getoutput-outputconfig

Type:

see

status

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-getoutput.html#cfn-elementalinference-feed-getoutput-status

Type:

see

OutputConfigProperty

class CfnFeedPropsMixin.OutputConfigProperty(*, clipping=None, cropping=None, subtitling=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-outputconfig.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.cfn_property_mixins import aws_elementalinference as elementalinference

# cropping: Any

output_config_property = elementalinference.CfnFeedPropsMixin.OutputConfigProperty(
    clipping=elementalinference.CfnFeedPropsMixin.ClippingConfigProperty(
        callback_metadata="callbackMetadata"
    ),
    cropping=cropping,
    subtitling=elementalinference.CfnFeedPropsMixin.SubtitlingConfigProperty(
        aspect_ratio=elementalinference.CfnFeedPropsMixin.AspectRatioProperty(
            height=123,
            width=123
        ),
        dictionary="dictionary",
        language="language",
        profanity_filter="profanityFilter"
    )
)

Attributes

clipping

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-outputconfig.html#cfn-elementalinference-feed-outputconfig-clipping

Type:

see

cropping

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-outputconfig.html#cfn-elementalinference-feed-outputconfig-cropping

Type:

see

subtitling

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-outputconfig.html#cfn-elementalinference-feed-outputconfig-subtitling

Type:

see

SubtitlingConfigProperty

class CfnFeedPropsMixin.SubtitlingConfigProperty(*, aspect_ratio=None, dictionary=None, language=None, profanity_filter=None)

Bases: object

Parameters:
  • aspect_ratio (Union[IResolvable, AspectRatioProperty, Dict[str, Any], None])

  • dictionary (Optional[str])

  • language (Optional[str])

  • profanity_filter (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-subtitlingconfig.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.cfn_property_mixins import aws_elementalinference as elementalinference

subtitling_config_property = elementalinference.CfnFeedPropsMixin.SubtitlingConfigProperty(
    aspect_ratio=elementalinference.CfnFeedPropsMixin.AspectRatioProperty(
        height=123,
        width=123
    ),
    dictionary="dictionary",
    language="language",
    profanity_filter="profanityFilter"
)

Attributes

aspect_ratio

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-subtitlingconfig.html#cfn-elementalinference-feed-subtitlingconfig-aspectratio

Type:

see

dictionary

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-subtitlingconfig.html#cfn-elementalinference-feed-subtitlingconfig-dictionary

Type:

see

language

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-subtitlingconfig.html#cfn-elementalinference-feed-subtitlingconfig-language

Type:

see

profanity_filter

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-subtitlingconfig.html#cfn-elementalinference-feed-subtitlingconfig-profanityfilter

Type:

see