CfnContentAssociationProps

class aws_cdk.aws_wisdom.CfnContentAssociationProps(*, association, association_type, content_id, knowledge_base_id, tags=None)

Bases: object

Properties for defining a CfnContentAssociation.

Parameters:
  • association (Union[IResolvable, ContentAssociationContentsProperty, Dict[str, Any]])

  • association_type (str) – The type of association.

  • content_id (str) – The identifier of the content.

  • knowledge_base_id (str) – The identifier of the knowledge base.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags used to organize, track, or control access for this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-contentassociation.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wisdom as wisdom

cfn_content_association_props = wisdom.CfnContentAssociationProps(
    association=wisdom.CfnContentAssociation.ContentAssociationContentsProperty(
        amazon_connect_guide_association=wisdom.CfnContentAssociation.AmazonConnectGuideAssociationDataProperty(
            flow_id="flowId"
        )
    ),
    association_type="associationType",
    content_id="contentId",
    knowledge_base_id="knowledgeBaseId",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

association

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-contentassociation.html#cfn-wisdom-contentassociation-association

Type:

see

association_type

The type of association.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-contentassociation.html#cfn-wisdom-contentassociation-associationtype

content_id

The identifier of the content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-contentassociation.html#cfn-wisdom-contentassociation-contentid

knowledge_base_id

The identifier of the knowledge base.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-contentassociation.html#cfn-wisdom-contentassociation-knowledgebaseid

tags

The tags used to organize, track, or control access for this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-contentassociation.html#cfn-wisdom-contentassociation-tags