Skip to content

Vpd

This class encapsulates and extends the ROS resource type ALIYUN::Eflo::Vpd.

Initializers

import com.aliyun.ros.cdk.eflo.Vpd;
Vpd.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .cidr(java.lang.String)
    .cidr(IResolvable)
    .vpdName(java.lang.String)
    .vpdName(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .secondaryCidrBlocks(IResolvable)
//  .secondaryCidrBlocks(java.util.List<java.lang.String)
//  .secondaryCidrBlocks(IResolvable>)
//  .subnets(IResolvable)
//  .subnets(java.util.List<IResolvable)
//  .subnets(SubnetsProperty>)
//  .tags(java.util.List<TagsProperty>)
    .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.
cidr java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property cidr: The CIDR block of the VPD.
vpdName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpdName: Lingjun CIDR block instance name.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: System-defined parameter.
secondaryCidrBlocks com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property secondaryCidrBlocks: List of additional network segment information.
subnets com.aliyun.ros.cdk.core.IResolvable OR java.util.ListSubnetsProperty> Property subnets: Lingjun subnet information List.
tags java.util.List<TagsProperty> Property tags: Tags of vpd.

scopeRequired

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

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

cidrRequired

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

Property cidr: The CIDR block of the VPD.

  • We recommend that you use an RFC private endpoint as the Lingjun CIDR block, such as 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16. In scenarios where the Doringjun CIDR block is connected to each other or where the Lingjun CIDR block is connected to a VPC, make sure that the addresses do not conflict with each other. * You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, or 169.254.0.0/16 and their subnets as the primary IPv4 CIDR block of the VPD.

vpdNameRequired

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

Property vpdName: Lingjun CIDR block instance name.


resourceGroupIdOptional

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

Property resourceGroupId: System-defined parameter.

Value: ChangeResourceGroup.


secondaryCidrBlocksOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property secondaryCidrBlocks: List of additional network segment information.


subnetsOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListSubnetsProperty>

Property subnets: Lingjun subnet information List.


tagsOptional

Property tags: Tags of vpd.


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.eflo.Vpd;
Vpd.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.
attrCidr java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Cidr: The CIDR block of the VPD.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: The creation time of the resource.
attrGmtModified java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute GmtModified: Modification time.
attrResourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ResourceGroupId: System-defined parameter.
attrSecondaryCidrBlocks java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SecondaryCidrBlocks: List of additional network segment information.
attrTags java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Tags: The tag of the resource.
attrVpdId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VpdId: The ID of the VPD.
attrVpdName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VpdName: Lingjun CIDR block instance name.
props VpdProps 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

attrCidrRequired

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

Attribute Cidr: The CIDR block of the VPD.

  • We recommend that you use an RFC private endpoint as the Lingjun CIDR block, such as 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16. In scenarios where the Doringjun CIDR block is connected to each other or where the Lingjun CIDR block is connected to a VPC, make sure that the addresses do not conflict with each other. * You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, or 169.254.0.0/16 and their subnets as the primary IPv4 CIDR block of the VPD.

attrCreateTimeRequired

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

Attribute CreateTime: The creation time of the resource.


attrGmtModifiedRequired

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

Attribute GmtModified: Modification time.


attrResourceGroupIdRequired

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

Attribute ResourceGroupId: System-defined parameter.

Value: ChangeResourceGroup.


attrSecondaryCidrBlocksRequired

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

Attribute SecondaryCidrBlocks: List of additional network segment information.


attrTagsRequired

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

Attribute Tags: The tag of the resource.


attrVpdIdRequired

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

Attribute VpdId: The ID of the VPD.


attrVpdNameRequired

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

Attribute VpdName: Lingjun CIDR block instance name.


propsRequired

public VpdProps getProps();

Structs