UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

775 lines 87.2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Observabilityadmin = void 0; const shared_1 = require("../../shared"); /** * Statement provider for service [observabilityadmin](https://docs.aws.amazon.com/service-authorization/latest/reference/list_observabilityadmin.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ class Observabilityadmin extends shared_1.PolicyStatement { /** * Grants permission to create a new organization centralization rule with the specified name for the organization * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_CreateCentralizationRuleForOrganization.html */ toCreateCentralizationRuleForOrganization() { return this.to('CreateCentralizationRuleForOrganization'); } /** * Grants permission to create a new s3 table integration with the specified configuration * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_CreateS3TableIntegration.html */ toCreateS3TableIntegration() { return this.to('CreateS3TableIntegration'); } /** * Grants permission to create a new telemetry pipeline with the specified name and configuration * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_CreateTelemetryPipeline.html */ toCreateTelemetryPipeline() { return this.to('CreateTelemetryPipeline'); } /** * Grants permission to create a new telemetry rule with the specified name for the account * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_CreateTelemetryRule.html */ toCreateTelemetryRule() { return this.to('CreateTelemetryRule'); } /** * Grants permission to create a new organization telemetry rule with the specified name for the organization * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_CreateTelemetryRuleForOrganization.html */ toCreateTelemetryRuleForOrganization() { return this.to('CreateTelemetryRuleForOrganization'); } /** * Grants permission to delete an organization centralization rule with the specified name for the organization * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_DeleteCentralizationRuleForOrganization.html */ toDeleteCentralizationRuleForOrganization() { return this.to('DeleteCentralizationRuleForOrganization'); } /** * Grants permission to delete the s3 table integration with the specified arn * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_DeleteS3TableIntegration.html */ toDeleteS3TableIntegration() { return this.to('DeleteS3TableIntegration'); } /** * Grants permission to delete the telemetry pipeline with the specified arn * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_DeleteTelemetryPipeline.html */ toDeleteTelemetryPipeline() { return this.to('DeleteTelemetryPipeline'); } /** * Grants permission to delete a telemetry rule with the specified name for the account * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_DeleteTelemetryRule.html */ toDeleteTelemetryRule() { return this.to('DeleteTelemetryRule'); } /** * Grants permission to delete an organization telemetry rule with the specified name for the organization * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_DeleteTelemetryRuleForOrganization.html */ toDeleteTelemetryRuleForOrganization() { return this.to('DeleteTelemetryRuleForOrganization'); } /** * Grants permission to retrieve the specified organization centralization rule for the organization * * Access Level: Read * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_GetCentralizationRuleForOrganization.html */ toGetCentralizationRuleForOrganization() { return this.to('GetCentralizationRuleForOrganization'); } /** * Grants permission to retrieve the specified s3 table integration for the account * * Access Level: Read * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_GetS3TableIntegration.html */ toGetS3TableIntegration() { return this.to('GetS3TableIntegration'); } /** * Grants permission to retrieve the status of the Resource tags for telemetry feature for the account * * Access Level: Read * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_GetTelemetryEnrichmentStatus.html */ toGetTelemetryEnrichmentStatus() { return this.to('GetTelemetryEnrichmentStatus'); } /** * Grants permission to retrieve the Telemetry Config feature status for the account * * Access Level: Read * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_GetTelemetryEvaluationStatus.html */ toGetTelemetryEvaluationStatus() { return this.to('GetTelemetryEvaluationStatus'); } /** * Grants permission to retrieve the Telemetry Config feature status for the organization * * Access Level: Read * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_GetTelemetryEvaluationStatusForOrganization.html */ toGetTelemetryEvaluationStatusForOrganization() { return this.to('GetTelemetryEvaluationStatusForOrganization'); } /** * Grants permission to Get the telemetry pipeline with the specified name or arn * * Access Level: Read * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_GetTelemetryPipeline.html */ toGetTelemetryPipeline() { return this.to('GetTelemetryPipeline'); } /** * Grants permission to retrieve the specified telemetry rule for the account * * Access Level: Read * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_GetTelemetryRule.html */ toGetTelemetryRule() { return this.to('GetTelemetryRule'); } /** * Grants permission to retrieve the specified organization telemetry rule for the organization * * Access Level: Read * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_GetTelemetryRuleForOrganization.html */ toGetTelemetryRuleForOrganization() { return this.to('GetTelemetryRuleForOrganization'); } /** * Grants permission to list the centralization rules for the organization * * Access Level: List * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_ListCentralizationRulesForOrganization.html */ toListCentralizationRulesForOrganization() { return this.to('ListCentralizationRulesForOrganization'); } /** * Grants permission to retrieve telemetry configurations for resources associated with the account * * Access Level: Read * * Possible conditions: * - .ifTargetRegions() * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_ListResourceTelemetry.html */ toListResourceTelemetry() { return this.to('ListResourceTelemetry'); } /** * Grants permission to retrieve telemetry configurations for resources associated with accounts in the organization * * Access Level: Read * * Possible conditions: * - .ifTargetRegions() * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_ListResourceTelemetryForOrganization.html */ toListResourceTelemetryForOrganization() { return this.to('ListResourceTelemetryForOrganization'); } /** * Grants permission to list s3 table integrations for the account * * Access Level: List * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_ListS3TableIntegrations.html */ toListS3TableIntegrations() { return this.to('ListS3TableIntegrations'); } /** * Grants permission to list the tags for the specified resource * * Access Level: List * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_ListTagsForResource.html */ toListTagsForResource() { return this.to('ListTagsForResource'); } /** * Grants permission to List telemetry pipelines for the account * * Access Level: List * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_ListTelemetryPipelines.html */ toListTelemetryPipelines() { return this.to('ListTelemetryPipelines'); } /** * Grants permission to list the telemetry rules for the account * * Access Level: List * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_ListTelemetryRules.html */ toListTelemetryRules() { return this.to('ListTelemetryRules'); } /** * Grants permission to list the telemetry rules for the organization * * Access Level: List * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_ListTelemetryRulesForOrganization.html */ toListTelemetryRulesForOrganization() { return this.to('ListTelemetryRulesForOrganization'); } /** * Grants permission to enable the Resource tags for telemetry feature for the account * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_StartTelemetryEnrichment.html */ toStartTelemetryEnrichment() { return this.to('StartTelemetryEnrichment'); } /** * Grants permission to start the Telemetry Config feature for the account * * Access Level: Write * * Possible conditions: * - .ifTargetRegions() * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_StartTelemetryEvaluation.html */ toStartTelemetryEvaluation() { return this.to('StartTelemetryEvaluation'); } /** * Grants permission to start the Telemetry Config feature for the organization * * Access Level: Write * * Possible conditions: * - .ifTargetRegions() * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_StartTelemetryEvaluationForOrganization.html */ toStartTelemetryEvaluationForOrganization() { return this.to('StartTelemetryEvaluationForOrganization'); } /** * Grants permission to disable the Resource tags for telemetry feature for the account * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_StopTelemetryEnrichment.html */ toStopTelemetryEnrichment() { return this.to('StopTelemetryEnrichment'); } /** * Grants permission to stop the Telemetry Config feature for the account * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_StopTelemetryEvaluation.html */ toStopTelemetryEvaluation() { return this.to('StopTelemetryEvaluation'); } /** * Grants permission to stop the Telemetry Config feature for the organization * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_StopTelemetryEvaluationForOrganization.html */ toStopTelemetryEvaluationForOrganization() { return this.to('StopTelemetryEvaluationForOrganization'); } /** * Grants permission to add or update the specified tags for the specified resource * * Access Level: Tagging, Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_TagResource.html */ toTagResource() { return this.to('TagResource'); } /** * Grants permission to Test a telemetry pipeline configuration with sample data * * Access Level: Read * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_TestTelemetryPipeline.html */ toTestTelemetryPipeline() { return this.to('TestTelemetryPipeline'); } /** * Grants permission to remove the specified tags from the specified resource * * Access Level: Tagging, Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_UntagResource.html */ toUntagResource() { return this.to('UntagResource'); } /** * Grants permission to update the specified centralization rule for the organization * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_UpdateCentralizationRuleForOrganization.html */ toUpdateCentralizationRuleForOrganization() { return this.to('UpdateCentralizationRuleForOrganization'); } /** * Grants permission to Update the telemetry pipeline with the specified arn * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_UpdateTelemetryPipeline.html */ toUpdateTelemetryPipeline() { return this.to('UpdateTelemetryPipeline'); } /** * Grants permission to update the specified telemetry rule for the account * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_UpdateTelemetryRule.html */ toUpdateTelemetryRule() { return this.to('UpdateTelemetryRule'); } /** * Grants permission to update the specified telemetry rule for the organization * * Access Level: Write * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_UpdateTelemetryRuleForOrganization.html */ toUpdateTelemetryRuleForOrganization() { return this.to('UpdateTelemetryRuleForOrganization'); } /** * Grants permission to Validate a telemetry pipeline configuration * * Access Level: Read * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_ValidateTelemetryPipelineConfiguration.html */ toValidateTelemetryPipelineConfiguration() { return this.to('ValidateTelemetryPipelineConfiguration'); } /** * Adds a resource of type organization-centralization-rule to the statement * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_CentralizationRule.html * * @param centralizationRuleName - Identifier for the centralizationRuleName. * @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() */ onOrganizationCentralizationRule(centralizationRuleName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:observabilityadmin:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:organization-centralization-rule/${centralizationRuleName}`); } /** * Adds a resource of type organization-telemetry-rule to the statement * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_TelemetryRule.html * * @param telemetryRuleName - Identifier for the telemetryRuleName. * @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() */ onOrganizationTelemetryRule(telemetryRuleName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:observabilityadmin:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:organization-telemetry-rule/${telemetryRuleName}`); } /** * Adds a resource of type s3tableintegration to the statement * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_S3TableIntegration.html * * @param s3TableIntegrationIdentifier - Identifier for the s3TableIntegrationIdentifier. * @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() */ onS3tableintegration(s3TableIntegrationIdentifier, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:observabilityadmin:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:s3tableintegration/${s3TableIntegrationIdentifier}`); } /** * Adds a resource of type telemetry-pipeline to the statement * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_TelemetryPipeline.html * * @param telemetryPipelineIdentifier - Identifier for the telemetryPipelineIdentifier. * @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() */ onTelemetryPipeline(telemetryPipelineIdentifier, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:observabilityadmin:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:telemetry-pipeline/${telemetryPipelineIdentifier}`); } /** * Adds a resource of type telemetry-rule to the statement * * https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_TelemetryRule.html * * @param telemetryRuleName - Identifier for the telemetryRuleName. * @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() */ onTelemetryRule(telemetryRuleName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:observabilityadmin:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:telemetry-rule/${telemetryRuleName}`); } /** * 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: * - .toCreateCentralizationRuleForOrganization() * - .toCreateS3TableIntegration() * - .toCreateTelemetryPipeline() * - .toCreateTelemetryRule() * - .toCreateTelemetryRuleForOrganization() * - .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 actions: * - .toCreateCentralizationRuleForOrganization() * - .toCreateS3TableIntegration() * - .toCreateTelemetryPipeline() * - .toCreateTelemetryRule() * - .toCreateTelemetryRuleForOrganization() * - .toDeleteCentralizationRuleForOrganization() * - .toDeleteS3TableIntegration() * - .toDeleteTelemetryPipeline() * - .toDeleteTelemetryRule() * - .toDeleteTelemetryRuleForOrganization() * - .toGetCentralizationRuleForOrganization() * - .toGetS3TableIntegration() * - .toGetTelemetryPipeline() * - .toGetTelemetryRule() * - .toGetTelemetryRuleForOrganization() * - .toListTagsForResource() * - .toTagResource() * - .toUntagResource() * - .toUpdateCentralizationRuleForOrganization() * - .toUpdateTelemetryPipeline() * - .toUpdateTelemetryRule() * - .toUpdateTelemetryRuleForOrganization() * * Applies to resource types: * - organization-centralization-rule * - organization-telemetry-rule * - s3tableintegration * - telemetry-pipeline * - telemetry-rule * * @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: * - .toCreateCentralizationRuleForOrganization() * - .toCreateS3TableIntegration() * - .toCreateTelemetryPipeline() * - .toCreateTelemetryRule() * - .toCreateTelemetryRuleForOrganization() * - .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'); } /** * Filters access by the backup region that is passed in the request * * https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/reference_policies_condition-keys.htmlcondition-keys-observabilityadmin.html#condition-keys-centralizationbackupregion * * Applies to actions: * - .toCreateCentralizationRuleForOrganization() * - .toUpdateCentralizationRuleForOrganization() * * @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` */ ifCentralizationBackupRegion(value, operator) { return this.if(`CentralizationBackupRegion`, value, operator ?? 'StringLike'); } /** * Filters access by the destination account that is passed in the request * * https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/reference_policies_condition-keys.htmlcondition-keys-observabilityadmin.html#condition-keys-centralizationdestinationaccount * * Applies to actions: * - .toCreateCentralizationRuleForOrganization() * - .toUpdateCentralizationRuleForOrganization() * * @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` */ ifCentralizationDestinationAccount(value, operator) { return this.if(`CentralizationDestinationAccount`, value, operator ?? 'StringLike'); } /** * Filters access by the destination region that is passed in the request * * https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/reference_policies_condition-keys.htmlcondition-keys-observabilityadmin.html#condition-keys-centralizationdestinationregion * * Applies to actions: * - .toCreateCentralizationRuleForOrganization() * - .toUpdateCentralizationRuleForOrganization() * * @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` */ ifCentralizationDestinationRegion(value, operator) { return this.if(`CentralizationDestinationRegion`, value, operator ?? 'StringLike'); } /** * Filters access by the name of the centralization rule that is passed in the request * * https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/reference_policies_condition-keys.htmlcondition-keys-observabilityadmin.html#condition-keys-centralizationrulename * * Applies to actions: * - .toCreateCentralizationRuleForOrganization() * - .toDeleteCentralizationRuleForOrganization() * - .toGetCentralizationRuleForOrganization() * - .toUpdateCentralizationRuleForOrganization() * * @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` */ ifCentralizationRuleName(value, operator) { return this.if(`CentralizationRuleName`, value, operator ?? 'StringLike'); } /** * Filters access by the source account, organizational unit, or organization IDs that is passed in the request * * https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/reference_policies_condition-keys.htmlcondition-keys-observabilityadmin.html#condition-keys-centralizationsourceid * * Applies to actions: * - .toCreateCentralizationRuleForOrganization() * - .toUpdateCentralizationRuleForOrganization() * * @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` */ ifCentralizationSourceId(value, operator) { return this.if(`CentralizationSourceId`, value, operator ?? 'StringLike'); } /** * Filters access by the source regions that are passed in the request * * https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/reference_policies_condition-keys.htmlcondition-keys-observabilityadmin.html#condition-keys-centralizationsourceregions * * Applies to actions: * - .toCreateCentralizationRuleForOrganization() * - .toUpdateCentralizationRuleForOrganization() * * @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` */ ifCentralizationSourceRegions(value, operator) { return this.if(`CentralizationSourceRegions`, value, operator ?? 'StringLike'); } /** * Filters access by the source type that is passed in the request * * https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/reference_policies_condition-keys.htmlcondition-keys-observabilityadmin.html#condition-keys-sourcetype * * Applies to actions: * - .toCreateTelemetryPipeline() * * @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` */ ifSourceType(value, operator) { return this.if(`SourceType`, value, operator ?? 'StringLike'); } /** * Filters access by the regions that are targetted by the request * * https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/reference_policies_condition-keys.htmlcondition-keys-observabilityadmin.html#condition-keys-targetregions * * Applies to actions: * - .toCreateTelemetryRule() * - .toCreateTelemetryRuleForOrganization() * - .toListResourceTelemetry() * - .toListResourceTelemetryForOrganization() * - .toStartTelemetryEvaluation() * - .toStartTelemetryEvaluationForOrganization() * - .toUpdateTelemetryRule() * - .toUpdateTelemetryRuleForOrganization() * * @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` */ ifTargetRegions(value, operator) { return this.if(`TargetRegions`, value, operator ?? 'StringLike'); } /** * Statement provider for service [observabilityadmin](https://docs.aws.amazon.com/service-authorization/latest/reference/list_observabilityadmin.html). * */ constructor(props) { super(props); this.servicePrefix = 'observabilityadmin'; this.accessLevelList = { Write: [ 'CreateCentralizationRuleForOrganization', 'CreateS3TableIntegration', 'CreateTelemetryPipeline', 'CreateTelemetryRule', 'CreateTelemetryRuleForOrganization', 'DeleteCentralizationRuleForOrganization', 'DeleteS3TableIntegration', 'DeleteTelemetryPipeline', 'DeleteTelemetryRule', 'DeleteTelemetryRuleForOrganization', 'StartTelemetryEnrichment', 'StartTelemetryEvaluation', 'StartTelemetryEvaluationForOrganization', 'StopTelemetryEnrichment', 'StopTelemetryEvaluation', 'StopTelemetryEvaluationForOrganization', 'TagResource', 'UntagResource', 'UpdateCentralizationRuleForOrganization', 'UpdateTelemetryPipeline', 'UpdateTelemetryRule', 'UpdateTelemetryRuleForOrganization' ], Read: [ 'GetCentralizationRuleForOrganization', 'GetS3TableIntegration', 'GetTelemetryEnrichmentStatus', 'GetTelemetryEvaluationStatus', 'GetTelemetryEvaluationStatusForOrganization', 'GetTelemetryPipeline', 'GetTelemetryRule', 'GetTelemetryRuleForOrganization', 'ListResourceTelemetry', 'ListResourceTelemetryForOrganization', 'TestTelemetryPipeline', 'ValidateTelemetryPipelineConfiguration' ], List: [ 'ListCentralizationRulesForOrganization', 'ListS3TableIntegrations', 'ListTagsForResource', 'ListTelemetryPipelines', 'ListTelemetryRules', 'ListTelemetryRulesForOrganization' ], Tagging: [ 'TagResource', 'UntagResource' ] }; } } exports.Observabilityadmin = Observabilityadmin; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JzZXJ2YWJpbGl0eWFkbWluLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsib2JzZXJ2YWJpbGl0eWFkbWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLHlDQUF5RDtBQUd6RDs7OztHQUlHO0FBQ0gsTUFBYSxrQkFBbUIsU0FBUSx3QkFBZTtJQUdyRDs7Ozs7O09BTUc7SUFDSSx5Q0FBeUM7UUFDOUMsT0FBTyxJQUFJLENBQUMsRUFBRSxDQUFDLHlDQUF5QyxDQUFDLENBQUM7SUFDNUQsQ0FBQztJQUVEOzs7Ozs7T0FNRztJQUNJLDBCQUEwQjtRQUMv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