RoutingProfile constructor
RoutingProfile(
- String name, {
- RoutingProfileArgs? args,
- CustomResourceOptions? options,
Creates a new RoutingProfile.
name The Pulumi resource name.
args Arguments used to configure this RoutingProfile. The set of arguments for RoutingProfile.
options Resource options controlling this resource's behavior.
Implementation
RoutingProfile(
String name, {
RoutingProfileArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:connect/routingProfile:RoutingProfile',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
defaultOutboundQueueId = registerOutput<String>('defaultOutboundQueueId');
description = registerOutput<String>('description');
instanceId = registerOutput<String>('instanceId');
mediaConcurrencies = registerOutput<List<RoutingProfileMediaConcurrency>>('mediaConcurrencies', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<RoutingProfileMediaConcurrency>(guardedValue, (value) => RoutingProfileMediaConcurrency.fromMap((value as Map).cast<String, dynamic>())); });
this.name = registerOutput<String>('name');
queueConfigs = registerOutput<List<RoutingProfileQueueConfig>?>('queueConfigs', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<RoutingProfileQueueConfig>(guardedValue, (value) => RoutingProfileQueueConfig.fromMap((value as Map).cast<String, dynamic>())); });
region = registerOutput<String>('region');
routingProfileId = registerOutput<String>('routingProfileId');
tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
}