Skip to content

IDatabase

  • Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource

  • Implemented By: github.com/alibabacloud-go/ros-cdk/alicloudroscdkpolardbx.datasource.Database, github.com/alibabacloud-go/ros-cdk/alicloudroscdkpolardbx.datasource.IDatabase

Represents a Database.

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node for this construct.
Env github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment The environment this resource belongs to.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
AttrAccounts interface{} Attribute Accounts: The list of accounts that can be used to access the database.
AttrCharacterSetName interface{} Attribute CharacterSetName: The character set that is supported by the database.
AttrDatabaseDescription interface{} Attribute DatabaseDescription: The description of the database.
AttrDbInstanceId interface{} Attribute DBInstanceId: The ID of the PolarDB-X 2.0 instance.
AttrPolarDbxDatabaseName interface{} Attribute PolarDBXDatabaseName: The name of the PolarDB-X instance.
Props DatabaseProps No description.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node for this construct.


EnvRequired

func Env() IResourceEnvironment
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


AttrAccountsRequired

func AttrAccounts() interface{}
  • Type: interface{}

Attribute Accounts: The list of accounts that can be used to access the database.


AttrCharacterSetNameRequired

func AttrCharacterSetName() interface{}
  • Type: interface{}

Attribute CharacterSetName: The character set that is supported by the database.


AttrDatabaseDescriptionRequired

func AttrDatabaseDescription() interface{}
  • Type: interface{}

Attribute DatabaseDescription: The description of the database.


AttrDbInstanceIdRequired

func AttrDbInstanceId() interface{}
  • Type: interface{}

Attribute DBInstanceId: The ID of the PolarDB-X 2.0 instance.


AttrPolarDbxDatabaseNameRequired

func AttrPolarDbxDatabaseName() interface{}
  • Type: interface{}

Attribute PolarDBXDatabaseName: The name of the PolarDB-X instance.


PropsRequired

func Props() DatabaseProps