create_platform_version
¶
create_platform_version(
platform_name: PlatformName,
platform_version: PlatformVersion,
platform_definition_bundle: S3Location,
*,
config_overrides: Optional[ElasticBeanstalkClientConfig] = 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.