AWS::Connect::ApprovedOrigin - AWS CloudFormation

AWS::Connect::ApprovedOrigin

The approved origin for the instance.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::Connect::ApprovedOrigin", "Properties" : { "InstanceId" : String, "Origin" : String } }

YAML

Type: AWS::Connect::ApprovedOrigin Properties: InstanceId: String Origin: String

Properties

InstanceId

The Amazon Resource Name (ARN) of the instance.

Minimum: 1

Maximum: 100

Required: Yes

Type: String

Pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$

Minimum: 1

Maximum: 100

Update requires: Replacement

Origin

Domain name to be added to the allow-list of the instance.

Maximum: 267

Required: Yes

Type: String

Maximum: 267

Update requires: Replacement

Return values

Ref

Examples

Specify an Approved Origin for an Amazon Connect instance

The following example specifies an Approved Origin for an Amazon Connect instance.

YAML

AWSTemplateFormatVersion: 2010-09-09 Description: Specifies an Approved Origin for an Amazon Connect instance Resources: ApprovedOrigin: Type: AWS::Connect::ApprovedOrigin Properties: InstanceId: arn:aws:connect:region-name:aws-account-id:instance/instance-arn Origin: "https://aws.amazon.com"