@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
110 lines • 6.01 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataSet = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Definition of the AWS::QuickSight::DataSet Resource Type.
*/
class DataSet extends pulumi.CustomResource {
/**
* Get an existing DataSet resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new DataSet(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of DataSet. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === DataSet.__pulumiType;
}
/**
* Create a DataSet resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["awsAccountId"] = args?.awsAccountId;
resourceInputs["columnGroups"] = args?.columnGroups;
resourceInputs["columnLevelPermissionRules"] = args?.columnLevelPermissionRules;
resourceInputs["dataPrepConfiguration"] = args?.dataPrepConfiguration;
resourceInputs["dataSetId"] = args?.dataSetId;
resourceInputs["dataSetRefreshProperties"] = args?.dataSetRefreshProperties;
resourceInputs["dataSetUsageConfiguration"] = args?.dataSetUsageConfiguration;
resourceInputs["datasetParameters"] = args?.datasetParameters;
resourceInputs["fieldFolders"] = args?.fieldFolders;
resourceInputs["folderArns"] = args?.folderArns;
resourceInputs["importMode"] = args?.importMode;
resourceInputs["ingestionWaitPolicy"] = args?.ingestionWaitPolicy;
resourceInputs["logicalTableMap"] = args?.logicalTableMap;
resourceInputs["name"] = args?.name;
resourceInputs["performanceConfiguration"] = args?.performanceConfiguration;
resourceInputs["permissions"] = args?.permissions;
resourceInputs["physicalTableMap"] = args?.physicalTableMap;
resourceInputs["rowLevelPermissionDataSet"] = args?.rowLevelPermissionDataSet;
resourceInputs["rowLevelPermissionTagConfiguration"] = args?.rowLevelPermissionTagConfiguration;
resourceInputs["semanticModelConfiguration"] = args?.semanticModelConfiguration;
resourceInputs["tags"] = args?.tags;
resourceInputs["useAs"] = args?.useAs;
resourceInputs["arn"] = undefined /*out*/;
resourceInputs["consumedSpiceCapacityInBytes"] = undefined /*out*/;
resourceInputs["createdTime"] = undefined /*out*/;
resourceInputs["lastUpdatedTime"] = undefined /*out*/;
resourceInputs["outputColumns"] = undefined /*out*/;
}
else {
resourceInputs["arn"] = undefined /*out*/;
resourceInputs["awsAccountId"] = undefined /*out*/;
resourceInputs["columnGroups"] = undefined /*out*/;
resourceInputs["columnLevelPermissionRules"] = undefined /*out*/;
resourceInputs["consumedSpiceCapacityInBytes"] = undefined /*out*/;
resourceInputs["createdTime"] = undefined /*out*/;
resourceInputs["dataPrepConfiguration"] = undefined /*out*/;
resourceInputs["dataSetId"] = undefined /*out*/;
resourceInputs["dataSetRefreshProperties"] = undefined /*out*/;
resourceInputs["dataSetUsageConfiguration"] = undefined /*out*/;
resourceInputs["datasetParameters"] = undefined /*out*/;
resourceInputs["fieldFolders"] = undefined /*out*/;
resourceInputs["folderArns"] = undefined /*out*/;
resourceInputs["importMode"] = undefined /*out*/;
resourceInputs["ingestionWaitPolicy"] = undefined /*out*/;
resourceInputs["lastUpdatedTime"] = undefined /*out*/;
resourceInputs["logicalTableMap"] = undefined /*out*/;
resourceInputs["name"] = undefined /*out*/;
resourceInputs["outputColumns"] = undefined /*out*/;
resourceInputs["performanceConfiguration"] = undefined /*out*/;
resourceInputs["permissions"] = undefined /*out*/;
resourceInputs["physicalTableMap"] = undefined /*out*/;
resourceInputs["rowLevelPermissionDataSet"] = undefined /*out*/;
resourceInputs["rowLevelPermissionTagConfiguration"] = undefined /*out*/;
resourceInputs["semanticModelConfiguration"] = undefined /*out*/;
resourceInputs["tags"] = undefined /*out*/;
resourceInputs["useAs"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
const replaceOnChanges = { replaceOnChanges: ["awsAccountId", "dataSetId"] };
opts = pulumi.mergeOptions(opts, replaceOnChanges);
super(DataSet.__pulumiType, name, resourceInputs, opts);
}
}
exports.DataSet = DataSet;
/** @internal */
DataSet.__pulumiType = 'aws-native:quicksight:DataSet';
//# sourceMappingURL=dataSet.js.map