Class CfnAssistantAssociation
Specifies an association between an Amazon Connect Wisdom assistant and another resource.
Inherited Members
Namespace: Amazon.CDK.AWS.Wisdom
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAssistantAssociation : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnAssistantAssociation
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
Currently, the only supported association is with a knowledge base. An assistant can have only a single association.
CloudformationResource: AWS::Wisdom::AssistantAssociation
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Wisdom;
var cfnAssistantAssociation = new CfnAssistantAssociation(this, "MyCfnAssistantAssociation", new CfnAssistantAssociationProps {
AssistantId = "assistantId",
Association = new AssociationDataProperty {
KnowledgeBaseId = "knowledgeBaseId"
},
AssociationType = "associationType",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnAssistantAssociation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnAssistantAssociation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnAssistantAssociation(Construct, String, ICfnAssistantAssociationProps) |
Properties
AssistantId | The identifier of the Wisdom assistant. |
Association | The identifier of the associated resource. |
AssociationType | The type of association. |
AttrAssistantArn | The Amazon Resource Name (ARN) of the Wisdom assistant. |
AttrAssistantAssociationArn | The Amazon Resource Name (ARN) of the assistant association. |
AttrAssistantAssociationId | The ID of the association. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags used to organize, track, or control access for this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnAssistantAssociation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnAssistantAssociation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnAssistantAssociation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnAssistantAssociation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnAssistantAssociation(Construct, String, ICfnAssistantAssociationProps)
public CfnAssistantAssociation(Construct scope, string id, ICfnAssistantAssociationProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnAssistantAssociationProps
Resource properties.
Properties
AssistantId
The identifier of the Wisdom assistant.
public virtual string AssistantId { get; set; }
Property Value
System.String
Association
The identifier of the associated resource.
public virtual object Association { get; set; }
Property Value
System.Object
AssociationType
The type of association.
public virtual string AssociationType { get; set; }
Property Value
System.String
AttrAssistantArn
The Amazon Resource Name (ARN) of the Wisdom assistant.
public virtual string AttrAssistantArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: AssistantArn
AttrAssistantAssociationArn
The Amazon Resource Name (ARN) of the assistant association.
public virtual string AttrAssistantAssociationArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: AssistantAssociationArn
AttrAssistantAssociationId
The ID of the association.
public virtual string AttrAssistantAssociationId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: AssistantAssociationId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags used to organize, track, or control access for this resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>