DbInstance
This class encapsulates and extends the ROS resource type DATASOURCE::GraphDatabase::DbInstance
.
Initializers
import { datasource } from '@alicloud/ros-cdk-graphdatabase'
new datasource.DbInstance(scope: Construct, id: string, props: DbInstanceProps, enableResourcePropertyConstraint?: boolean)
Name | Type | Description |
---|---|---|
scope |
@alicloud/ros-cdk-core.Construct |
No description. |
id |
string |
No description. |
props |
DbInstanceProps |
No description. |
enableResourcePropertyConstraint |
boolean |
No description. |
scope
Required
- Type: @alicloud/ros-cdk-core.Construct
id
Required
- Type: string
props
Required
- Type: DbInstanceProps
enableResourcePropertyConstraint
Optional
- Type: boolean
Methods
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
addCondition |
No description. |
addCount |
No description. |
addDependency |
No description. |
addResourceDesc |
No description. |
applyRemovalPolicy |
No description. |
getAtt |
No description. |
setMetadata |
No description. |
toString
public toString(): string
Returns a string representation of this construct.
synthesize
public synthesize(session: ISynthesisSession): void
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: @alicloud/ros-cdk-core.ISynthesisSession
The synthesis session.
addCondition
public addCondition(condition: RosCondition): void
- Type: @alicloud/ros-cdk-core.RosCondition
addCount
public addCount(count: number | IResolvable): void
- Type: number | @alicloud/ros-cdk-core.IResolvable
addDependency
public addDependency(resource: Resource): void
- Type: @alicloud/ros-cdk-core.Resource
addResourceDesc
public addResourceDesc(desc: string): void
- Type: string
applyRemovalPolicy
public applyRemovalPolicy(policy: RemovalPolicy): void
- Type: @alicloud/ros-cdk-core.RemovalPolicy
getAtt
public getAtt(name: string): IResolvable
- Type: string
setMetadata
public setMetadata(key: string, value: any): void
- Type: string
- Type: any
Static Functions
Name | Description |
---|---|
isConstruct |
Return whether the given object is a Construct. |
isConstruct
import { datasource } from '@alicloud/ros-cdk-graphdatabase'
datasource.DbInstance.isConstruct(x: any)
Return whether the given object is a Construct.
- Type: any
Properties
Name | Type | Description |
---|---|---|
node |
@alicloud/ros-cdk-core.ConstructNode |
The construct tree node associated with this construct. |
ref |
string |
No description. |
stack |
@alicloud/ros-cdk-core.Stack |
The stack in which this resource is defined. |
resource |
@alicloud/ros-cdk-core.RosResource |
No description. |
attrConnectionString |
@alicloud/ros-cdk-core.IResolvable |
Attribute ConnectionString: Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name. |
attrCreateTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute CreateTime: Creation time, which follows the format of YYYY-MM-DD 'T'hh:mm:ssZ, such as 2011-05-30 T12:11:4Z. |
attrCurrentMinorVersion |
@alicloud/ros-cdk-core.IResolvable |
Attribute CurrentMinorVersion: The current kernel image version. |
attrDbInstanceCategory |
@alicloud/ros-cdk-core.IResolvable |
Attribute DbInstanceCategory: The category of the db instance. |
attrDbInstanceCpu |
@alicloud/ros-cdk-core.IResolvable |
Attribute DbInstanceCpu: For example, instances can be grouped according to Cpu core count. |
attrDbInstanceDescription |
@alicloud/ros-cdk-core.IResolvable |
Attribute DbInstanceDescription: According to the practical example or notes. |
attrDbInstanceId |
@alicloud/ros-cdk-core.IResolvable |
Attribute DbInstanceId: The ID of the GDB Instance. |
attrDbInstanceIpArray |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBInstanceIPArray: IP ADDRESS whitelist for the instance group list. |
attrDbInstanceMemory |
@alicloud/ros-cdk-core.IResolvable |
Attribute DbInstanceMemory: Instance memory, which is measured in MB. |
attrDbInstanceNetworkType |
@alicloud/ros-cdk-core.IResolvable |
Attribute DbInstanceNetworkType: The network type of the db instance. |
attrDbInstanceStorageType |
@alicloud/ros-cdk-core.IResolvable |
Attribute DbInstanceStorageType: Cloud Disk. |
attrDbInstanceType |
@alicloud/ros-cdk-core.IResolvable |
Attribute DbInstanceType: The type of the db instance. |
attrDbNodeClass |
@alicloud/ros-cdk-core.IResolvable |
Attribute DbNodeClass: The class of the db node. |
attrDbNodeCount |
@alicloud/ros-cdk-core.IResolvable |
Attribute DbNodeCount: The count of the db node. |
attrDbNodeStorage |
@alicloud/ros-cdk-core.IResolvable |
Attribute DbNodeStorage: Instance storage space, which is measured in GB. |
attrDbVersion |
@alicloud/ros-cdk-core.IResolvable |
Attribute DbVersion: Kernel Version 1.0 is represented as gremlin,1. |
attrEcsSecurityGroupRelations |
@alicloud/ros-cdk-core.IResolvable |
Attribute EcsSecurityGroupRelations: Security group information array. |
attrExpired |
@alicloud/ros-cdk-core.IResolvable |
Attribute Expired: The expire status of the db instance. |
attrExpireTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute ExpireTime: The instance after it expires time for subscription instance. |
attrLatestMinorVersion |
@alicloud/ros-cdk-core.IResolvable |
Attribute LatestMinorVersion: The latest kernel image version. |
attrLockMode |
@alicloud/ros-cdk-core.IResolvable |
Attribute LockMode: Instance lock state. |
attrLockReason |
@alicloud/ros-cdk-core.IResolvable |
Attribute LockReason: An instance is locked the reason. |
attrMaintainTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute MaintainTime: Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance. |
attrPaymentType |
@alicloud/ros-cdk-core.IResolvable |
Attribute PaymentType: The DB instance attribute field representing the paid type is desirable. |
attrPort |
@alicloud/ros-cdk-core.IResolvable |
Attribute Port: Application Port. |
attrPublicConnectionString |
@alicloud/ros-cdk-core.IResolvable |
Attribute PublicConnectionString: The public connection string ID of the DB instance. |
attrPublicPort |
@alicloud/ros-cdk-core.IResolvable |
Attribute PublicPort: The public port ID of the DB instance. |
attrReadOnlyDbInstanceIds |
@alicloud/ros-cdk-core.IResolvable |
Attribute ReadOnlyDbInstanceIds: The array of the readonly db instances. |
attrResourceGroupId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ResourceGroupId: Resource Group ID. |
attrTags |
@alicloud/ros-cdk-core.IResolvable |
Attribute Tags: The tags of the GDB Instance. |
attrVpcId |
@alicloud/ros-cdk-core.IResolvable |
Attribute VpcId: The vpc id of the db instance. |
attrVSwitchId |
@alicloud/ros-cdk-core.IResolvable |
Attribute VSwitchId: The vswitch id of the DB instance. |
attrZoneId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ZoneId: The zone ID of the instance. |
node
Required
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public readonly ref: string;
- Type: string
stack
Required
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
resource
Optional
public readonly resource: RosResource;
- Type: @alicloud/ros-cdk-core.RosResource
attrConnectionString
Required
public readonly attrConnectionString: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ConnectionString: Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name.
attrCreateTime
Required
public readonly attrCreateTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CreateTime: Creation time, which follows the format of YYYY-MM-DD 'T'hh:mm:ssZ, such as 2011-05-30 T12:11:4Z.
attrCurrentMinorVersion
Required
public readonly attrCurrentMinorVersion: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CurrentMinorVersion: The current kernel image version.
attrDbInstanceCategory
Required
public readonly attrDbInstanceCategory: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DbInstanceCategory: The category of the db instance.
attrDbInstanceCpu
Required
public readonly attrDbInstanceCpu: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DbInstanceCpu: For example, instances can be grouped according to Cpu core count.
attrDbInstanceDescription
Required
public readonly attrDbInstanceDescription: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DbInstanceDescription: According to the practical example or notes.
attrDbInstanceId
Required
public readonly attrDbInstanceId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DbInstanceId: The ID of the GDB Instance.
attrDbInstanceIpArray
Required
public readonly attrDbInstanceIpArray: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DBInstanceIPArray: IP ADDRESS whitelist for the instance group list.
attrDbInstanceMemory
Required
public readonly attrDbInstanceMemory: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DbInstanceMemory: Instance memory, which is measured in MB.
attrDbInstanceNetworkType
Required
public readonly attrDbInstanceNetworkType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DbInstanceNetworkType: The network type of the db instance.
attrDbInstanceStorageType
Required
public readonly attrDbInstanceStorageType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DbInstanceStorageType: Cloud Disk.
attrDbInstanceType
Required
public readonly attrDbInstanceType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DbInstanceType: The type of the db instance.
attrDbNodeClass
Required
public readonly attrDbNodeClass: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DbNodeClass: The class of the db node.
attrDbNodeCount
Required
public readonly attrDbNodeCount: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DbNodeCount: The count of the db node.
attrDbNodeStorage
Required
public readonly attrDbNodeStorage: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DbNodeStorage: Instance storage space, which is measured in GB.
attrDbVersion
Required
public readonly attrDbVersion: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DbVersion: Kernel Version 1.0 is represented as gremlin,1.
attrEcsSecurityGroupRelations
Required
public readonly attrEcsSecurityGroupRelations: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute EcsSecurityGroupRelations: Security group information array.
attrExpired
Required
public readonly attrExpired: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Expired: The expire status of the db instance.
attrExpireTime
Required
public readonly attrExpireTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ExpireTime: The instance after it expires time for subscription instance.
attrLatestMinorVersion
Required
public readonly attrLatestMinorVersion: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute LatestMinorVersion: The latest kernel image version.
attrLockMode
Required
public readonly attrLockMode: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute LockMode: Instance lock state.
attrLockReason
Required
public readonly attrLockReason: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute LockReason: An instance is locked the reason.
attrMaintainTime
Required
public readonly attrMaintainTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute MaintainTime: Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.
attrPaymentType
Required
public readonly attrPaymentType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PaymentType: The DB instance attribute field representing the paid type is desirable.
attrPort
Required
public readonly attrPort: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Port: Application Port.
attrPublicConnectionString
Required
public readonly attrPublicConnectionString: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PublicConnectionString: The public connection string ID of the DB instance.
attrPublicPort
Required
public readonly attrPublicPort: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PublicPort: The public port ID of the DB instance.
attrReadOnlyDbInstanceIds
Required
public readonly attrReadOnlyDbInstanceIds: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ReadOnlyDbInstanceIds: The array of the readonly db instances.
attrResourceGroupId
Required
public readonly attrResourceGroupId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ResourceGroupId: Resource Group ID.
attrTags
Required
public readonly attrTags: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Tags: The tags of the GDB Instance.
attrVpcId
Required
public readonly attrVpcId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VpcId: The vpc id of the db instance.
attrVSwitchId
Required
public readonly attrVSwitchId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VSwitchId: The vswitch id of the DB instance.
attrZoneId
Required
public readonly attrZoneId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ZoneId: The zone ID of the instance.