Skip to content

IDatabase

  • Extends: AlibabaCloud.SDK.ROS.CDK.Core.IResource

  • Implemented By: Database, IDatabase

Represents a Database.

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node for this construct.
Env AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment The environment this resource belongs to.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
AttrDbInstanceId object Attribute DBInstanceId: The ID of the instance.
AttrDbName object Attribute DBName: The name of the database.
Props DatabaseProps No description.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node for this construct.


EnvRequired

public IResourceEnvironment Env { get; }
  • Type: AlibabaCloud.SDK.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

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


AttrDbInstanceIdRequired

public object AttrDbInstanceId { get; }
  • Type: object

Attribute DBInstanceId: The ID of the instance.


AttrDbNameRequired

public object AttrDbName { get; }
  • Type: object

Attribute DBName: The name of the database.


PropsRequired

public DatabaseProps Props { get; }