cdk-iam-floyd
Version:
AWS IAM policy statement generator with fluent interface for AWS CDK
738 lines (737 loc) • 30.2 kB
TypeScript
import { AccessLevelList } from '../../shared/access-level';
import { PolicyStatement, Operator } from '../../shared';
import { aws_iam as iam } from "aws-cdk-lib";
/**
* Statement provider for service [elasticbeanstalk](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awselasticbeanstalk.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
export declare class Elasticbeanstalk extends PolicyStatement {
servicePrefix: string;
/**
* Grants permission to cancel in-progress environment configuration update or application version deployment
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_AbortEnvironmentUpdate.html
*/
toAbortEnvironmentUpdate(): this;
/**
* Grants permission to add tags to an Elastic Beanstalk resource and to update tag values
*
* Access Level: Tagging
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_UpdateTagsForResource.html
*/
toAddTags(): this;
/**
* Grants permission to apply a scheduled managed action immediately
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ApplyEnvironmentManagedAction.html
*/
toApplyEnvironmentManagedAction(): this;
/**
* Grants permission to associate an operations role with an environment
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_AssociateEnvironmentOperationsRole.html
*/
toAssociateEnvironmentOperationsRole(): this;
/**
* Grants permission to check CNAME availability
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_CheckDNSAvailability.html
*/
toCheckDNSAvailability(): this;
/**
* Grants permission to create or update a group of environments, each running a separate component of a single application
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ComposeEnvironments.html
*/
toComposeEnvironments(): this;
/**
* Grants permission to create a new application
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_CreateApplication.html
*/
toCreateApplication(): this;
/**
* Grants permission to create an application version for an application
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_CreateApplicationVersion.html
*/
toCreateApplicationVersion(): this;
/**
* Grants permission to create a configuration template
*
* Access Level: Write
*
* Possible conditions:
* - .ifFromApplication()
* - .ifFromApplicationVersion()
* - .ifFromConfigurationTemplate()
* - .ifFromEnvironment()
* - .ifFromSolutionStack()
* - .ifFromPlatform()
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_CreateConfigurationTemplate.html
*/
toCreateConfigurationTemplate(): this;
/**
* Grants permission to launch an environment for an application
*
* Access Level: Write
*
* Possible conditions:
* - .ifFromApplicationVersion()
* - .ifFromConfigurationTemplate()
* - .ifFromSolutionStack()
* - .ifFromPlatform()
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_CreateEnvironment.html
*/
toCreateEnvironment(): this;
/**
* Grants permission to create a new version of a custom platform
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_CreatePlatformVersion.html
*/
toCreatePlatformVersion(): this;
/**
* Grants permission to create the Amazon S3 storage location for the account
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_CreateStorageLocation.html
*/
toCreateStorageLocation(): this;
/**
* Grants permission to delete an application along with all associated versions and configurations
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DeleteApplication.html
*/
toDeleteApplication(): this;
/**
* Grants permission to delete an application version from an application
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DeleteApplicationVersion.html
*/
toDeleteApplicationVersion(): this;
/**
* Grants permission to delete a configuration template
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DeleteConfigurationTemplate.html
*/
toDeleteConfigurationTemplate(): this;
/**
* Grants permission to delete the draft configuration associated with the running environment
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DeleteEnvironmentConfiguration.html
*/
toDeleteEnvironmentConfiguration(): this;
/**
* Grants permission to delete a version of a custom platform
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DeletePlatformVersion.html
*/
toDeletePlatformVersion(): this;
/**
* Grants permission to retrieve a list of account attributes, including resource quotas
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeAccountAttributes.html
*/
toDescribeAccountAttributes(): this;
/**
* Grants permission to retrieve a list of application versions stored in an AWS Elastic Beanstalk storage bucket
*
* Access Level: List
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeApplicationVersions.html
*/
toDescribeApplicationVersions(): this;
/**
* Grants permission to retrieve the descriptions of existing applications
*
* Access Level: List
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeApplications.html
*/
toDescribeApplications(): this;
/**
* Grants permission to retrieve descriptions of environment configuration options
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeConfigurationOptions.html
*/
toDescribeConfigurationOptions(): this;
/**
* Grants permission to retrieve a description of the settings for a configuration set
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeConfigurationSettings.html
*/
toDescribeConfigurationSettings(): this;
/**
* Grants permission to retrieve information about the overall health of an environment
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeEnvironmentHealth.html
*/
toDescribeEnvironmentHealth(): this;
/**
* Grants permission to retrieve a list of an environment's completed and failed managed actions
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeEnvironmentManagedActionHistory.html
*/
toDescribeEnvironmentManagedActionHistory(): this;
/**
* Grants permission to retrieve a list of an environment's upcoming and in-progress managed actions
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeEnvironmentManagedActions.html
*/
toDescribeEnvironmentManagedActions(): this;
/**
* Grants permission to retrieve a list of AWS resources for an environment
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeEnvironmentResources.html
*/
toDescribeEnvironmentResources(): this;
/**
* Grants permission to retrieve descriptions for existing environments
*
* Access Level: List
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeEnvironments.html
*/
toDescribeEnvironments(): this;
/**
* Grants permission to retrieve a list of event descriptions matching a set of criteria
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeEvents.html
*/
toDescribeEvents(): this;
/**
* Grants permission to retrieve more detailed information about the health of environment instances
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeInstancesHealth.html
*/
toDescribeInstancesHealth(): this;
/**
* Grants permission to retrieve a description of a managed platform version
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribePlatformVersion.html
*/
toDescribePlatformVersion(): this;
/**
* Grants permission to disassociate an operations role with an environment
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DisassociateEnvironmentOperationsRole.html
*/
toDisassociateEnvironmentOperationsRole(): this;
/**
* Grants permission to retrieve a list of the available solution stack names
*
* Access Level: List
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListAvailableSolutionStacks.html
*/
toListAvailableSolutionStacks(): this;
/**
* Grants permission to retrieve a list of the available platform branches
*
* Access Level: List
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListPlatformBranches.html
*/
toListPlatformBranches(): this;
/**
* Grants permission to retrieve a list of the available platforms
*
* Access Level: List
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListPlatformVersions.html
*/
toListPlatformVersions(): this;
/**
* Grants permission to retrieve a list of tags of an Elastic Beanstalk resource
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListTagsForResource.html
*/
toListTagsForResource(): this;
/**
* Grants permission to submit instance statistics for enhanced health
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced.html#health-enhanced-authz
*/
toPutInstanceStatistics(): this;
/**
* Grants permission to delete and recreate all of the AWS resources for an environment and to force a restart
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_RebuildEnvironment.html
*/
toRebuildEnvironment(): this;
/**
* Grants permission to remove tags from an Elastic Beanstalk resource
*
* Access Level: Tagging
*
* Possible conditions:
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_UpdateTagsForResource.html
*/
toRemoveTags(): this;
/**
* Grants permission to initiate a request to compile information of the deployed environment
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_RequestEnvironmentInfo.html
*/
toRequestEnvironmentInfo(): this;
/**
* Grants permission to request an environment to restart the application container server running on each Amazon EC2 instance
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_RestartAppServer.html
*/
toRestartAppServer(): this;
/**
* Grants permission to retrieve the compiled information from a RequestEnvironmentInfo request
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_RetrieveEnvironmentInfo.html
*/
toRetrieveEnvironmentInfo(): this;
/**
* Grants permission to swap the CNAMEs of two environments
*
* Access Level: Write
*
* Possible conditions:
* - .ifFromEnvironment()
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_SwapEnvironmentCNAMEs.html
*/
toSwapEnvironmentCNAMEs(): this;
/**
* Grants permission to terminate an environment
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_TerminateEnvironment.html
*/
toTerminateEnvironment(): this;
/**
* Grants permission to update an application with specified properties
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_UpdateApplication.html
*/
toUpdateApplication(): this;
/**
* Grants permission to update the application version lifecycle policy associated with the application
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_UpdateApplicationResourceLifecycle.html
*/
toUpdateApplicationResourceLifecycle(): this;
/**
* Grants permission to update an application version with specified properties
*
* Access Level: Write
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_UpdateApplicationVersion.html
*/
toUpdateApplicationVersion(): this;
/**
* Grants permission to update a configuration template with specified properties or configuration option values
*
* Access Level: Write
*
* Possible conditions:
* - .ifFromApplication()
* - .ifFromApplicationVersion()
* - .ifFromConfigurationTemplate()
* - .ifFromEnvironment()
* - .ifFromSolutionStack()
* - .ifFromPlatform()
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_UpdateConfigurationTemplate.html
*/
toUpdateConfigurationTemplate(): this;
/**
* Grants permission to update an environment
*
* Access Level: Write
*
* Possible conditions:
* - .ifFromApplicationVersion()
* - .ifFromConfigurationTemplate()
* - .ifFromSolutionStack()
* - .ifFromPlatform()
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_UpdateEnvironment.html
*/
toUpdateEnvironment(): this;
/**
* Doesn't grant permission to update tags. To grant permission to add tags to an Elastic Beanstalk resource, remove tags, and to update tag values, specify elasticbeanstalk:AddTags and elasticbeanstalk:RemoveTags
*
* Access Level: Tagging
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_UpdateTagsForResource.html
*/
toUpdateTagsForResource(): this;
/**
* Grants permission to check the validity of a set of configuration settings for a configuration template or an environment
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ValidateConfigurationSettings.html
*/
toValidateConfigurationSettings(): this;
protected accessLevelList: AccessLevelList;
/**
* Adds a resource of type application to the statement
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.arn.html
*
* @param applicationName - Identifier for the applicationName.
* @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()
*/
onApplication(applicationName: string, account?: string, region?: string, partition?: string): this;
/**
* Adds a resource of type applicationversion to the statement
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.arn.html
*
* @param applicationName - Identifier for the applicationName.
* @param versionLabel - Identifier for the versionLabel.
* @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()
* - .ifInApplication()
*/
onApplicationversion(applicationName: string, versionLabel: string, account?: string, region?: string, partition?: string): this;
/**
* Adds a resource of type configurationtemplate to the statement
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.arn.html
*
* @param applicationName - Identifier for the applicationName.
* @param templateName - Identifier for the templateName.
* @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()
* - .ifInApplication()
*/
onConfigurationtemplate(applicationName: string, templateName: string, account?: string, region?: string, partition?: string): this;
/**
* Adds a resource of type environment to the statement
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.arn.html
*
* @param applicationName - Identifier for the applicationName.
* @param environmentName - Identifier for the environmentName.
* @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()
* - .ifInApplication()
*/
onEnvironment(applicationName: string, environmentName: string, account?: string, region?: string, partition?: string): this;
/**
* Adds a resource of type solutionstack to the statement
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.arn.html
*
* @param solutionStackName - Identifier for the solutionStackName.
* @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.
*/
onSolutionstack(solutionStackName: string, region?: string, partition?: string): this;
/**
* Adds a resource of type platform to the statement
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.arn.html
*
* @param platformNameWithVersion - Identifier for the platformNameWithVersion.
* @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.
*/
onPlatform(platformNameWithVersion: string, region?: string, partition?: string): this;
/**
* Filters actions based on the presence of tag key-value pairs in the request
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.actions.html#AWSHowTo.iam.policies.conditions
*
* Applies to actions:
* - .toAddTags()
* - .toCreateApplication()
* - .toCreateApplicationVersion()
* - .toCreateConfigurationTemplate()
* - .toCreateEnvironment()
* - .toCreatePlatformVersion()
* - .toUpdateTagsForResource()
*
* @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: string, value: string | string[], operator?: Operator | string): this;
/**
* Filters actions based on tag key-value pairs attached to the resource
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.actions.html#AWSHowTo.iam.policies.conditions
*
* Applies to resource types:
* - application
* - applicationversion
* - configurationtemplate
* - environment
*
* @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: string, value: string | string[], operator?: Operator | string): this;
/**
* Filters actions based on the presence of tag keys in the request
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.actions.html#AWSHowTo.iam.policies.conditions
*
* Applies to actions:
* - .toAddTags()
* - .toCreateApplication()
* - .toCreateApplicationVersion()
* - .toCreateConfigurationTemplate()
* - .toCreateEnvironment()
* - .toCreatePlatformVersion()
* - .toRemoveTags()
* - .toUpdateTagsForResource()
*
* @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: string | string[], operator?: Operator | string): this;
/**
* Filters access by an application as a dependency or a constraint on an input parameter
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.actions.html#AWSHowTo.iam.policies.conditions
*
* Applies to actions:
* - .toCreateConfigurationTemplate()
* - .toUpdateConfigurationTemplate()
*
* @param value The value(s) to check
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
*/
ifFromApplication(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by an application version as a dependency or a constraint on an input parameter
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.actions.html#AWSHowTo.iam.policies.conditions
*
* Applies to actions:
* - .toCreateConfigurationTemplate()
* - .toCreateEnvironment()
* - .toUpdateConfigurationTemplate()
* - .toUpdateEnvironment()
*
* @param value The value(s) to check
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
*/
ifFromApplicationVersion(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by a configuration template as a dependency or a constraint on an input parameter
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.actions.html#AWSHowTo.iam.policies.conditions
*
* Applies to actions:
* - .toCreateConfigurationTemplate()
* - .toCreateEnvironment()
* - .toUpdateConfigurationTemplate()
* - .toUpdateEnvironment()
*
* @param value The value(s) to check
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
*/
ifFromConfigurationTemplate(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by an environment as a dependency or a constraint on an input parameter
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.actions.html#AWSHowTo.iam.policies.conditions
*
* Applies to actions:
* - .toCreateConfigurationTemplate()
* - .toSwapEnvironmentCNAMEs()
* - .toUpdateConfigurationTemplate()
*
* @param value The value(s) to check
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
*/
ifFromEnvironment(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by a platform as a dependency or a constraint on an input parameter
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.actions.html#AWSHowTo.iam.policies.conditions
*
* Applies to actions:
* - .toCreateConfigurationTemplate()
* - .toCreateEnvironment()
* - .toUpdateConfigurationTemplate()
* - .toUpdateEnvironment()
*
* @param value The value(s) to check
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
*/
ifFromPlatform(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by a solution stack as a dependency or a constraint on an input parameter
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.actions.html#AWSHowTo.iam.policies.conditions
*
* Applies to actions:
* - .toCreateConfigurationTemplate()
* - .toCreateEnvironment()
* - .toUpdateConfigurationTemplate()
* - .toUpdateEnvironment()
*
* @param value The value(s) to check
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
*/
ifFromSolutionStack(value: string | string[], operator?: Operator | string): this;
/**
* Filters access by the application that contains the resource that the action operates on
*
* https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.actions.html#AWSHowTo.iam.policies.conditions
*
* Applies to actions:
* - .toAbortEnvironmentUpdate()
* - .toApplyEnvironmentManagedAction()
* - .toComposeEnvironments()
* - .toCreateApplicationVersion()
* - .toCreateConfigurationTemplate()
* - .toCreateEnvironment()
* - .toDeleteApplicationVersion()
* - .toDeleteConfigurationTemplate()
* - .toDeleteEnvironmentConfiguration()
* - .toDescribeApplicationVersions()
* - .toDescribeConfigurationOptions()
* - .toDescribeConfigurationSettings()
* - .toDescribeEnvironmentManagedActionHistory()
* - .toDescribeEnvironmentManagedActions()
* - .toDescribeEnvironmentResources()
* - .toDescribeEnvironments()
* - .toDescribeEvents()
* - .toRebuildEnvironment()
* - .toRequestEnvironmentInfo()
* - .toRestartAppServer()
* - .toRetrieveEnvironmentInfo()
* - .toSwapEnvironmentCNAMEs()
* - .toTerminateEnvironment()
* - .toUpdateApplicationVersion()
* - .toUpdateConfigurationTemplate()
* - .toUpdateEnvironment()
* - .toValidateConfigurationSettings()
*
* Applies to resource types:
* - applicationversion
* - configurationtemplate
* - environment
*
* @param value The value(s) to check
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
*/
ifInApplication(value: string | string[], operator?: Operator | string): this;
/**
* Statement provider for service [elasticbeanstalk](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awselasticbeanstalk.html).
*
*/
constructor(props?: iam.PolicyStatementProps);
}