@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.762Z") @Stability(value=Stable) public class CfnInstance extends CfnResource implements IInspectable
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.*;
CfnInstance cfnInstance = CfnInstance.Builder.create(this, "MyCfnInstance")
.attributes(AttributesProperty.builder()
.inboundCalls(false)
.outboundCalls(false)
// the properties below are optional
.autoResolveBestVoices(false)
.contactflowLogs(false)
.contactLens(false)
.earlyMedia(false)
.useCustomTtsVoices(false)
.build())
.identityManagementType("identityManagementType")
// the properties below are optional
.directoryId("directoryId")
.instanceAlias("instanceAlias")
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnInstance.AttributesProperty
Example:
|
static class |
CfnInstance.Builder
A fluent builder for
CfnInstance. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnInstance(software.constructs.Construct scope,
String id,
CfnInstanceProps props)
Create a new `AWS::Connect::Instance`.
|
protected |
CfnInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnInstance(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrCreatedTime() |
Object |
getAttributes()
`AWS::Connect::Instance.Attributes`.
|
String |
getAttrId() |
String |
getAttrInstanceStatus() |
String |
getAttrServiceRole() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDirectoryId()
`AWS::Connect::Instance.DirectoryId`.
|
String |
getIdentityManagementType()
`AWS::Connect::Instance.IdentityManagementType`.
|
String |
getInstanceAlias()
`AWS::Connect::Instance.InstanceAlias`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAttributes(CfnInstance.AttributesProperty value)
`AWS::Connect::Instance.Attributes`.
|
void |
setAttributes(IResolvable value)
`AWS::Connect::Instance.Attributes`.
|
void |
setDirectoryId(String value)
`AWS::Connect::Instance.DirectoryId`.
|
void |
setIdentityManagementType(String value)
`AWS::Connect::Instance.IdentityManagementType`.
|
void |
setInstanceAlias(String value)
`AWS::Connect::Instance.InstanceAlias`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnInstance(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnInstance(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnInstanceProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrCreatedTime()
@Stability(value=Stable) @NotNull public String getAttrId()
@Stability(value=Stable) @NotNull public String getAttrInstanceStatus()
@Stability(value=Stable) @NotNull public String getAttrServiceRole()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getAttributes()
@Stability(value=Stable)
public void setAttributes(@NotNull
CfnInstance.AttributesProperty value)
@Stability(value=Stable)
public void setAttributes(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getIdentityManagementType()
@Stability(value=Stable)
public void setIdentityManagementType(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDirectoryId()
@Stability(value=Stable)
public void setDirectoryId(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getInstanceAlias()
@Stability(value=Stable)
public void setInstanceAlias(@Nullable
String value)
Copyright © 2022. All rights reserved.