@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:49.868Z") 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") // the properties below are optional .description("description") .state("state") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .type("type") .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnContactFlow.Builder
A fluent builder for
CfnContactFlow . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnContactFlow(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getAttrContactFlowArn()
`Ref` returns the contact flow Amazon Resource Name (ARN).
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getContent()
The content of the contact flow.
|
java.lang.String |
getDescription()
The description of the contact flow.
|
java.lang.String |
getInstanceArn()
The Amazon Resource Name (ARN) of the Amazon Connect instance.
|
java.lang.String |
getName()
The name of the contact flow.
|
java.lang.String |
getState()
The state of the contact flow.
|
TagManager |
getTags()
An array of key-value pairs to apply to this resource.
|
java.lang.String |
getType()
The type of the contact flow.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setContent(java.lang.String value)
The content of the contact flow.
|
void |
setDescription(java.lang.String value)
The description of the contact flow.
|
void |
setInstanceArn(java.lang.String value)
The Amazon Resource Name (ARN) of the Amazon Connect instance.
|
void |
setName(java.lang.String value)
The name of the contact flow.
|
void |
setState(java.lang.String value)
The state of the contact flow.
|
void |
setType(java.lang.String value)
The type of the contact flow.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnContactFlow(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnContactFlow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnContactFlow(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrContactFlowArn()
{ "Ref": "myContactFlowArn" }
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
For more information, see Tag .
public java.lang.String getContent()
public void setContent(java.lang.String value)
public java.lang.String getInstanceArn()
public void setInstanceArn(java.lang.String value)
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.String getState()
public void setState(java.lang.String value)
public java.lang.String getType()
For descriptions of the available types, see Choose a Contact Flow Type in the Amazon Connect Administrator Guide .
public void setType(java.lang.String value)
For descriptions of the available types, see Choose a Contact Flow Type in the Amazon Connect Administrator Guide .