CfnQueueProps Struct
Properties for defining a CfnQueue.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const cfnQueueProps: connect.CfnQueueProps = {
hoursOfOperationArn: 'hoursOfOperationArn',
instanceArn: 'instanceArn',
name: 'name',
// the properties below are optional
additionalEmailAddresses: [{
emailAddressArn: 'emailAddressArn',
}],
description: 'description',
maxContacts: 123,
outboundCallerConfig: {
outboundCallerIdName: 'outboundCallerIdName',
outboundCallerIdNumberArn: 'outboundCallerIdNumberArn',
outboundFlowArn: 'outboundFlowArn',
},
outboundEmailConfig: {
outboundEmailAddressId: 'outboundEmailAddressId',
},
quickConnectArns: ['quickConnectArns'],
status: 'status',
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect
cfn_queue_props = connect.CfnQueueProps(
hours_of_operation_arn="hoursOfOperationArn",
instance_arn="instanceArn",
name="name",
# the properties below are optional
additional_email_addresses=[connect.CfnQueue.EmailAddressProperty(
email_address_arn="emailAddressArn"
)],
description="description",
max_contacts=123,
outbound_caller_config=connect.CfnQueue.OutboundCallerConfigProperty(
outbound_caller_id_name="outboundCallerIdName",
outbound_caller_id_number_arn="outboundCallerIdNumberArn",
outbound_flow_arn="outboundFlowArn"
),
outbound_email_config=connect.CfnQueue.OutboundEmailConfigProperty(
outbound_email_address_id="outboundEmailAddressId"
),
quick_connect_arns=["quickConnectArns"],
status="status",
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// 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.*;
CfnQueueProps cfnQueueProps = CfnQueueProps.builder()
.hoursOfOperationArn("hoursOfOperationArn")
.instanceArn("instanceArn")
.name("name")
// the properties below are optional
.additionalEmailAddresses(List.of(EmailAddressProperty.builder()
.emailAddressArn("emailAddressArn")
.build()))
.description("description")
.maxContacts(123)
.outboundCallerConfig(OutboundCallerConfigProperty.builder()
.outboundCallerIdName("outboundCallerIdName")
.outboundCallerIdNumberArn("outboundCallerIdNumberArn")
.outboundFlowArn("outboundFlowArn")
.build())
.outboundEmailConfig(OutboundEmailConfigProperty.builder()
.outboundEmailAddressId("outboundEmailAddressId")
.build())
.quickConnectArns(List.of("quickConnectArns"))
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;
var cfnQueueProps = new CfnQueueProps {
HoursOfOperationArn = "hoursOfOperationArn",
InstanceArn = "instanceArn",
Name = "name",
// the properties below are optional
AdditionalEmailAddresses = new [] { new EmailAddressProperty {
EmailAddressArn = "emailAddressArn"
} },
Description = "description",
MaxContacts = 123,
OutboundCallerConfig = new OutboundCallerConfigProperty {
OutboundCallerIdName = "outboundCallerIdName",
OutboundCallerIdNumberArn = "outboundCallerIdNumberArn",
OutboundFlowArn = "outboundFlowArn"
},
OutboundEmailConfig = new OutboundEmailConfigProperty {
OutboundEmailAddressId = "outboundEmailAddressId"
},
QuickConnectArns = new [] { "quickConnectArns" },
Status = "status",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnQueueProps := &CfnQueueProps{
HoursOfOperationArn: jsii.String("hoursOfOperationArn"),
InstanceArn: jsii.String("instanceArn"),
Name: jsii.String("name"),
// the properties below are optional
AdditionalEmailAddresses: []interface{}{
&EmailAddressProperty{
EmailAddressArn: jsii.String("emailAddressArn"),
},
},
Description: jsii.String("description"),
MaxContacts: jsii.Number(123),
OutboundCallerConfig: &OutboundCallerConfigProperty{
OutboundCallerIdName: jsii.String("outboundCallerIdName"),
OutboundCallerIdNumberArn: jsii.String("outboundCallerIdNumberArn"),
OutboundFlowArn: jsii.String("outboundFlowArn"),
},
OutboundEmailConfig: &OutboundEmailConfigProperty{
OutboundEmailAddressId: jsii.String("outboundEmailAddressId"),
},
QuickConnectArns: []*string{
jsii.String("quickConnectArns"),
},
Status: jsii.String("status"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
additionalEmailAddressesoptionalIResolvable | IResolvable | CfnQueue.EmailAddressProperty[]additional_email_addressesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EmailAddressProperty]]]additionalEmailAddressesoptionalIResolvableAdditionalEmailAddressesoptionalIResolvableAdditionalEmailAddressesoptionalinterface{} #The email addresses that agents can use when replying to or initiating email contacts.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the queue.
hoursOfOperationArnstringhours_of_operation_arnstrhoursOfOperationArnStringHoursOfOperationArnstringHoursOfOperationArn*string required #The Amazon Resource Name (ARN) of the hours of operation.
instanceArnstring | IInstanceRefinstance_arntyping.Union[str, IInstanceRef]instanceArnStringInstanceArnstringInstanceArninterface{} required #The identifier of the Connect Customer instance.
maxContactsoptionalnumbermax_contactsoptionalint | floatmaxContactsoptionalNumberMaxContactsoptionaldoubleMaxContactsoptional*float64 #The maximum number of contacts that can be in the queue before it is considered full.
The name of the queue.
outboundCallerConfigoptionalIResolvable | CfnQueue.outbound_caller_configoptionaltyping.Union[IResolvable, OutboundCallerConfigProperty]outboundCallerConfigoptionalIResolvableOutboundCallerConfigoptionalIResolvableOutboundCallerConfigoptionalinterface{} #The outbound caller ID name, number, and outbound whisper flow.
outboundEmailConfigoptionalIResolvable | CfnQueue.outbound_email_configoptionaltyping.Union[IResolvable, OutboundEmailConfigProperty]outboundEmailConfigoptionalIResolvableOutboundEmailConfigoptionalIResolvableOutboundEmailConfigoptionalinterface{} #The outbound email address ID for a specified queue.
quickConnectArnsoptionalstring[]quick_connect_arnsoptionaltyping.List[str]quickConnectArnsoptionalList<String>QuickConnectArnsoptionalstring[]QuickConnectArnsoptional*[]*string #The Amazon Resource Names (ARN) of the of the quick connects available to agents who are working the queue.
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #The status of the queue.