IApprovedOriginRef

class aws_cdk.interfaces.aws_connect.IApprovedOriginRef(*args, **kwargs)

Bases: IConstruct, IEnvironmentAware, Protocol

(experimental) Indicates that this resource can be referenced as a ApprovedOrigin.

Stability:

experimental

Attributes

approved_origin_ref

(experimental) A reference to a ApprovedOrigin resource.

Stability:

experimental

env

The environment this resource belongs to.

For resources that are created and managed in a Stack (those created by creating new class instances like new Role(), new Bucket(), etc.), this is always the same as the environment of the stack they belong to.

For referenced resources (those obtained from referencing methods like Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.

node

The tree node.