iam-floyd
Version:
AWS IAM policy statement generator with fluent interface
1,202 lines • 116 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Forecast = void 0;
const shared_1 = require("../../shared");
/**
* Statement provider for service [forecast](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonforecast.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
class Forecast extends shared_1.PolicyStatement {
/**
* Statement provider for service [forecast](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonforecast.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
constructor(sid) {
super(sid);
this.servicePrefix = 'forecast';
this.accessLevelList = {
Write: [
'CreateAutoPredictor',
'CreateDataset',
'CreateDatasetGroup',
'CreateDatasetImportJob',
'CreateExplainability',
'CreateExplainabilityExport',
'CreateForecast',
'CreateForecastEndpoint',
'CreateForecastExportJob',
'CreateMonitor',
'CreatePredictor',
'CreatePredictorBacktestExportJob',
'CreateWhatIfAnalysis',
'CreateWhatIfForecast',
'CreateWhatIfForecastExport',
'DeleteDataset',
'DeleteDatasetGroup',
'DeleteDatasetImportJob',
'DeleteExplainability',
'DeleteExplainabilityExport',
'DeleteForecast',
'DeleteForecastEndpoint',
'DeleteForecastExportJob',
'DeleteMonitor',
'DeletePredictor',
'DeletePredictorBacktestExportJob',
'DeleteResourceTree',
'DeleteWhatIfAnalysis',
'DeleteWhatIfForecast',
'DeleteWhatIfForecastExport',
'ResumeResource',
'StopResource',
'UpdateDatasetGroup'
],
Read: [
'DescribeAutoPredictor',
'DescribeDataset',
'DescribeDatasetGroup',
'DescribeDatasetImportJob',
'DescribeExplainability',
'DescribeExplainabilityExport',
'DescribeForecast',
'DescribeForecastEndpoint',
'DescribeForecastExportJob',
'DescribeMonitor',
'DescribePredictor',
'DescribePredictorBacktestExportJob',
'DescribeWhatIfAnalysis',
'DescribeWhatIfForecast',
'DescribeWhatIfForecastExport',
'GetAccuracyMetrics',
'GetRecentForecastContext',
'InvokeForecastEndpoint',
'ListDatasetGroups',
'ListDatasetImportJobs',
'ListDatasets',
'ListExplainabilities',
'ListExplainabilityExports',
'ListForecastExportJobs',
'ListForecasts',
'ListMonitorEvaluations',
'ListMonitors',
'ListPredictorBacktestExportJobs',
'ListPredictors',
'ListTagsForResource',
'ListWhatIfAnalyses',
'ListWhatIfForecastExports',
'ListWhatIfForecasts',
'QueryForecast',
'QueryWhatIfForecast'
],
Tagging: [
'TagResource',
'UntagResource'
]
};
}
/**
* Grants permission to create an auto predictor
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateAutoPredictor.html
*/
toCreateAutoPredictor() {
return this.to('CreateAutoPredictor');
}
/**
* Grants permission to create a dataset
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDataset.html
*/
toCreateDataset() {
return this.to('CreateDataset');
}
/**
* Grants permission to create a dataset group
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetGroup.html
*/
toCreateDatasetGroup() {
return this.to('CreateDatasetGroup');
}
/**
* Grants permission to create a dataset import job
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html
*/
toCreateDatasetImportJob() {
return this.to('CreateDatasetImportJob');
}
/**
* Grants permission to create an explainability
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateExplainability.html
*/
toCreateExplainability() {
return this.to('CreateExplainability');
}
/**
* Grants permission to create an explainability export using an explainability resource
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateExplainabilityExport.html
*/
toCreateExplainabilityExport() {
return this.to('CreateExplainabilityExport');
}
/**
* Grants permission to create a forecast
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateForecast.html
*/
toCreateForecast() {
return this.to('CreateForecast');
}
/**
* Grants permission to create an endpoint using a Predictor resource
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/what-is-forecast.html
*/
toCreateForecastEndpoint() {
return this.to('CreateForecastEndpoint');
}
/**
* Grants permission to create a forecast export job using a forecast resource
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateForecastExportJob.html
*/
toCreateForecastExportJob() {
return this.to('CreateForecastExportJob');
}
/**
* Grants permission to create an monitor using a Predictor resource
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateMonitor.html
*/
toCreateMonitor() {
return this.to('CreateMonitor');
}
/**
* Grants permission to create a predictor
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreatePredictor.html
*/
toCreatePredictor() {
return this.to('CreatePredictor');
}
/**
* Grants permission to create a predictor backtest export job using a predictor
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreatePredictorBacktestExportJob.html
*/
toCreatePredictorBacktestExportJob() {
return this.to('CreatePredictorBacktestExportJob');
}
/**
* Grants permission to create a what-if analysis
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateWhatIfAnalysis.html
*/
toCreateWhatIfAnalysis() {
return this.to('CreateWhatIfAnalysis');
}
/**
* Grants permission to create a what-if forecast
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateWhatIfForecast.html
*/
toCreateWhatIfForecast() {
return this.to('CreateWhatIfForecast');
}
/**
* Grants permission to create a what-if forecast export using what-if forecast resources
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateWhatIfForecastExport.html
*/
toCreateWhatIfForecastExport() {
return this.to('CreateWhatIfForecastExport');
}
/**
* Grants permission to delete a dataset
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeleteDataset.html
*/
toDeleteDataset() {
return this.to('DeleteDataset');
}
/**
* Grants permission to delete a dataset group
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeleteDatasetGroup.html
*/
toDeleteDatasetGroup() {
return this.to('DeleteDatasetGroup');
}
/**
* Grants permission to delete a dataset import job
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeleteDatasetImportJob.html
*/
toDeleteDatasetImportJob() {
return this.to('DeleteDatasetImportJob');
}
/**
* Grants permission to delete an explainability
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeleteExplainability.html
*/
toDeleteExplainability() {
return this.to('DeleteExplainability');
}
/**
* Grants permission to delete an explainability export
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeleteExplainabilityExport.html
*/
toDeleteExplainabilityExport() {
return this.to('DeleteExplainabilityExport');
}
/**
* Grants permission to delete a forecast
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeleteForecast.html
*/
toDeleteForecast() {
return this.to('DeleteForecast');
}
/**
* Grants permission to delete an endpoint resource
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/what-is-forecast.html
*/
toDeleteForecastEndpoint() {
return this.to('DeleteForecastEndpoint');
}
/**
* Grants permission to delete a forecast export job
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeleteForecastExportJob.html
*/
toDeleteForecastExportJob() {
return this.to('DeleteForecastExportJob');
}
/**
* Grants permission to delete a monitor resource
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeleteMonitor.html
*/
toDeleteMonitor() {
return this.to('DeleteMonitor');
}
/**
* Grants permission to delete a predictor
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeletePredictor.html
*/
toDeletePredictor() {
return this.to('DeletePredictor');
}
/**
* Grants permission to delete a predictor backtest export job
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeletePredictorBacktestExportJob.html
*/
toDeletePredictorBacktestExportJob() {
return this.to('DeletePredictorBacktestExportJob');
}
/**
* Grants permission to delete a resource and its child resources
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeleteResourceTree.html
*/
toDeleteResourceTree() {
return this.to('DeleteResourceTree');
}
/**
* Grants permission to delete a what-if analysis
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeleteWhatIfAnalysis.html
*/
toDeleteWhatIfAnalysis() {
return this.to('DeleteWhatIfAnalysis');
}
/**
* Grants permission to delete a what-if forecast
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeleteWhatIfForecast.html
*/
toDeleteWhatIfForecast() {
return this.to('DeleteWhatIfForecast');
}
/**
* Grants permission to delete a what-if forecast export
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DeleteWhatIfForecastExport.html
*/
toDeleteWhatIfForecastExport() {
return this.to('DeleteWhatIfForecastExport');
}
/**
* Grants permission to describe an auto predictor
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeAutoPredictor.html
*/
toDescribeAutoPredictor() {
return this.to('DescribeAutoPredictor');
}
/**
* Grants permission to describe a dataset
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDataset.html
*/
toDescribeDataset() {
return this.to('DescribeDataset');
}
/**
* Grants permission to describe a dataset group
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetGroup.html
*/
toDescribeDatasetGroup() {
return this.to('DescribeDatasetGroup');
}
/**
* Grants permission to describe a dataset import job
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetImportJob.html
*/
toDescribeDatasetImportJob() {
return this.to('DescribeDatasetImportJob');
}
/**
* Grants permission to describe an explainability
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeExplainability.html
*/
toDescribeExplainability() {
return this.to('DescribeExplainability');
}
/**
* Grants permission to describe an explainability export
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeExplainabilityExport.html
*/
toDescribeExplainabilityExport() {
return this.to('DescribeExplainabilityExport');
}
/**
* Grants permission to describe a forecast
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeForecast.html
*/
toDescribeForecast() {
return this.to('DescribeForecast');
}
/**
* Grants permission to describe an endpoint resource
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/what-is-forecast.html
*/
toDescribeForecastEndpoint() {
return this.to('DescribeForecastEndpoint');
}
/**
* Grants permission to describe a forecast export job
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeForecastExportJob.html
*/
toDescribeForecastExportJob() {
return this.to('DescribeForecastExportJob');
}
/**
* Grants permission to describe an monitor resource
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeMonitor.html
*/
toDescribeMonitor() {
return this.to('DescribeMonitor');
}
/**
* Grants permission to describe a predictor
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribePredictor.html
*/
toDescribePredictor() {
return this.to('DescribePredictor');
}
/**
* Grants permission to describe a predictor backtest export job
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribePredictorBacktestExportJob.html
*/
toDescribePredictorBacktestExportJob() {
return this.to('DescribePredictorBacktestExportJob');
}
/**
* Grants permission to describe a what-if analysis
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeWhatIfAnalysis.html
*/
toDescribeWhatIfAnalysis() {
return this.to('DescribeWhatIfAnalysis');
}
/**
* Grants permission to describe a what-if forecast
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeWhatIfForecast.html
*/
toDescribeWhatIfForecast() {
return this.to('DescribeWhatIfForecast');
}
/**
* Grants permission to describe a what-if forecast export
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeWhatIfForecastExport.html
*/
toDescribeWhatIfForecastExport() {
return this.to('DescribeWhatIfForecastExport');
}
/**
* Grants permission to get the Accuracy Metrics for a predictor
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_GetAccuracyMetrics.html
*/
toGetAccuracyMetrics() {
return this.to('GetAccuracyMetrics');
}
/**
* Grants permission to get the forecast context of a timeseries for an endpoint
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/what-is-forecast.html
*/
toGetRecentForecastContext() {
return this.to('GetRecentForecastContext');
}
/**
* Grants permission to invoke the endpoint to get forecast for a timeseries
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/what-is-forecast.html
*/
toInvokeForecastEndpoint() {
return this.to('InvokeForecastEndpoint');
}
/**
* Grants permission to list all the dataset groups
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListDatasetGroups.html
*/
toListDatasetGroups() {
return this.to('ListDatasetGroups');
}
/**
* Grants permission to list all the dataset import jobs
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListDatasetImportJobs.html
*/
toListDatasetImportJobs() {
return this.to('ListDatasetImportJobs');
}
/**
* Grants permission to list all the datasets
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListDatasets.html
*/
toListDatasets() {
return this.to('ListDatasets');
}
/**
* Grants permission to list all the explainabilities
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListExplainabilities.html
*/
toListExplainabilities() {
return this.to('ListExplainabilities');
}
/**
* Grants permission to list all the explainability exports
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListExplainabilityExports.html
*/
toListExplainabilityExports() {
return this.to('ListExplainabilityExports');
}
/**
* Grants permission to list all the forecast export jobs
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListForecastExportJobs.html
*/
toListForecastExportJobs() {
return this.to('ListForecastExportJobs');
}
/**
* Grants permission to list all the forecasts
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListForecasts.html
*/
toListForecasts() {
return this.to('ListForecasts');
}
/**
* Grants permission to list all the monitor evaluation result for a monitor
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListMonitorEvaluations.html
*/
toListMonitorEvaluations() {
return this.to('ListMonitorEvaluations');
}
/**
* Grants permission to list all the monitor resources
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListMonitors.html
*/
toListMonitors() {
return this.to('ListMonitors');
}
/**
* Grants permission to list all the predictor backtest export jobs
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListPredictorBacktestExportJobs.html
*/
toListPredictorBacktestExportJobs() {
return this.to('ListPredictorBacktestExportJobs');
}
/**
* Grants permission to list all the predictors
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListPredictors.html
*/
toListPredictors() {
return this.to('ListPredictors');
}
/**
* Grants permission to list the tags for an Amazon Forecast resource
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListTagsForResource.html
*/
toListTagsForResource() {
return this.to('ListTagsForResource');
}
/**
* Grants permission to list all the what-if analyses
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListWhatIfAnalyses.html
*/
toListWhatIfAnalyses() {
return this.to('ListWhatIfAnalyses');
}
/**
* Grants permission to list all the what-if forecast exports
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListWhatIfForecastExports.html
*/
toListWhatIfForecastExports() {
return this.to('ListWhatIfForecastExports');
}
/**
* Grants permission to list all the what-if forecasts
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ListWhatIfForecasts.html
*/
toListWhatIfForecasts() {
return this.to('ListWhatIfForecasts');
}
/**
* Grants permission to retrieve a forecast for a single item
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_forecastquery_QueryForecast.html
*/
toQueryForecast() {
return this.to('QueryForecast');
}
/**
* Grants permission to retrieve a what-if forecast for a single item
*
* Access Level: Read
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_forecastquery_QueryWhatIfForecast.html
*/
toQueryWhatIfForecast() {
return this.to('QueryWhatIfForecast');
}
/**
* Grants permission to resume Amazon Forecast resource jobs
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_ResumeResource.html
*/
toResumeResource() {
return this.to('ResumeResource');
}
/**
* Grants permission to stop Amazon Forecast resource jobs
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_StopResource.html
*/
toStopResource() {
return this.to('StopResource');
}
/**
* Grants permission to associate the specified tags to a resource
*
* Access Level: Tagging
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_TagResource.html
*/
toTagResource() {
return this.to('TagResource');
}
/**
* Grants permission to delete the specified tags for a resource
*
* Access Level: Tagging
*
* Possible conditions:
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_UntagResource.html
*/
toUntagResource() {
return this.to('UntagResource');
}
/**
* Grants permission to update a dataset group
*
* Access Level: Write
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_UpdateDatasetGroup.html
*/
toUpdateDatasetGroup() {
return this.to('UpdateDatasetGroup');
}
/**
* Adds a resource of type dataset to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDataset.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onDataset(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:dataset/${resourceId}`);
}
/**
* Adds a resource of type datasetGroup to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetGroup.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onDatasetGroup(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:dataset-group/${resourceId}`);
}
/**
* Adds a resource of type datasetImportJob to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onDatasetImportJob(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:dataset-import-job/${resourceId}`);
}
/**
* Adds a resource of type algorithm to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/aws-forecast-choosing-recipes.html
*
* @param resourceId - Identifier for the resourceId.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*/
onAlgorithm(resourceId, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:::algorithm/${resourceId}`);
}
/**
* Adds a resource of type predictor to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreatePredictor.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onPredictor(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:predictor/${resourceId}`);
}
/**
* Adds a resource of type predictorBacktestExportJob to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreatePredictorBacktestExportJob.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onPredictorBacktestExportJob(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:predictor-backtest-export-job/${resourceId}`);
}
/**
* Adds a resource of type forecast to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateForecast.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onForecast(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:forecast/${resourceId}`);
}
/**
* Adds a resource of type forecastExport to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateForecastExportJob.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onForecastExport(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:forecast-export-job/${resourceId}`);
}
/**
* Adds a resource of type explainability to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateExplainability.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onExplainability(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:explainability/${resourceId}`);
}
/**
* Adds a resource of type explainabilityExport to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateExplainabilityExport.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onExplainabilityExport(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:explainability-export/${resourceId}`);
}
/**
* Adds a resource of type monitor to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateMonitor.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onMonitor(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:monitor/${resourceId}`);
}
/**
* Adds a resource of type whatIfAnalysis to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateWhatIfAnalysis.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onWhatIfAnalysis(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:what-if-analysis/${resourceId}`);
}
/**
* Adds a resource of type whatIfForecast to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateWhatIfForecast.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onWhatIfForecast(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:what-if-forecast/${resourceId}`);
}
/**
* Adds a resource of type whatIfForecastExport to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/API_CreateWhatIfForecastExport.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onWhatIfForecastExport(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:what-if-forecast-export/${resourceId}`);
}
/**
* Adds a resource of type endpoint to the statement
*
* https://docs.aws.amazon.com/forecast/latest/dg/what-is-forecast.html
*
* @param resourceId - Identifier for the resourceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onEndpoint(resourceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:forecast:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:forecast-endpoint/${resourceId}`);
}
/**
* Filters access by the tags that are passed in the request
*
* https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag
*
* Applies to actions:
* - .toCreateAutoPredictor()
* - .toCreateDataset()
* - .toCreateDatasetGroup()
* - .toCreateDatasetImportJob()
* - .toCreateExplainability()
* - .toCreateExplainabilityExport()
* - .toCreateForecast()
* - .toCreateForecastEndpoint()
* - .toCreateForecastExportJob()
* - .toCreateMonitor()
* - .toCreatePredictor()
* - .toCreatePredictorBacktestExportJob()
* - .toCreateWhatIfAnalysis()
* - .toCreateWhatIfForecast()
* - .toCreateWhatIfForecastExport()
* - .toResumeResource()
* - .toStopResource()
* - .toTagResource()
*
* @param tagKey The tag key to check
* @param value The value(s) to check
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
*/
ifAwsRequestTag(tagKey, value, operator) {
return this.if(`aws:RequestTag/${tagKey}`, value, operator ?? 'StringLike');
}
/**
* Filters access by the tags associated with the resource
*
* https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag
*
* Applies to resource types:
* - dataset
* - datasetGroup
* - datasetImportJob
* - predictor
* - predictorBacktestExportJob
* - forecast
* - forecastExport
* - explainability
* - explainabilityExport
* - monitor
* - whatIfAnalysis
* - whatIfForecast
* - whatIfForecastExport
* - endpoint
*
* @param tagKey The tag key to check
* @param value The value(s) to check
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
*/
ifAwsResourceTag(tagKey, value, operator) {
return this.if(`aws:ResourceTag/${tagKey}`, value, operator ?? 'StringLike');
}
/**
* Filters access by the tag keys that are passed in the request
*
* https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys
*
* Applies to actions:
* - .toCreateAutoPredictor()
* - .toCreateDataset()
* - .toCreateDatasetGroup()
* - .toCreateDatasetImportJob()
* - .toCreateExplainability()
* - .toCreateExplainabilityExport()
* - .toCreateForecast()
* - .toCreateForecastEndpoint()
* - .toCreateForecastExportJob()
* - .toCreateMonitor()
* - .toCreatePredictor()
* - .toCreatePredictorBacktestExportJob()
* - .toCreateWhatIfAnalysis()
* - .toCreateWhatIfForecast()
* - .toCreateWhatIfForecastExport()
* - .toResumeResource()
* - .toStopResource()
* - .toTagResource()
* - .toUntagResource()
*
* @param value The value(s) to check
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
*/
ifAwsTagKeys(value, operator) {
return this.if(`aws:TagKeys`, value, operator ?? 'StringLike');
}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