@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.758Z") @Stability(value=Stable) public class CfnContactFlow extends CfnResource implements IInspectable
The AWS::Connect::ContactFlow resource specifies a contact flow for the specified Amazon Connect instance.
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.*;
CfnContactFlow cfnContactFlow = CfnContactFlow.Builder.create(this, "MyCfnContactFlow")
.content("content")
.instanceArn("instanceArn")
.name("name")
.type("type")
// the properties below are optional
.description("description")
.state("state")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnContactFlow.Builder
A fluent builder for
CfnContactFlow. |
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 |
|---|---|
|
CfnContactFlow(software.constructs.Construct scope,
String id,
CfnContactFlowProps props)
Create a new `AWS::Connect::ContactFlow`.
|
protected |
CfnContactFlow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnContactFlow(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrContactFlowArn()
`Ref` returns the contact flow Amazon Resource Name (ARN).
|
protected Map<String,Object> |
getCfnProperties() |
String |
getContent()
The content of the contact flow.
|
String |
getDescription()
The description of the contact flow.
|
String |
getInstanceArn()
The Amazon Resource Name (ARN) of the Amazon Connect instance.
|
String |
getName()
The name of the contact flow.
|
String |
getState()
The state of the contact flow.
|
TagManager |
getTags()
An array of key-value pairs to apply to this resource.
|
String |
getType()
The type of the contact flow.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setContent(String value)
The content of the contact flow.
|
void |
setDescription(String value)
The description of the contact flow.
|
void |
setInstanceArn(String value)
The Amazon Resource Name (ARN) of the Amazon Connect instance.
|
void |
setName(String value)
The name of the contact flow.
|
void |
setState(String value)
The state of the contact flow.
|
void |
setType(String value)
The type of the contact flow.
|
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 CfnContactFlow(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnContactFlow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnContactFlow(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnContactFlowProps 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 getAttrContactFlowArn()
{ "Ref": "myContactFlowArn" }
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
For more information, see Tag .
@Stability(value=Stable) @NotNull public String getContent()
@Stability(value=Stable)
public void setContent(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getInstanceArn()
@Stability(value=Stable)
public void setInstanceArn(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getType()
For descriptions of the available types, see Choose a Contact Flow Type in the Amazon Connect Administrator Guide .
@Stability(value=Stable)
public void setType(@NotNull
String value)
For descriptions of the available types, see Choose a Contact Flow Type in the Amazon Connect Administrator Guide .
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getState()
@Stability(value=Stable)
public void setState(@Nullable
String value)
Copyright © 2022. All rights reserved.