create_platform_version
async
¶
create_platform_version(
platform_name: PlatformName,
platform_version: PlatformVersion,
platform_definition_bundle: S3Location,
*,
config_overrides: Optional[AsyncElasticBeanstalkClientConfig] = None,
environment_name: Optional[EnvironmentName] = None,
option_settings: Optional[ConfigurationOptionSettingsList] = None,
tags: Optional[Tags] = None,
) -> CreatePlatformVersionResult
Create a new version of your custom platform.
Parameters:
-
platform_name(PlatformName) –The name of your custom platform.
-
platform_version(PlatformVersion) –The number, such as 1.0.2, for the new platform version.
-
platform_definition_bundle(S3Location) –The location of the platform definition archive in Amazon S3.
-
environment_name(Optional[EnvironmentName], default:None) –The name of the builder environment.
-
option_settings(Optional[ConfigurationOptionSettingsList], default:None) –The configuration option settings to apply to the builder environment.
-
tags(Optional[Tags], default:None) –Specifies the tags applied to the new platform version.
Elastic Beanstalk applies these tags only to the platform version. Environments that you create using the platform version don't inherit the tags.
Raises:
-
ElasticBeanstalkServiceException–A generic service exception has occurred.
-
InsufficientPrivilegesException–The specified account does not have sufficient privileges for one or more Amazon Web Services services.
-
TooManyPlatformsException–You have exceeded the maximum number of allowed platforms associated with the account.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_elastic_beanstalk/_services/async_elastic_beanstalk.py
959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 | |