IVpc
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: com.aliyun.ros.cdk.vpc.datasource.Vpc, com.aliyun.ros.cdk.vpc.datasource.IVpc
Represents a Vpc.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrCidrBlock | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CidrBlock: The IPv4 CIDR block of the VPC. |
attrClassicLinkEnabled | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ClassicLinkEnabled: status of vpc ClassicLink.. |
attrCreateTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CreateTime: The time at which the VPC was created. |
attrDescription | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Description: The description of the VPC. |
attrDhcpOptionsSetId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DhcpOptionsSetId: The ID of the DHCP option set. |
attrIpv6CidrBlock | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Ipv6CidrBlock: The ipv6 cidr block of vpc. |
attrIpv6CidrBlocks | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Ipv6CidrBlocks: The IPv6 network segment of the VPC. |
attrIsDefault | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute IsDefault: Indicates whether to query the default VPC in the specified region. |
attrResourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ResourceGroupId: The ID of the resource group to which the VPC belongs. |
attrRouterId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute RouterId: The ID of the VRouter. |
attrSecondaryCidrBlocks | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute SecondaryCidrBlocks: Additional network segment information. |
attrTags | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Tags: The tags of Vpc. |
attrUserCidrs | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute UserCidrs: A list of user CIDRs. |
attrVpcId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute VpcId: The ID of the VPC. |
attrVpcName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute VpcName: The name of the VPC. |
attrVSwitchIds | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute VSwitchIds: A list of VSwitches in the VPC. |
props | VpcProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for 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.
stackRequired
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrCidrBlockRequired
public java.lang.Object getAttrCidrBlock();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CidrBlock: The IPv4 CIDR block of the VPC.
attrClassicLinkEnabledRequired
public java.lang.Object getAttrClassicLinkEnabled();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ClassicLinkEnabled: status of vpc ClassicLink..
attrCreateTimeRequired
public java.lang.Object getAttrCreateTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: The time at which the VPC was created.
attrDescriptionRequired
public java.lang.Object getAttrDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Description: The description of the VPC.
attrDhcpOptionsSetIdRequired
public java.lang.Object getAttrDhcpOptionsSetId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DhcpOptionsSetId: The ID of the DHCP option set.
attrIpv6CidrBlockRequired
public java.lang.Object getAttrIpv6CidrBlock();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Ipv6CidrBlock: The ipv6 cidr block of vpc.
attrIpv6CidrBlocksRequired
public java.lang.Object getAttrIpv6CidrBlocks();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Ipv6CidrBlocks: The IPv6 network segment of the VPC.
attrIsDefaultRequired
public java.lang.Object getAttrIsDefault();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute IsDefault: Indicates whether to query the default VPC in the specified region.
Valid values:
- true (default): All VPCs in the specified region are queried.
- false: The default VPC is not queried.
attrResourceGroupIdRequired
public java.lang.Object getAttrResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ResourceGroupId: The ID of the resource group to which the VPC belongs.
attrRouterIdRequired
public java.lang.Object getAttrRouterId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute RouterId: The ID of the VRouter.
attrSecondaryCidrBlocksRequired
public java.lang.Object getAttrSecondaryCidrBlocks();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute SecondaryCidrBlocks: Additional network segment information.
attrTagsRequired
public java.lang.Object getAttrTags();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Tags: The tags of Vpc.
attrUserCidrsRequired
public java.lang.Object getAttrUserCidrs();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute UserCidrs: A list of user CIDRs.
attrVpcIdRequired
public java.lang.Object getAttrVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute VpcId: The ID of the VPC.
attrVpcNameRequired
public java.lang.Object getAttrVpcName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute VpcName: The name of the VPC.
attrVSwitchIdsRequired
public java.lang.Object getAttrVSwitchIds();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute VSwitchIds: A list of VSwitches in the VPC.
propsRequired
public VpcProps getProps();
- Type: VpcProps