import * as cdk from "../../core/lib"; import * as constructs from "constructs"; import * as cfn_parse from "../../core/lib/helpers-internal"; import { DatasetReference, IDatasetRef, INamespaceRef, NamespaceReference } from "../../interfaces/generated/aws-scn-interfaces.generated"; /** * Represents an AWS Supply Chain data lake dataset. * * @cloudformationResource AWS::SCN::Dataset * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-dataset.html */ export declare class CfnDataset extends cdk.CfnResource implements cdk.IInspectable, IDatasetRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnDataset from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnDataset; /** * Checks whether the given object is a CfnDataset */ static isCfnDataset(x: any): x is CfnDataset; static arnForDataset(resource: IDatasetRef): string; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * The description of the dataset. */ private _description?; /** * The Amazon Web Services Supply Chain instance identifier. */ private _instanceId; /** * The name of the dataset. */ private _name; /** * The namespace of the dataset. */ private _namespace; /** * The partition specification of the dataset. */ private _partitionSpec?; /** * The schema of the dataset. */ private _schema?; /** * The tags for the dataset. */ private _tags?; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::SCN::Dataset`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnDatasetProps); get datasetRef(): DatasetReference; /** * The description of the dataset. */ get description(): string | undefined; /** * The description of the dataset. */ set description(value: string | undefined); /** * The Amazon Web Services Supply Chain instance identifier. */ get instanceId(): string; /** * The Amazon Web Services Supply Chain instance identifier. */ set instanceId(value: string); /** * The name of the dataset. */ get name(): string; /** * The name of the dataset. */ set name(value: string); /** * The namespace of the dataset. */ get namespace(): string; /** * The namespace of the dataset. */ set namespace(value: string); /** * The partition specification of the dataset. */ get partitionSpec(): cdk.IResolvable | CfnDataset.PartitionSpecProperty | undefined; /** * The partition specification of the dataset. */ set partitionSpec(value: cdk.IResolvable | CfnDataset.PartitionSpecProperty | undefined); /** * The schema of the dataset. */ get schema(): cdk.IResolvable | CfnDataset.SchemaProperty | undefined; /** * The schema of the dataset. */ set schema(value: cdk.IResolvable | CfnDataset.SchemaProperty | undefined); /** * The tags for the dataset. */ get tags(): Array | undefined; /** * The tags for the dataset. */ set tags(value: Array | undefined); /** * The Amazon Resource Name (ARN) of the dataset. * * @cloudformationAttribute Arn */ get attrArn(): string; /** * The creation time of the dataset. * * @cloudformationAttribute CreatedTime */ get attrCreatedTime(): string; /** * The last modified time of the dataset. * * @cloudformationAttribute LastModifiedTime */ get attrLastModifiedTime(): string; protected get cfnProperties(): Record; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record): Record; } export declare namespace CfnDataset { /** * The schema of the dataset. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-schema.html */ interface SchemaProperty { /** * The list of field details of the dataset schema. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-schema.html#cfn-scn-dataset-schema-fields */ readonly fields: Array | cdk.IResolvable; /** * The name of the dataset schema. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-schema.html#cfn-scn-dataset-schema-name */ readonly name: string; /** * The list of primary key fields for the dataset. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-schema.html#cfn-scn-dataset-schema-primarykeys */ readonly primaryKeys?: Array | cdk.IResolvable; } /** * The dataset field details. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-datalakedatasetschemafield.html */ interface DataLakeDatasetSchemaFieldProperty { /** * Indicate if the field is required or not. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-datalakedatasetschemafield.html#cfn-scn-dataset-datalakedatasetschemafield-isrequired */ readonly isRequired: boolean | cdk.IResolvable; /** * The dataset field name. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-datalakedatasetschemafield.html#cfn-scn-dataset-datalakedatasetschemafield-name */ readonly name: string; /** * The dataset field type. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-datalakedatasetschemafield.html#cfn-scn-dataset-datalakedatasetschemafield-type */ readonly type: string; } /** * The primary key field details. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-datalakedatasetprimarykeyfield.html */ interface DataLakeDatasetPrimaryKeyFieldProperty { /** * The name of the primary key field. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-datalakedatasetprimarykeyfield.html#cfn-scn-dataset-datalakedatasetprimarykeyfield-name */ readonly name: string; } /** * The partition specification of the dataset. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-partitionspec.html */ interface PartitionSpecProperty { /** * The partition fields. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-partitionspec.html#cfn-scn-dataset-partitionspec-fields */ readonly fields: Array | cdk.IResolvable; } /** * The partition field details. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-datalakedatasetpartitionfield.html */ interface DataLakeDatasetPartitionFieldProperty { /** * The name of the partition field. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-datalakedatasetpartitionfield.html#cfn-scn-dataset-datalakedatasetpartitionfield-name */ readonly name: string; /** * The transformation of the partition field. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-datalakedatasetpartitionfield.html#cfn-scn-dataset-datalakedatasetpartitionfield-transform */ readonly transform: cdk.IResolvable | CfnDataset.TransformProperty; } /** * The transformation of the partition field. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-transform.html */ interface TransformProperty { /** * The type of partitioning transformation. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-transform.html#cfn-scn-dataset-transform-type */ readonly type: string; } } /** * Properties for defining a `CfnDataset` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-dataset.html */ export interface CfnDatasetProps { /** * The description of the dataset. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-dataset.html#cfn-scn-dataset-description */ readonly description?: string; /** * The Amazon Web Services Supply Chain instance identifier. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-dataset.html#cfn-scn-dataset-instanceid */ readonly instanceId: string; /** * The name of the dataset. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-dataset.html#cfn-scn-dataset-name */ readonly name: string; /** * The namespace of the dataset. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-dataset.html#cfn-scn-dataset-namespace */ readonly namespace: string; /** * The partition specification of the dataset. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-dataset.html#cfn-scn-dataset-partitionspec */ readonly partitionSpec?: cdk.IResolvable | CfnDataset.PartitionSpecProperty; /** * The schema of the dataset. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-dataset.html#cfn-scn-dataset-schema */ readonly schema?: cdk.IResolvable | CfnDataset.SchemaProperty; /** * The tags for the dataset. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-dataset.html#cfn-scn-dataset-tags */ readonly tags?: Array; } /** * Definition of AWS::SCN::Namespace Resource Type. * * @cloudformationResource AWS::SCN::Namespace * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-namespace.html */ export declare class CfnNamespace extends cdk.CfnResource implements cdk.IInspectable, INamespaceRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnNamespace from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnNamespace; /** * Checks whether the given object is a CfnNamespace */ static isCfnNamespace(x: any): x is CfnNamespace; static arnForNamespace(resource: INamespaceRef): string; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * The description of the namespace. */ private _description?; /** * The Amazon Web Services Supply Chain instance identifier. */ private _instanceId; /** * The name of the namespace. */ private _name; /** * The tags for the namespace. */ private _tags?; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::SCN::Namespace`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnNamespaceProps); get namespaceRef(): NamespaceReference; /** * The description of the namespace. */ get description(): string | undefined; /** * The description of the namespace. */ set description(value: string | undefined); /** * The Amazon Web Services Supply Chain instance identifier. */ get instanceId(): string; /** * The Amazon Web Services Supply Chain instance identifier. */ set instanceId(value: string); /** * The name of the namespace. */ get name(): string; /** * The name of the namespace. */ set name(value: string); /** * The tags for the namespace. */ get tags(): Array | undefined; /** * The tags for the namespace. */ set tags(value: Array | undefined); /** * The Amazon Resource Name (ARN) of the namespace. * * @cloudformationAttribute Arn */ get attrArn(): string; /** * The creation time of the namespace. * * @cloudformationAttribute CreatedTime */ get attrCreatedTime(): string; /** * The last modified time of the namespace. * * @cloudformationAttribute LastModifiedTime */ get attrLastModifiedTime(): string; protected get cfnProperties(): Record; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record): Record; } /** * Properties for defining a `CfnNamespace` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-namespace.html */ export interface CfnNamespaceProps { /** * The description of the namespace. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-namespace.html#cfn-scn-namespace-description */ readonly description?: string; /** * The Amazon Web Services Supply Chain instance identifier. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-namespace.html#cfn-scn-namespace-instanceid */ readonly instanceId: string; /** * The name of the namespace. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-namespace.html#cfn-scn-namespace-name */ readonly name: string; /** * The tags for the namespace. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-namespace.html#cfn-scn-namespace-tags */ readonly tags?: Array; } export type { IDatasetRef, DatasetReference }; export type { INamespaceRef, NamespaceReference };