Platform
- class aws_cdk.aws_imagebuilder_alpha.Platform(*values)
Bases:
Enum(experimental) Represents a platform for an EC2 Image Builder image.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
component = imagebuilder.Component(self, "JsonComponent", platform=imagebuilder.Platform.LINUX, data=imagebuilder.ComponentData.from_json_object({ "schema_version": imagebuilder.ComponentSchemaVersion.V1_0, "phases": [{ "name": imagebuilder.ComponentPhaseName.BUILD, "steps": [{ "name": "configure-app", "action": imagebuilder.ComponentAction.CREATE_FILE, "inputs": { "path": "/etc/myapp/config.json", "content": "{"env": "production"}" } } ] } ] }) )
Attributes
- LINUX
(experimental) Platform for Linux.
- Stability:
experimental
- MAC_OS
(experimental) Platform for macOS.
- Stability:
experimental
- WINDOWS
(experimental) Platform for Windows.
- Stability:
experimental