Class CfnAssistantAssociation
A CloudFormation AWS::Wisdom::AssistantAssociation
.
Inherited Members
Namespace: Amazon.CDK.AWS.Wisdom
Assembly: Amazon.CDK.AWS.Wisdom.dll
Syntax (csharp)
public class CfnAssistantAssociation : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnAssistantAssociation
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies an association between an Amazon Connect Wisdom assistant and another resource. 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(Construct, String, ICfnAssistantAssociationProps) | Create a new |
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 |
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 | 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(Construct, String, ICfnAssistantAssociationProps)
Create a new AWS::Wisdom::AssistantAssociation
.
public CfnAssistantAssociation(Construct scope, string id, ICfnAssistantAssociationProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnAssistantAssociationProps
- resource properties.
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
Properties
AssistantId
The identifier of the Wisdom assistant.
public virtual string AssistantId { get; set; }
Property Value
System.String
Remarks
Association
The identifier of the associated resource.
public virtual object Association { get; set; }
Property Value
System.Object
Remarks
AssociationType
The type of association.
public virtual string AssociationType { get; set; }
Property Value
System.String
Remarks
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
The tags used to organize, track, or control access for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
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>