Interface CfnInstanceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstanceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:17.630Z")
@Stability(Stable)
public interface CfnInstanceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnInstance.
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.connect.*;
CfnInstanceProps cfnInstanceProps = CfnInstanceProps.builder()
.attributes(AttributesProperty.builder()
.inboundCalls(false)
.outboundCalls(false)
// the properties below are optional
.autoResolveBestVoices(false)
.contactflowLogs(false)
.contactLens(false)
.earlyMedia(false)
.enhancedChatMonitoring(false)
.enhancedContactMonitoring(false)
.highVolumeOutBound(false)
.multiPartyChatConference(false)
.multiPartyConference(false)
.useCustomTtsVoices(false)
.build())
.identityManagementType("identityManagementType")
// the properties below are optional
.directoryId("directoryId")
.instanceAlias("instanceAlias")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInstancePropsstatic final classAn implementation forCfnInstanceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnInstanceProps.Builderbuilder()A toggle for an individual feature at the instance level.default StringThe identifier for the directory.The identity management type.default StringThe alias of instance.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttributes
A toggle for an individual feature at the instance level.Returns union: either
IResolvableorCfnInstance.AttributesProperty- See Also:
-
getIdentityManagementType
The identity management type.- See Also:
-
getDirectoryId
The identifier for the directory.- See Also:
-
getInstanceAlias
The alias of instance.InstanceAliasis only required whenIdentityManagementTypeisCONNECT_MANAGEDorSAML.InstanceAliasis not required whenIdentityManagementTypeisEXISTING_DIRECTORY.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnInstanceProps.BuilderofCfnInstanceProps
-