Instance
This class encapsulates and extends the ROS resource type ALIYUN::REDIS::Instance
, which is used to create a Tair (Redis OSS-compatible) instance.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkredis"
alicloudroscdkredis.NewInstance(scope Construct, id *string, props InstanceProps, enableResourcePropertyConstraint *bool) Instance
Name | Type | Description |
---|---|---|
scope |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct |
No description. |
id |
*string |
No description. |
props |
InstanceProps |
No description. |
enableResourcePropertyConstraint |
*bool |
No description. |
scope
Required
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
id
Required
- Type: *string
props
Optional
- Type: InstanceProps
enableResourcePropertyConstraint
Optional
- Type: *bool
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
func ToString() *string
Returns a string representation of this construct.
Synthesize
func Synthesize(session ISynthesisSession)
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: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- Type: interface{}
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkredis"
alicloudroscdkredis.Instance_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
Properties
Name | Type | Description |
---|---|---|
Node |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode |
The construct tree node associated with this construct. |
Ref |
*string |
No description. |
Stack |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack |
The stack in which this resource is defined. |
Resource |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource |
No description. |
AttrArchitectureType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ArchitectureType: The architecture. |
AttrBandwidth |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Bandwidth: The bandwidth of the instance. |
AttrCapacity |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Capacity: The storage capacity of the instance. |
AttrChargeType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ChargeType: The billing method of the instance. |
AttrClassicInnerConnectionPort |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ClassicInnerConnectionPort: The classic inner connection port of the instance. |
AttrClassicInnerConnectionString |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ClassicInnerConnectionString: The classic inner connection string of the instance. |
AttrConnectionDomain |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ConnectionDomain: Connection domain of created instance. |
AttrConnections |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Connections: The maximum number of connections supported by the instance. |
AttrDirectConnectionPort |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DirectConnectionPort: The direct connection port of the instance. |
AttrDirectConnectionString |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DirectConnectionString: The direct connection string of the instance. |
AttrEngineVersion |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute EngineVersion: The engine version of the instance. |
AttrHasRenewChangeOrder |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute HasRenewChangeOrder: Indicates whether the Alibaba Cloud account has pending renewal or scaling orders. |
AttrInstanceClass |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceClass: Redis instance type. |
AttrInstanceId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceId: Instance id of created redis instance. |
AttrInstanceName |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceName: Name of created redis instance. |
AttrInstanceType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceType: The engine type of the instance. |
AttrNetworkType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute NetworkType: The network type. |
AttrNodeType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute NodeType: The type of node. |
AttrOrderId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute OrderId: Order Id of created instance. |
AttrPackageType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PackageType: The plan type. |
AttrPort |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Port: Port of created instance. |
AttrPrivateIp |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PrivateIp: The internal IP address of the instance. |
AttrPublicConnectionPort |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PublicConnectionPort: The public connection port of the instance. |
AttrPublicConnectionString |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PublicConnectionString: The public connection string of the instance. |
AttrQps |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute QPS: The queries per second (QPS) supported by the instance. |
AttrResourceGroupId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ResourceGroupId: The ID of the resource group to which the instance belongs. |
AttrVpcId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute VpcId: The ID of the VPC. |
AttrVpcPrivateConnectionPort |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute VpcPrivateConnectionPort: The vpc private connection port of the instance. |
AttrVpcPrivateConnectionString |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute VpcPrivateConnectionString: The vpc private connection string of the instance. |
AttrVSwitchId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute VSwitchId: The ID of the vSwitch. |
AttrZoneId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ZoneId: The ID of the zone. |
Node
Required
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
Ref
Required
func Ref() *string
- Type: *string
Stack
Required
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
Resource
Optional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrArchitectureType
Required
func AttrArchitectureType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ArchitectureType: The architecture.
AttrBandwidth
Required
func AttrBandwidth() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Bandwidth: The bandwidth of the instance.
Unit: Mbit/s.
AttrCapacity
Required
func AttrCapacity() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Capacity: The storage capacity of the instance.
Unit: MB.
AttrChargeType
Required
func AttrChargeType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ChargeType: The billing method of the instance.
AttrClassicInnerConnectionPort
Required
func AttrClassicInnerConnectionPort() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ClassicInnerConnectionPort: The classic inner connection port of the instance.
AttrClassicInnerConnectionString
Required
func AttrClassicInnerConnectionString() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ClassicInnerConnectionString: The classic inner connection string of the instance.
AttrConnectionDomain
Required
func AttrConnectionDomain() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ConnectionDomain: Connection domain of created instance.
AttrConnections
Required
func AttrConnections() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Connections: The maximum number of connections supported by the instance.
AttrDirectConnectionPort
Required
func AttrDirectConnectionPort() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DirectConnectionPort: The direct connection port of the instance.
AttrDirectConnectionString
Required
func AttrDirectConnectionString() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DirectConnectionString: The direct connection string of the instance.
AttrEngineVersion
Required
func AttrEngineVersion() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute EngineVersion: The engine version of the instance.
AttrHasRenewChangeOrder
Required
func AttrHasRenewChangeOrder() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute HasRenewChangeOrder: Indicates whether the Alibaba Cloud account has pending renewal or scaling orders.
AttrInstanceClass
Required
func AttrInstanceClass() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceClass: Redis instance type.
AttrInstanceId
Required
func AttrInstanceId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceId: Instance id of created redis instance.
AttrInstanceName
Required
func AttrInstanceName() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceName: Name of created redis instance.
AttrInstanceType
Required
func AttrInstanceType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceType: The engine type of the instance.
AttrNetworkType
Required
func AttrNetworkType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute NetworkType: The network type.
AttrNodeType
Required
func AttrNodeType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute NodeType: The type of node.
AttrOrderId
Required
func AttrOrderId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute OrderId: Order Id of created instance.
AttrPackageType
Required
func AttrPackageType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PackageType: The plan type.
AttrPort
Required
func AttrPort() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Port: Port of created instance.
AttrPrivateIp
Required
func AttrPrivateIp() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PrivateIp: The internal IP address of the instance.
AttrPublicConnectionPort
Required
func AttrPublicConnectionPort() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PublicConnectionPort: The public connection port of the instance.
AttrPublicConnectionString
Required
func AttrPublicConnectionString() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PublicConnectionString: The public connection string of the instance.
AttrQps
Required
func AttrQps() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute QPS: The queries per second (QPS) supported by the instance.
AttrResourceGroupId
Required
func AttrResourceGroupId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.
AttrVpcId
Required
func AttrVpcId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VpcId: The ID of the VPC.
AttrVpcPrivateConnectionPort
Required
func AttrVpcPrivateConnectionPort() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VpcPrivateConnectionPort: The vpc private connection port of the instance.
AttrVpcPrivateConnectionString
Required
func AttrVpcPrivateConnectionString() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VpcPrivateConnectionString: The vpc private connection string of the instance.
AttrVSwitchId
Required
func AttrVSwitchId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VSwitchId: The ID of the vSwitch.
AttrZoneId
Required
func AttrZoneId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ZoneId: The ID of the zone.