Skip to content

VpcProps

Properties for defining a Vpc.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vpc

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc/datasource"
&datasource.VpcProps {
    VpcId: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
VpcId interface{} Property vpcId: The ID of the VPC.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

VpcIdRequired

VpcId interface{}
  • Type: interface{}

Property vpcId: The ID of the VPC.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.