Skip to content
v2.275.0

CfnApprovedOriginProps Struct ​

Properties for defining a CfnApprovedOrigin.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const cfnApprovedOriginProps: connect.CfnApprovedOriginProps = {
  instanceId: 'instanceId',
  origin: 'origin',
};

Properties ​

instanceIdstring | IInstanceRefinstance_idtyping.Union[str, IInstanceRef]instanceIdStringInstanceIdstringInstanceIdinterface{}required#
The Amazon Resource Name (ARN) of the instance.

Minimum : 1

Maximum : 100

originstringoriginstroriginStringOriginstringOrigin*stringrequired#
Domain name to be added to the allow-list of the instance.

Maximum : 267