Skip to content

SupabaseProject

This class encapsulates and extends the ROS resource type ALIYUN::GPDB::SupabaseProjectThe , which resource creates a Supabase project.

Initializers

import com.aliyun.ros.cdk.gpdb.SupabaseProject;
SupabaseProject.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .accountPassword(java.lang.String)
    .accountPassword(IResolvable)
    .projectName(java.lang.String)
    .projectName(IResolvable)
    .projectSpec(java.lang.String)
    .projectSpec(IResolvable)
    .securityIpList(java.lang.String)
    .securityIpList(IResolvable)
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
    .vSwitchId(java.lang.String)
    .vSwitchId(IResolvable)
    .zoneId(java.lang.String)
    .zoneId(IResolvable)
//  .databaseIpList(java.lang.String)
//  .databaseIpList(IResolvable)
//  .diskPerformanceLevel(java.lang.String)
//  .diskPerformanceLevel(IResolvable)
//  .payType(java.lang.String)
//  .payType(IResolvable)
//  .period(java.lang.String)
//  .period(IResolvable)
//  .storageSize(java.lang.Number)
//  .storageSize(IResolvable)
//  .usedTime(java.lang.Number)
//  .usedTime(IResolvable)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
accountPassword java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accountPassword: The password for the initial account.
projectName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property projectName: Project name.The naming rules are as follows: The length is 1~128 characters. Only English letters, numbers, dash (-) and underscore (). Must start with English letters or underscores ().
projectSpec java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property projectSpec: Supabase instance specification, default is 1C1G.
securityIpList java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property securityIpList: IP whitelist.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: VPC ID.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchId: vSwitch ID.
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property zoneId: Availability Zone ID.
databaseIpList java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property databaseIpList: Database IP list.
diskPerformanceLevel java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property diskPerformanceLevel: Cloud disk PL level, default PL0.
payType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property payType: The payment type.
period java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property period: The unit of the subscription duration.
storageSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property storageSize: Storage space size, unit GB, default 1GB.
usedTime java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property usedTime: The subscription duration.

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

accountPasswordRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property accountPassword: The password for the initial account.

It consists of three or more types of capital letters, lowercase letters, numbers, and special characters. Supported special characters: !@#$%^&*()_+-= The length is 8~32 characters.


projectNameRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property projectName: Project name.The naming rules are as follows: The length is 1~128 characters. Only English letters, numbers, dash (-) and underscore (). Must start with English letters or underscores ().


projectSpecRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property projectSpec: Supabase instance specification, default is 1C1G.


securityIpListRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property securityIpList: IP whitelist.

127.0.0.1 means that any external IP access is prohibited. You can call the ModifySecurityIps interface to modify the IP whitelist after the instance is created.


vpcIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: VPC ID.

illustrate You can call the DescribeRdsVpcs interface to view the available VPC IDs. This parameter must be passed in.


vSwitchIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchId: vSwitch ID.

illustrate vSwitchId is required. The Availability Zone where the vSwitch is located must be consistent with the ZoneId.


zoneIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property zoneId: Availability Zone ID.

Description You can call the DescribeRegions interface to view the available Availability Zone ID.


databaseIpListOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property databaseIpList: Database IP list.


diskPerformanceLevelOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property diskPerformanceLevel: Cloud disk PL level, default PL0.

Selectable value: PL0 PL1


payTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property payType: The payment type.


periodOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property period: The unit of the subscription duration.

Valid values:

  • Month
  • Year

This parameter is required if you use the subscription billing method.


storageSizeOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property storageSize: Storage space size, unit GB, default 1GB.


usedTimeOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property usedTime: The subscription duration.

Valid values:

  • If Period is set to Month, the valid values are 1 to 11.
  • If Period is set to Year, the valid values are 1 to 3.

This parameter is required if you use the subscription billing method.


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.
fetchCondition No description.
fetchDependency No description.
fetchResourceDesc No description.
getAtt No description.
setMetadata No description.

toString

public java.lang.String toString()

Returns a string representation of this construct.

synthesize

public void synthesize(ISynthesisSession session)

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.

sessionRequired

  • Type: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

fetchCondition

public RosCondition fetchCondition()

fetchDependency

public java.util.List<java.lang.String> fetchDependency()

fetchResourceDesc

public java.lang.String fetchResourceDesc()

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import com.aliyun.ros.cdk.gpdb.SupabaseProject;
SupabaseProject.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
ref java.lang.String No description.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
resource com.aliyun.ros.cdk.core.RosResource No description.
attrApiKeys java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ApiKeys: API keys.
attrEni java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Eni: Network interface.
attrPrivateConnectUrl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PrivateConnectUrl: Private connection URL.
attrProjectId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ProjectId: Supabase instance ID.
attrPublicConnectUrl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PublicConnectUrl: Public connection URL.
props SupabaseProjectProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.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.


refRequired

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrApiKeysRequired

public java.lang.Object getAttrApiKeys();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ApiKeys: API keys.


attrEniRequired

public java.lang.Object getAttrEni();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Eni: Network interface.


attrPrivateConnectUrlRequired

public java.lang.Object getAttrPrivateConnectUrl();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute PrivateConnectUrl: Private connection URL.


attrProjectIdRequired

public java.lang.Object getAttrProjectId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ProjectId: Supabase instance ID.


attrPublicConnectUrlRequired

public java.lang.Object getAttrPublicConnectUrl();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute PublicConnectUrl: Public connection URL.


propsRequired

public SupabaseProjectProps getProps();

Structs