CfnDataSourcePropsMixin Mixin
Properties with
__Update requires: Replacement__can result in the creation of a new data source and deletion of the old one.
This can happen if you also change the Name of the data source.
Specifies a data source as a resource in a top-level template. Minimally, you must specify the following properties:
Name – Specify a name for the data source.
KnowledgeBaseId – Specify the ID of the knowledge base for the data source to belong to.
DataSourceConfiguration – Specify information about the Amazon S3 bucket containing the data source. The following sub-properties are required:
Type – Specify the value
S3.
For more information about setting up data sources in Amazon Bedrock , see Set up a data source for your knowledge base .
See the Properties section below for descriptions of both the required and optional properties.
Initializer
new CfnDataSourcePropsMixin(props: CfnDataSourceMixinProps, options?: CfnPropertyMixinOptions)
CfnDataSourcePropsMixin(props: CfnDataSourceMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
new CfnDataSourcePropsMixin(CfnDataSourceMixinProps props, CfnPropertyMixinOptions options)
new CfnDataSourcePropsMixin(CfnDataSourceMixinProps props, CfnPropertyMixinOptions? options = null)
NewCfnDataSourcePropsMixin(Props CfnDataSourceMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#