@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.774Z") @Stability(value=Stable) public class CfnTaskTemplate 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.*;
Object constraints;
CfnTaskTemplate cfnTaskTemplate = CfnTaskTemplate.Builder.create(this, "MyCfnTaskTemplate")
.instanceArn("instanceArn")
// the properties below are optional
.clientToken("clientToken")
.constraints(constraints)
.contactFlowArn("contactFlowArn")
.defaults(List.of(DefaultFieldValueProperty.builder()
.defaultValue("defaultValue")
.id(FieldIdentifierProperty.builder()
.name("name")
.build())
.build()))
.description("description")
.fields(List.of(FieldProperty.builder()
.id(FieldIdentifierProperty.builder()
.name("name")
.build())
.type("type")
// the properties below are optional
.description("description")
.singleSelectOptions(List.of("singleSelectOptions"))
.build()))
.name("name")
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnTaskTemplate.Builder
A fluent builder for
CfnTaskTemplate. |
static interface |
CfnTaskTemplate.DefaultFieldValueProperty
Example:
|
static interface |
CfnTaskTemplate.FieldIdentifierProperty
Example:
|
static interface |
CfnTaskTemplate.FieldProperty
Example:
|
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 |
|---|---|
|
CfnTaskTemplate(software.constructs.Construct scope,
String id,
CfnTaskTemplateProps props)
Create a new `AWS::Connect::TaskTemplate`.
|
protected |
CfnTaskTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnTaskTemplate(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
protected Map<String,Object> |
getCfnProperties() |
String |
getClientToken()
`AWS::Connect::TaskTemplate.ClientToken`.
|
Object |
getConstraints()
`AWS::Connect::TaskTemplate.Constraints`.
|
String |
getContactFlowArn()
`AWS::Connect::TaskTemplate.ContactFlowArn`.
|
Object |
getDefaults()
`AWS::Connect::TaskTemplate.Defaults`.
|
String |
getDescription()
`AWS::Connect::TaskTemplate.Description`.
|
Object |
getFields()
`AWS::Connect::TaskTemplate.Fields`.
|
String |
getInstanceArn()
`AWS::Connect::TaskTemplate.InstanceArn`.
|
String |
getName()
`AWS::Connect::TaskTemplate.Name`.
|
String |
getStatus()
`AWS::Connect::TaskTemplate.Status`.
|
TagManager |
getTags()
`AWS::Connect::TaskTemplate.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setClientToken(String value)
`AWS::Connect::TaskTemplate.ClientToken`.
|
void |
setConstraints(Object value)
`AWS::Connect::TaskTemplate.Constraints`.
|
void |
setContactFlowArn(String value)
`AWS::Connect::TaskTemplate.ContactFlowArn`.
|
void |
setDefaults(IResolvable value)
`AWS::Connect::TaskTemplate.Defaults`.
|
void |
setDefaults(List<Object> value)
`AWS::Connect::TaskTemplate.Defaults`.
|
void |
setDescription(String value)
`AWS::Connect::TaskTemplate.Description`.
|
void |
setFields(IResolvable value)
`AWS::Connect::TaskTemplate.Fields`.
|
void |
setFields(List<Object> value)
`AWS::Connect::TaskTemplate.Fields`.
|
void |
setInstanceArn(String value)
`AWS::Connect::TaskTemplate.InstanceArn`.
|
void |
setName(String value)
`AWS::Connect::TaskTemplate.Name`.
|
void |
setStatus(String value)
`AWS::Connect::TaskTemplate.Status`.
|
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 CfnTaskTemplate(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnTaskTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnTaskTemplate(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnTaskTemplateProps 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 protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public Object getConstraints()
@Stability(value=Stable)
public void setConstraints(@NotNull
Object value)
@Stability(value=Stable) @NotNull public String getInstanceArn()
@Stability(value=Stable)
public void setInstanceArn(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getClientToken()
@Stability(value=Stable)
public void setClientToken(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getContactFlowArn()
@Stability(value=Stable)
public void setContactFlowArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getDefaults()
@Stability(value=Stable)
public void setDefaults(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setDefaults(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getFields()
@Stability(value=Stable)
public void setFields(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setFields(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getStatus()
@Stability(value=Stable)
public void setStatus(@Nullable
String value)
Copyright © 2022. All rights reserved.