import * as cdk from "../../core/lib"; import * as constructs from "constructs"; import * as cfn_parse from "../../core/lib/helpers-internal"; import { DataSetReference, EventActionReference, IDataSetRef, IEventActionRef } from "../../interfaces/generated/aws-dataexchange-interfaces.generated"; /** * Definition of AWS::DataExchange::DataSet Resource Type. * * @cloudformationResource AWS::DataExchange::DataSet * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-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; /** * The type of asset that is added to a data set. */ private _assetType; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * A description for the data set. */ private _description; /** * The name of the data set. */ private _name; /** * Tags for the data set. */ private _tags?; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::DataExchange::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 type of asset that is added to a data set. */ get assetType(): string; /** * The type of asset that is added to a data set. */ set assetType(value: string); /** * A description for the data set. */ get description(): string; /** * A description for the data set. */ set description(value: string); /** * The name of the data set. */ get name(): string; /** * The name of the data set. */ set name(value: string); /** * Tags for the data set. */ get tags(): Array | undefined; /** * Tags for the data set. */ set tags(value: Array | undefined); /** * The ARN for the data set. * * @cloudformationAttribute Arn */ get attrArn(): string; /** * The date and time that the data set was created, in ISO 8601 format. * * @cloudformationAttribute CreatedAt */ get attrCreatedAt(): string; /** * The unique identifier for the data set. * * @cloudformationAttribute Id */ get attrId(): string; /** * A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers). * * @cloudformationAttribute Origin */ get attrOrigin(): string; /** * The date and time that the data set was last updated, in ISO 8601 format. * * @cloudformationAttribute UpdatedAt */ get attrUpdatedAt(): 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 `CfnDataSet` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-dataset.html */ export interface CfnDataSetProps { /** * The type of asset that is added to a data set. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-dataset.html#cfn-dataexchange-dataset-assettype */ readonly assetType: string; /** * A description for the data set. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-dataset.html#cfn-dataexchange-dataset-description */ readonly description: string; /** * The name of the data set. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-dataset.html#cfn-dataexchange-dataset-name */ readonly name: string; /** * Tags for the data set. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-dataset.html#cfn-dataexchange-dataset-tags */ readonly tags?: Array; } /** * An event action is an AWS Data Exchange resource that automatically exports data set revisions to Amazon S3 when a revision is published. * * @cloudformationResource AWS::DataExchange::EventAction * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-eventaction.html */ export declare class CfnEventAction extends cdk.CfnResource implements cdk.IInspectable, IEventActionRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnEventAction 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): CfnEventAction; /** * Checks whether the given object is a CfnEventAction */ static isCfnEventAction(x: any): x is CfnEventAction; static arnForEventAction(resource: IEventActionRef): string; /** * What occurs after a certain event. */ private _action; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * What occurs to start an action. */ private _event; /** * The tags for the event action. */ private _tags?; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::DataExchange::EventAction`. * * @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: CfnEventActionProps); get eventActionRef(): EventActionReference; /** * What occurs after a certain event. */ get action(): CfnEventAction.ActionProperty | cdk.IResolvable; /** * What occurs after a certain event. */ set action(value: CfnEventAction.ActionProperty | cdk.IResolvable); /** * What occurs to start an action. */ get event(): CfnEventAction.EventProperty | cdk.IResolvable; /** * What occurs to start an action. */ set event(value: CfnEventAction.EventProperty | cdk.IResolvable); /** * The tags for the event action. */ get tags(): Array | undefined; /** * The tags for the event action. */ set tags(value: Array | undefined); /** * The ARN for the event action. * * @cloudformationAttribute Arn */ get attrArn(): string; /** * The date and time that the event action was created, in ISO 8601 format. * * @cloudformationAttribute CreatedAt */ get attrCreatedAt(): string; /** * The unique identifier for the event action. * * @cloudformationAttribute EventActionId */ get attrEventActionId(): string; /** * The date and time that the event action was last updated, in ISO 8601 format. * * @cloudformationAttribute UpdatedAt */ get attrUpdatedAt(): 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 CfnEventAction { /** * What occurs after a certain event. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-action.html */ interface ActionProperty { /** * Details of the operation to be performed by the job. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-action.html#cfn-dataexchange-eventaction-action-exportrevisiontos3 */ readonly exportRevisionToS3?: CfnEventAction.AutoExportRevisionToS3RequestDetailsProperty | cdk.IResolvable; } /** * Details of the operation to be performed by the job. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-autoexportrevisiontos3requestdetails.html */ interface AutoExportRevisionToS3RequestDetailsProperty { /** * Encryption configuration of the export job. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-autoexportrevisiontos3requestdetails.html#cfn-dataexchange-eventaction-autoexportrevisiontos3requestdetails-encryption */ readonly encryption?: CfnEventAction.ExportServerSideEncryptionProperty | cdk.IResolvable; /** * A revision destination is the Amazon S3 bucket folder destination to where the export will be sent. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-autoexportrevisiontos3requestdetails.html#cfn-dataexchange-eventaction-autoexportrevisiontos3requestdetails-revisiondestination */ readonly revisionDestination: CfnEventAction.AutoExportRevisionDestinationEntryProperty | cdk.IResolvable; } /** * Encryption configuration of the export job. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-exportserversideencryption.html */ interface ExportServerSideEncryptionProperty { /** * The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-exportserversideencryption.html#cfn-dataexchange-eventaction-exportserversideencryption-kmskeyarn */ readonly kmsKeyArn?: string; /** * The type of server side encryption used for encrypting the objects in Amazon S3. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-exportserversideencryption.html#cfn-dataexchange-eventaction-exportserversideencryption-type */ readonly type: string; } /** * A revision destination is the Amazon S3 bucket folder destination to where the export will be sent. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-autoexportrevisiondestinationentry.html */ interface AutoExportRevisionDestinationEntryProperty { /** * The Amazon S3 bucket that is the destination for the event action. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-autoexportrevisiondestinationentry.html#cfn-dataexchange-eventaction-autoexportrevisiondestinationentry-bucket */ readonly bucket: string; /** * A string representing the pattern for generated names of the individual assets in the revision. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-autoexportrevisiondestinationentry.html#cfn-dataexchange-eventaction-autoexportrevisiondestinationentry-keypattern */ readonly keyPattern?: string; } /** * What occurs to start an action. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-event.html */ interface EventProperty { /** * Information about the published revision. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-event.html#cfn-dataexchange-eventaction-event-revisionpublished */ readonly revisionPublished?: cdk.IResolvable | CfnEventAction.RevisionPublishedProperty; } /** * Information about the published revision. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-revisionpublished.html */ interface RevisionPublishedProperty { /** * The data set ID of the published revision. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-revisionpublished.html#cfn-dataexchange-eventaction-revisionpublished-datasetid */ readonly dataSetId: string; } } /** * Properties for defining a `CfnEventAction` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-eventaction.html */ export interface CfnEventActionProps { /** * What occurs after a certain event. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-eventaction.html#cfn-dataexchange-eventaction-action */ readonly action: CfnEventAction.ActionProperty | cdk.IResolvable; /** * What occurs to start an action. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-eventaction.html#cfn-dataexchange-eventaction-event */ readonly event: CfnEventAction.EventProperty | cdk.IResolvable; /** * The tags for the event action. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-eventaction.html#cfn-dataexchange-eventaction-tags */ readonly tags?: Array; } export type { IDataSetRef, DataSetReference }; export type { IEventActionRef, EventActionReference };