Question
How to get security and routing profile?
I have the following cf script creating a simple AWS Connect instance.
Resources:
AmazonConnectInstance:
Type: AWS::Connect::Instance
Properties:
Attributes:
InboundCalls: YES
OutboundCalls: YES
IdentityManagementType: CONNECT_MANAGED
InstanceAlias: 'my-demo-1234fhy49d'
Now I'd like to create an admin user in the same cf script:
...
ConnectUserAdmin:
Type: AWS::Connect::User
Properties:
IdentityInfo:
FirstName: admin
LastName: user
Username: adminuser
InstanceArn: !GetAtt AmazonConnectInstance.Arn
RoutingProfileArn: ?????
SecurityProfileArns: [?????]
Password: '1234567890'
However, I can't find a way to retrieve instance's security profiles or routing profiles. For example something like this !GetAtt AmazonConnectInstance.AdminProfileArn
or !GetAtt AmazonConnectInstance.DefaultRoutingProfileArn
would be helpful. How could I go about it (without using a custom resource)?
Important: I don't mean how to retrieve instance's security profiles or routing profiles using GET API or using cli aws connect
.