Skip to content

IImage

  • Extends: ros_cdk_core.IResource

  • Implemented By: Image, IImage

Represents a Image.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_architecture typing.Union[str, ros_cdk_core.IResolvable] Attribute Architecture: The image architecture.
attr_compute_type typing.Union[str, ros_cdk_core.IResolvable] Attribute ComputeType: Computing type.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: The image creation time.
attr_image_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ImageId: The ID of the image.
attr_image_name typing.Union[str, ros_cdk_core.IResolvable] Attribute ImageName: The name of the image.
attr_image_owner_alias typing.Union[str, ros_cdk_core.IResolvable] Attribute ImageOwnerAlias: The source of the image.
attr_image_size typing.Union[str, ros_cdk_core.IResolvable] Attribute ImageSize: The size of the image.
attr_instance_id typing.Union[str, ros_cdk_core.IResolvable] Attribute InstanceId: The ID of the instance corresponding to the image.
attr_os_version typing.Union[str, ros_cdk_core.IResolvable] Attribute OsVersion: The operating system version.
attr_platform typing.Union[str, ros_cdk_core.IResolvable] Attribute Platform: The type of operating system used by the image.
attr_snapshot_id typing.Union[str, ros_cdk_core.IResolvable] Attribute SnapshotId: The ID of the snapshot corresponding to the image.
props ImageProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: ros_cdk_core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_architectureRequired

attr_architecture: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Architecture: The image architecture.

Valid values: i386 x86_64


attr_compute_typeRequired

attr_compute_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ComputeType: Computing type.

ens_vm/ens: x86 computing. bare_metal: x86 bare machine or x86 bare metal. arm_vm: ARM computing. arm_bare_metal: ARM bare machine or ARM bare metal. pcfarm: heterogeneous computing.


attr_create_timeRequired

attr_create_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute CreateTime: The image creation time.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.


attr_image_idRequired

attr_image_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ImageId: The ID of the image.


attr_image_nameRequired

attr_image_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ImageName: The name of the image.


attr_image_owner_aliasRequired

attr_image_owner_alias: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ImageOwnerAlias: The source of the image.

Valid values: system: public images self: your custom images


attr_image_sizeRequired

attr_image_size: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ImageSize: The size of the image.

Unit: GiB.


attr_instance_idRequired

attr_instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute InstanceId: The ID of the instance corresponding to the image.


attr_os_versionRequired

attr_os_version: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute OsVersion: The operating system version.


attr_platformRequired

attr_platform: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Platform: The type of operating system used by the image.

centos ubuntu alios debian rhel windows


attr_snapshot_idRequired

attr_snapshot_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute SnapshotId: The ID of the snapshot corresponding to the image.


propsRequired

props: ImageProps