1 個回答
- 最新
- 最多得票
- 最多評論
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!
相關內容
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 年前