Class CfnAssistant
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.wisdom.CfnAssistant
- All Implemented Interfaces:
IInspectable,ITaggable,IAssistantRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:48.994Z")
@Stability(Stable)
public class CfnAssistant
extends CfnResource
implements IInspectable, IAssistantRef, ITaggable
Specifies an Amazon Connect Wisdom assistant.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wisdom.*;
CfnAssistant cfnAssistant = CfnAssistant.Builder.create(this, "MyCfnAssistant")
.name("name")
.type("type")
// the properties below are optional
.description("description")
.serverSideEncryptionConfiguration(ServerSideEncryptionConfigurationProperty.builder()
.kmsKeyId("kmsKeyId")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnAssistant.static interfaceThe configuration information for the customer managed key used for encryption.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.wisdom.IAssistantRef
IAssistantRef.Jsii$Default, IAssistantRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnAssistant(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAssistant(software.amazon.jsii.JsiiObjectRef objRef) CfnAssistant(software.constructs.Construct scope, String id, CfnAssistantProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IAssistantReffromAssistantArn(software.constructs.Construct scope, String id, String arn) Creates a new IAssistantRef from an ARN.static IAssistantReffromAssistantId(software.constructs.Construct scope, String id, String assistantId) Creates a new IAssistantRef from a assistantId.A reference to a Assistant resource.The Amazon Resource Name (ARN) of the assistant.The ID of the Wisdom assistant.The description of the assistant.getName()The name of the assistant.The configuration information for the customer managed key used for encryption.getTags()Tag Manager which manages the tags for this resource.The tags used to organize, track, or control access for this resource.getType()The type of assistant.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) The description of the assistant.voidThe name of the assistant.voidThe configuration information for the customer managed key used for encryption.voidThe configuration information for the customer managed key used for encryption.voidsetTagsRaw(List<CfnTag> value) The tags used to organize, track, or control access for this resource.voidThe type of assistant.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnAssistant
protected CfnAssistant(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAssistant
protected CfnAssistant(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAssistant
@Stability(Stable) public CfnAssistant(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAssistantProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
fromAssistantArn
@Stability(Stable) @NotNull public static IAssistantRef fromAssistantArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IAssistantRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromAssistantId
@Stability(Stable) @NotNull public static IAssistantRef fromAssistantId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String assistantId) Creates a new IAssistantRef from a assistantId.- Parameters:
scope- This parameter is required.id- This parameter is required.assistantId- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAssistantRef
A reference to a Assistant resource.- Specified by:
getAssistantRefin interfaceIAssistantRef
-
getAttrAssistantArn
The Amazon Resource Name (ARN) of the assistant. -
getAttrAssistantId
The ID of the Wisdom assistant. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getName
The name of the assistant. -
setName
The name of the assistant. -
getType
The type of assistant. -
setType
The type of assistant. -
getDescription
The description of the assistant. -
setDescription
The description of the assistant. -
getServerSideEncryptionConfiguration
The configuration information for the customer managed key used for encryption.Returns union: either
IResolvableorCfnAssistant.ServerSideEncryptionConfigurationProperty -
setServerSideEncryptionConfiguration
The configuration information for the customer managed key used for encryption. -
setServerSideEncryptionConfiguration
@Stability(Stable) public void setServerSideEncryptionConfiguration(@Nullable CfnAssistant.ServerSideEncryptionConfigurationProperty value) The configuration information for the customer managed key used for encryption. -
getTagsRaw
The tags used to organize, track, or control access for this resource. -
setTagsRaw
The tags used to organize, track, or control access for this resource.
-