View a markdown version of this page

DataSourceScope - AWS Context

DataSourceScope

The part of the data source that a connection ingests, as a list of resource selectors. If you omit it or the list is empty, the connection ingests the whole data source.

For a GLUE_DATA_CATALOG connection, a selector can name the service whose resources it selects with a glueService segment, placed directly after the glueCatalog segment, or first if the selector names no glueCatalog. For example, [{glueCatalog: C}, {glueService: SAGEMAKER_AI}] selects every SageMaker AI resource in catalog C, including resources created later, and [{glueCatalog: C}, {glueService: REDSHIFT}, {redshiftNamespace: N}] selects only namespace N. A selector without glueService keeps its usual meaning, and one scope can combine selectors for different services. For the segment values, see PathSegment.

Contents

selectors

The selectors describing which parts of the data source are in scope.

Type: Array of ResourceSelector objects

Array Members: Minimum number of 0 items. Maximum number of 100 items.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: