1 Answer
- Newest
- Most votes
- Most comments
3
The available return values are here, unfortunately these do not include the properties you are looking for.
However, if you look at the docs for the Security Profile and Routing Profile, you can connect them to the instance ARN. As such, you create the Profiles and within them reference the instance ARN via the Fn::Get (!GetAtt) of the Instance that you created with you code.
This should look like below in combination with your existing code:
Resources: AmazonConnectInstance: Type: AWS::Connect::Instance Properties: Attributes: InboundCalls: YES OutboundCalls: YES IdentityManagementType: CONNECT_MANAGED InstanceAlias: 'my-demo-1234fhy49d' SecuriyProfile: Type: AWS::Connect::SecurityProfile Properties: AllowedAccessControlHierarchyGroupId: String AllowedAccessControlTags: - Tag Applications: - Application Description: String HierarchyRestrictedResources: - String InstanceArn: !GetAtt AmazonConnectInstance.Arn Permissions: - String SecurityProfileName: String TagRestrictedResources: - String Tags: - Tag RoutingProfile: Type: AWS::Connect::RoutingProfile Properties: AgentAvailabilityTimer: String DefaultOutboundQueueArn: String Description: String InstanceArn: !GetAtt AmazonConnectInstance.Arn MediaConcurrencies: - MediaConcurrency Name: String QueueConfigs: - RoutingProfileQueueConfig Tags: - Tag ConnectUserAdmin: Type: AWS::Connect::User Properties: IdentityInfo: FirstName: admin LastName: user Username: adminuser InstanceArn: !GetAtt AmazonConnectInstance.Arn RoutingProfileArn: !GetAtt RoutingProfile.RoutingProfileArn SecurityProfileArns: !GetAtt SecurityProfile.SecurityProfileArn Password: '1234567890'
Hope this helps!
Relevant content
- Accepted Answerasked 3 years ago
- asked 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 8 months ago