Documentation ¶
Index ¶
- func Address_IsConstruct(x interface{}) *bool
- func Addresses_IsConstruct(x interface{}) *bool
- func AnycastEipAddress_IsConstruct(x interface{}) *bool
- func BgpPeer_IsConstruct(x interface{}) *bool
- func BgpPeers_IsConstruct(x interface{}) *bool
- func CommonBandwidthPackage_IsConstruct(x interface{}) *bool
- func CommonBandwidthPackages_IsConstruct(x interface{}) *bool
- func CustomerGateway_IsConstruct(x interface{}) *bool
- func CustomerGateways_IsConstruct(x interface{}) *bool
- func FlowLog_IsConstruct(x interface{}) *bool
- func FlowLogs_IsConstruct(x interface{}) *bool
- func HaVip_IsConstruct(x interface{}) *bool
- func HaVips_IsConstruct(x interface{}) *bool
- func Ipv4Gateway_IsConstruct(x interface{}) *bool
- func Ipv4Gateways_IsConstruct(x interface{}) *bool
- func NatGatewayZones_IsConstruct(x interface{}) *bool
- func NatGateway_IsConstruct(x interface{}) *bool
- func NatGateways_IsConstruct(x interface{}) *bool
- func NatIpCidrs_IsConstruct(x interface{}) *bool
- func NetworkAcls_IsConstruct(x interface{}) *bool
- func NewAddress_Override(a Address, scope alicloudroscdkcore.Construct, id *string, props *AddressProps, ...)
- func NewAddresses_Override(a Addresses, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewAnycastEipAddress_Override(a AnycastEipAddress, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewBgpPeer_Override(b BgpPeer, scope alicloudroscdkcore.Construct, id *string, props *BgpPeerProps, ...)
- func NewBgpPeers_Override(b BgpPeers, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewCommonBandwidthPackage_Override(c CommonBandwidthPackage, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewCommonBandwidthPackages_Override(c CommonBandwidthPackages, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewCustomerGateway_Override(c CustomerGateway, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewCustomerGateways_Override(c CustomerGateways, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewFlowLog_Override(f FlowLog, scope alicloudroscdkcore.Construct, id *string, props *FlowLogProps, ...)
- func NewFlowLogs_Override(f FlowLogs, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewHaVip_Override(h HaVip, scope alicloudroscdkcore.Construct, id *string, props *HaVipProps, ...)
- func NewHaVips_Override(h HaVips, scope alicloudroscdkcore.Construct, id *string, props *HaVipsProps, ...)
- func NewIpv4Gateway_Override(i Ipv4Gateway, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewIpv4Gateways_Override(i Ipv4Gateways, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewNatGatewayZones_Override(n NatGatewayZones, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewNatGateway_Override(n NatGateway, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewNatGateways_Override(n NatGateways, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewNatIpCidrs_Override(n NatIpCidrs, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewNetworkAcls_Override(n NetworkAcls, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewPrefixList_Override(p PrefixList, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewPrefixLists_Override(p PrefixLists, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewPublicIpAddressPool_Override(p PublicIpAddressPool, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewPublicIpAddressPools_Override(p PublicIpAddressPools, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosAddress_Override(r RosAddress, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosAddresses_Override(r RosAddresses, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosAnycastEipAddress_Override(r RosAnycastEipAddress, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosBgpPeer_Override(r RosBgpPeer, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosBgpPeers_Override(r RosBgpPeers, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosCommonBandwidthPackage_Override(r RosCommonBandwidthPackage, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosCommonBandwidthPackages_Override(r RosCommonBandwidthPackages, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosCustomerGateway_Override(r RosCustomerGateway, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosCustomerGateways_Override(r RosCustomerGateways, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosFlowLog_Override(r RosFlowLog, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosFlowLogs_Override(r RosFlowLogs, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosHaVip_Override(r RosHaVip, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosHaVips_Override(r RosHaVips, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosIpv4Gateway_Override(r RosIpv4Gateway, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosIpv4Gateways_Override(r RosIpv4Gateways, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosNatGatewayZones_Override(r RosNatGatewayZones, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosNatGateway_Override(r RosNatGateway, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosNatGateways_Override(r RosNatGateways, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosNatIpCidrs_Override(r RosNatIpCidrs, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosNetworkAcls_Override(r RosNetworkAcls, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosPrefixList_Override(r RosPrefixList, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosPrefixLists_Override(r RosPrefixLists, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosPublicIpAddressPool_Override(r RosPublicIpAddressPool, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosPublicIpAddressPools_Override(r RosPublicIpAddressPools, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosRouteEntries_Override(r RosRouteEntries, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosRouteTable_Override(r RosRouteTable, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosRouteTables_Override(r RosRouteTables, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosTrafficMirrorFilter_Override(r RosTrafficMirrorFilter, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosTrafficMirrorFilters_Override(r RosTrafficMirrorFilters, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosVSwitch_Override(r RosVSwitch, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosVSwitches_Override(r RosVSwitches, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosVpc_Override(r RosVpc, scope alicloudroscdkcore.Construct, id *string, props *RosVpcProps, ...)
- func NewRosVpcs_Override(r RosVpcs, scope alicloudroscdkcore.Construct, id *string, props *RosVpcsProps, ...)
- func NewRouteEntries_Override(r RouteEntries, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRouteTable_Override(r RouteTable, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRouteTables_Override(r RouteTables, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewTrafficMirrorFilter_Override(t TrafficMirrorFilter, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewTrafficMirrorFilters_Override(t TrafficMirrorFilters, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewVSwitch_Override(v VSwitch, scope alicloudroscdkcore.Construct, id *string, props *VSwitchProps, ...)
- func NewVSwitches_Override(v VSwitches, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewVpc_Override(v Vpc, scope alicloudroscdkcore.Construct, id *string, props *VpcProps, ...)
- func NewVpcs_Override(v Vpcs, scope alicloudroscdkcore.Construct, id *string, props *VpcsProps, ...)
- func PrefixList_IsConstruct(x interface{}) *bool
- func PrefixLists_IsConstruct(x interface{}) *bool
- func PublicIpAddressPool_IsConstruct(x interface{}) *bool
- func PublicIpAddressPools_IsConstruct(x interface{}) *bool
- func RosAddress_IsConstruct(x interface{}) *bool
- func RosAddress_IsRosElement(x interface{}) *bool
- func RosAddress_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosAddress_ROS_RESOURCE_TYPE_NAME() *string
- func RosAddresses_IsConstruct(x interface{}) *bool
- func RosAddresses_IsRosElement(x interface{}) *bool
- func RosAddresses_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosAddresses_ROS_RESOURCE_TYPE_NAME() *string
- func RosAnycastEipAddress_IsConstruct(x interface{}) *bool
- func RosAnycastEipAddress_IsRosElement(x interface{}) *bool
- func RosAnycastEipAddress_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosAnycastEipAddress_ROS_RESOURCE_TYPE_NAME() *string
- func RosBgpPeer_IsConstruct(x interface{}) *bool
- func RosBgpPeer_IsRosElement(x interface{}) *bool
- func RosBgpPeer_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosBgpPeer_ROS_RESOURCE_TYPE_NAME() *string
- func RosBgpPeers_IsConstruct(x interface{}) *bool
- func RosBgpPeers_IsRosElement(x interface{}) *bool
- func RosBgpPeers_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosBgpPeers_ROS_RESOURCE_TYPE_NAME() *string
- func RosCommonBandwidthPackage_IsConstruct(x interface{}) *bool
- func RosCommonBandwidthPackage_IsRosElement(x interface{}) *bool
- func RosCommonBandwidthPackage_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosCommonBandwidthPackage_ROS_RESOURCE_TYPE_NAME() *string
- func RosCommonBandwidthPackages_IsConstruct(x interface{}) *bool
- func RosCommonBandwidthPackages_IsRosElement(x interface{}) *bool
- func RosCommonBandwidthPackages_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosCommonBandwidthPackages_ROS_RESOURCE_TYPE_NAME() *string
- func RosCustomerGateway_IsConstruct(x interface{}) *bool
- func RosCustomerGateway_IsRosElement(x interface{}) *bool
- func RosCustomerGateway_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosCustomerGateway_ROS_RESOURCE_TYPE_NAME() *string
- func RosCustomerGateways_IsConstruct(x interface{}) *bool
- func RosCustomerGateways_IsRosElement(x interface{}) *bool
- func RosCustomerGateways_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosCustomerGateways_ROS_RESOURCE_TYPE_NAME() *string
- func RosFlowLog_IsConstruct(x interface{}) *bool
- func RosFlowLog_IsRosElement(x interface{}) *bool
- func RosFlowLog_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosFlowLog_ROS_RESOURCE_TYPE_NAME() *string
- func RosFlowLogs_IsConstruct(x interface{}) *bool
- func RosFlowLogs_IsRosElement(x interface{}) *bool
- func RosFlowLogs_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosFlowLogs_ROS_RESOURCE_TYPE_NAME() *string
- func RosHaVip_IsConstruct(x interface{}) *bool
- func RosHaVip_IsRosElement(x interface{}) *bool
- func RosHaVip_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosHaVip_ROS_RESOURCE_TYPE_NAME() *string
- func RosHaVips_IsConstruct(x interface{}) *bool
- func RosHaVips_IsRosElement(x interface{}) *bool
- func RosHaVips_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosHaVips_ROS_RESOURCE_TYPE_NAME() *string
- func RosIpv4Gateway_IsConstruct(x interface{}) *bool
- func RosIpv4Gateway_IsRosElement(x interface{}) *bool
- func RosIpv4Gateway_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosIpv4Gateway_ROS_RESOURCE_TYPE_NAME() *string
- func RosIpv4Gateways_IsConstruct(x interface{}) *bool
- func RosIpv4Gateways_IsRosElement(x interface{}) *bool
- func RosIpv4Gateways_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosIpv4Gateways_ROS_RESOURCE_TYPE_NAME() *string
- func RosNatGatewayZones_IsConstruct(x interface{}) *bool
- func RosNatGatewayZones_IsRosElement(x interface{}) *bool
- func RosNatGatewayZones_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosNatGatewayZones_ROS_RESOURCE_TYPE_NAME() *string
- func RosNatGateway_IsConstruct(x interface{}) *bool
- func RosNatGateway_IsRosElement(x interface{}) *bool
- func RosNatGateway_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosNatGateway_ROS_RESOURCE_TYPE_NAME() *string
- func RosNatGateways_IsConstruct(x interface{}) *bool
- func RosNatGateways_IsRosElement(x interface{}) *bool
- func RosNatGateways_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosNatGateways_ROS_RESOURCE_TYPE_NAME() *string
- func RosNatIpCidrs_IsConstruct(x interface{}) *bool
- func RosNatIpCidrs_IsRosElement(x interface{}) *bool
- func RosNatIpCidrs_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosNatIpCidrs_ROS_RESOURCE_TYPE_NAME() *string
- func RosNetworkAcls_IsConstruct(x interface{}) *bool
- func RosNetworkAcls_IsRosElement(x interface{}) *bool
- func RosNetworkAcls_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosNetworkAcls_ROS_RESOURCE_TYPE_NAME() *string
- func RosPrefixList_IsConstruct(x interface{}) *bool
- func RosPrefixList_IsRosElement(x interface{}) *bool
- func RosPrefixList_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosPrefixList_ROS_RESOURCE_TYPE_NAME() *string
- func RosPrefixLists_IsConstruct(x interface{}) *bool
- func RosPrefixLists_IsRosElement(x interface{}) *bool
- func RosPrefixLists_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosPrefixLists_ROS_RESOURCE_TYPE_NAME() *string
- func RosPublicIpAddressPool_IsConstruct(x interface{}) *bool
- func RosPublicIpAddressPool_IsRosElement(x interface{}) *bool
- func RosPublicIpAddressPool_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosPublicIpAddressPool_ROS_RESOURCE_TYPE_NAME() *string
- func RosPublicIpAddressPools_IsConstruct(x interface{}) *bool
- func RosPublicIpAddressPools_IsRosElement(x interface{}) *bool
- func RosPublicIpAddressPools_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosPublicIpAddressPools_ROS_RESOURCE_TYPE_NAME() *string
- func RosRouteEntries_IsConstruct(x interface{}) *bool
- func RosRouteEntries_IsRosElement(x interface{}) *bool
- func RosRouteEntries_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosRouteEntries_ROS_RESOURCE_TYPE_NAME() *string
- func RosRouteTable_IsConstruct(x interface{}) *bool
- func RosRouteTable_IsRosElement(x interface{}) *bool
- func RosRouteTable_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosRouteTable_ROS_RESOURCE_TYPE_NAME() *string
- func RosRouteTables_IsConstruct(x interface{}) *bool
- func RosRouteTables_IsRosElement(x interface{}) *bool
- func RosRouteTables_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosRouteTables_ROS_RESOURCE_TYPE_NAME() *string
- func RosTrafficMirrorFilter_IsConstruct(x interface{}) *bool
- func RosTrafficMirrorFilter_IsRosElement(x interface{}) *bool
- func RosTrafficMirrorFilter_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosTrafficMirrorFilter_ROS_RESOURCE_TYPE_NAME() *string
- func RosTrafficMirrorFilters_IsConstruct(x interface{}) *bool
- func RosTrafficMirrorFilters_IsRosElement(x interface{}) *bool
- func RosTrafficMirrorFilters_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosTrafficMirrorFilters_ROS_RESOURCE_TYPE_NAME() *string
- func RosVSwitch_IsConstruct(x interface{}) *bool
- func RosVSwitch_IsRosElement(x interface{}) *bool
- func RosVSwitch_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosVSwitch_ROS_RESOURCE_TYPE_NAME() *string
- func RosVSwitches_IsConstruct(x interface{}) *bool
- func RosVSwitches_IsRosElement(x interface{}) *bool
- func RosVSwitches_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosVSwitches_ROS_RESOURCE_TYPE_NAME() *string
- func RosVpc_IsConstruct(x interface{}) *bool
- func RosVpc_IsRosElement(x interface{}) *bool
- func RosVpc_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosVpc_ROS_RESOURCE_TYPE_NAME() *string
- func RosVpcs_IsConstruct(x interface{}) *bool
- func RosVpcs_IsRosElement(x interface{}) *bool
- func RosVpcs_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosVpcs_ROS_RESOURCE_TYPE_NAME() *string
- func RouteEntries_IsConstruct(x interface{}) *bool
- func RouteTable_IsConstruct(x interface{}) *bool
- func RouteTables_IsConstruct(x interface{}) *bool
- func TrafficMirrorFilter_IsConstruct(x interface{}) *bool
- func TrafficMirrorFilters_IsConstruct(x interface{}) *bool
- func VSwitch_IsConstruct(x interface{}) *bool
- func VSwitches_IsConstruct(x interface{}) *bool
- func Vpc_IsConstruct(x interface{}) *bool
- func Vpcs_IsConstruct(x interface{}) *bool
- type Address
- type AddressProps
- type Addresses
- type AddressesProps
- type AnycastEipAddress
- type AnycastEipAddressProps
- type BgpPeer
- type BgpPeerProps
- type BgpPeers
- type BgpPeersProps
- type CommonBandwidthPackage
- type CommonBandwidthPackageProps
- type CommonBandwidthPackages
- type CommonBandwidthPackagesProps
- type CustomerGateway
- type CustomerGatewayProps
- type CustomerGateways
- type CustomerGatewaysProps
- type FlowLog
- type FlowLogProps
- type FlowLogs
- type FlowLogsProps
- type HaVip
- type HaVipProps
- type HaVips
- type HaVipsProps
- type IAddress
- type IAddresses
- type IAnycastEipAddress
- type IBgpPeer
- type IBgpPeers
- type ICommonBandwidthPackage
- type ICommonBandwidthPackages
- type ICustomerGateway
- type ICustomerGateways
- type IFlowLog
- type IFlowLogs
- type IHaVip
- type IHaVips
- type IIpv4Gateway
- type IIpv4Gateways
- type INatGateway
- type INatGatewayZones
- type INatGateways
- type INatIpCidrs
- type INetworkAcls
- type IPrefixList
- type IPrefixLists
- type IPublicIpAddressPool
- type IPublicIpAddressPools
- type IRouteEntries
- type IRouteTable
- type IRouteTables
- type ITrafficMirrorFilter
- type ITrafficMirrorFilters
- type IVSwitch
- type IVSwitches
- type IVpc
- type IVpcs
- type Ipv4Gateway
- type Ipv4GatewayProps
- type Ipv4Gateways
- type Ipv4GatewaysProps
- type NatGateway
- type NatGatewayProps
- type NatGatewayZones
- type NatGatewayZonesProps
- type NatGateways
- type NatGatewaysProps
- type NatIpCidrs
- type NatIpCidrsProps
- type NetworkAcls
- type NetworkAclsProps
- type PrefixList
- type PrefixListProps
- type PrefixLists
- type PrefixListsProps
- type PublicIpAddressPool
- type PublicIpAddressPoolProps
- type PublicIpAddressPools
- type PublicIpAddressPoolsProps
- type RosAddress
- type RosAddressProps
- type RosAddresses
- type RosAddressesProps
- type RosAnycastEipAddress
- type RosAnycastEipAddressProps
- type RosBgpPeer
- type RosBgpPeerProps
- type RosBgpPeers
- type RosBgpPeersProps
- type RosCommonBandwidthPackage
- type RosCommonBandwidthPackageProps
- type RosCommonBandwidthPackages
- type RosCommonBandwidthPackagesProps
- type RosCustomerGateway
- type RosCustomerGatewayProps
- type RosCustomerGateways
- type RosCustomerGatewaysProps
- type RosFlowLog
- type RosFlowLogProps
- type RosFlowLogs
- type RosFlowLogsProps
- type RosHaVip
- type RosHaVipProps
- type RosHaVips
- type RosHaVipsProps
- type RosIpv4Gateway
- type RosIpv4GatewayProps
- type RosIpv4Gateways
- type RosIpv4GatewaysProps
- type RosNatGateway
- type RosNatGatewayProps
- type RosNatGatewayZones
- type RosNatGatewayZonesProps
- type RosNatGateways
- type RosNatGatewaysProps
- type RosNatIpCidrs
- type RosNatIpCidrsProps
- type RosNetworkAcls
- type RosNetworkAclsProps
- type RosPrefixList
- type RosPrefixListProps
- type RosPrefixLists
- type RosPrefixListsProps
- type RosPublicIpAddressPool
- type RosPublicIpAddressPoolProps
- type RosPublicIpAddressPools
- type RosPublicIpAddressPoolsProps
- type RosRouteEntries
- type RosRouteEntriesProps
- type RosRouteTable
- type RosRouteTableProps
- type RosRouteTables
- type RosRouteTablesProps
- type RosTrafficMirrorFilter
- type RosTrafficMirrorFilterProps
- type RosTrafficMirrorFilters
- type RosTrafficMirrorFiltersProps
- type RosVSwitch
- type RosVSwitchProps
- type RosVSwitches
- type RosVSwitchesProps
- type RosVpc
- type RosVpcProps
- type RosVpcs
- type RosVpcsProps
- type RouteEntries
- type RouteEntriesProps
- type RouteTable
- type RouteTableProps
- type RouteTables
- type RouteTablesProps
- type TrafficMirrorFilter
- type TrafficMirrorFilterProps
- type TrafficMirrorFilters
- type TrafficMirrorFiltersProps
- type VSwitch
- type VSwitchProps
- type VSwitches
- type VSwitchesProps
- type Vpc
- type VpcProps
- type Vpcs
- type VpcsProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Address_IsConstruct ¶
func Address_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Addresses_IsConstruct ¶
func Addresses_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func AnycastEipAddress_IsConstruct ¶
func AnycastEipAddress_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func BgpPeer_IsConstruct ¶
func BgpPeer_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func BgpPeers_IsConstruct ¶
func BgpPeers_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func CommonBandwidthPackage_IsConstruct ¶
func CommonBandwidthPackage_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func CommonBandwidthPackages_IsConstruct ¶
func CommonBandwidthPackages_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func CustomerGateway_IsConstruct ¶
func CustomerGateway_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func CustomerGateways_IsConstruct ¶
func CustomerGateways_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func FlowLog_IsConstruct ¶
func FlowLog_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func FlowLogs_IsConstruct ¶
func FlowLogs_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func HaVip_IsConstruct ¶
func HaVip_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func HaVips_IsConstruct ¶
func HaVips_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Ipv4Gateway_IsConstruct ¶
func Ipv4Gateway_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Ipv4Gateways_IsConstruct ¶
func Ipv4Gateways_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func NatGatewayZones_IsConstruct ¶
func NatGatewayZones_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func NatGateway_IsConstruct ¶
func NatGateway_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func NatGateways_IsConstruct ¶
func NatGateways_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func NatIpCidrs_IsConstruct ¶
func NatIpCidrs_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func NetworkAcls_IsConstruct ¶
func NetworkAcls_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func NewAddress_Override ¶
func NewAddress_Override(a Address, scope alicloudroscdkcore.Construct, id *string, props *AddressProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewAddresses_Override ¶
func NewAddresses_Override(a Addresses, scope alicloudroscdkcore.Construct, id *string, props *AddressesProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewAnycastEipAddress_Override ¶
func NewAnycastEipAddress_Override(a AnycastEipAddress, scope alicloudroscdkcore.Construct, id *string, props *AnycastEipAddressProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewBgpPeer_Override ¶
func NewBgpPeer_Override(b BgpPeer, scope alicloudroscdkcore.Construct, id *string, props *BgpPeerProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewBgpPeers_Override ¶
func NewBgpPeers_Override(b BgpPeers, scope alicloudroscdkcore.Construct, id *string, props *BgpPeersProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewCommonBandwidthPackage_Override ¶
func NewCommonBandwidthPackage_Override(c CommonBandwidthPackage, scope alicloudroscdkcore.Construct, id *string, props *CommonBandwidthPackageProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewCommonBandwidthPackages_Override ¶
func NewCommonBandwidthPackages_Override(c CommonBandwidthPackages, scope alicloudroscdkcore.Construct, id *string, props *CommonBandwidthPackagesProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewCustomerGateway_Override ¶
func NewCustomerGateway_Override(c CustomerGateway, scope alicloudroscdkcore.Construct, id *string, props *CustomerGatewayProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewCustomerGateways_Override ¶
func NewCustomerGateways_Override(c CustomerGateways, scope alicloudroscdkcore.Construct, id *string, props *CustomerGatewaysProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewFlowLog_Override ¶
func NewFlowLog_Override(f FlowLog, scope alicloudroscdkcore.Construct, id *string, props *FlowLogProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewFlowLogs_Override ¶
func NewFlowLogs_Override(f FlowLogs, scope alicloudroscdkcore.Construct, id *string, props *FlowLogsProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewHaVip_Override ¶
func NewHaVip_Override(h HaVip, scope alicloudroscdkcore.Construct, id *string, props *HaVipProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewHaVips_Override ¶
func NewHaVips_Override(h HaVips, scope alicloudroscdkcore.Construct, id *string, props *HaVipsProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewIpv4Gateway_Override ¶
func NewIpv4Gateway_Override(i Ipv4Gateway, scope alicloudroscdkcore.Construct, id *string, props *Ipv4GatewayProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewIpv4Gateways_Override ¶
func NewIpv4Gateways_Override(i Ipv4Gateways, scope alicloudroscdkcore.Construct, id *string, props *Ipv4GatewaysProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewNatGatewayZones_Override ¶
func NewNatGatewayZones_Override(n NatGatewayZones, scope alicloudroscdkcore.Construct, id *string, props *NatGatewayZonesProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewNatGateway_Override ¶
func NewNatGateway_Override(n NatGateway, scope alicloudroscdkcore.Construct, id *string, props *NatGatewayProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewNatGateways_Override ¶
func NewNatGateways_Override(n NatGateways, scope alicloudroscdkcore.Construct, id *string, props *NatGatewaysProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewNatIpCidrs_Override ¶
func NewNatIpCidrs_Override(n NatIpCidrs, scope alicloudroscdkcore.Construct, id *string, props *NatIpCidrsProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewNetworkAcls_Override ¶
func NewNetworkAcls_Override(n NetworkAcls, scope alicloudroscdkcore.Construct, id *string, props *NetworkAclsProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewPrefixList_Override ¶
func NewPrefixList_Override(p PrefixList, scope alicloudroscdkcore.Construct, id *string, props *PrefixListProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewPrefixLists_Override ¶
func NewPrefixLists_Override(p PrefixLists, scope alicloudroscdkcore.Construct, id *string, props *PrefixListsProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewPublicIpAddressPool_Override ¶
func NewPublicIpAddressPool_Override(p PublicIpAddressPool, scope alicloudroscdkcore.Construct, id *string, props *PublicIpAddressPoolProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewPublicIpAddressPools_Override ¶
func NewPublicIpAddressPools_Override(p PublicIpAddressPools, scope alicloudroscdkcore.Construct, id *string, props *PublicIpAddressPoolsProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewRosAddress_Override ¶
func NewRosAddress_Override(r RosAddress, scope alicloudroscdkcore.Construct, id *string, props *RosAddressProps, enableResourcePropertyConstraint *bool)
func NewRosAddresses_Override ¶
func NewRosAddresses_Override(r RosAddresses, scope alicloudroscdkcore.Construct, id *string, props *RosAddressesProps, enableResourcePropertyConstraint *bool)
func NewRosAnycastEipAddress_Override ¶
func NewRosAnycastEipAddress_Override(r RosAnycastEipAddress, scope alicloudroscdkcore.Construct, id *string, props *RosAnycastEipAddressProps, enableResourcePropertyConstraint *bool)
func NewRosBgpPeer_Override ¶
func NewRosBgpPeer_Override(r RosBgpPeer, scope alicloudroscdkcore.Construct, id *string, props *RosBgpPeerProps, enableResourcePropertyConstraint *bool)
func NewRosBgpPeers_Override ¶
func NewRosBgpPeers_Override(r RosBgpPeers, scope alicloudroscdkcore.Construct, id *string, props *RosBgpPeersProps, enableResourcePropertyConstraint *bool)
func NewRosCommonBandwidthPackage_Override ¶
func NewRosCommonBandwidthPackage_Override(r RosCommonBandwidthPackage, scope alicloudroscdkcore.Construct, id *string, props *RosCommonBandwidthPackageProps, enableResourcePropertyConstraint *bool)
func NewRosCommonBandwidthPackages_Override ¶
func NewRosCommonBandwidthPackages_Override(r RosCommonBandwidthPackages, scope alicloudroscdkcore.Construct, id *string, props *RosCommonBandwidthPackagesProps, enableResourcePropertyConstraint *bool)
func NewRosCustomerGateway_Override ¶
func NewRosCustomerGateway_Override(r RosCustomerGateway, scope alicloudroscdkcore.Construct, id *string, props *RosCustomerGatewayProps, enableResourcePropertyConstraint *bool)
func NewRosCustomerGateways_Override ¶
func NewRosCustomerGateways_Override(r RosCustomerGateways, scope alicloudroscdkcore.Construct, id *string, props *RosCustomerGatewaysProps, enableResourcePropertyConstraint *bool)
func NewRosFlowLog_Override ¶
func NewRosFlowLog_Override(r RosFlowLog, scope alicloudroscdkcore.Construct, id *string, props *RosFlowLogProps, enableResourcePropertyConstraint *bool)
func NewRosFlowLogs_Override ¶
func NewRosFlowLogs_Override(r RosFlowLogs, scope alicloudroscdkcore.Construct, id *string, props *RosFlowLogsProps, enableResourcePropertyConstraint *bool)
func NewRosHaVip_Override ¶
func NewRosHaVip_Override(r RosHaVip, scope alicloudroscdkcore.Construct, id *string, props *RosHaVipProps, enableResourcePropertyConstraint *bool)
func NewRosHaVips_Override ¶
func NewRosHaVips_Override(r RosHaVips, scope alicloudroscdkcore.Construct, id *string, props *RosHaVipsProps, enableResourcePropertyConstraint *bool)
func NewRosIpv4Gateway_Override ¶
func NewRosIpv4Gateway_Override(r RosIpv4Gateway, scope alicloudroscdkcore.Construct, id *string, props *RosIpv4GatewayProps, enableResourcePropertyConstraint *bool)
func NewRosIpv4Gateways_Override ¶
func NewRosIpv4Gateways_Override(r RosIpv4Gateways, scope alicloudroscdkcore.Construct, id *string, props *RosIpv4GatewaysProps, enableResourcePropertyConstraint *bool)
func NewRosNatGatewayZones_Override ¶
func NewRosNatGatewayZones_Override(r RosNatGatewayZones, scope alicloudroscdkcore.Construct, id *string, props *RosNatGatewayZonesProps, enableResourcePropertyConstraint *bool)
func NewRosNatGateway_Override ¶
func NewRosNatGateway_Override(r RosNatGateway, scope alicloudroscdkcore.Construct, id *string, props *RosNatGatewayProps, enableResourcePropertyConstraint *bool)
func NewRosNatGateways_Override ¶
func NewRosNatGateways_Override(r RosNatGateways, scope alicloudroscdkcore.Construct, id *string, props *RosNatGatewaysProps, enableResourcePropertyConstraint *bool)
func NewRosNatIpCidrs_Override ¶
func NewRosNatIpCidrs_Override(r RosNatIpCidrs, scope alicloudroscdkcore.Construct, id *string, props *RosNatIpCidrsProps, enableResourcePropertyConstraint *bool)
func NewRosNetworkAcls_Override ¶
func NewRosNetworkAcls_Override(r RosNetworkAcls, scope alicloudroscdkcore.Construct, id *string, props *RosNetworkAclsProps, enableResourcePropertyConstraint *bool)
func NewRosPrefixList_Override ¶
func NewRosPrefixList_Override(r RosPrefixList, scope alicloudroscdkcore.Construct, id *string, props *RosPrefixListProps, enableResourcePropertyConstraint *bool)
func NewRosPrefixLists_Override ¶
func NewRosPrefixLists_Override(r RosPrefixLists, scope alicloudroscdkcore.Construct, id *string, props *RosPrefixListsProps, enableResourcePropertyConstraint *bool)
func NewRosPublicIpAddressPool_Override ¶
func NewRosPublicIpAddressPool_Override(r RosPublicIpAddressPool, scope alicloudroscdkcore.Construct, id *string, props *RosPublicIpAddressPoolProps, enableResourcePropertyConstraint *bool)
func NewRosPublicIpAddressPools_Override ¶
func NewRosPublicIpAddressPools_Override(r RosPublicIpAddressPools, scope alicloudroscdkcore.Construct, id *string, props *RosPublicIpAddressPoolsProps, enableResourcePropertyConstraint *bool)
func NewRosRouteEntries_Override ¶
func NewRosRouteEntries_Override(r RosRouteEntries, scope alicloudroscdkcore.Construct, id *string, props *RosRouteEntriesProps, enableResourcePropertyConstraint *bool)
func NewRosRouteTable_Override ¶
func NewRosRouteTable_Override(r RosRouteTable, scope alicloudroscdkcore.Construct, id *string, props *RosRouteTableProps, enableResourcePropertyConstraint *bool)
func NewRosRouteTables_Override ¶
func NewRosRouteTables_Override(r RosRouteTables, scope alicloudroscdkcore.Construct, id *string, props *RosRouteTablesProps, enableResourcePropertyConstraint *bool)
func NewRosTrafficMirrorFilter_Override ¶
func NewRosTrafficMirrorFilter_Override(r RosTrafficMirrorFilter, scope alicloudroscdkcore.Construct, id *string, props *RosTrafficMirrorFilterProps, enableResourcePropertyConstraint *bool)
func NewRosTrafficMirrorFilters_Override ¶
func NewRosTrafficMirrorFilters_Override(r RosTrafficMirrorFilters, scope alicloudroscdkcore.Construct, id *string, props *RosTrafficMirrorFiltersProps, enableResourcePropertyConstraint *bool)
func NewRosVSwitch_Override ¶
func NewRosVSwitch_Override(r RosVSwitch, scope alicloudroscdkcore.Construct, id *string, props *RosVSwitchProps, enableResourcePropertyConstraint *bool)
func NewRosVSwitches_Override ¶
func NewRosVSwitches_Override(r RosVSwitches, scope alicloudroscdkcore.Construct, id *string, props *RosVSwitchesProps, enableResourcePropertyConstraint *bool)
func NewRosVpc_Override ¶
func NewRosVpc_Override(r RosVpc, scope alicloudroscdkcore.Construct, id *string, props *RosVpcProps, enableResourcePropertyConstraint *bool)
func NewRosVpcs_Override ¶
func NewRosVpcs_Override(r RosVpcs, scope alicloudroscdkcore.Construct, id *string, props *RosVpcsProps, enableResourcePropertyConstraint *bool)
func NewRouteEntries_Override ¶
func NewRouteEntries_Override(r RouteEntries, scope alicloudroscdkcore.Construct, id *string, props *RouteEntriesProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewRouteTable_Override ¶
func NewRouteTable_Override(r RouteTable, scope alicloudroscdkcore.Construct, id *string, props *RouteTableProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewRouteTables_Override ¶
func NewRouteTables_Override(r RouteTables, scope alicloudroscdkcore.Construct, id *string, props *RouteTablesProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewTrafficMirrorFilter_Override ¶
func NewTrafficMirrorFilter_Override(t TrafficMirrorFilter, scope alicloudroscdkcore.Construct, id *string, props *TrafficMirrorFilterProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewTrafficMirrorFilters_Override ¶
func NewTrafficMirrorFilters_Override(t TrafficMirrorFilters, scope alicloudroscdkcore.Construct, id *string, props *TrafficMirrorFiltersProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewVSwitch_Override ¶
func NewVSwitch_Override(v VSwitch, scope alicloudroscdkcore.Construct, id *string, props *VSwitchProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewVSwitches_Override ¶
func NewVSwitches_Override(v VSwitches, scope alicloudroscdkcore.Construct, id *string, props *VSwitchesProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewVpc_Override ¶
func NewVpc_Override(v Vpc, scope alicloudroscdkcore.Construct, id *string, props *VpcProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewVpcs_Override ¶
func NewVpcs_Override(v Vpcs, scope alicloudroscdkcore.Construct, id *string, props *VpcsProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func PrefixList_IsConstruct ¶
func PrefixList_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func PrefixLists_IsConstruct ¶
func PrefixLists_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func PublicIpAddressPool_IsConstruct ¶
func PublicIpAddressPool_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func PublicIpAddressPools_IsConstruct ¶
func PublicIpAddressPools_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosAddress_IsConstruct ¶
func RosAddress_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosAddress_IsRosElement ¶
func RosAddress_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosAddress_IsRosResource ¶
func RosAddress_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosAddress_ROS_RESOURCE_TYPE_NAME ¶
func RosAddress_ROS_RESOURCE_TYPE_NAME() *string
func RosAddresses_IsConstruct ¶
func RosAddresses_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosAddresses_IsRosElement ¶
func RosAddresses_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosAddresses_IsRosResource ¶
func RosAddresses_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosAddresses_ROS_RESOURCE_TYPE_NAME ¶
func RosAddresses_ROS_RESOURCE_TYPE_NAME() *string
func RosAnycastEipAddress_IsConstruct ¶
func RosAnycastEipAddress_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosAnycastEipAddress_IsRosElement ¶
func RosAnycastEipAddress_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosAnycastEipAddress_IsRosResource ¶
func RosAnycastEipAddress_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosAnycastEipAddress_ROS_RESOURCE_TYPE_NAME ¶
func RosAnycastEipAddress_ROS_RESOURCE_TYPE_NAME() *string
func RosBgpPeer_IsConstruct ¶
func RosBgpPeer_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosBgpPeer_IsRosElement ¶
func RosBgpPeer_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosBgpPeer_IsRosResource ¶
func RosBgpPeer_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosBgpPeer_ROS_RESOURCE_TYPE_NAME ¶
func RosBgpPeer_ROS_RESOURCE_TYPE_NAME() *string
func RosBgpPeers_IsConstruct ¶
func RosBgpPeers_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosBgpPeers_IsRosElement ¶
func RosBgpPeers_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosBgpPeers_IsRosResource ¶
func RosBgpPeers_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosBgpPeers_ROS_RESOURCE_TYPE_NAME ¶
func RosBgpPeers_ROS_RESOURCE_TYPE_NAME() *string
func RosCommonBandwidthPackage_IsConstruct ¶
func RosCommonBandwidthPackage_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosCommonBandwidthPackage_IsRosElement ¶
func RosCommonBandwidthPackage_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosCommonBandwidthPackage_IsRosResource ¶
func RosCommonBandwidthPackage_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosCommonBandwidthPackage_ROS_RESOURCE_TYPE_NAME ¶
func RosCommonBandwidthPackage_ROS_RESOURCE_TYPE_NAME() *string
func RosCommonBandwidthPackages_IsConstruct ¶
func RosCommonBandwidthPackages_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosCommonBandwidthPackages_IsRosElement ¶
func RosCommonBandwidthPackages_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosCommonBandwidthPackages_IsRosResource ¶
func RosCommonBandwidthPackages_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosCommonBandwidthPackages_ROS_RESOURCE_TYPE_NAME ¶
func RosCommonBandwidthPackages_ROS_RESOURCE_TYPE_NAME() *string
func RosCustomerGateway_IsConstruct ¶
func RosCustomerGateway_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosCustomerGateway_IsRosElement ¶
func RosCustomerGateway_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosCustomerGateway_IsRosResource ¶
func RosCustomerGateway_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosCustomerGateway_ROS_RESOURCE_TYPE_NAME ¶
func RosCustomerGateway_ROS_RESOURCE_TYPE_NAME() *string
func RosCustomerGateways_IsConstruct ¶
func RosCustomerGateways_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosCustomerGateways_IsRosElement ¶
func RosCustomerGateways_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosCustomerGateways_IsRosResource ¶
func RosCustomerGateways_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosCustomerGateways_ROS_RESOURCE_TYPE_NAME ¶
func RosCustomerGateways_ROS_RESOURCE_TYPE_NAME() *string
func RosFlowLog_IsConstruct ¶
func RosFlowLog_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosFlowLog_IsRosElement ¶
func RosFlowLog_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosFlowLog_IsRosResource ¶
func RosFlowLog_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosFlowLog_ROS_RESOURCE_TYPE_NAME ¶
func RosFlowLog_ROS_RESOURCE_TYPE_NAME() *string
func RosFlowLogs_IsConstruct ¶
func RosFlowLogs_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosFlowLogs_IsRosElement ¶
func RosFlowLogs_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosFlowLogs_IsRosResource ¶
func RosFlowLogs_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosFlowLogs_ROS_RESOURCE_TYPE_NAME ¶
func RosFlowLogs_ROS_RESOURCE_TYPE_NAME() *string
func RosHaVip_IsConstruct ¶
func RosHaVip_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosHaVip_IsRosElement ¶
func RosHaVip_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosHaVip_IsRosResource ¶
func RosHaVip_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosHaVip_ROS_RESOURCE_TYPE_NAME ¶
func RosHaVip_ROS_RESOURCE_TYPE_NAME() *string
func RosHaVips_IsConstruct ¶
func RosHaVips_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosHaVips_IsRosElement ¶
func RosHaVips_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosHaVips_IsRosResource ¶
func RosHaVips_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosHaVips_ROS_RESOURCE_TYPE_NAME ¶
func RosHaVips_ROS_RESOURCE_TYPE_NAME() *string
func RosIpv4Gateway_IsConstruct ¶
func RosIpv4Gateway_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosIpv4Gateway_IsRosElement ¶
func RosIpv4Gateway_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosIpv4Gateway_IsRosResource ¶
func RosIpv4Gateway_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosIpv4Gateway_ROS_RESOURCE_TYPE_NAME ¶
func RosIpv4Gateway_ROS_RESOURCE_TYPE_NAME() *string
func RosIpv4Gateways_IsConstruct ¶
func RosIpv4Gateways_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosIpv4Gateways_IsRosElement ¶
func RosIpv4Gateways_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosIpv4Gateways_IsRosResource ¶
func RosIpv4Gateways_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosIpv4Gateways_ROS_RESOURCE_TYPE_NAME ¶
func RosIpv4Gateways_ROS_RESOURCE_TYPE_NAME() *string
func RosNatGatewayZones_IsConstruct ¶
func RosNatGatewayZones_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosNatGatewayZones_IsRosElement ¶
func RosNatGatewayZones_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosNatGatewayZones_IsRosResource ¶
func RosNatGatewayZones_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosNatGatewayZones_ROS_RESOURCE_TYPE_NAME ¶
func RosNatGatewayZones_ROS_RESOURCE_TYPE_NAME() *string
func RosNatGateway_IsConstruct ¶
func RosNatGateway_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosNatGateway_IsRosElement ¶
func RosNatGateway_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosNatGateway_IsRosResource ¶
func RosNatGateway_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosNatGateway_ROS_RESOURCE_TYPE_NAME ¶
func RosNatGateway_ROS_RESOURCE_TYPE_NAME() *string
func RosNatGateways_IsConstruct ¶
func RosNatGateways_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosNatGateways_IsRosElement ¶
func RosNatGateways_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosNatGateways_IsRosResource ¶
func RosNatGateways_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosNatGateways_ROS_RESOURCE_TYPE_NAME ¶
func RosNatGateways_ROS_RESOURCE_TYPE_NAME() *string
func RosNatIpCidrs_IsConstruct ¶
func RosNatIpCidrs_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosNatIpCidrs_IsRosElement ¶
func RosNatIpCidrs_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosNatIpCidrs_IsRosResource ¶
func RosNatIpCidrs_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosNatIpCidrs_ROS_RESOURCE_TYPE_NAME ¶
func RosNatIpCidrs_ROS_RESOURCE_TYPE_NAME() *string
func RosNetworkAcls_IsConstruct ¶
func RosNetworkAcls_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosNetworkAcls_IsRosElement ¶
func RosNetworkAcls_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosNetworkAcls_IsRosResource ¶
func RosNetworkAcls_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosNetworkAcls_ROS_RESOURCE_TYPE_NAME ¶
func RosNetworkAcls_ROS_RESOURCE_TYPE_NAME() *string
func RosPrefixList_IsConstruct ¶
func RosPrefixList_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosPrefixList_IsRosElement ¶
func RosPrefixList_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosPrefixList_IsRosResource ¶
func RosPrefixList_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosPrefixList_ROS_RESOURCE_TYPE_NAME ¶
func RosPrefixList_ROS_RESOURCE_TYPE_NAME() *string
func RosPrefixLists_IsConstruct ¶
func RosPrefixLists_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosPrefixLists_IsRosElement ¶
func RosPrefixLists_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosPrefixLists_IsRosResource ¶
func RosPrefixLists_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosPrefixLists_ROS_RESOURCE_TYPE_NAME ¶
func RosPrefixLists_ROS_RESOURCE_TYPE_NAME() *string
func RosPublicIpAddressPool_IsConstruct ¶
func RosPublicIpAddressPool_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosPublicIpAddressPool_IsRosElement ¶
func RosPublicIpAddressPool_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosPublicIpAddressPool_IsRosResource ¶
func RosPublicIpAddressPool_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosPublicIpAddressPool_ROS_RESOURCE_TYPE_NAME ¶
func RosPublicIpAddressPool_ROS_RESOURCE_TYPE_NAME() *string
func RosPublicIpAddressPools_IsConstruct ¶
func RosPublicIpAddressPools_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosPublicIpAddressPools_IsRosElement ¶
func RosPublicIpAddressPools_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosPublicIpAddressPools_IsRosResource ¶
func RosPublicIpAddressPools_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosPublicIpAddressPools_ROS_RESOURCE_TYPE_NAME ¶
func RosPublicIpAddressPools_ROS_RESOURCE_TYPE_NAME() *string
func RosRouteEntries_IsConstruct ¶
func RosRouteEntries_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosRouteEntries_IsRosElement ¶
func RosRouteEntries_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosRouteEntries_IsRosResource ¶
func RosRouteEntries_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosRouteEntries_ROS_RESOURCE_TYPE_NAME ¶
func RosRouteEntries_ROS_RESOURCE_TYPE_NAME() *string
func RosRouteTable_IsConstruct ¶
func RosRouteTable_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosRouteTable_IsRosElement ¶
func RosRouteTable_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosRouteTable_IsRosResource ¶
func RosRouteTable_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosRouteTable_ROS_RESOURCE_TYPE_NAME ¶
func RosRouteTable_ROS_RESOURCE_TYPE_NAME() *string
func RosRouteTables_IsConstruct ¶
func RosRouteTables_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosRouteTables_IsRosElement ¶
func RosRouteTables_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosRouteTables_IsRosResource ¶
func RosRouteTables_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosRouteTables_ROS_RESOURCE_TYPE_NAME ¶
func RosRouteTables_ROS_RESOURCE_TYPE_NAME() *string
func RosTrafficMirrorFilter_IsConstruct ¶
func RosTrafficMirrorFilter_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosTrafficMirrorFilter_IsRosElement ¶
func RosTrafficMirrorFilter_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosTrafficMirrorFilter_IsRosResource ¶
func RosTrafficMirrorFilter_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosTrafficMirrorFilter_ROS_RESOURCE_TYPE_NAME ¶
func RosTrafficMirrorFilter_ROS_RESOURCE_TYPE_NAME() *string
func RosTrafficMirrorFilters_IsConstruct ¶
func RosTrafficMirrorFilters_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosTrafficMirrorFilters_IsRosElement ¶
func RosTrafficMirrorFilters_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosTrafficMirrorFilters_IsRosResource ¶
func RosTrafficMirrorFilters_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosTrafficMirrorFilters_ROS_RESOURCE_TYPE_NAME ¶
func RosTrafficMirrorFilters_ROS_RESOURCE_TYPE_NAME() *string
func RosVSwitch_IsConstruct ¶
func RosVSwitch_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosVSwitch_IsRosElement ¶
func RosVSwitch_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosVSwitch_IsRosResource ¶
func RosVSwitch_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosVSwitch_ROS_RESOURCE_TYPE_NAME ¶
func RosVSwitch_ROS_RESOURCE_TYPE_NAME() *string
func RosVSwitches_IsConstruct ¶
func RosVSwitches_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosVSwitches_IsRosElement ¶
func RosVSwitches_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosVSwitches_IsRosResource ¶
func RosVSwitches_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosVSwitches_ROS_RESOURCE_TYPE_NAME ¶
func RosVSwitches_ROS_RESOURCE_TYPE_NAME() *string
func RosVpc_IsConstruct ¶
func RosVpc_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosVpc_IsRosElement ¶
func RosVpc_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosVpc_IsRosResource ¶
func RosVpc_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosVpc_ROS_RESOURCE_TYPE_NAME ¶
func RosVpc_ROS_RESOURCE_TYPE_NAME() *string
func RosVpcs_IsConstruct ¶
func RosVpcs_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosVpcs_IsRosElement ¶
func RosVpcs_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosVpcs_IsRosResource ¶
func RosVpcs_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosVpcs_ROS_RESOURCE_TYPE_NAME ¶
func RosVpcs_ROS_RESOURCE_TYPE_NAME() *string
func RouteEntries_IsConstruct ¶
func RouteEntries_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RouteTable_IsConstruct ¶
func RouteTable_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RouteTables_IsConstruct ¶
func RouteTables_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func TrafficMirrorFilter_IsConstruct ¶
func TrafficMirrorFilter_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func TrafficMirrorFilters_IsConstruct ¶
func TrafficMirrorFilters_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func VSwitch_IsConstruct ¶
func VSwitch_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func VSwitches_IsConstruct ¶
func VSwitches_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Vpc_IsConstruct ¶
func Vpc_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Vpcs_IsConstruct ¶
func Vpcs_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
Types ¶
type Address ¶
type Address interface { alicloudroscdkcore.Resource IAddress // Attribute AddressName: The name of the EIP. AttrAddressName() interface{} // Attribute AllocationId: The ID of the EIP instance. AttrAllocationId() interface{} // Attribute Bandwidth: The peak bandwidth of the EIP. // // Unit: Mbps. AttrBandwidth() interface{} // Attribute BandwidthPackageBandwidth: The bandwidth value of the Internet shared bandwidth added to the EIP. // // The unit is Mbps. AttrBandwidthPackageBandwidth() interface{} // Attribute BandwidthPackageId: The ID of the added shared bandwidth. AttrBandwidthPackageId() interface{} // Attribute BandwidthPackageType: The type of bandwidth. // // Only **CommonBandwidthPackage** (shared bandwidth) is supported. AttrBandwidthPackageType() interface{} // Attribute BusinessStatus: The business status of the EIP instance. AttrBusinessStatus() interface{} // Attribute CreateTime: The time when the EIP was created. AttrCreateTime() interface{} // Attribute DeletionProtection: Whether the delete protection function is turned on. AttrDeletionProtection() interface{} // Attribute Description: The description of the EIP instance. AttrDescription() interface{} // Attribute EipBandwidth: AN EIP is added to an Internet shared bandwidth before or exit purchase an Internet shared bandwidth instance after the bandwidth Mbps Set for the bandwidth. AttrEipBandwidth() interface{} // Attribute ExpiredTime: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '. AttrExpiredTime() interface{} // Attribute HasReservationData: Whether there is renewal data. AttrHasReservationData() interface{} // Attribute HdMonitorStatus: Whether the second-level monitoring is enabled for the EIP. AttrHdMonitorStatus() interface{} // Attribute InstanceId: The ID of the current bound instance. AttrInstanceId() interface{} // Attribute InstanceRegionId: The region ID of the currently bound resource. AttrInstanceRegionId() interface{} // Attribute InstanceType: The type of the current bound instance. AttrInstanceType() interface{} // Attribute IpAddress: The IP address of the EIP. AttrIpAddress() interface{} // Attribute Isp: Service providers. AttrIsp() interface{} // Attribute Netmode: Network type. AttrNetmode() interface{} // Attribute OperationLocks: Lock details. AttrOperationLocks() interface{} // Attribute PaymentType: The billing method of the EIP. AttrPaymentType() interface{} // Attribute PublicIpAddressPoolId: The ID of the IP address pool to which the EIP belongs. AttrPublicIpAddressPoolId() interface{} // Attribute ReservationActiveTime: The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'. AttrReservationActiveTime() interface{} // Attribute ReservationBandwidth: Renewal bandwidth, in Mbps. AttrReservationBandwidth() interface{} // Attribute ReservationInternetChargeType: Renewal Payment type. AttrReservationInternetChargeType() interface{} // Attribute ReservationOrderType: Renewal order type. AttrReservationOrderType() interface{} // Attribute ResourceGroupId: The ID of the resource group. AttrResourceGroupId() interface{} // Attribute SecondLimited: Whether a secondary speed limit is configured. AttrSecondLimited() interface{} // Attribute SecurityProtectionTypes: Security protection level. AttrSecurityProtectionTypes() interface{} // Attribute SegmentInstanceId: The ID of the consecutive EIPs. AttrSegmentInstanceId() interface{} // Attribute ServiceManaged: Indicates the resource created for the service account. AttrServiceManaged() interface{} // Attribute Tags: The tag of the resource. AttrTags() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *AddressProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::EIP::Address`, which is used to query the information about a created elastic IP address (EIP).
func NewAddress ¶
func NewAddress(scope alicloudroscdkcore.Construct, id *string, props *AddressProps, enableResourcePropertyConstraint *bool) Address
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type AddressProps ¶
type AddressProps struct { // Property allocationId: The ID of the EIP instance. AllocationId interface{} `field:"required" json:"allocationId" yaml:"allocationId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `Address`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-eip-address
type Addresses ¶
type Addresses interface { alicloudroscdkcore.Resource IAddresses // Attribute Addresses: The details about the EIP. AttrAddresses() interface{} // Attribute AllocationIds: The list of allocation IDs. AttrAllocationIds() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *AddressesProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::EIP::Addresses`, which is used to query the information about elastic IP addresses (EIPs).
func NewAddresses ¶
func NewAddresses(scope alicloudroscdkcore.Construct, id *string, props *AddressesProps, enableResourcePropertyConstraint *bool) Addresses
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type AddressesProps ¶
type AddressesProps struct { // Property addressName: The name of the EIP. AddressName interface{} `field:"optional" json:"addressName" yaml:"addressName"` // Property allocationId: The ID of the EIP that you want to query. AllocationId interface{} `field:"optional" json:"allocationId" yaml:"allocationId"` // Property instanceId: The ID of the cloud resource. InstanceId interface{} `field:"optional" json:"instanceId" yaml:"instanceId"` // Property instanceType: The type of the current bound instance. // // - **EcsInstance**: an ECS instance of the VPC type. // - **SlbInstance**: an SLB instance of the VPC type. // - **Nat**:NAT gateway. // - **HaVip**: a highly available virtual IP address. // - **NetworkInterface**: Secondary ENI. InstanceType interface{} `field:"optional" json:"instanceType" yaml:"instanceType"` // Property ipAddress: The IP address pool to which the EIP that you want to query belongs. IpAddress interface{} `field:"optional" json:"ipAddress" yaml:"ipAddress"` // Property isp: The line type. // // Valid values: // BGP (default): BGP (Multi-ISP) lines. All regions support BGP (Multi-ISP) EIPs. // BGP_PRO: BGP (Multi-ISP) Pro lines. // Only the following regions support BGP (Multi-ISP) Pro lines: // China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok). // For more information about BGP (Multi-ISP) and BGP (Multi-ISP) Pro, see EIP line types. // If you are allowed to use single-ISP bandwidth, you can also choose one of the following values: // ChinaTelecom: China Telecom // ChinaUnicom: China Unicom // ChinaMobile: China Mobile // ChinaTelecom_L2: China Telecom L2 // ChinaUnicom_L2: China Unicom L2 // ChinaMobile_L2: China Mobile L2 // If your services are deployed in China East 1 Finance, you must set this parameter to BGP_FinanceCloud. Isp interface{} `field:"optional" json:"isp" yaml:"isp"` // Property paymentType: The billing method of the EIP. // // Valid values: PrePaid: subscription PostPaid: pay-as-you-go. PaymentType interface{} `field:"optional" json:"paymentType" yaml:"paymentType"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceGroupId: The ID of the resource group to which the EIPs belong. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` // Property segmentInstanceId: The ID of the consecutive EIPs. // // This parameter value is returned only if the EIP is a continuous EIP. SegmentInstanceId interface{} `field:"optional" json:"segmentInstanceId" yaml:"segmentInstanceId"` }
Properties for defining a `Addresses`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-eip-addresses
type AnycastEipAddress ¶
type AnycastEipAddress interface { alicloudroscdkcore.Resource IAnycastEipAddress // Attribute AliUid: The ID of the account to which the Anycast EIP belongs. AttrAliUid() interface{} // Attribute AnycastEipAddressName: The name of the Anycast EIP. AttrAnycastEipAddressName() interface{} // Attribute AnycastId: The ID of the Anycast EIP. AttrAnycastId() interface{} // Attribute Bandwidth: The maximum bandwidth of the Anycast EIP. // // Unit: Mbit/s. AttrBandwidth() interface{} // Attribute Bid: The BID of the account to which the Anycast EIP belongs. AttrBid() interface{} // Attribute CreateTime: The point in time at which the Anycast EIP was created. // // The time follows the ISO8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. AttrCreateTime() interface{} // Attribute InternetChargeType: The billing method of the Anycast EIP. // // Only PostPaid may be returned, which indicates the pay-as-you-go billing method. AttrInternetChargeType() interface{} // Attribute IpAddress: The IP address of the Anycast EIP. AttrIpAddress() interface{} // Attribute PaymentType: The billing method of the Anycast EIP. AttrPaymentType() interface{} // Attribute ServiceLocation: The access area of the Anycast EIP. // // Only international may be returned, which indicates the areas outside the Chinese mainland. AttrServiceLocation() interface{} // Attribute Status: The status of the Anycast EIP. // // Valid values: // Associating // Unassociating // Allocated // Associated // Modifying // Releasing // Released. AttrStatus() interface{} // Attribute Tags: The tags of the EIP. AttrTags() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *AnycastEipAddressProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::Eipanycast::AnycastEipAddress`, which is used to query the information about an Anycast elastic IP address (Anycast EIP).
func NewAnycastEipAddress ¶
func NewAnycastEipAddress(scope alicloudroscdkcore.Construct, id *string, props *AnycastEipAddressProps, enableResourcePropertyConstraint *bool) AnycastEipAddress
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type AnycastEipAddressProps ¶
type AnycastEipAddressProps struct { // Property anycastId: The ID of the Anycast EIP. AnycastId interface{} `field:"required" json:"anycastId" yaml:"anycastId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `AnycastEipAddress`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-eipanycast-anycasteipaddress
type BgpPeer ¶
type BgpPeer interface { alicloudroscdkcore.Resource IBgpPeer // Attribute AdvertisedRouteCount: The number of advertised routes. AttrAdvertisedRouteCount() interface{} // Attribute AuthKey: The authentication key of the BGP group. AttrAuthKey() interface{} // Attribute BfdMultiHop: The Bidirectional Forwarding Detection (BFD) hop count. AttrBfdMultiHop() interface{} // Attribute BgpGroupId: The ID of the BGP group. AttrBgpGroupId() interface{} // Attribute BgpPeerId: The ID of the BGP peer. AttrBgpPeerId() interface{} // Attribute BgpStatus: The status of the BGP connection. // // Valid values: // Idle: The BGP connection is not used. // Connect: The BGP connection is used. // Active: The BGP connection is available. // Established: The BGP connection is established. // Down: The BGP connection is unavailable. AttrBgpStatus() interface{} // Attribute Description: The description of the BGP group. AttrDescription() interface{} // Attribute EnableBfd: Indicates whether BFD is enabled. // // Valid values: // false // true. AttrEnableBfd() interface{} // Attribute GmtModified: The time when the BGP peer is modified. AttrGmtModified() interface{} // Attribute Hold: The hold time. AttrHold() interface{} // Attribute IpVersion: The version of the IP address. AttrIpVersion() interface{} // Attribute IsFake: Indicates whether a fake autonomous system number (ASN) is used. // // Valid values: // false // true. AttrIsFake() interface{} // Attribute Keepalive: The Keepalive interval. AttrKeepalive() interface{} // Attribute LocalAsn: The ASN of the device on the Alibaba Cloud side. AttrLocalAsn() interface{} // Attribute Name: The name of the BGP peer. AttrName() interface{} // Attribute PeerAsn: The autonomous system number (ASN)of the BGP peer. AttrPeerAsn() interface{} // Attribute PeerIpAddress: The IP address of the BGP peer. AttrPeerIpAddress() interface{} // Attribute ReceivedRouteCount: The number of received routes. AttrReceivedRouteCount() interface{} // Attribute RouteLimit: The maximum number of routes. AttrRouteLimit() interface{} // Attribute RouterId: The Router ID. AttrRouterId() interface{} // Attribute Status: The status of the BGP peer. // // Valid values: // Pending // Available // Modifying // Deleting // Deleted. AttrStatus() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *BgpPeerProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::BgpPeer`, which is used to query the information about a Border Gateway Protocol (BGP) peer in a region.
func NewBgpPeer ¶
func NewBgpPeer(scope alicloudroscdkcore.Construct, id *string, props *BgpPeerProps, enableResourcePropertyConstraint *bool) BgpPeer
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type BgpPeerProps ¶
type BgpPeerProps struct { // Property bgpPeerId: The ID of the BGP peer. BgpPeerId interface{} `field:"optional" json:"bgpPeerId" yaml:"bgpPeerId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `BgpPeer`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-bgppeer
type BgpPeers ¶
type BgpPeers interface { alicloudroscdkcore.Resource IBgpPeers // Attribute BgpPeerIds: The list of The BGP peer ids. AttrBgpPeerIds() interface{} // Attribute BgpPeers: The list of The BGP peers. AttrBgpPeers() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *BgpPeersProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::BgpPeers`, which is used to query Border Gateway Protocol (BGP) peers in a region.
func NewBgpPeers ¶
func NewBgpPeers(scope alicloudroscdkcore.Construct, id *string, props *BgpPeersProps, enableResourcePropertyConstraint *bool) BgpPeers
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type BgpPeersProps ¶
type BgpPeersProps struct { // Property bgpGroupId: The ID of the BGP group to which the BGP peer that you want to query belongs. BgpGroupId interface{} `field:"optional" json:"bgpGroupId" yaml:"bgpGroupId"` // Property bgpPeerId: The ID of the BGP peer that you want to query. BgpPeerId interface{} `field:"optional" json:"bgpPeerId" yaml:"bgpPeerId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property routerId: The ID of the virtual border router (VBR) that is associated with the BGP peer that you want to query. RouterId interface{} `field:"optional" json:"routerId" yaml:"routerId"` }
Properties for defining a `BgpPeers`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-bgppeers
type CommonBandwidthPackage ¶
type CommonBandwidthPackage interface { alicloudroscdkcore.Resource ICommonBandwidthPackage // Attribute Bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance. // // Unit: Mbit/s. AttrBandwidth() interface{} // Attribute BusinessStatus: The service status of the Internet Shared Bandwidth instance. // // Valid values: // Normal: The Internet Shared Bandwidth instance runs as expected. // FinancialLocked: An overdue payment occurs in the Internet Shared Bandwidth instance // Unactivated: The Internet Shared Bandwidth instance is not activated. AttrBusinessStatus() interface{} // Attribute CommonBandwidthPackageId: The ID of the Internet shared bandwidth. AttrCommonBandwidthPackageId() interface{} // Attribute CommonBandwidthPackageName: The name of the Internet Shared Bandwidth instance. AttrCommonBandwidthPackageName() interface{} // Attribute CreationTime: The time when the Internet Shared Bandwidth instance was created. // // The time is displayed in the YYYY-MM-DDThh:mm:ssZ format. AttrCreationTime() interface{} // Attribute DeletionProtection: Indicates whether deletion protection is enabled. // // Valid values: // false // true. AttrDeletionProtection() interface{} // Attribute Description: The description of the Internet Shared Bandwidth instance. AttrDescription() interface{} // Attribute ExpiredTime: The time when the Internet Shared Bandwidth instance expired. // // The time is displayed in the YYYY-MM-DDThh:mm:ssZ format. AttrExpiredTime() interface{} // Attribute HasReservationData: Indicates whether the information about pending orders is returned. // // Valid values: // false // true. AttrHasReservationData() interface{} // Attribute InstanceChargeType: The billing method of the Internet Shared Bandwidth instance. // // Valid value: // PostPaid: pay-as-you-go // PrePaid: subscription. AttrInstanceChargeType() interface{} // Attribute InternetChargeType: The metering method of the Internet Shared Bandwidth instance. // // Valid value: // PayBy95: Charged by Enhanced 95th Percentile. // PayByBandwidth: Charged by Bandwidth. // PayByDominantTraffic: Charged by Dominant Traffic. AttrInternetChargeType() interface{} // Attribute Isp: The line type. // // Valid values: // BGP (default): BGP (Multi-ISP) lines. // BGP_PRO: BGP (Multi-ISP) Pro lines. // Valid values if you are allowed to use single-ISP bandwidth: // ChinaTelecom // ChinaUnicom // ChinaMobile // ChinaTelecom_L2 // ChinaUnicom_L2 // ChinaMobile_L2. AttrIsp() interface{} // Attribute PublicIpAddresses: The elastic IP addresses (EIPs) that are associated with the Internet Shared Bandwidth instance. AttrPublicIpAddresses() interface{} // Attribute Ratio: The percentage of the minimum bandwidth commitment. // // Only 20 is returned. AttrRatio() interface{} // Attribute ReservationActiveTime: The time when the renewal took effect. // // The time is displayed in the YYYY-MM-DDThh:mm:ssZ format. AttrReservationActiveTime() interface{} // Attribute ReservationBandwidth: The new maximum bandwidth after the configurations are changed. // // Unit: Mbit/s. AttrReservationBandwidth() interface{} // Attribute ReservationInternetChargeType: The metering method after the configurations are changed. // // Valid value: // PayBy95: Charged by Enhanced 95th Percentile. // PayByBandwidth: Charged by Bandwidth. // PayByDominantTraffic: Charged by Dominant Traffic. AttrReservationInternetChargeType() interface{} // Attribute ReservationOrderType: The renewal method. // // Valid values: // RENEWCHANGE: renewal with a specification change // TEMP_UPGRADE: renewal with a temporary upgrade // UPGRADE: renewal with an upgrade. AttrReservationOrderType() interface{} // Attribute ResourceGroupId: The ID of the resource group. AttrResourceGroupId() interface{} // Attribute ServiceManaged: Indicates whether the resource is created by the service account. // // Valid values: // 0: The resource is not created by the service account. // 1: The resource is created by the service account. AttrServiceManaged() interface{} // Attribute Status: The status of the Internet Shared Bandwidth instance. // // Valid values: // Available: The Internet Shared Bandwidth instance is available. // Modifying: The Internet Shared Bandwidth instance is being modified. AttrStatus() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *CommonBandwidthPackageProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::CommonBandwidthPackage`, which is used to query the information about an Internet Shared Bandwidth instance in a region.
func NewCommonBandwidthPackage ¶
func NewCommonBandwidthPackage(scope alicloudroscdkcore.Construct, id *string, props *CommonBandwidthPackageProps, enableResourcePropertyConstraint *bool) CommonBandwidthPackage
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type CommonBandwidthPackageProps ¶
type CommonBandwidthPackageProps struct { // Property commonBandwidthPackageId: The ID of the Internet shared bandwidth. CommonBandwidthPackageId interface{} `field:"optional" json:"commonBandwidthPackageId" yaml:"commonBandwidthPackageId"` // Property commonBandwidthPackageName: The name of the Internet Shared Bandwidth instance. CommonBandwidthPackageName interface{} `field:"optional" json:"commonBandwidthPackageName" yaml:"commonBandwidthPackageName"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `CommonBandwidthPackage`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-commonbandwidthpackage
type CommonBandwidthPackages ¶
type CommonBandwidthPackages interface { alicloudroscdkcore.Resource ICommonBandwidthPackages // Attribute CommonBandwidthPackageIds: The list of common bandwidth package IDs. AttrCommonBandwidthPackageIds() interface{} // Attribute CommonBandwidthPackages: The list of common bandwidth packages. AttrCommonBandwidthPackages() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *CommonBandwidthPackagesProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::CommonBandwidthPackages`, which is used to query the Internet Shared Bandwidth instances in a region.
func NewCommonBandwidthPackages ¶
func NewCommonBandwidthPackages(scope alicloudroscdkcore.Construct, id *string, props *CommonBandwidthPackagesProps, enableResourcePropertyConstraint *bool) CommonBandwidthPackages
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type CommonBandwidthPackagesProps ¶
type CommonBandwidthPackagesProps struct { // Property commonBandwidthPackageId: The ID of the Internet shared bandwidth. CommonBandwidthPackageId interface{} `field:"optional" json:"commonBandwidthPackageId" yaml:"commonBandwidthPackageId"` // Property commonBandwidthPackageName: The name of the Internet Shared Bandwidth instance. CommonBandwidthPackageName interface{} `field:"optional" json:"commonBandwidthPackageName" yaml:"commonBandwidthPackageName"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceGroupId: The ID of the resource group. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `CommonBandwidthPackages`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-commonbandwidthpackages
type CustomerGateway ¶
type CustomerGateway interface { alicloudroscdkcore.Resource ICustomerGateway // Attribute Asn: Asn. AttrAsn() interface{} // Attribute AuthKey: The authentication key of the local data center gateway device BGP routing protocol. AttrAuthKey() interface{} // Attribute CreateTime: The time when the customer gateway was created. AttrCreateTime() interface{} // Attribute CustomerGatewayId: The ID of the customer gateway. AttrCustomerGatewayId() interface{} // Attribute CustomerGatewayName: The name of the customer gateway. AttrCustomerGatewayName() interface{} // Attribute Description: The description of the customer gateway. AttrDescription() interface{} // Attribute IpAddress: The IP address of the customer gateway. AttrIpAddress() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *CustomerGatewayProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::CustomerGateway`, which is used to query the information about a customer gateway.
func NewCustomerGateway ¶
func NewCustomerGateway(scope alicloudroscdkcore.Construct, id *string, props *CustomerGatewayProps, enableResourcePropertyConstraint *bool) CustomerGateway
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type CustomerGatewayProps ¶
type CustomerGatewayProps struct { // Property customerGatewayId: The ID of the customer gateway. CustomerGatewayId interface{} `field:"required" json:"customerGatewayId" yaml:"customerGatewayId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `CustomerGateway`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-customergateway
type CustomerGateways ¶
type CustomerGateways interface { alicloudroscdkcore.Resource ICustomerGateways // Attribute CustomerGatewayIds: The list of customer gateway IDs. AttrCustomerGatewayIds() interface{} // Attribute CustomerGateways: The list of customer gateways. AttrCustomerGateways() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *CustomerGatewaysProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::CustomerGateways`, which is used to query customer gateways.
func NewCustomerGateways ¶
func NewCustomerGateways(scope alicloudroscdkcore.Construct, id *string, props *CustomerGatewaysProps, enableResourcePropertyConstraint *bool) CustomerGateways
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type CustomerGatewaysProps ¶
type CustomerGatewaysProps struct { // Property customerGatewayId: The ID of the customer gateway. CustomerGatewayId interface{} `field:"optional" json:"customerGatewayId" yaml:"customerGatewayId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `CustomerGateways`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-customergateways
type FlowLog ¶
type FlowLog interface { alicloudroscdkcore.Resource IFlowLog // Attribute AggregationInterval: Data aggregation interval. AttrAggregationInterval() interface{} // Attribute BusinessStatus: Business status. AttrBusinessStatus() interface{} // Attribute CreateTime: the time of creation. AttrCreateTime() interface{} // Attribute Description: The Description of flow log. AttrDescription() interface{} // Attribute FlowLogId: The flow log ID. AttrFlowLogId() interface{} // Attribute FlowLogName: The flow log name. AttrFlowLogName() interface{} // Attribute LogStoreName: The log store name. AttrLogStoreName() interface{} // Attribute ProjectName: The project name. AttrProjectName() interface{} // Attribute ResourceId: The resource id. AttrResourceId() interface{} // Attribute ResourceType: The resource type. AttrResourceType() interface{} // Attribute TrafficType: The traffic type. AttrTrafficType() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *FlowLogProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::FlowLog`, which is used to query a flow log by log ID.
func NewFlowLog ¶
func NewFlowLog(scope alicloudroscdkcore.Construct, id *string, props *FlowLogProps, enableResourcePropertyConstraint *bool) FlowLog
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type FlowLogProps ¶
type FlowLogProps struct { // Property flowLogId: The flow log ID. FlowLogId interface{} `field:"required" json:"flowLogId" yaml:"flowLogId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `FlowLog`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-flowlog
type FlowLogs ¶
type FlowLogs interface { alicloudroscdkcore.Resource IFlowLogs // Attribute FlowLogIds: The list of flow log IDs. AttrFlowLogIds() interface{} // Attribute FlowLogs: The list of flow logs. AttrFlowLogs() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *FlowLogsProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::FlowLogs`, which is used to query flow logs.
func NewFlowLogs ¶
func NewFlowLogs(scope alicloudroscdkcore.Construct, id *string, props *FlowLogsProps, enableResourcePropertyConstraint *bool) FlowLogs
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type FlowLogsProps ¶
type FlowLogsProps struct { // Property description: The description of the flow log. Description interface{} `field:"optional" json:"description" yaml:"description"` // Property flowLogId: The ID of a flow log. FlowLogId interface{} `field:"optional" json:"flowLogId" yaml:"flowLogId"` // Property flowLogName: The name of the flow log. FlowLogName interface{} `field:"optional" json:"flowLogName" yaml:"flowLogName"` // Property logStoreName: A LogStore that stores captured traffic. LogStoreName interface{} `field:"optional" json:"logStoreName" yaml:"logStoreName"` // Property projectName: Manage the captured traffic of the Project. ProjectName interface{} `field:"optional" json:"projectName" yaml:"projectName"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceId: The ID of the resource group to which the flow log belongs. ResourceId interface{} `field:"optional" json:"resourceId" yaml:"resourceId"` // Property resourceType: The resource type of traffic to capture. // // Value: // NetworkInterface: Elastic NIC. // VSwitch: All ENIs within the VSwitch. // VPC: All ENIs in a VPC. ResourceType interface{} `field:"optional" json:"resourceType" yaml:"resourceType"` // Property trafficType: The type of traffic collected. // // Value: // All: All traffic. // Allow: Traffic allowed by access control. // Drop: Traffic denied by access control. TrafficType interface{} `field:"optional" json:"trafficType" yaml:"trafficType"` }
Properties for defining a `FlowLogs`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-flowlogs
type HaVip ¶
type HaVip interface { alicloudroscdkcore.Resource IHaVip // Attribute AssociatedEipAddresses: EIP bound to HaVip. AttrAssociatedEipAddresses() interface{} // Attribute AssociatedInstances: An ECS instance that is bound to HaVip. AttrAssociatedInstances() interface{} // Attribute AssociatedInstanceType: The type of the instance that is bound to the VIIP. AttrAssociatedInstanceType() interface{} // Attribute CreateTime: The creation time of the resource. AttrCreateTime() interface{} // Attribute Description: Dependence of a HaVip instance. AttrDescription() interface{} // Attribute HaVipId: The ID of the resource. AttrHaVipId() interface{} // Attribute HaVipName: The name of the HaVip instance. AttrHaVipName() interface{} // Attribute IpAddress: IP address of private network. AttrIpAddress() interface{} // Attribute MasterInstanceId: The primary instance ID bound to HaVip. AttrMasterInstanceId() interface{} // Attribute VpcId: The VPC ID to which the HaVip instance belongs. AttrVpcId() interface{} // Attribute VSwitchId: The switch ID to which the HaVip instance belongs. AttrVSwitchId() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *HaVipProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::HaVip`, which is used to query a high-availability virtual IP address (HAVIP).
func NewHaVip ¶
func NewHaVip(scope alicloudroscdkcore.Construct, id *string, props *HaVipProps, enableResourcePropertyConstraint *bool) HaVip
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type HaVipProps ¶
type HaVipProps struct { // Property haVipId: The ID of the resource. HaVipId interface{} `field:"required" json:"haVipId" yaml:"haVipId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `HaVip`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-havip
type HaVips ¶
type HaVips interface { alicloudroscdkcore.Resource IHaVips // Attribute HaVipIds: The list of ha vip IDs. AttrHaVipIds() interface{} // Attribute HaVips: The list of ha vips. AttrHaVips() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *HaVipsProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::HaVips`, which is used to query the high-availability virtual IP addresses (HAVIPs) in a specific region.
func NewHaVips ¶
func NewHaVips(scope alicloudroscdkcore.Construct, id *string, props *HaVipsProps, enableResourcePropertyConstraint *bool) HaVips
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type HaVipsProps ¶
type HaVipsProps struct { // Property haVipId: The ID of the resource. HaVipId interface{} `field:"optional" json:"haVipId" yaml:"haVipId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `HaVips`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-havips
type IAddress ¶ added in v1.6.0
type IAddress interface { alicloudroscdkcore.IResource // Attribute AddressName: The name of the EIP. AttrAddressName() interface{} // Attribute AllocationId: The ID of the EIP instance. AttrAllocationId() interface{} // Attribute Bandwidth: The peak bandwidth of the EIP. // // Unit: Mbps. AttrBandwidth() interface{} // Attribute BandwidthPackageBandwidth: The bandwidth value of the Internet shared bandwidth added to the EIP. // // The unit is Mbps. AttrBandwidthPackageBandwidth() interface{} // Attribute BandwidthPackageId: The ID of the added shared bandwidth. AttrBandwidthPackageId() interface{} // Attribute BandwidthPackageType: The type of bandwidth. // // Only **CommonBandwidthPackage** (shared bandwidth) is supported. AttrBandwidthPackageType() interface{} // Attribute BusinessStatus: The business status of the EIP instance. AttrBusinessStatus() interface{} // Attribute CreateTime: The time when the EIP was created. AttrCreateTime() interface{} // Attribute DeletionProtection: Whether the delete protection function is turned on. AttrDeletionProtection() interface{} // Attribute Description: The description of the EIP instance. AttrDescription() interface{} // Attribute EipBandwidth: AN EIP is added to an Internet shared bandwidth before or exit purchase an Internet shared bandwidth instance after the bandwidth Mbps Set for the bandwidth. AttrEipBandwidth() interface{} // Attribute ExpiredTime: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '. AttrExpiredTime() interface{} // Attribute HasReservationData: Whether there is renewal data. AttrHasReservationData() interface{} // Attribute HdMonitorStatus: Whether the second-level monitoring is enabled for the EIP. AttrHdMonitorStatus() interface{} // Attribute InstanceId: The ID of the current bound instance. AttrInstanceId() interface{} // Attribute InstanceRegionId: The region ID of the currently bound resource. AttrInstanceRegionId() interface{} // Attribute InstanceType: The type of the current bound instance. AttrInstanceType() interface{} // Attribute IpAddress: The IP address of the EIP. AttrIpAddress() interface{} // Attribute Isp: Service providers. AttrIsp() interface{} // Attribute Netmode: Network type. AttrNetmode() interface{} // Attribute OperationLocks: Lock details. AttrOperationLocks() interface{} // Attribute PaymentType: The billing method of the EIP. AttrPaymentType() interface{} // Attribute PublicIpAddressPoolId: The ID of the IP address pool to which the EIP belongs. AttrPublicIpAddressPoolId() interface{} // Attribute ReservationActiveTime: The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'. AttrReservationActiveTime() interface{} // Attribute ReservationBandwidth: Renewal bandwidth, in Mbps. AttrReservationBandwidth() interface{} // Attribute ReservationInternetChargeType: Renewal Payment type. AttrReservationInternetChargeType() interface{} // Attribute ReservationOrderType: Renewal order type. AttrReservationOrderType() interface{} // Attribute ResourceGroupId: The ID of the resource group. AttrResourceGroupId() interface{} // Attribute SecondLimited: Whether a secondary speed limit is configured. AttrSecondLimited() interface{} // Attribute SecurityProtectionTypes: Security protection level. AttrSecurityProtectionTypes() interface{} // Attribute SegmentInstanceId: The ID of the consecutive EIPs. AttrSegmentInstanceId() interface{} // Attribute ServiceManaged: Indicates the resource created for the service account. AttrServiceManaged() interface{} // Attribute Tags: The tag of the resource. AttrTags() interface{} Props() *AddressProps }
Represents a `Address`.
type IAddresses ¶ added in v1.6.0
type IAddresses interface { alicloudroscdkcore.IResource // Attribute Addresses: The details about the EIP. AttrAddresses() interface{} // Attribute AllocationIds: The list of allocation IDs. AttrAllocationIds() interface{} Props() *AddressesProps }
Represents a `Addresses`.
type IAnycastEipAddress ¶ added in v1.6.0
type IAnycastEipAddress interface { alicloudroscdkcore.IResource // Attribute AliUid: The ID of the account to which the Anycast EIP belongs. AttrAliUid() interface{} // Attribute AnycastEipAddressName: The name of the Anycast EIP. AttrAnycastEipAddressName() interface{} // Attribute AnycastId: The ID of the Anycast EIP. AttrAnycastId() interface{} // Attribute Bandwidth: The maximum bandwidth of the Anycast EIP. // // Unit: Mbit/s. AttrBandwidth() interface{} // Attribute Bid: The BID of the account to which the Anycast EIP belongs. AttrBid() interface{} // Attribute CreateTime: The point in time at which the Anycast EIP was created. // // The time follows the ISO8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. AttrCreateTime() interface{} // Attribute InternetChargeType: The billing method of the Anycast EIP. // // Only PostPaid may be returned, which indicates the pay-as-you-go billing method. AttrInternetChargeType() interface{} // Attribute IpAddress: The IP address of the Anycast EIP. AttrIpAddress() interface{} // Attribute PaymentType: The billing method of the Anycast EIP. AttrPaymentType() interface{} // Attribute ServiceLocation: The access area of the Anycast EIP. // // Only international may be returned, which indicates the areas outside the Chinese mainland. AttrServiceLocation() interface{} // Attribute Status: The status of the Anycast EIP. // // Valid values: // Associating // Unassociating // Allocated // Associated // Modifying // Releasing // Released. AttrStatus() interface{} // Attribute Tags: The tags of the EIP. AttrTags() interface{} Props() *AnycastEipAddressProps }
Represents a `AnycastEipAddress`.
type IBgpPeer ¶ added in v1.6.0
type IBgpPeer interface { alicloudroscdkcore.IResource // Attribute AdvertisedRouteCount: The number of advertised routes. AttrAdvertisedRouteCount() interface{} // Attribute AuthKey: The authentication key of the BGP group. AttrAuthKey() interface{} // Attribute BfdMultiHop: The Bidirectional Forwarding Detection (BFD) hop count. AttrBfdMultiHop() interface{} // Attribute BgpGroupId: The ID of the BGP group. AttrBgpGroupId() interface{} // Attribute BgpPeerId: The ID of the BGP peer. AttrBgpPeerId() interface{} // Attribute BgpStatus: The status of the BGP connection. // // Valid values: // Idle: The BGP connection is not used. // Connect: The BGP connection is used. // Active: The BGP connection is available. // Established: The BGP connection is established. // Down: The BGP connection is unavailable. AttrBgpStatus() interface{} // Attribute Description: The description of the BGP group. AttrDescription() interface{} // Attribute EnableBfd: Indicates whether BFD is enabled. // // Valid values: // false // true. AttrEnableBfd() interface{} // Attribute GmtModified: The time when the BGP peer is modified. AttrGmtModified() interface{} // Attribute Hold: The hold time. AttrHold() interface{} // Attribute IpVersion: The version of the IP address. AttrIpVersion() interface{} // Attribute IsFake: Indicates whether a fake autonomous system number (ASN) is used. // // Valid values: // false // true. AttrIsFake() interface{} // Attribute Keepalive: The Keepalive interval. AttrKeepalive() interface{} // Attribute LocalAsn: The ASN of the device on the Alibaba Cloud side. AttrLocalAsn() interface{} // Attribute Name: The name of the BGP peer. AttrName() interface{} // Attribute PeerAsn: The autonomous system number (ASN)of the BGP peer. AttrPeerAsn() interface{} // Attribute PeerIpAddress: The IP address of the BGP peer. AttrPeerIpAddress() interface{} // Attribute ReceivedRouteCount: The number of received routes. AttrReceivedRouteCount() interface{} // Attribute RouteLimit: The maximum number of routes. AttrRouteLimit() interface{} // Attribute RouterId: The Router ID. AttrRouterId() interface{} // Attribute Status: The status of the BGP peer. // // Valid values: // Pending // Available // Modifying // Deleting // Deleted. AttrStatus() interface{} Props() *BgpPeerProps }
Represents a `BgpPeer`.
type IBgpPeers ¶ added in v1.6.0
type IBgpPeers interface { alicloudroscdkcore.IResource // Attribute BgpPeerIds: The list of The BGP peer ids. AttrBgpPeerIds() interface{} // Attribute BgpPeers: The list of The BGP peers. AttrBgpPeers() interface{} Props() *BgpPeersProps }
Represents a `BgpPeers`.
type ICommonBandwidthPackage ¶ added in v1.6.0
type ICommonBandwidthPackage interface { alicloudroscdkcore.IResource // Attribute Bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance. // // Unit: Mbit/s. AttrBandwidth() interface{} // Attribute BusinessStatus: The service status of the Internet Shared Bandwidth instance. // // Valid values: // Normal: The Internet Shared Bandwidth instance runs as expected. // FinancialLocked: An overdue payment occurs in the Internet Shared Bandwidth instance // Unactivated: The Internet Shared Bandwidth instance is not activated. AttrBusinessStatus() interface{} // Attribute CommonBandwidthPackageId: The ID of the Internet shared bandwidth. AttrCommonBandwidthPackageId() interface{} // Attribute CommonBandwidthPackageName: The name of the Internet Shared Bandwidth instance. AttrCommonBandwidthPackageName() interface{} // Attribute CreationTime: The time when the Internet Shared Bandwidth instance was created. // // The time is displayed in the YYYY-MM-DDThh:mm:ssZ format. AttrCreationTime() interface{} // Attribute DeletionProtection: Indicates whether deletion protection is enabled. // // Valid values: // false // true. AttrDeletionProtection() interface{} // Attribute Description: The description of the Internet Shared Bandwidth instance. AttrDescription() interface{} // Attribute ExpiredTime: The time when the Internet Shared Bandwidth instance expired. // // The time is displayed in the YYYY-MM-DDThh:mm:ssZ format. AttrExpiredTime() interface{} // Attribute HasReservationData: Indicates whether the information about pending orders is returned. // // Valid values: // false // true. AttrHasReservationData() interface{} // Attribute InstanceChargeType: The billing method of the Internet Shared Bandwidth instance. // // Valid value: // PostPaid: pay-as-you-go // PrePaid: subscription. AttrInstanceChargeType() interface{} // Attribute InternetChargeType: The metering method of the Internet Shared Bandwidth instance. // // Valid value: // PayBy95: Charged by Enhanced 95th Percentile. // PayByBandwidth: Charged by Bandwidth. // PayByDominantTraffic: Charged by Dominant Traffic. AttrInternetChargeType() interface{} // Attribute Isp: The line type. // // Valid values: // BGP (default): BGP (Multi-ISP) lines. // BGP_PRO: BGP (Multi-ISP) Pro lines. // Valid values if you are allowed to use single-ISP bandwidth: // ChinaTelecom // ChinaUnicom // ChinaMobile // ChinaTelecom_L2 // ChinaUnicom_L2 // ChinaMobile_L2. AttrIsp() interface{} // Attribute PublicIpAddresses: The elastic IP addresses (EIPs) that are associated with the Internet Shared Bandwidth instance. AttrPublicIpAddresses() interface{} // Attribute Ratio: The percentage of the minimum bandwidth commitment. // // Only 20 is returned. AttrRatio() interface{} // Attribute ReservationActiveTime: The time when the renewal took effect. // // The time is displayed in the YYYY-MM-DDThh:mm:ssZ format. AttrReservationActiveTime() interface{} // Attribute ReservationBandwidth: The new maximum bandwidth after the configurations are changed. // // Unit: Mbit/s. AttrReservationBandwidth() interface{} // Attribute ReservationInternetChargeType: The metering method after the configurations are changed. // // Valid value: // PayBy95: Charged by Enhanced 95th Percentile. // PayByBandwidth: Charged by Bandwidth. // PayByDominantTraffic: Charged by Dominant Traffic. AttrReservationInternetChargeType() interface{} // Attribute ReservationOrderType: The renewal method. // // Valid values: // RENEWCHANGE: renewal with a specification change // TEMP_UPGRADE: renewal with a temporary upgrade // UPGRADE: renewal with an upgrade. AttrReservationOrderType() interface{} // Attribute ResourceGroupId: The ID of the resource group. AttrResourceGroupId() interface{} // Attribute ServiceManaged: Indicates whether the resource is created by the service account. // // Valid values: // 0: The resource is not created by the service account. // 1: The resource is created by the service account. AttrServiceManaged() interface{} // Attribute Status: The status of the Internet Shared Bandwidth instance. // // Valid values: // Available: The Internet Shared Bandwidth instance is available. // Modifying: The Internet Shared Bandwidth instance is being modified. AttrStatus() interface{} Props() *CommonBandwidthPackageProps }
Represents a `CommonBandwidthPackage`.
type ICommonBandwidthPackages ¶ added in v1.6.0
type ICommonBandwidthPackages interface { alicloudroscdkcore.IResource // Attribute CommonBandwidthPackageIds: The list of common bandwidth package IDs. AttrCommonBandwidthPackageIds() interface{} // Attribute CommonBandwidthPackages: The list of common bandwidth packages. AttrCommonBandwidthPackages() interface{} Props() *CommonBandwidthPackagesProps }
Represents a `CommonBandwidthPackages`.
type ICustomerGateway ¶ added in v1.6.0
type ICustomerGateway interface { alicloudroscdkcore.IResource // Attribute Asn: Asn. AttrAsn() interface{} // Attribute AuthKey: The authentication key of the local data center gateway device BGP routing protocol. AttrAuthKey() interface{} // Attribute CreateTime: The time when the customer gateway was created. AttrCreateTime() interface{} // Attribute CustomerGatewayId: The ID of the customer gateway. AttrCustomerGatewayId() interface{} // Attribute CustomerGatewayName: The name of the customer gateway. AttrCustomerGatewayName() interface{} // Attribute Description: The description of the customer gateway. AttrDescription() interface{} // Attribute IpAddress: The IP address of the customer gateway. AttrIpAddress() interface{} Props() *CustomerGatewayProps }
Represents a `CustomerGateway`.
type ICustomerGateways ¶ added in v1.6.0
type ICustomerGateways interface { alicloudroscdkcore.IResource // Attribute CustomerGatewayIds: The list of customer gateway IDs. AttrCustomerGatewayIds() interface{} // Attribute CustomerGateways: The list of customer gateways. AttrCustomerGateways() interface{} Props() *CustomerGatewaysProps }
Represents a `CustomerGateways`.
type IFlowLog ¶ added in v1.6.0
type IFlowLog interface { alicloudroscdkcore.IResource // Attribute AggregationInterval: Data aggregation interval. AttrAggregationInterval() interface{} // Attribute BusinessStatus: Business status. AttrBusinessStatus() interface{} // Attribute CreateTime: the time of creation. AttrCreateTime() interface{} // Attribute Description: The Description of flow log. AttrDescription() interface{} // Attribute FlowLogId: The flow log ID. AttrFlowLogId() interface{} // Attribute FlowLogName: The flow log name. AttrFlowLogName() interface{} // Attribute LogStoreName: The log store name. AttrLogStoreName() interface{} // Attribute ProjectName: The project name. AttrProjectName() interface{} // Attribute ResourceId: The resource id. AttrResourceId() interface{} // Attribute ResourceType: The resource type. AttrResourceType() interface{} // Attribute TrafficType: The traffic type. AttrTrafficType() interface{} Props() *FlowLogProps }
Represents a `FlowLog`.
type IFlowLogs ¶ added in v1.6.0
type IFlowLogs interface { alicloudroscdkcore.IResource // Attribute FlowLogIds: The list of flow log IDs. AttrFlowLogIds() interface{} // Attribute FlowLogs: The list of flow logs. AttrFlowLogs() interface{} Props() *FlowLogsProps }
Represents a `FlowLogs`.
type IHaVip ¶ added in v1.6.0
type IHaVip interface { alicloudroscdkcore.IResource // Attribute AssociatedEipAddresses: EIP bound to HaVip. AttrAssociatedEipAddresses() interface{} // Attribute AssociatedInstances: An ECS instance that is bound to HaVip. AttrAssociatedInstances() interface{} // Attribute AssociatedInstanceType: The type of the instance that is bound to the VIIP. AttrAssociatedInstanceType() interface{} // Attribute CreateTime: The creation time of the resource. AttrCreateTime() interface{} // Attribute Description: Dependence of a HaVip instance. AttrDescription() interface{} // Attribute HaVipId: The ID of the resource. AttrHaVipId() interface{} // Attribute HaVipName: The name of the HaVip instance. AttrHaVipName() interface{} // Attribute IpAddress: IP address of private network. AttrIpAddress() interface{} // Attribute MasterInstanceId: The primary instance ID bound to HaVip. AttrMasterInstanceId() interface{} // Attribute VpcId: The VPC ID to which the HaVip instance belongs. AttrVpcId() interface{} // Attribute VSwitchId: The switch ID to which the HaVip instance belongs. AttrVSwitchId() interface{} Props() *HaVipProps }
Represents a `HaVip`.
type IHaVips ¶ added in v1.6.0
type IHaVips interface { alicloudroscdkcore.IResource // Attribute HaVipIds: The list of ha vip IDs. AttrHaVipIds() interface{} // Attribute HaVips: The list of ha vips. AttrHaVips() interface{} Props() *HaVipsProps }
Represents a `HaVips`.
type IIpv4Gateway ¶ added in v1.6.0
type IIpv4Gateway interface { alicloudroscdkcore.IResource // Attribute CreateTime: The creation time of the resource. AttrCreateTime() interface{} // Attribute Enabled: Enabled. AttrEnabled() interface{} // Attribute Ipv4GatewayDescription: Description information. AttrIpv4GatewayDescription() interface{} // Attribute Ipv4GatewayId: The resource attribute field that represents the resource level 1 ID. AttrIpv4GatewayId() interface{} // Attribute Ipv4GatewayName: Resource name. AttrIpv4GatewayName() interface{} // Attribute Ipv4GatewayRouteTableId: ID of the route table associated with IPv4 Gateway. AttrIpv4GatewayRouteTableId() interface{} // Attribute VpcId: The ID of the VPC associated with the IPv4 Gateway. AttrVpcId() interface{} Props() *Ipv4GatewayProps }
Represents a `Ipv4Gateway`.
type IIpv4Gateways ¶ added in v1.6.0
type IIpv4Gateways interface { alicloudroscdkcore.IResource // Attribute Ipv4GatewayIds: The list of ipv4 gateway IDs. AttrIpv4GatewayIds() interface{} // Attribute Ipv4Gateways: The list of ipv4 gateways. AttrIpv4Gateways() interface{} Props() *Ipv4GatewaysProps }
Represents a `Ipv4Gateways`.
type INatGateway ¶ added in v1.6.0
type INatGateway interface { alicloudroscdkcore.IResource // Attribute AutoPay: Indicates whether automatic payment is enabled. // // Valid values: // false: no // true: yes. AttrAutoPay() interface{} // Attribute BusinessStatus: The status of the NAT gateway. // // Valid values: // Normal: normal // FinancialLocked: locked due to overdue payments. AttrBusinessStatus() interface{} // Attribute CreateTime: The time when the NAT gateway was created. // // The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. AttrCreateTime() interface{} // Attribute DeletionProtection: Indicates whether the deletion protection feature is enabled. // // Valid values: // true: yes // false: no. AttrDeletionProtection() interface{} // Attribute Description: The description of the NAT gateway. AttrDescription() interface{} // Attribute EipBindMode: The mode in which the NAT gateway is associated with an elastic IP address (EIP). // // Valid values: // MULTI_BINDED: multi-EIP-to-ENI mode* NAT: NAT mode, which is compatible with IPv4 addresses. AttrEipBindMode() interface{} // Attribute ExpiredTime: The time when the NAT gateway expires. AttrExpiredTime() interface{} // Attribute ForwardTableIds: The ID of the Destination Network Address Translation (DNAT) table. AttrForwardTableIds() interface{} // Attribute IcmpReplyEnabled: Indicates whether the ICMP non-retrieval feature is enabled. // // Valid values: // true: yes // false: no. AttrIcmpReplyEnabled() interface{} // Attribute InternetChargeType: The metering method of the NAT gateway. // // Valid values: // PayBySpec: pay-by-specification // PayByLcu: pay-by-CU. AttrInternetChargeType() interface{} // Attribute IpLists: The list of elastic IP addresses (EIPs) that are associated with the Internet NAT gateway. AttrIpLists() interface{} // Attribute NatGatewayId: The ID of the NAT gateway. AttrNatGatewayId() interface{} // Attribute NatGatewayName: The name of the NAT gateway. // // The name must be 1 to 128 characters in length, and cannot start with http:// or https://. If this parameter is not set, the system automatically assigns a name to the NAT gateway. AttrNatGatewayName() interface{} // Attribute NatGatewayPrivateInfo: The private network information about the enhanced Internet NAT gateway. AttrNatGatewayPrivateInfo() interface{} // Attribute NatType: The type of the NAT gateway. // // The value is set to Enhanced (enhanced NAT gateway). AttrNatType() interface{} // Attribute NetworkType: The type of NAT gateway. // // Valid values: // internet: an Internet NAT gateway // intranet: a VPC NAT gateway. AttrNetworkType() interface{} // Attribute PaymentType: The billing method of the NAT gateway. // // Valid values: PrePaid: subscription PostPaid: pay-as-you-go. AttrPaymentType() interface{} // Attribute SecurityProtectionEnabled: Indicates whether the firewall feature is enabled. // // Valid values: // false: no // true: yes. AttrSecurityProtectionEnabled() interface{} // Attribute SnatTableIds: The ID of the SNAT table of the NAT gateway. AttrSnatTableIds() interface{} // Attribute Spec: The size of the NAT gateway. // // An empty value is returned for the parameter. If InternetChargeType is set to PayByLcu, an empty value is returned. AttrSpec() interface{} // Attribute VpcId: The ID of the VPC where the NAT gateway is deployed. AttrVpcId() interface{} Props() *NatGatewayProps }
Represents a `NatGateway`.
type INatGatewayZones ¶ added in v1.6.0
type INatGatewayZones interface { alicloudroscdkcore.IResource // Attribute ZoneIds: The list of The Zone Ids. AttrZoneIds() interface{} Props() *NatGatewayZonesProps }
Represents a `NatGatewayZones`.
type INatGateways ¶ added in v1.6.0
type INatGateways interface { alicloudroscdkcore.IResource // Attribute NatGatewayIds: The list of The nat gateway ids. AttrNatGatewayIds() interface{} // Attribute NatGateways: The list of The nat gateways. AttrNatGateways() interface{} Props() *NatGatewaysProps }
Represents a `NatGateways`.
type INatIpCidrs ¶ added in v1.6.0
type INatIpCidrs interface { alicloudroscdkcore.IResource // Attribute NatIpCidrIds: The list of nat ip cidr IDs. AttrNatIpCidrIds() interface{} // Attribute NatIpCidrs: The list of nat ip cidrs. AttrNatIpCidrs() interface{} Props() *NatIpCidrsProps }
Represents a `NatIpCidrs`.
type INetworkAcls ¶ added in v1.6.0
type INetworkAcls interface { alicloudroscdkcore.IResource // Attribute NetworkAclIds: The list of The network acl ids. AttrNetworkAclIds() interface{} // Attribute NetworkAcls: The list of The network acls. AttrNetworkAcls() interface{} Props() *NetworkAclsProps }
Represents a `NetworkAcls`.
type IPrefixList ¶ added in v1.6.0
type IPrefixList interface { alicloudroscdkcore.IResource // Attribute CreateTime: The time when the prefix list was created. AttrCreateTime() interface{} // Attribute Entries: The CIDR address block list of the prefix list. AttrEntries() interface{} // Attribute IpVersion: The IP version of the prefix list. AttrIpVersion() interface{} // Attribute MaxEntries: The maximum number of entries for CIDR address blocks in the prefix list. AttrMaxEntries() interface{} // Attribute OwnerId: The Alibaba Cloud account (primary account) to which the prefix list belongs. AttrOwnerId() interface{} // Attribute PrefixListDescription: The description of the prefix list. AttrPrefixListDescription() interface{} // Attribute PrefixListId: The ID of the query Prefix List. AttrPrefixListId() interface{} // Attribute PrefixListName: The name of the prefix list. AttrPrefixListName() interface{} // Attribute ResourceGroupId: The ID of the resource group to which the VPC belongs. AttrResourceGroupId() interface{} AttrShareType() interface{} // Attribute Tags: The tags of PrefixList. AttrTags() interface{} Props() *PrefixListProps }
Represents a `PrefixList`.
type IPrefixLists ¶ added in v1.6.0
type IPrefixLists interface { alicloudroscdkcore.IResource // Attribute PrefixListIds: The list of prefix list IDs. AttrPrefixListIds() interface{} // Attribute PrefixLists: The list of prefix lists. AttrPrefixLists() interface{} Props() *PrefixListsProps }
Represents a `PrefixLists`.
type IPublicIpAddressPool ¶ added in v1.6.0
type IPublicIpAddressPool interface { alicloudroscdkcore.IResource // Attribute CreateTime: The creation time of the resource. AttrCreateTime() interface{} // Attribute Description: Description. AttrDescription() interface{} // Attribute IpAddressRemaining: Whether there is a free IP address. AttrIpAddressRemaining() interface{} // Attribute Isp: Service providers. AttrIsp() interface{} // Attribute PublicIpAddressPoolId: The first ID of the resource. AttrPublicIpAddressPoolId() interface{} // Attribute PublicIpAddressPoolName: The name of the resource. AttrPublicIpAddressPoolName() interface{} // Attribute ResourceGroupId: The ID of the resource group to which the VPC belongs. AttrResourceGroupId() interface{} // Attribute Tags: The tags of PrefixList. AttrTags() interface{} // Attribute TotalIpNum: Total ip number of PublicIpAddressPool. AttrTotalIpNum() interface{} // Attribute UsedIpNum: Used ip number of PublicIpAddressPool. AttrUsedIpNum() interface{} Props() *PublicIpAddressPoolProps }
Represents a `PublicIpAddressPool`.
type IPublicIpAddressPools ¶ added in v1.6.0
type IPublicIpAddressPools interface { alicloudroscdkcore.IResource // Attribute PublicIpAddressPoolIds: The list of public ip address pool IDs. AttrPublicIpAddressPoolIds() interface{} // Attribute PublicIpAddressPools: The list of public ip address pools. AttrPublicIpAddressPools() interface{} Props() *PublicIpAddressPoolsProps }
Represents a `PublicIpAddressPools`.
type IRouteEntries ¶ added in v1.6.0
type IRouteEntries interface { alicloudroscdkcore.IResource // Attribute RouteEntries: The list of The route entries. AttrRouteEntries() interface{} // Attribute RouteEntryIds: the list of the route entry ids. AttrRouteEntryIds() interface{} Props() *RouteEntriesProps }
Represents a `RouteEntries`.
type IRouteTable ¶ added in v1.6.0
type IRouteTable interface { alicloudroscdkcore.IResource // Attribute CreateTime: The creation time of the routing table. AttrCreateTime() interface{} // Attribute Description: Description of the routing table. AttrDescription() interface{} // Attribute ResourceGroupId: Resource group ID. AttrResourceGroupId() interface{} // Attribute RouterId: The router ID to which the routing table belongs. AttrRouterId() interface{} // Attribute RouterType: The router type to which the routing table belongs. AttrRouterType() interface{} // Attribute RouteTableId: The ID of the routing table. AttrRouteTableId() interface{} // Attribute RouteTableName: The name of the routing table. AttrRouteTableName() interface{} // Attribute RouteTableType: The type of routing table. AttrRouteTableType() interface{} // Attribute Tags: The tag. AttrTags() interface{} // Attribute VpcId: The ID of VPC. AttrVpcId() interface{} // Attribute VSwitchIds: The ID of the switch. AttrVSwitchIds() interface{} Props() *RouteTableProps }
Represents a `RouteTable`.
type IRouteTables ¶ added in v1.6.0
type IRouteTables interface { alicloudroscdkcore.IResource // Attribute RouteTableIds: the list of the route table ids. AttrRouteTableIds() interface{} // Attribute RouteTables: The list of The route tables. AttrRouteTables() interface{} Props() *RouteTablesProps }
Represents a `RouteTables`.
type ITrafficMirrorFilter ¶ added in v1.6.0
type ITrafficMirrorFilter interface { alicloudroscdkcore.IResource // Attribute EgressRules: EgressRules. AttrEgressRules() interface{} // Attribute IngressRules: IngressRules. AttrIngressRules() interface{} // Attribute TrafficMirrorFilterDescription: The description of the TrafficMirrorFilter. AttrTrafficMirrorFilterDescription() interface{} // Attribute TrafficMirrorFilterId: The first ID of the resource. AttrTrafficMirrorFilterId() interface{} // Attribute TrafficMirrorFilterName: The name of the TrafficMirrorFilter. AttrTrafficMirrorFilterName() interface{} Props() *TrafficMirrorFilterProps }
Represents a `TrafficMirrorFilter`.
type ITrafficMirrorFilters ¶ added in v1.6.0
type ITrafficMirrorFilters interface { alicloudroscdkcore.IResource // Attribute TrafficMirrorFilterIds: The list of traffic mirror filter IDs. AttrTrafficMirrorFilterIds() interface{} // Attribute TrafficMirrorFilters: The list of traffic mirror filters. AttrTrafficMirrorFilters() interface{} Props() *TrafficMirrorFiltersProps }
Represents a `TrafficMirrorFilters`.
type IVSwitch ¶ added in v1.6.0
type IVSwitch interface { alicloudroscdkcore.IResource // Attribute AvailableIpAddressCount: The number of available IP addresses. AttrAvailableIpAddressCount() interface{} // Attribute CidrBlock: The IPv4 CIDR block of the VSwitch. AttrCidrBlock() interface{} // Attribute CreateTime: The creation time of the VSwitch. AttrCreateTime() interface{} // Attribute Description: The description of VSwitch. AttrDescription() interface{} // Attribute Ipv6CidrBlock: The IPv6 CIDR block of the VSwitch. AttrIpv6CidrBlock() interface{} // Attribute IsDefault: Indicates whether the VSwitch is a default VSwitch. AttrIsDefault() interface{} // Attribute ResourceGroupId: The resource group id of VSwitch. AttrResourceGroupId() interface{} // Attribute RouteTableId: The route table id. AttrRouteTableId() interface{} // Attribute Tags: The tags of VSwitch. AttrTags() interface{} // Attribute VpcId: The VPC ID. AttrVpcId() interface{} // Attribute VSwitchId: The ID of the VSwitch. AttrVSwitchId() interface{} // Attribute VSwitchName: The name of the VSwitch. AttrVSwitchName() interface{} // Attribute ZoneId: The zone ID of the resource. AttrZoneId() interface{} Props() *VSwitchProps }
Represents a `VSwitch`.
type IVSwitches ¶ added in v1.6.0
type IVSwitches interface { alicloudroscdkcore.IResource // Attribute VSwitches: The detailed information about the vSwitches. AttrVSwitches() interface{} // Attribute VSwitchIds: The list of The vSwitch Ids. AttrVSwitchIds() interface{} Props() *VSwitchesProps }
Represents a `VSwitches`.
type IVpc ¶ added in v1.6.0
type IVpc interface { alicloudroscdkcore.IResource // Attribute CidrBlock: The IPv4 CIDR block of the VPC. AttrCidrBlock() interface{} // Attribute ClassicLinkEnabled: status of vpc ClassicLink.. AttrClassicLinkEnabled() interface{} // Attribute CreateTime: The time at which the VPC was created. AttrCreateTime() interface{} // Attribute Description: The description of the VPC. AttrDescription() interface{} // Attribute DhcpOptionsSetId: The ID of the DHCP option set. AttrDhcpOptionsSetId() interface{} // Attribute Ipv6CidrBlock: The ipv6 cidr block of vpc. AttrIpv6CidrBlock() interface{} // Attribute Ipv6CidrBlocks: The IPv6 network segment of the VPC. AttrIpv6CidrBlocks() interface{} // 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. AttrIsDefault() interface{} // Attribute ResourceGroupId: The ID of the resource group to which the VPC belongs. AttrResourceGroupId() interface{} // Attribute RouterId: The ID of the VRouter. AttrRouterId() interface{} // Attribute SecondaryCidrBlocks: Additional network segment information. AttrSecondaryCidrBlocks() interface{} // Attribute Tags: The tags of Vpc. AttrTags() interface{} // Attribute UserCidrs: A list of user CIDRs. AttrUserCidrs() interface{} // Attribute VpcId: The ID of the VPC. AttrVpcId() interface{} // Attribute VpcName: The name of the VPC. AttrVpcName() interface{} // Attribute VSwitchIds: A list of VSwitches in the VPC. AttrVSwitchIds() interface{} Props() *VpcProps }
Represents a `Vpc`.
type IVpcs ¶ added in v1.6.0
type IVpcs interface { alicloudroscdkcore.IResource // Attribute VpcIds: The list of The VPC IDs. AttrVpcIds() interface{} // Attribute Vpcs: The detailed information about the VPCs. AttrVpcs() interface{} Props() *VpcsProps }
Represents a `Vpcs`.
type Ipv4Gateway ¶
type Ipv4Gateway interface { alicloudroscdkcore.Resource IIpv4Gateway // Attribute CreateTime: The creation time of the resource. AttrCreateTime() interface{} // Attribute Enabled: Enabled. AttrEnabled() interface{} // Attribute Ipv4GatewayDescription: Description information. AttrIpv4GatewayDescription() interface{} // Attribute Ipv4GatewayId: The resource attribute field that represents the resource level 1 ID. AttrIpv4GatewayId() interface{} // Attribute Ipv4GatewayName: Resource name. AttrIpv4GatewayName() interface{} // Attribute Ipv4GatewayRouteTableId: ID of the route table associated with IPv4 Gateway. AttrIpv4GatewayRouteTableId() interface{} // Attribute VpcId: The ID of the VPC associated with the IPv4 Gateway. AttrVpcId() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *Ipv4GatewayProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::Ipv4Gateway`, which is used to query the information about an IPv4 gateway.
func NewIpv4Gateway ¶
func NewIpv4Gateway(scope alicloudroscdkcore.Construct, id *string, props *Ipv4GatewayProps, enableResourcePropertyConstraint *bool) Ipv4Gateway
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type Ipv4GatewayProps ¶
type Ipv4GatewayProps struct { // Property ipv4GatewayId: The resource attribute field that represents the resource level 1 ID. Ipv4GatewayId interface{} `field:"required" json:"ipv4GatewayId" yaml:"ipv4GatewayId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `Ipv4Gateway`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-ipv4gateway
type Ipv4Gateways ¶
type Ipv4Gateways interface { alicloudroscdkcore.Resource IIpv4Gateways // Attribute Ipv4GatewayIds: The list of ipv4 gateway IDs. AttrIpv4GatewayIds() interface{} // Attribute Ipv4Gateways: The list of ipv4 gateways. AttrIpv4Gateways() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *Ipv4GatewaysProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::Ipv4Gateways`, which is used to query the details of IPv4 gateways.
func NewIpv4Gateways ¶
func NewIpv4Gateways(scope alicloudroscdkcore.Construct, id *string, props *Ipv4GatewaysProps, enableResourcePropertyConstraint *bool) Ipv4Gateways
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type Ipv4GatewaysProps ¶
type Ipv4GatewaysProps struct { // Property ipv4GatewayId: The resource attribute field that represents the resource level 1 ID. Ipv4GatewayId interface{} `field:"optional" json:"ipv4GatewayId" yaml:"ipv4GatewayId"` // Property ipv4GatewayName: Resource name. Ipv4GatewayName interface{} `field:"optional" json:"ipv4GatewayName" yaml:"ipv4GatewayName"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property vpcId: The ID of the VPC associated with the IPv4 Gateway. VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` }
Properties for defining a `Ipv4Gateways`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-ipv4gateways
type NatGateway ¶
type NatGateway interface { alicloudroscdkcore.Resource INatGateway // Attribute AutoPay: Indicates whether automatic payment is enabled. // // Valid values: // false: no // true: yes. AttrAutoPay() interface{} // Attribute BusinessStatus: The status of the NAT gateway. // // Valid values: // Normal: normal // FinancialLocked: locked due to overdue payments. AttrBusinessStatus() interface{} // Attribute CreateTime: The time when the NAT gateway was created. // // The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. AttrCreateTime() interface{} // Attribute DeletionProtection: Indicates whether the deletion protection feature is enabled. // // Valid values: // true: yes // false: no. AttrDeletionProtection() interface{} // Attribute Description: The description of the NAT gateway. AttrDescription() interface{} // Attribute EipBindMode: The mode in which the NAT gateway is associated with an elastic IP address (EIP). // // Valid values: // MULTI_BINDED: multi-EIP-to-ENI mode* NAT: NAT mode, which is compatible with IPv4 addresses. AttrEipBindMode() interface{} // Attribute ExpiredTime: The time when the NAT gateway expires. AttrExpiredTime() interface{} // Attribute ForwardTableIds: The ID of the Destination Network Address Translation (DNAT) table. AttrForwardTableIds() interface{} // Attribute IcmpReplyEnabled: Indicates whether the ICMP non-retrieval feature is enabled. // // Valid values: // true: yes // false: no. AttrIcmpReplyEnabled() interface{} // Attribute InternetChargeType: The metering method of the NAT gateway. // // Valid values: // PayBySpec: pay-by-specification // PayByLcu: pay-by-CU. AttrInternetChargeType() interface{} // Attribute IpLists: The list of elastic IP addresses (EIPs) that are associated with the Internet NAT gateway. AttrIpLists() interface{} // Attribute NatGatewayId: The ID of the NAT gateway. AttrNatGatewayId() interface{} // Attribute NatGatewayName: The name of the NAT gateway. // // The name must be 1 to 128 characters in length, and cannot start with http:// or https://. If this parameter is not set, the system automatically assigns a name to the NAT gateway. AttrNatGatewayName() interface{} // Attribute NatGatewayPrivateInfo: The private network information about the enhanced Internet NAT gateway. AttrNatGatewayPrivateInfo() interface{} // Attribute NatType: The type of the NAT gateway. // // The value is set to Enhanced (enhanced NAT gateway). AttrNatType() interface{} // Attribute NetworkType: The type of NAT gateway. // // Valid values: // internet: an Internet NAT gateway // intranet: a VPC NAT gateway. AttrNetworkType() interface{} // Attribute PaymentType: The billing method of the NAT gateway. // // Valid values: PrePaid: subscription PostPaid: pay-as-you-go. AttrPaymentType() interface{} // Attribute SecurityProtectionEnabled: Indicates whether the firewall feature is enabled. // // Valid values: // false: no // true: yes. AttrSecurityProtectionEnabled() interface{} // Attribute SnatTableIds: The ID of the SNAT table of the NAT gateway. AttrSnatTableIds() interface{} // Attribute Spec: The size of the NAT gateway. // // An empty value is returned for the parameter. If InternetChargeType is set to PayByLcu, an empty value is returned. AttrSpec() interface{} // Attribute VpcId: The ID of the VPC where the NAT gateway is deployed. AttrVpcId() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *NatGatewayProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::NatGateway`, which is used to query the information about a NAT gateway.
func NewNatGateway ¶
func NewNatGateway(scope alicloudroscdkcore.Construct, id *string, props *NatGatewayProps, enableResourcePropertyConstraint *bool) NatGateway
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type NatGatewayProps ¶
type NatGatewayProps struct { // Property natGatewayId: The ID of the NAT gateway. NatGatewayId interface{} `field:"required" json:"natGatewayId" yaml:"natGatewayId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `NatGateway`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-natgateway
type NatGatewayZones ¶
type NatGatewayZones interface { alicloudroscdkcore.Resource INatGatewayZones // Attribute ZoneIds: The list of The Zone Ids. AttrZoneIds() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *NatGatewayZonesProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::NatGatewayZones`, which is used to query the zones of a NAT gateway.
func NewNatGatewayZones ¶
func NewNatGatewayZones(scope alicloudroscdkcore.Construct, id *string, props *NatGatewayZonesProps, enableResourcePropertyConstraint *bool) NatGatewayZones
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type NatGatewayZonesProps ¶
type NatGatewayZonesProps struct { // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `NatGatewayZones`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-natgatewayzones
type NatGateways ¶
type NatGateways interface { alicloudroscdkcore.Resource INatGateways // Attribute NatGatewayIds: The list of The nat gateway ids. AttrNatGatewayIds() interface{} // Attribute NatGateways: The list of The nat gateways. AttrNatGateways() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *NatGatewaysProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::NatGateways`, which is used to query NAT gateways.
func NewNatGateways ¶
func NewNatGateways(scope alicloudroscdkcore.Construct, id *string, props *NatGatewaysProps, enableResourcePropertyConstraint *bool) NatGateways
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type NatGatewaysProps ¶
type NatGatewaysProps struct { // Property instanceChargeType: The billing method of the NAT gateway. // // Set the value to PostPaid, which specifies the pay-as-you-go billing method. InstanceChargeType interface{} `field:"optional" json:"instanceChargeType" yaml:"instanceChargeType"` // Property name: The name of the NAT gateway. Name interface{} `field:"optional" json:"name" yaml:"name"` // Property natGatewayId: The ID of the NAT gateway. NatGatewayId interface{} `field:"optional" json:"natGatewayId" yaml:"natGatewayId"` // Property natType: The type of NAT gateway. // // Set the value to Enhanced (enhanced NAT gateway). NatType interface{} `field:"optional" json:"natType" yaml:"natType"` // Property networkType: The type of the NAT gateway. // // Valid values: // internet: an Internet NAT gateway // intranet: a VPC NAT gateway. NetworkType interface{} `field:"optional" json:"networkType" yaml:"networkType"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceGroupId: The ID of the resource group to which the NAT gateway belongs. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` // Property status: The status of the NAT gateway. // // Valid values: // Creating: After you send a request to create a NAT gateway, the system creates the NAT gateway in the background. The NAT gateway remains in the Creating state until the operation is completed. // Available: The NAT gateway remains in a stable state after the NAT gateway is created. // Modifying: After you send a request to modify a NAT gateway, the system modifies the NAT gateway in the background. The NAT gateway remains in the Modifying state until the operation is completed. // Deleting: After you send a request to delete a NAT gateway, the system deletes the NAT gateway in the background. The NAT gateway remains in the Deleting state until the operation is completed. // Converting: After you send a request to upgrade a standard NAT gateway to an enhanced NAT gateway, the system upgrades the NAT gateway in the background. The NAT gateway remains in the Converting state until the operation is completed. Status interface{} `field:"optional" json:"status" yaml:"status"` // Property vpcId: The ID of the VPC to which the NAT gateway belongs. VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` // Property zoneId: The ID of the zone to which the NAT gateway belongs. ZoneId interface{} `field:"optional" json:"zoneId" yaml:"zoneId"` }
Properties for defining a `NatGateways`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-natgateways
type NatIpCidrs ¶
type NatIpCidrs interface { alicloudroscdkcore.Resource INatIpCidrs // Attribute NatIpCidrIds: The list of nat ip cidr IDs. AttrNatIpCidrIds() interface{} // Attribute NatIpCidrs: The list of nat ip cidrs. AttrNatIpCidrs() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *NatIpCidrsProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::NatIpCidrs`, which is used to query the CIDR blocks of a NAT gateway.
func NewNatIpCidrs ¶
func NewNatIpCidrs(scope alicloudroscdkcore.Construct, id *string, props *NatIpCidrsProps, enableResourcePropertyConstraint *bool) NatIpCidrs
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type NatIpCidrsProps ¶
type NatIpCidrsProps struct { // Property natGatewayId: NAT IP ADDRESS range to the security group of the Kafka VPC NAT gateway instance ID. NatGatewayId interface{} `field:"required" json:"natGatewayId" yaml:"natGatewayId"` // Property natIpCidr: Create a NAT IP ADDRESS. // // The new address segment must meet the following conditions: belong to 10.0.0.0\/8, 172.16.0.0\/12 or 192.168.0.0\/16 network segment and its subnet. Support the subnet mask of the number of bits in the range of 16 to 32-bit. If you want to use the IP address of a public network segment as the NAT IP ADDRESS, the Virtual Private Cloud (VPC NAT is already using the IP address of a public network of permissions. For more information, see create a virtual private cloud (VPC NAT gateway instance. NatIpCidr interface{} `field:"optional" json:"natIpCidr" yaml:"natIpCidr"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `NatIpCidrs`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-natipcidrs
type NetworkAcls ¶
type NetworkAcls interface { alicloudroscdkcore.Resource INetworkAcls // Attribute NetworkAclIds: The list of The network acl ids. AttrNetworkAclIds() interface{} // Attribute NetworkAcls: The list of The network acls. AttrNetworkAcls() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *NetworkAclsProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::NetworkAcls`, which is used to query created network access control lists (ACLs).
func NewNetworkAcls ¶
func NewNetworkAcls(scope alicloudroscdkcore.Construct, id *string, props *NetworkAclsProps, enableResourcePropertyConstraint *bool) NetworkAcls
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type NetworkAclsProps ¶
type NetworkAclsProps struct { // Property networkAclId: The ID of the network ACL. NetworkAclId interface{} `field:"optional" json:"networkAclId" yaml:"networkAclId"` // Property networkAclName: The name of the network ACL. // // The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter but cannot start with http:\/\/ or https:\/\/. NetworkAclName interface{} `field:"optional" json:"networkAclName" yaml:"networkAclName"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceId: The ID of the associated instance.This parameter is valid only if ResourceType and ResourceId are both set. ResourceId interface{} `field:"optional" json:"resourceId" yaml:"resourceId"` // Property resourceType: The type of the associated instance. // // Set the value to VSwitch. // This parameter is valid only if ResourceType and ResourceId are both set. ResourceType interface{} `field:"optional" json:"resourceType" yaml:"resourceType"` // Property vpcId: The ID of the virtual private cloud (VPC) to which the network ACL belongs. VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` }
Properties for defining a `NetworkAcls`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-networkacls
type PrefixList ¶
type PrefixList interface { alicloudroscdkcore.Resource IPrefixList // Attribute CreateTime: The time when the prefix list was created. AttrCreateTime() interface{} // Attribute Entries: The CIDR address block list of the prefix list. AttrEntries() interface{} // Attribute IpVersion: The IP version of the prefix list. AttrIpVersion() interface{} // Attribute MaxEntries: The maximum number of entries for CIDR address blocks in the prefix list. AttrMaxEntries() interface{} // Attribute OwnerId: The Alibaba Cloud account (primary account) to which the prefix list belongs. AttrOwnerId() interface{} // Attribute PrefixListDescription: The description of the prefix list. AttrPrefixListDescription() interface{} // Attribute PrefixListId: The ID of the query Prefix List. AttrPrefixListId() interface{} // Attribute PrefixListName: The name of the prefix list. AttrPrefixListName() interface{} // Attribute ResourceGroupId: The ID of the resource group to which the VPC belongs. AttrResourceGroupId() interface{} AttrShareType() interface{} // Attribute Tags: The tags of PrefixList. AttrTags() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *PrefixListProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::PrefixList`, which is used to query the information about a prefix list.
func NewPrefixList ¶
func NewPrefixList(scope alicloudroscdkcore.Construct, id *string, props *PrefixListProps, enableResourcePropertyConstraint *bool) PrefixList
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type PrefixListProps ¶
type PrefixListProps struct { // Property prefixListId: The ID of the query Prefix List. PrefixListId interface{} `field:"required" json:"prefixListId" yaml:"prefixListId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `PrefixList`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-prefixlist
type PrefixLists ¶
type PrefixLists interface { alicloudroscdkcore.Resource IPrefixLists // Attribute PrefixListIds: The list of prefix list IDs. AttrPrefixListIds() interface{} // Attribute PrefixLists: The list of prefix lists. AttrPrefixLists() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *PrefixListsProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::PrefixLists`, which is used to query prefix lists.
func NewPrefixLists ¶
func NewPrefixLists(scope alicloudroscdkcore.Construct, id *string, props *PrefixListsProps, enableResourcePropertyConstraint *bool) PrefixLists
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type PrefixListsProps ¶
type PrefixListsProps struct { // Property prefixListName: The name of the prefix list. PrefixListName interface{} `field:"optional" json:"prefixListName" yaml:"prefixListName"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceGroupId: The ID of the resource group to which the VPC belongs. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `PrefixLists`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-prefixlists
type PublicIpAddressPool ¶
type PublicIpAddressPool interface { alicloudroscdkcore.Resource IPublicIpAddressPool // Attribute CreateTime: The creation time of the resource. AttrCreateTime() interface{} // Attribute Description: Description. AttrDescription() interface{} // Attribute IpAddressRemaining: Whether there is a free IP address. AttrIpAddressRemaining() interface{} // Attribute Isp: Service providers. AttrIsp() interface{} // Attribute PublicIpAddressPoolId: The first ID of the resource. AttrPublicIpAddressPoolId() interface{} // Attribute PublicIpAddressPoolName: The name of the resource. AttrPublicIpAddressPoolName() interface{} // Attribute ResourceGroupId: The ID of the resource group to which the VPC belongs. AttrResourceGroupId() interface{} // Attribute Tags: The tags of PrefixList. AttrTags() interface{} // Attribute TotalIpNum: Total ip number of PublicIpAddressPool. AttrTotalIpNum() interface{} // Attribute UsedIpNum: Used ip number of PublicIpAddressPool. AttrUsedIpNum() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *PublicIpAddressPoolProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::PublicIpAddressPool`, which is used to query the basic information about an available IP address pool.
func NewPublicIpAddressPool ¶
func NewPublicIpAddressPool(scope alicloudroscdkcore.Construct, id *string, props *PublicIpAddressPoolProps, enableResourcePropertyConstraint *bool) PublicIpAddressPool
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type PublicIpAddressPoolProps ¶
type PublicIpAddressPoolProps struct { // Property publicIpAddressPoolId: The first ID of the resource. PublicIpAddressPoolId interface{} `field:"required" json:"publicIpAddressPoolId" yaml:"publicIpAddressPoolId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `PublicIpAddressPool`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-publicipaddresspool
type PublicIpAddressPools ¶
type PublicIpAddressPools interface { alicloudroscdkcore.Resource IPublicIpAddressPools // Attribute PublicIpAddressPoolIds: The list of public ip address pool IDs. AttrPublicIpAddressPoolIds() interface{} // Attribute PublicIpAddressPools: The list of public ip address pools. AttrPublicIpAddressPools() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *PublicIpAddressPoolsProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::PublicIpAddressPools`, which is used to query available IP address pools.
func NewPublicIpAddressPools ¶
func NewPublicIpAddressPools(scope alicloudroscdkcore.Construct, id *string, props *PublicIpAddressPoolsProps, enableResourcePropertyConstraint *bool) PublicIpAddressPools
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type PublicIpAddressPoolsProps ¶
type PublicIpAddressPoolsProps struct { // Property isp: The line type. // // Valid values: // BGP (default): BGP (Multi-ISP) lines // BGP_PRO: BGP (Multi-ISP) Pro lines // For more information about BGP (Multi-ISP) and BGP (Multi-ISP) Pro, see EIP line types. // If you are allowed to use single-ISP bandwidth, you can also choose one of the following values: // ChinaTelecom: China Telecom // ChinaUnicom: China Unicom // ChinaMobile: China Mobile // ChinaTelecom_L2: China Telecom L2 // ChinaUnicom_L2: China Unicom L2 // ChinaMobile_L2: China Mobile L2 // If your services are deployed in China East 1 Finance, // this parameter is required and you must set the value to BGP_FinanceCloud. Isp interface{} `field:"optional" json:"isp" yaml:"isp"` // Property publicIpAddressPoolName: The name of the IP address pool. // // This parameter is optional. The name must be 1 to 128 characters in length, // and can contain digits, periods (.), underscores (_), and hyphens (-). // The name must start with a letter but cannot start with http:\/\/ or https:\/\/. PublicIpAddressPoolName interface{} `field:"optional" json:"publicIpAddressPoolName" yaml:"publicIpAddressPoolName"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceGroupId: The ID of the resource group to which the IP address pool belongs. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `PublicIpAddressPools`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-publicipaddresspools
type RosAddress ¶
type RosAddress interface { alicloudroscdkcore.RosResource AllocationId() interface{} SetAllocationId(val interface{}) AttrAddressName() alicloudroscdkcore.IResolvable AttrAllocationId() alicloudroscdkcore.IResolvable AttrBandwidth() alicloudroscdkcore.IResolvable AttrBandwidthPackageBandwidth() alicloudroscdkcore.IResolvable AttrBandwidthPackageId() alicloudroscdkcore.IResolvable AttrBandwidthPackageType() alicloudroscdkcore.IResolvable AttrBusinessStatus() alicloudroscdkcore.IResolvable AttrCreateTime() alicloudroscdkcore.IResolvable AttrDeletionProtection() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrEipBandwidth() alicloudroscdkcore.IResolvable AttrExpiredTime() alicloudroscdkcore.IResolvable AttrHasReservationData() alicloudroscdkcore.IResolvable AttrHdMonitorStatus() alicloudroscdkcore.IResolvable AttrInstanceId() alicloudroscdkcore.IResolvable AttrInstanceRegionId() alicloudroscdkcore.IResolvable AttrInstanceType() alicloudroscdkcore.IResolvable AttrIpAddress() alicloudroscdkcore.IResolvable AttrIsp() alicloudroscdkcore.IResolvable AttrNetmode() alicloudroscdkcore.IResolvable AttrOperationLocks() alicloudroscdkcore.IResolvable AttrPaymentType() alicloudroscdkcore.IResolvable AttrPublicIpAddressPoolId() alicloudroscdkcore.IResolvable AttrReservationActiveTime() alicloudroscdkcore.IResolvable AttrReservationBandwidth() alicloudroscdkcore.IResolvable AttrReservationInternetChargeType() alicloudroscdkcore.IResolvable AttrReservationOrderType() alicloudroscdkcore.IResolvable AttrResourceGroupId() alicloudroscdkcore.IResolvable AttrSecondLimited() alicloudroscdkcore.IResolvable AttrSecurityProtectionTypes() alicloudroscdkcore.IResolvable AttrSegmentInstanceId() alicloudroscdkcore.IResolvable AttrServiceManaged() alicloudroscdkcore.IResolvable AttrTags() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::EIP::Address`, which is used to query the information about a created elastic IP address (EIP).
func NewRosAddress ¶
func NewRosAddress(scope alicloudroscdkcore.Construct, id *string, props *RosAddressProps, enableResourcePropertyConstraint *bool) RosAddress
type RosAddressProps ¶
type RosAddressProps struct { AllocationId interface{} `field:"required" json:"allocationId" yaml:"allocationId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosAddress`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-eip-address
type RosAddresses ¶
type RosAddresses interface { alicloudroscdkcore.RosResource AddressName() interface{} SetAddressName(val interface{}) AllocationId() interface{} SetAllocationId(val interface{}) AttrAddresses() alicloudroscdkcore.IResolvable AttrAllocationIds() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) InstanceId() interface{} SetInstanceId(val interface{}) InstanceType() interface{} SetInstanceType(val interface{}) IpAddress() interface{} SetIpAddress(val interface{}) Isp() interface{} SetIsp(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode PaymentType() interface{} SetPaymentType(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string SegmentInstanceId() interface{} SetSegmentInstanceId(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::EIP::Addresses`, which is used to query the information about elastic IP addresses (EIPs).
func NewRosAddresses ¶
func NewRosAddresses(scope alicloudroscdkcore.Construct, id *string, props *RosAddressesProps, enableResourcePropertyConstraint *bool) RosAddresses
type RosAddressesProps ¶
type RosAddressesProps struct { AddressName interface{} `field:"optional" json:"addressName" yaml:"addressName"` AllocationId interface{} `field:"optional" json:"allocationId" yaml:"allocationId"` InstanceId interface{} `field:"optional" json:"instanceId" yaml:"instanceId"` InstanceType interface{} `field:"optional" json:"instanceType" yaml:"instanceType"` IpAddress interface{} `field:"optional" json:"ipAddress" yaml:"ipAddress"` Isp interface{} `field:"optional" json:"isp" yaml:"isp"` PaymentType interface{} `field:"optional" json:"paymentType" yaml:"paymentType"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` SegmentInstanceId interface{} `field:"optional" json:"segmentInstanceId" yaml:"segmentInstanceId"` }
Properties for defining a `RosAddresses`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-eip-addresses
type RosAnycastEipAddress ¶
type RosAnycastEipAddress interface { alicloudroscdkcore.RosResource AnycastId() interface{} SetAnycastId(val interface{}) AttrAliUid() alicloudroscdkcore.IResolvable AttrAnycastEipAddressName() alicloudroscdkcore.IResolvable AttrAnycastId() alicloudroscdkcore.IResolvable AttrBandwidth() alicloudroscdkcore.IResolvable AttrBid() alicloudroscdkcore.IResolvable AttrCreateTime() alicloudroscdkcore.IResolvable AttrInternetChargeType() alicloudroscdkcore.IResolvable AttrIpAddress() alicloudroscdkcore.IResolvable AttrPaymentType() alicloudroscdkcore.IResolvable AttrServiceLocation() alicloudroscdkcore.IResolvable AttrStatus() alicloudroscdkcore.IResolvable AttrTags() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::Eipanycast::AnycastEipAddress`, which is used to query the information about an Anycast elastic IP address (Anycast EIP).
func NewRosAnycastEipAddress ¶
func NewRosAnycastEipAddress(scope alicloudroscdkcore.Construct, id *string, props *RosAnycastEipAddressProps, enableResourcePropertyConstraint *bool) RosAnycastEipAddress
type RosAnycastEipAddressProps ¶
type RosAnycastEipAddressProps struct { AnycastId interface{} `field:"required" json:"anycastId" yaml:"anycastId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosAnycastEipAddress`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-eipanycast-anycasteipaddress
type RosBgpPeer ¶
type RosBgpPeer interface { alicloudroscdkcore.RosResource AttrAdvertisedRouteCount() alicloudroscdkcore.IResolvable AttrAuthKey() alicloudroscdkcore.IResolvable AttrBfdMultiHop() alicloudroscdkcore.IResolvable AttrBgpGroupId() alicloudroscdkcore.IResolvable AttrBgpPeerId() alicloudroscdkcore.IResolvable AttrBgpStatus() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrEnableBfd() alicloudroscdkcore.IResolvable AttrGmtModified() alicloudroscdkcore.IResolvable AttrHold() alicloudroscdkcore.IResolvable AttrIpVersion() alicloudroscdkcore.IResolvable AttrIsFake() alicloudroscdkcore.IResolvable AttrKeepalive() alicloudroscdkcore.IResolvable AttrLocalAsn() alicloudroscdkcore.IResolvable AttrName() alicloudroscdkcore.IResolvable AttrPeerAsn() alicloudroscdkcore.IResolvable AttrPeerIpAddress() alicloudroscdkcore.IResolvable AttrReceivedRouteCount() alicloudroscdkcore.IResolvable AttrRouteLimit() alicloudroscdkcore.IResolvable AttrRouterId() alicloudroscdkcore.IResolvable AttrStatus() alicloudroscdkcore.IResolvable BgpPeerId() interface{} SetBgpPeerId(val interface{}) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::BgpPeer`, which is used to query the information about a Border Gateway Protocol (BGP) peer in a region.
func NewRosBgpPeer ¶
func NewRosBgpPeer(scope alicloudroscdkcore.Construct, id *string, props *RosBgpPeerProps, enableResourcePropertyConstraint *bool) RosBgpPeer
type RosBgpPeerProps ¶
type RosBgpPeerProps struct { BgpPeerId interface{} `field:"optional" json:"bgpPeerId" yaml:"bgpPeerId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosBgpPeer`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-bgppeer
type RosBgpPeers ¶
type RosBgpPeers interface { alicloudroscdkcore.RosResource AttrBgpPeerIds() alicloudroscdkcore.IResolvable AttrBgpPeers() alicloudroscdkcore.IResolvable BgpGroupId() interface{} SetBgpGroupId(val interface{}) BgpPeerId() interface{} SetBgpPeerId(val interface{}) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string RouterId() interface{} SetRouterId(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::BgpPeers`, which is used to query Border Gateway Protocol (BGP) peers in a region.
func NewRosBgpPeers ¶
func NewRosBgpPeers(scope alicloudroscdkcore.Construct, id *string, props *RosBgpPeersProps, enableResourcePropertyConstraint *bool) RosBgpPeers
type RosBgpPeersProps ¶
type RosBgpPeersProps struct { BgpGroupId interface{} `field:"optional" json:"bgpGroupId" yaml:"bgpGroupId"` BgpPeerId interface{} `field:"optional" json:"bgpPeerId" yaml:"bgpPeerId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` RouterId interface{} `field:"optional" json:"routerId" yaml:"routerId"` }
Properties for defining a `RosBgpPeers`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-bgppeers
type RosCommonBandwidthPackage ¶
type RosCommonBandwidthPackage interface { alicloudroscdkcore.RosResource AttrBandwidth() alicloudroscdkcore.IResolvable AttrBusinessStatus() alicloudroscdkcore.IResolvable AttrCommonBandwidthPackageId() alicloudroscdkcore.IResolvable AttrCommonBandwidthPackageName() alicloudroscdkcore.IResolvable AttrCreationTime() alicloudroscdkcore.IResolvable AttrDeletionProtection() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrExpiredTime() alicloudroscdkcore.IResolvable AttrHasReservationData() alicloudroscdkcore.IResolvable AttrInstanceChargeType() alicloudroscdkcore.IResolvable AttrInternetChargeType() alicloudroscdkcore.IResolvable AttrIsp() alicloudroscdkcore.IResolvable AttrPublicIpAddresses() alicloudroscdkcore.IResolvable AttrRatio() alicloudroscdkcore.IResolvable AttrReservationActiveTime() alicloudroscdkcore.IResolvable AttrReservationBandwidth() alicloudroscdkcore.IResolvable AttrReservationInternetChargeType() alicloudroscdkcore.IResolvable AttrReservationOrderType() alicloudroscdkcore.IResolvable AttrResourceGroupId() alicloudroscdkcore.IResolvable AttrServiceManaged() alicloudroscdkcore.IResolvable AttrStatus() alicloudroscdkcore.IResolvable CommonBandwidthPackageId() interface{} SetCommonBandwidthPackageId(val interface{}) CommonBandwidthPackageName() interface{} SetCommonBandwidthPackageName(val interface{}) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::CommonBandwidthPackage`, which is used to query the information about an Internet Shared Bandwidth instance in a region.
func NewRosCommonBandwidthPackage ¶
func NewRosCommonBandwidthPackage(scope alicloudroscdkcore.Construct, id *string, props *RosCommonBandwidthPackageProps, enableResourcePropertyConstraint *bool) RosCommonBandwidthPackage
type RosCommonBandwidthPackageProps ¶
type RosCommonBandwidthPackageProps struct { CommonBandwidthPackageId interface{} `field:"optional" json:"commonBandwidthPackageId" yaml:"commonBandwidthPackageId"` CommonBandwidthPackageName interface{} `field:"optional" json:"commonBandwidthPackageName" yaml:"commonBandwidthPackageName"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosCommonBandwidthPackage`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-commonbandwidthpackage
type RosCommonBandwidthPackages ¶
type RosCommonBandwidthPackages interface { alicloudroscdkcore.RosResource AttrCommonBandwidthPackageIds() alicloudroscdkcore.IResolvable AttrCommonBandwidthPackages() alicloudroscdkcore.IResolvable CommonBandwidthPackageId() interface{} SetCommonBandwidthPackageId(val interface{}) CommonBandwidthPackageName() interface{} SetCommonBandwidthPackageName(val interface{}) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::CommonBandwidthPackages`, which is used to query the Internet Shared Bandwidth instances in a region.
func NewRosCommonBandwidthPackages ¶
func NewRosCommonBandwidthPackages(scope alicloudroscdkcore.Construct, id *string, props *RosCommonBandwidthPackagesProps, enableResourcePropertyConstraint *bool) RosCommonBandwidthPackages
type RosCommonBandwidthPackagesProps ¶
type RosCommonBandwidthPackagesProps struct { CommonBandwidthPackageId interface{} `field:"optional" json:"commonBandwidthPackageId" yaml:"commonBandwidthPackageId"` CommonBandwidthPackageName interface{} `field:"optional" json:"commonBandwidthPackageName" yaml:"commonBandwidthPackageName"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `RosCommonBandwidthPackages`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-commonbandwidthpackages
type RosCustomerGateway ¶
type RosCustomerGateway interface { alicloudroscdkcore.RosResource AttrAsn() alicloudroscdkcore.IResolvable AttrAuthKey() alicloudroscdkcore.IResolvable AttrCreateTime() alicloudroscdkcore.IResolvable AttrCustomerGatewayId() alicloudroscdkcore.IResolvable AttrCustomerGatewayName() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrIpAddress() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string CustomerGatewayId() interface{} SetCustomerGatewayId(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::CustomerGateway`, which is used to query the information about a customer gateway.
func NewRosCustomerGateway ¶
func NewRosCustomerGateway(scope alicloudroscdkcore.Construct, id *string, props *RosCustomerGatewayProps, enableResourcePropertyConstraint *bool) RosCustomerGateway
type RosCustomerGatewayProps ¶
type RosCustomerGatewayProps struct { CustomerGatewayId interface{} `field:"required" json:"customerGatewayId" yaml:"customerGatewayId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosCustomerGateway`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-customergateway
type RosCustomerGateways ¶
type RosCustomerGateways interface { alicloudroscdkcore.RosResource AttrCustomerGatewayIds() alicloudroscdkcore.IResolvable AttrCustomerGateways() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string CustomerGatewayId() interface{} SetCustomerGatewayId(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::CustomerGateways`, which is used to query customer gateways.
func NewRosCustomerGateways ¶
func NewRosCustomerGateways(scope alicloudroscdkcore.Construct, id *string, props *RosCustomerGatewaysProps, enableResourcePropertyConstraint *bool) RosCustomerGateways
type RosCustomerGatewaysProps ¶
type RosCustomerGatewaysProps struct { CustomerGatewayId interface{} `field:"optional" json:"customerGatewayId" yaml:"customerGatewayId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosCustomerGateways`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-customergateways
type RosFlowLog ¶
type RosFlowLog interface { alicloudroscdkcore.RosResource AttrAggregationInterval() alicloudroscdkcore.IResolvable AttrBusinessStatus() alicloudroscdkcore.IResolvable AttrCreateTime() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrFlowLogId() alicloudroscdkcore.IResolvable AttrFlowLogName() alicloudroscdkcore.IResolvable AttrLogStoreName() alicloudroscdkcore.IResolvable AttrProjectName() alicloudroscdkcore.IResolvable AttrResourceId() alicloudroscdkcore.IResolvable AttrResourceType() alicloudroscdkcore.IResolvable AttrTrafficType() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) FlowLogId() interface{} SetFlowLogId(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::FlowLog`, which is used to query a flow log by log ID.
func NewRosFlowLog ¶
func NewRosFlowLog(scope alicloudroscdkcore.Construct, id *string, props *RosFlowLogProps, enableResourcePropertyConstraint *bool) RosFlowLog
type RosFlowLogProps ¶
type RosFlowLogProps struct { FlowLogId interface{} `field:"required" json:"flowLogId" yaml:"flowLogId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosFlowLog`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-flowlog
type RosFlowLogs ¶
type RosFlowLogs interface { alicloudroscdkcore.RosResource AttrFlowLogIds() alicloudroscdkcore.IResolvable AttrFlowLogs() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string Description() interface{} SetDescription(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) FlowLogId() interface{} SetFlowLogId(val interface{}) FlowLogName() interface{} SetFlowLogName(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string LogStoreName() interface{} SetLogStoreName(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode ProjectName() interface{} SetProjectName(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) ResourceId() interface{} SetResourceId(val interface{}) ResourceType() interface{} SetResourceType(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack TrafficType() interface{} SetTrafficType(val interface{}) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::FlowLogs`, which is used to query flow logs.
func NewRosFlowLogs ¶
func NewRosFlowLogs(scope alicloudroscdkcore.Construct, id *string, props *RosFlowLogsProps, enableResourcePropertyConstraint *bool) RosFlowLogs
type RosFlowLogsProps ¶
type RosFlowLogsProps struct { Description interface{} `field:"optional" json:"description" yaml:"description"` FlowLogId interface{} `field:"optional" json:"flowLogId" yaml:"flowLogId"` FlowLogName interface{} `field:"optional" json:"flowLogName" yaml:"flowLogName"` LogStoreName interface{} `field:"optional" json:"logStoreName" yaml:"logStoreName"` ProjectName interface{} `field:"optional" json:"projectName" yaml:"projectName"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceId interface{} `field:"optional" json:"resourceId" yaml:"resourceId"` ResourceType interface{} `field:"optional" json:"resourceType" yaml:"resourceType"` TrafficType interface{} `field:"optional" json:"trafficType" yaml:"trafficType"` }
Properties for defining a `RosFlowLogs`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-flowlogs
type RosHaVip ¶
type RosHaVip interface { alicloudroscdkcore.RosResource AttrAssociatedEipAddresses() alicloudroscdkcore.IResolvable AttrAssociatedInstances() alicloudroscdkcore.IResolvable AttrAssociatedInstanceType() alicloudroscdkcore.IResolvable AttrCreateTime() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrHaVipId() alicloudroscdkcore.IResolvable AttrHaVipName() alicloudroscdkcore.IResolvable AttrIpAddress() alicloudroscdkcore.IResolvable AttrMasterInstanceId() alicloudroscdkcore.IResolvable AttrVpcId() alicloudroscdkcore.IResolvable AttrVSwitchId() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) HaVipId() interface{} SetHaVipId(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::HaVip`, which is used to query a high-availability virtual IP address (HAVIP).
func NewRosHaVip ¶
func NewRosHaVip(scope alicloudroscdkcore.Construct, id *string, props *RosHaVipProps, enableResourcePropertyConstraint *bool) RosHaVip
type RosHaVipProps ¶
type RosHaVipProps struct { HaVipId interface{} `field:"required" json:"haVipId" yaml:"haVipId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosHaVip`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-havip
type RosHaVips ¶
type RosHaVips interface { alicloudroscdkcore.RosResource AttrHaVipIds() alicloudroscdkcore.IResolvable AttrHaVips() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) HaVipId() interface{} SetHaVipId(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::HaVips`, which is used to query the high-availability virtual IP addresses (HAVIPs) in a specific region.
func NewRosHaVips ¶
func NewRosHaVips(scope alicloudroscdkcore.Construct, id *string, props *RosHaVipsProps, enableResourcePropertyConstraint *bool) RosHaVips
type RosHaVipsProps ¶
type RosHaVipsProps struct { HaVipId interface{} `field:"optional" json:"haVipId" yaml:"haVipId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosHaVips`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-havips
type RosIpv4Gateway ¶
type RosIpv4Gateway interface { alicloudroscdkcore.RosResource AttrCreateTime() alicloudroscdkcore.IResolvable AttrEnabled() alicloudroscdkcore.IResolvable AttrIpv4GatewayDescription() alicloudroscdkcore.IResolvable AttrIpv4GatewayId() alicloudroscdkcore.IResolvable AttrIpv4GatewayName() alicloudroscdkcore.IResolvable AttrIpv4GatewayRouteTableId() alicloudroscdkcore.IResolvable AttrVpcId() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) Ipv4GatewayId() interface{} SetIpv4GatewayId(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::Ipv4Gateway`, which is used to query the information about an IPv4 gateway.
func NewRosIpv4Gateway ¶
func NewRosIpv4Gateway(scope alicloudroscdkcore.Construct, id *string, props *RosIpv4GatewayProps, enableResourcePropertyConstraint *bool) RosIpv4Gateway
type RosIpv4GatewayProps ¶
type RosIpv4GatewayProps struct { Ipv4GatewayId interface{} `field:"required" json:"ipv4GatewayId" yaml:"ipv4GatewayId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosIpv4Gateway`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-ipv4gateway
type RosIpv4Gateways ¶
type RosIpv4Gateways interface { alicloudroscdkcore.RosResource AttrIpv4GatewayIds() alicloudroscdkcore.IResolvable AttrIpv4Gateways() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) Ipv4GatewayId() interface{} SetIpv4GatewayId(val interface{}) Ipv4GatewayName() interface{} SetIpv4GatewayName(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} VpcId() interface{} SetVpcId(val interface{}) AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::Ipv4Gateways`, which is used to query the details of IPv4 gateways.
func NewRosIpv4Gateways ¶
func NewRosIpv4Gateways(scope alicloudroscdkcore.Construct, id *string, props *RosIpv4GatewaysProps, enableResourcePropertyConstraint *bool) RosIpv4Gateways
type RosIpv4GatewaysProps ¶
type RosIpv4GatewaysProps struct { Ipv4GatewayId interface{} `field:"optional" json:"ipv4GatewayId" yaml:"ipv4GatewayId"` Ipv4GatewayName interface{} `field:"optional" json:"ipv4GatewayName" yaml:"ipv4GatewayName"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` }
Properties for defining a `RosIpv4Gateways`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-ipv4gateways
type RosNatGateway ¶
type RosNatGateway interface { alicloudroscdkcore.RosResource AttrAutoPay() alicloudroscdkcore.IResolvable AttrBusinessStatus() alicloudroscdkcore.IResolvable AttrCreateTime() alicloudroscdkcore.IResolvable AttrDeletionProtection() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrEipBindMode() alicloudroscdkcore.IResolvable AttrExpiredTime() alicloudroscdkcore.IResolvable AttrForwardTableIds() alicloudroscdkcore.IResolvable AttrIcmpReplyEnabled() alicloudroscdkcore.IResolvable AttrInternetChargeType() alicloudroscdkcore.IResolvable AttrIpLists() alicloudroscdkcore.IResolvable AttrNatGatewayId() alicloudroscdkcore.IResolvable AttrNatGatewayName() alicloudroscdkcore.IResolvable AttrNatGatewayPrivateInfo() alicloudroscdkcore.IResolvable AttrNatType() alicloudroscdkcore.IResolvable AttrNetworkType() alicloudroscdkcore.IResolvable AttrPaymentType() alicloudroscdkcore.IResolvable AttrSecurityProtectionEnabled() alicloudroscdkcore.IResolvable AttrSnatTableIds() alicloudroscdkcore.IResolvable AttrSpec() alicloudroscdkcore.IResolvable AttrVpcId() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string NatGatewayId() interface{} SetNatGatewayId(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::NatGateway`, which is used to query the information about a NAT gateway.
func NewRosNatGateway ¶
func NewRosNatGateway(scope alicloudroscdkcore.Construct, id *string, props *RosNatGatewayProps, enableResourcePropertyConstraint *bool) RosNatGateway
type RosNatGatewayProps ¶
type RosNatGatewayProps struct { NatGatewayId interface{} `field:"required" json:"natGatewayId" yaml:"natGatewayId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosNatGateway`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-natgateway
type RosNatGatewayZones ¶
type RosNatGatewayZones interface { alicloudroscdkcore.RosResource AttrZoneIds() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::NatGatewayZones`, which is used to query the zones of a NAT gateway.
func NewRosNatGatewayZones ¶
func NewRosNatGatewayZones(scope alicloudroscdkcore.Construct, id *string, props *RosNatGatewayZonesProps, enableResourcePropertyConstraint *bool) RosNatGatewayZones
type RosNatGatewayZonesProps ¶
type RosNatGatewayZonesProps struct {
RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"`
}
Properties for defining a `RosNatGatewayZones`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-natgatewayzones
type RosNatGateways ¶
type RosNatGateways interface { alicloudroscdkcore.RosResource AttrNatGatewayIds() alicloudroscdkcore.IResolvable AttrNatGateways() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) InstanceChargeType() interface{} SetInstanceChargeType(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string Name() interface{} SetName(val interface{}) NatGatewayId() interface{} SetNatGatewayId(val interface{}) NatType() interface{} SetNatType(val interface{}) NetworkType() interface{} SetNetworkType(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack Status() interface{} SetStatus(val interface{}) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} VpcId() interface{} SetVpcId(val interface{}) ZoneId() interface{} SetZoneId(val interface{}) AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::NatGateways`, which is used to query NAT gateways.
func NewRosNatGateways ¶
func NewRosNatGateways(scope alicloudroscdkcore.Construct, id *string, props *RosNatGatewaysProps, enableResourcePropertyConstraint *bool) RosNatGateways
type RosNatGatewaysProps ¶
type RosNatGatewaysProps struct { InstanceChargeType interface{} `field:"optional" json:"instanceChargeType" yaml:"instanceChargeType"` Name interface{} `field:"optional" json:"name" yaml:"name"` NatGatewayId interface{} `field:"optional" json:"natGatewayId" yaml:"natGatewayId"` NatType interface{} `field:"optional" json:"natType" yaml:"natType"` NetworkType interface{} `field:"optional" json:"networkType" yaml:"networkType"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` Status interface{} `field:"optional" json:"status" yaml:"status"` VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` ZoneId interface{} `field:"optional" json:"zoneId" yaml:"zoneId"` }
Properties for defining a `RosNatGateways`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-natgateways
type RosNatIpCidrs ¶
type RosNatIpCidrs interface { alicloudroscdkcore.RosResource AttrNatIpCidrIds() alicloudroscdkcore.IResolvable AttrNatIpCidrs() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string NatGatewayId() interface{} SetNatGatewayId(val interface{}) NatIpCidr() interface{} SetNatIpCidr(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::NatIpCidrs`, which is used to query the CIDR blocks of a NAT gateway.
func NewRosNatIpCidrs ¶
func NewRosNatIpCidrs(scope alicloudroscdkcore.Construct, id *string, props *RosNatIpCidrsProps, enableResourcePropertyConstraint *bool) RosNatIpCidrs
type RosNatIpCidrsProps ¶
type RosNatIpCidrsProps struct { NatGatewayId interface{} `field:"required" json:"natGatewayId" yaml:"natGatewayId"` NatIpCidr interface{} `field:"optional" json:"natIpCidr" yaml:"natIpCidr"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosNatIpCidrs`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-natipcidrs
type RosNetworkAcls ¶
type RosNetworkAcls interface { alicloudroscdkcore.RosResource AttrNetworkAclIds() alicloudroscdkcore.IResolvable AttrNetworkAcls() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string NetworkAclId() interface{} SetNetworkAclId(val interface{}) NetworkAclName() interface{} SetNetworkAclName(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) ResourceId() interface{} SetResourceId(val interface{}) ResourceType() interface{} SetResourceType(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} VpcId() interface{} SetVpcId(val interface{}) AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::NetworkAcls`, which is used to query created network access control lists (ACLs).
func NewRosNetworkAcls ¶
func NewRosNetworkAcls(scope alicloudroscdkcore.Construct, id *string, props *RosNetworkAclsProps, enableResourcePropertyConstraint *bool) RosNetworkAcls
type RosNetworkAclsProps ¶
type RosNetworkAclsProps struct { NetworkAclId interface{} `field:"optional" json:"networkAclId" yaml:"networkAclId"` NetworkAclName interface{} `field:"optional" json:"networkAclName" yaml:"networkAclName"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceId interface{} `field:"optional" json:"resourceId" yaml:"resourceId"` ResourceType interface{} `field:"optional" json:"resourceType" yaml:"resourceType"` VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` }
Properties for defining a `RosNetworkAcls`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-networkacls
type RosPrefixList ¶
type RosPrefixList interface { alicloudroscdkcore.RosResource AttrCreateTime() alicloudroscdkcore.IResolvable AttrEntries() alicloudroscdkcore.IResolvable AttrIpVersion() alicloudroscdkcore.IResolvable AttrMaxEntries() alicloudroscdkcore.IResolvable AttrOwnerId() alicloudroscdkcore.IResolvable AttrPrefixListDescription() alicloudroscdkcore.IResolvable AttrPrefixListId() alicloudroscdkcore.IResolvable AttrPrefixListName() alicloudroscdkcore.IResolvable AttrResourceGroupId() alicloudroscdkcore.IResolvable AttrTags() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode PrefixListId() interface{} SetPrefixListId(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::PrefixList`, which is used to query the information about a prefix list.
func NewRosPrefixList ¶
func NewRosPrefixList(scope alicloudroscdkcore.Construct, id *string, props *RosPrefixListProps, enableResourcePropertyConstraint *bool) RosPrefixList
type RosPrefixListProps ¶
type RosPrefixListProps struct { PrefixListId interface{} `field:"required" json:"prefixListId" yaml:"prefixListId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosPrefixList`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-prefixlist
type RosPrefixLists ¶
type RosPrefixLists interface { alicloudroscdkcore.RosResource AttrPrefixListIds() alicloudroscdkcore.IResolvable AttrPrefixLists() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode PrefixListName() interface{} SetPrefixListName(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::PrefixLists`, which is used to query prefix lists.
func NewRosPrefixLists ¶
func NewRosPrefixLists(scope alicloudroscdkcore.Construct, id *string, props *RosPrefixListsProps, enableResourcePropertyConstraint *bool) RosPrefixLists
type RosPrefixListsProps ¶
type RosPrefixListsProps struct { PrefixListName interface{} `field:"optional" json:"prefixListName" yaml:"prefixListName"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `RosPrefixLists`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-prefixlists
type RosPublicIpAddressPool ¶
type RosPublicIpAddressPool interface { alicloudroscdkcore.RosResource AttrCreateTime() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrIpAddressRemaining() alicloudroscdkcore.IResolvable AttrIsp() alicloudroscdkcore.IResolvable AttrPublicIpAddressPoolId() alicloudroscdkcore.IResolvable AttrPublicIpAddressPoolName() alicloudroscdkcore.IResolvable AttrResourceGroupId() alicloudroscdkcore.IResolvable AttrTags() alicloudroscdkcore.IResolvable AttrTotalIpNum() alicloudroscdkcore.IResolvable AttrUsedIpNum() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode PublicIpAddressPoolId() interface{} SetPublicIpAddressPoolId(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::PublicIpAddressPool`, which is used to query the basic information about an available IP address pool.
func NewRosPublicIpAddressPool ¶
func NewRosPublicIpAddressPool(scope alicloudroscdkcore.Construct, id *string, props *RosPublicIpAddressPoolProps, enableResourcePropertyConstraint *bool) RosPublicIpAddressPool
type RosPublicIpAddressPoolProps ¶
type RosPublicIpAddressPoolProps struct { PublicIpAddressPoolId interface{} `field:"required" json:"publicIpAddressPoolId" yaml:"publicIpAddressPoolId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosPublicIpAddressPool`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-publicipaddresspool
type RosPublicIpAddressPools ¶
type RosPublicIpAddressPools interface { alicloudroscdkcore.RosResource AttrPublicIpAddressPoolIds() alicloudroscdkcore.IResolvable AttrPublicIpAddressPools() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) Isp() interface{} SetIsp(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode PublicIpAddressPoolName() interface{} SetPublicIpAddressPoolName(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::PublicIpAddressPools`, which is used to query available IP address pools.
func NewRosPublicIpAddressPools ¶
func NewRosPublicIpAddressPools(scope alicloudroscdkcore.Construct, id *string, props *RosPublicIpAddressPoolsProps, enableResourcePropertyConstraint *bool) RosPublicIpAddressPools
type RosPublicIpAddressPoolsProps ¶
type RosPublicIpAddressPoolsProps struct { Isp interface{} `field:"optional" json:"isp" yaml:"isp"` PublicIpAddressPoolName interface{} `field:"optional" json:"publicIpAddressPoolName" yaml:"publicIpAddressPoolName"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `RosPublicIpAddressPools`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-publicipaddresspools
type RosRouteEntries ¶
type RosRouteEntries interface { alicloudroscdkcore.RosResource AttrRouteEntries() alicloudroscdkcore.IResolvable AttrRouteEntryIds() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string DestinationCidrBlock() interface{} SetDestinationCidrBlock(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) IpVersion() interface{} SetIpVersion(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string NextHopId() interface{} SetNextHopId(val interface{}) NextHopType() interface{} SetNextHopType(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string RouteEntryId() interface{} SetRouteEntryId(val interface{}) RouteEntryName() interface{} SetRouteEntryName(val interface{}) RouteEntryType() interface{} SetRouteEntryType(val interface{}) RouteTableId() interface{} SetRouteTableId(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::RouteEntries`, which is used to query routes.
func NewRosRouteEntries ¶
func NewRosRouteEntries(scope alicloudroscdkcore.Construct, id *string, props *RosRouteEntriesProps, enableResourcePropertyConstraint *bool) RosRouteEntries
type RosRouteEntriesProps ¶
type RosRouteEntriesProps struct { RouteTableId interface{} `field:"required" json:"routeTableId" yaml:"routeTableId"` DestinationCidrBlock interface{} `field:"optional" json:"destinationCidrBlock" yaml:"destinationCidrBlock"` IpVersion interface{} `field:"optional" json:"ipVersion" yaml:"ipVersion"` NextHopId interface{} `field:"optional" json:"nextHopId" yaml:"nextHopId"` NextHopType interface{} `field:"optional" json:"nextHopType" yaml:"nextHopType"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` RouteEntryId interface{} `field:"optional" json:"routeEntryId" yaml:"routeEntryId"` RouteEntryName interface{} `field:"optional" json:"routeEntryName" yaml:"routeEntryName"` RouteEntryType interface{} `field:"optional" json:"routeEntryType" yaml:"routeEntryType"` }
Properties for defining a `RosRouteEntries`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-routeentries
type RosRouteTable ¶
type RosRouteTable interface { alicloudroscdkcore.RosResource AttrCreateTime() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrResourceGroupId() alicloudroscdkcore.IResolvable AttrRouterId() alicloudroscdkcore.IResolvable AttrRouterType() alicloudroscdkcore.IResolvable AttrRouteTableId() alicloudroscdkcore.IResolvable AttrRouteTableName() alicloudroscdkcore.IResolvable AttrRouteTableType() alicloudroscdkcore.IResolvable AttrTags() alicloudroscdkcore.IResolvable AttrVpcId() alicloudroscdkcore.IResolvable AttrVSwitchIds() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string RouteTableId() interface{} SetRouteTableId(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::RouteTable`, which is used to query the information about a route table.
func NewRosRouteTable ¶
func NewRosRouteTable(scope alicloudroscdkcore.Construct, id *string, props *RosRouteTableProps, enableResourcePropertyConstraint *bool) RosRouteTable
type RosRouteTableProps ¶
type RosRouteTableProps struct { RouteTableId interface{} `field:"required" json:"routeTableId" yaml:"routeTableId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosRouteTable`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-routetable
type RosRouteTables ¶
type RosRouteTables interface { alicloudroscdkcore.RosResource AttrRouteTableIds() alicloudroscdkcore.IResolvable AttrRouteTables() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string RouterId() interface{} SetRouterId(val interface{}) RouterType() interface{} SetRouterType(val interface{}) RouteTableId() interface{} SetRouteTableId(val interface{}) RouteTableName() interface{} SetRouteTableName(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} VpcId() interface{} SetVpcId(val interface{}) AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::RouteTables`, which is used to query route tables.
func NewRosRouteTables ¶
func NewRosRouteTables(scope alicloudroscdkcore.Construct, id *string, props *RosRouteTablesProps, enableResourcePropertyConstraint *bool) RosRouteTables
type RosRouteTablesProps ¶
type RosRouteTablesProps struct { RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` RouterId interface{} `field:"optional" json:"routerId" yaml:"routerId"` RouterType interface{} `field:"optional" json:"routerType" yaml:"routerType"` RouteTableId interface{} `field:"optional" json:"routeTableId" yaml:"routeTableId"` RouteTableName interface{} `field:"optional" json:"routeTableName" yaml:"routeTableName"` VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` }
Properties for defining a `RosRouteTables`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-routetables
type RosTrafficMirrorFilter ¶
type RosTrafficMirrorFilter interface { alicloudroscdkcore.RosResource AttrEgressRules() alicloudroscdkcore.IResolvable AttrIngressRules() alicloudroscdkcore.IResolvable AttrTrafficMirrorFilterDescription() alicloudroscdkcore.IResolvable AttrTrafficMirrorFilterId() alicloudroscdkcore.IResolvable AttrTrafficMirrorFilterName() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack TrafficMirrorFilterId() interface{} SetTrafficMirrorFilterId(val interface{}) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::TrafficMirrorFilter`, which is used to query a filter for traffic mirroring.
func NewRosTrafficMirrorFilter ¶
func NewRosTrafficMirrorFilter(scope alicloudroscdkcore.Construct, id *string, props *RosTrafficMirrorFilterProps, enableResourcePropertyConstraint *bool) RosTrafficMirrorFilter
type RosTrafficMirrorFilterProps ¶
type RosTrafficMirrorFilterProps struct { TrafficMirrorFilterId interface{} `field:"required" json:"trafficMirrorFilterId" yaml:"trafficMirrorFilterId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosTrafficMirrorFilter`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-trafficmirrorfilter
type RosTrafficMirrorFilters ¶
type RosTrafficMirrorFilters interface { alicloudroscdkcore.RosResource AttrTrafficMirrorFilterIds() alicloudroscdkcore.IResolvable AttrTrafficMirrorFilters() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack TrafficMirrorFilterName() interface{} SetTrafficMirrorFilterName(val interface{}) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::TrafficMirrorFilters`, which is used to query filters for traffic mirroring.
func NewRosTrafficMirrorFilters ¶
func NewRosTrafficMirrorFilters(scope alicloudroscdkcore.Construct, id *string, props *RosTrafficMirrorFiltersProps, enableResourcePropertyConstraint *bool) RosTrafficMirrorFilters
type RosTrafficMirrorFiltersProps ¶
type RosTrafficMirrorFiltersProps struct { RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` TrafficMirrorFilterName interface{} `field:"optional" json:"trafficMirrorFilterName" yaml:"trafficMirrorFilterName"` }
Properties for defining a `RosTrafficMirrorFilters`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-trafficmirrorfilters
type RosVSwitch ¶
type RosVSwitch interface { alicloudroscdkcore.RosResource AttrAvailableIpAddressCount() alicloudroscdkcore.IResolvable AttrCidrBlock() alicloudroscdkcore.IResolvable AttrCreateTime() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrIpv6CidrBlock() alicloudroscdkcore.IResolvable AttrIsDefault() alicloudroscdkcore.IResolvable AttrResourceGroupId() alicloudroscdkcore.IResolvable AttrRouteTableId() alicloudroscdkcore.IResolvable AttrTags() alicloudroscdkcore.IResolvable AttrVpcId() alicloudroscdkcore.IResolvable AttrVSwitchId() alicloudroscdkcore.IResolvable AttrVSwitchName() alicloudroscdkcore.IResolvable AttrZoneId() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} VSwitchId() interface{} SetVSwitchId(val interface{}) AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::VSwitch`, which is used to query the information about a vSwitch.
func NewRosVSwitch ¶
func NewRosVSwitch(scope alicloudroscdkcore.Construct, id *string, props *RosVSwitchProps, enableResourcePropertyConstraint *bool) RosVSwitch
type RosVSwitchProps ¶
type RosVSwitchProps struct { VSwitchId interface{} `field:"required" json:"vSwitchId" yaml:"vSwitchId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosVSwitch`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vswitch
type RosVSwitches ¶
type RosVSwitches interface { alicloudroscdkcore.RosResource AttrVSwitches() alicloudroscdkcore.IResolvable AttrVSwitchIds() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string DhcpOptionsSetId() interface{} SetDhcpOptionsSetId(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) IsDefault() interface{} SetIsDefault(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string RouteTableId() interface{} SetRouteTableId(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} VpcId() interface{} SetVpcId(val interface{}) VSwitchIds() interface{} SetVSwitchIds(val interface{}) VSwitchName() interface{} SetVSwitchName(val interface{}) VSwitchOwnerId() interface{} SetVSwitchOwnerId(val interface{}) AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::VSwitches`, which is used to query created vSwitches.
func NewRosVSwitches ¶
func NewRosVSwitches(scope alicloudroscdkcore.Construct, id *string, props *RosVSwitchesProps, enableResourcePropertyConstraint *bool) RosVSwitches
type RosVSwitchesProps ¶
type RosVSwitchesProps struct { DhcpOptionsSetId interface{} `field:"optional" json:"dhcpOptionsSetId" yaml:"dhcpOptionsSetId"` IsDefault interface{} `field:"optional" json:"isDefault" yaml:"isDefault"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` RouteTableId interface{} `field:"optional" json:"routeTableId" yaml:"routeTableId"` VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` VSwitchIds interface{} `field:"optional" json:"vSwitchIds" yaml:"vSwitchIds"` VSwitchName interface{} `field:"optional" json:"vSwitchName" yaml:"vSwitchName"` VSwitchOwnerId interface{} `field:"optional" json:"vSwitchOwnerId" yaml:"vSwitchOwnerId"` }
Properties for defining a `RosVSwitches`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vswitches
type RosVpc ¶
type RosVpc interface { alicloudroscdkcore.RosResource AttrCidrBlock() alicloudroscdkcore.IResolvable AttrClassicLinkEnabled() alicloudroscdkcore.IResolvable AttrCreateTime() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrDhcpOptionsSetId() alicloudroscdkcore.IResolvable AttrIpv6CidrBlock() alicloudroscdkcore.IResolvable AttrIpv6CidrBlocks() alicloudroscdkcore.IResolvable AttrIsDefault() alicloudroscdkcore.IResolvable AttrResourceGroupId() alicloudroscdkcore.IResolvable AttrRouterId() alicloudroscdkcore.IResolvable AttrSecondaryCidrBlocks() alicloudroscdkcore.IResolvable AttrTags() alicloudroscdkcore.IResolvable AttrUserCidrs() alicloudroscdkcore.IResolvable AttrVpcId() alicloudroscdkcore.IResolvable AttrVpcName() alicloudroscdkcore.IResolvable AttrVSwitchIds() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} VpcId() interface{} SetVpcId(val interface{}) AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::Vpc`, which is used to query the information about a virtual private cloud (VPC).
func NewRosVpc ¶
func NewRosVpc(scope alicloudroscdkcore.Construct, id *string, props *RosVpcProps, enableResourcePropertyConstraint *bool) RosVpc
type RosVpcProps ¶
type RosVpcProps struct { VpcId interface{} `field:"required" json:"vpcId" yaml:"vpcId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosVpc`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vpc
type RosVpcs ¶
type RosVpcs interface { alicloudroscdkcore.RosResource AttrVpcIds() alicloudroscdkcore.IResolvable AttrVpcs() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string DhcpOptionsSetId() interface{} SetDhcpOptionsSetId(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) IsDefault() interface{} SetIsDefault(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} VpcIds() interface{} SetVpcIds(val interface{}) VpcName() interface{} SetVpcName(val interface{}) VpcOwnerId() interface{} SetVpcOwnerId(val interface{}) AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::VPC::Vpcs`, which is used to query created virtual private clouds (VPCs).
func NewRosVpcs ¶
func NewRosVpcs(scope alicloudroscdkcore.Construct, id *string, props *RosVpcsProps, enableResourcePropertyConstraint *bool) RosVpcs
type RosVpcsProps ¶
type RosVpcsProps struct { DhcpOptionsSetId interface{} `field:"optional" json:"dhcpOptionsSetId" yaml:"dhcpOptionsSetId"` IsDefault interface{} `field:"optional" json:"isDefault" yaml:"isDefault"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` VpcIds interface{} `field:"optional" json:"vpcIds" yaml:"vpcIds"` VpcName interface{} `field:"optional" json:"vpcName" yaml:"vpcName"` VpcOwnerId interface{} `field:"optional" json:"vpcOwnerId" yaml:"vpcOwnerId"` }
Properties for defining a `RosVpcs`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vpcs
type RouteEntries ¶
type RouteEntries interface { alicloudroscdkcore.Resource IRouteEntries // Attribute RouteEntries: The list of The route entries. AttrRouteEntries() interface{} // Attribute RouteEntryIds: the list of the route entry ids. AttrRouteEntryIds() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *RouteEntriesProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::RouteEntries`, which is used to query routes.
func NewRouteEntries ¶
func NewRouteEntries(scope alicloudroscdkcore.Construct, id *string, props *RouteEntriesProps, enableResourcePropertyConstraint *bool) RouteEntries
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type RouteEntriesProps ¶
type RouteEntriesProps struct { // Property routeTableId: The ID of the route table. RouteTableId interface{} `field:"required" json:"routeTableId" yaml:"routeTableId"` // Property destinationCidrBlock: The destination CIDR block of the route. // // IPv4 and IPv6 CIDR blocks are supported. DestinationCidrBlock interface{} `field:"optional" json:"destinationCidrBlock" yaml:"destinationCidrBlock"` // Property ipVersion: The IP version. // // Valid values: // IPv4: IPv4 // IPv6: IPv6. IpVersion interface{} `field:"optional" json:"ipVersion" yaml:"ipVersion"` // Property nextHopId: The ID of the next hop. NextHopId interface{} `field:"optional" json:"nextHopId" yaml:"nextHopId"` // Property nextHopType: The type of the next hop. // // Valid values: // Instance (default): an Elastic Compute Service (ECS) instance // HaVip: a high-availability virtual IP address (HAVIP) // VpnGateway: a VPN gateway // NatGateway: a NAT gateway // NetworkInterface: a secondary elastic network interface (ENI) // RouterInterface: a router interface // IPv6Gateway: an IPv6 gateway // Attachment: a transit router. NextHopType interface{} `field:"optional" json:"nextHopType" yaml:"nextHopType"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property routeEntryId: The ID of the route. RouteEntryId interface{} `field:"optional" json:"routeEntryId" yaml:"routeEntryId"` // Property routeEntryName: The name of the route. RouteEntryName interface{} `field:"optional" json:"routeEntryName" yaml:"routeEntryName"` // Property routeEntryType: The type of the route. // // Valid values: // Custom: a custom route // System: a system route // BGP: a Border Gateway Protocol (BGP) route // CEN: a Cloud Enterprise Network (CEN) route. RouteEntryType interface{} `field:"optional" json:"routeEntryType" yaml:"routeEntryType"` }
Properties for defining a `RouteEntries`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-routeentries
type RouteTable ¶
type RouteTable interface { alicloudroscdkcore.Resource IRouteTable // Attribute CreateTime: The creation time of the routing table. AttrCreateTime() interface{} // Attribute Description: Description of the routing table. AttrDescription() interface{} // Attribute ResourceGroupId: Resource group ID. AttrResourceGroupId() interface{} // Attribute RouterId: The router ID to which the routing table belongs. AttrRouterId() interface{} // Attribute RouterType: The router type to which the routing table belongs. AttrRouterType() interface{} // Attribute RouteTableId: The ID of the routing table. AttrRouteTableId() interface{} // Attribute RouteTableName: The name of the routing table. AttrRouteTableName() interface{} // Attribute RouteTableType: The type of routing table. AttrRouteTableType() interface{} // Attribute Tags: The tag. AttrTags() interface{} // Attribute VpcId: The ID of VPC. AttrVpcId() interface{} // Attribute VSwitchIds: The ID of the switch. AttrVSwitchIds() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *RouteTableProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::RouteTable`, which is used to query the information about a route table.
func NewRouteTable ¶
func NewRouteTable(scope alicloudroscdkcore.Construct, id *string, props *RouteTableProps, enableResourcePropertyConstraint *bool) RouteTable
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type RouteTableProps ¶
type RouteTableProps struct { // Property routeTableId: The ID of the routing table. RouteTableId interface{} `field:"required" json:"routeTableId" yaml:"routeTableId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RouteTable`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-routetable
type RouteTables ¶
type RouteTables interface { alicloudroscdkcore.Resource IRouteTables // Attribute RouteTableIds: the list of the route table ids. AttrRouteTableIds() interface{} // Attribute RouteTables: The list of The route tables. AttrRouteTables() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *RouteTablesProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::RouteTables`, which is used to query route tables.
func NewRouteTables ¶
func NewRouteTables(scope alicloudroscdkcore.Construct, id *string, props *RouteTablesProps, enableResourcePropertyConstraint *bool) RouteTables
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type RouteTablesProps ¶
type RouteTablesProps struct { // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceGroupId: The ID of the resource group to which the route table belongs. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` // Property routerId: The ID of the VRouter to which the route table belongs. RouterId interface{} `field:"optional" json:"routerId" yaml:"routerId"` // Property routerType: The type of the VRouter to which the route table belongs. // // Valid values: // VRouter (default): VRouter. // VBR: Virtual Border Router (VBR). RouterType interface{} `field:"optional" json:"routerType" yaml:"routerType"` // Property routeTableId: The ID of the route table. RouteTableId interface{} `field:"optional" json:"routeTableId" yaml:"routeTableId"` // Property routeTableName: The name of the route table. RouteTableName interface{} `field:"optional" json:"routeTableName" yaml:"routeTableName"` // Property vpcId: The ID of the VRouter to which the route table belongs. // // The value of the RouterType parameter is set to VRouter automatically when this parameter is specified. VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` }
Properties for defining a `RouteTables`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-routetables
type TrafficMirrorFilter ¶
type TrafficMirrorFilter interface { alicloudroscdkcore.Resource ITrafficMirrorFilter // Attribute EgressRules: EgressRules. AttrEgressRules() interface{} // Attribute IngressRules: IngressRules. AttrIngressRules() interface{} // Attribute TrafficMirrorFilterDescription: The description of the TrafficMirrorFilter. AttrTrafficMirrorFilterDescription() interface{} // Attribute TrafficMirrorFilterId: The first ID of the resource. AttrTrafficMirrorFilterId() interface{} // Attribute TrafficMirrorFilterName: The name of the TrafficMirrorFilter. AttrTrafficMirrorFilterName() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *TrafficMirrorFilterProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::TrafficMirrorFilter`, which is used to query a filter for traffic mirroring.
func NewTrafficMirrorFilter ¶
func NewTrafficMirrorFilter(scope alicloudroscdkcore.Construct, id *string, props *TrafficMirrorFilterProps, enableResourcePropertyConstraint *bool) TrafficMirrorFilter
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type TrafficMirrorFilterProps ¶
type TrafficMirrorFilterProps struct { // Property trafficMirrorFilterId: The first ID of the resource. TrafficMirrorFilterId interface{} `field:"required" json:"trafficMirrorFilterId" yaml:"trafficMirrorFilterId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `TrafficMirrorFilter`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-trafficmirrorfilter
type TrafficMirrorFilters ¶
type TrafficMirrorFilters interface { alicloudroscdkcore.Resource ITrafficMirrorFilters // Attribute TrafficMirrorFilterIds: The list of traffic mirror filter IDs. AttrTrafficMirrorFilterIds() interface{} // Attribute TrafficMirrorFilters: The list of traffic mirror filters. AttrTrafficMirrorFilters() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *TrafficMirrorFiltersProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::TrafficMirrorFilters`, which is used to query filters for traffic mirroring.
func NewTrafficMirrorFilters ¶
func NewTrafficMirrorFilters(scope alicloudroscdkcore.Construct, id *string, props *TrafficMirrorFiltersProps, enableResourcePropertyConstraint *bool) TrafficMirrorFilters
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type TrafficMirrorFiltersProps ¶
type TrafficMirrorFiltersProps struct { // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property trafficMirrorFilterName: The name of the TrafficMirrorFilter. TrafficMirrorFilterName interface{} `field:"optional" json:"trafficMirrorFilterName" yaml:"trafficMirrorFilterName"` }
Properties for defining a `TrafficMirrorFilters`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-trafficmirrorfilters
type VSwitch ¶
type VSwitch interface { alicloudroscdkcore.Resource IVSwitch // Attribute AvailableIpAddressCount: The number of available IP addresses. AttrAvailableIpAddressCount() interface{} // Attribute CidrBlock: The IPv4 CIDR block of the VSwitch. AttrCidrBlock() interface{} // Attribute CreateTime: The creation time of the VSwitch. AttrCreateTime() interface{} // Attribute Description: The description of VSwitch. AttrDescription() interface{} // Attribute Ipv6CidrBlock: The IPv6 CIDR block of the VSwitch. AttrIpv6CidrBlock() interface{} // Attribute IsDefault: Indicates whether the VSwitch is a default VSwitch. AttrIsDefault() interface{} // Attribute ResourceGroupId: The resource group id of VSwitch. AttrResourceGroupId() interface{} // Attribute RouteTableId: The route table id. AttrRouteTableId() interface{} // Attribute Tags: The tags of VSwitch. AttrTags() interface{} // Attribute VpcId: The VPC ID. AttrVpcId() interface{} // Attribute VSwitchId: The ID of the VSwitch. AttrVSwitchId() interface{} // Attribute VSwitchName: The name of the VSwitch. AttrVSwitchName() interface{} // Attribute ZoneId: The zone ID of the resource. AttrZoneId() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *VSwitchProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::VSwitch`, which is used to query the information about a vSwitch.
func NewVSwitch ¶
func NewVSwitch(scope alicloudroscdkcore.Construct, id *string, props *VSwitchProps, enableResourcePropertyConstraint *bool) VSwitch
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type VSwitchProps ¶
type VSwitchProps struct { // Property vSwitchId: The ID of the VSwitch. VSwitchId interface{} `field:"required" json:"vSwitchId" yaml:"vSwitchId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `VSwitch`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vswitch
type VSwitches ¶
type VSwitches interface { alicloudroscdkcore.Resource IVSwitches // Attribute VSwitches: The detailed information about the vSwitches. AttrVSwitches() interface{} // Attribute VSwitchIds: The list of The vSwitch Ids. AttrVSwitchIds() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *VSwitchesProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::VSwitches`, which is used to query created vSwitches.
func NewVSwitches ¶
func NewVSwitches(scope alicloudroscdkcore.Construct, id *string, props *VSwitchesProps, enableResourcePropertyConstraint *bool) VSwitches
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type VSwitchesProps ¶
type VSwitchesProps struct { // Property dhcpOptionsSetId: The ID of the DHCP options set. DhcpOptionsSetId interface{} `field:"optional" json:"dhcpOptionsSetId" yaml:"dhcpOptionsSetId"` // Property isDefault: Specifies whether to query the default VPC in the specified region. // // Valid values: // true(default): queries all VPCs in the specified region. // false: does not query the default VPC. IsDefault interface{} `field:"optional" json:"isDefault" yaml:"isDefault"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceGroupId: The ID of the resource group to which the VPC to be queried belongs. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` // Property routeTableId: The ID of the route table. RouteTableId interface{} `field:"optional" json:"routeTableId" yaml:"routeTableId"` // Property vpcId: The ID of the VPC to which the vSwitch belongs. VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` // Property vSwitchIds: The list of The vSwitch IDs. // // You can specify up to 20 vSwitch IDs. VSwitchIds interface{} `field:"optional" json:"vSwitchIds" yaml:"vSwitchIds"` // Property vSwitchName: The name of the vSwitch. VSwitchName interface{} `field:"optional" json:"vSwitchName" yaml:"vSwitchName"` // Property vSwitchOwnerId: The ID of the Alibaba Cloud account to which the vSwitch belongs. VSwitchOwnerId interface{} `field:"optional" json:"vSwitchOwnerId" yaml:"vSwitchOwnerId"` }
Properties for defining a `VSwitches`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vswitches
type Vpc ¶
type Vpc interface { alicloudroscdkcore.Resource IVpc // Attribute CidrBlock: The IPv4 CIDR block of the VPC. AttrCidrBlock() interface{} // Attribute ClassicLinkEnabled: status of vpc ClassicLink.. AttrClassicLinkEnabled() interface{} // Attribute CreateTime: The time at which the VPC was created. AttrCreateTime() interface{} // Attribute Description: The description of the VPC. AttrDescription() interface{} // Attribute DhcpOptionsSetId: The ID of the DHCP option set. AttrDhcpOptionsSetId() interface{} // Attribute Ipv6CidrBlock: The ipv6 cidr block of vpc. AttrIpv6CidrBlock() interface{} // Attribute Ipv6CidrBlocks: The IPv6 network segment of the VPC. AttrIpv6CidrBlocks() interface{} // 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. AttrIsDefault() interface{} // Attribute ResourceGroupId: The ID of the resource group to which the VPC belongs. AttrResourceGroupId() interface{} // Attribute RouterId: The ID of the VRouter. AttrRouterId() interface{} // Attribute SecondaryCidrBlocks: Additional network segment information. AttrSecondaryCidrBlocks() interface{} // Attribute Tags: The tags of Vpc. AttrTags() interface{} // Attribute UserCidrs: A list of user CIDRs. AttrUserCidrs() interface{} // Attribute VpcId: The ID of the VPC. AttrVpcId() interface{} // Attribute VpcName: The name of the VPC. AttrVpcName() interface{} // Attribute VSwitchIds: A list of VSwitches in the VPC. AttrVSwitchIds() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *VpcProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::Vpc`, which is used to query the information about a virtual private cloud (VPC).
type VpcProps ¶
type VpcProps struct { // Property vpcId: The ID of the VPC. VpcId interface{} `field:"required" json:"vpcId" yaml:"vpcId"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `Vpc`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vpc
type Vpcs ¶
type Vpcs interface { alicloudroscdkcore.Resource IVpcs // Attribute VpcIds: The list of The VPC IDs. AttrVpcIds() interface{} // Attribute Vpcs: The detailed information about the VPCs. AttrVpcs() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // 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. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *VpcsProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::VPC::Vpcs`, which is used to query created virtual private clouds (VPCs).
type VpcsProps ¶
type VpcsProps struct { // Property dhcpOptionsSetId: The ID of the DHCP options set. DhcpOptionsSetId interface{} `field:"optional" json:"dhcpOptionsSetId" yaml:"dhcpOptionsSetId"` // Property isDefault: Specifies whether to query the default VPC in the specified region. // // Valid values: // true(default): queries all VPCs in the specified region. // false: does not query the default VPC. IsDefault interface{} `field:"optional" json:"isDefault" yaml:"isDefault"` // 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. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceGroupId: The ID of the resource group to which the VPC to be queried belongs. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` // Property vpcIds: The list of The VPC IDs. // // You can specify up to 20 VPC IDs. VpcIds interface{} `field:"optional" json:"vpcIds" yaml:"vpcIds"` // Property vpcName: The name of the VPC. VpcName interface{} `field:"optional" json:"vpcName" yaml:"vpcName"` // Property vpcOwnerId: The ID of the Alibaba Cloud account to which the VPC belongs. VpcOwnerId interface{} `field:"optional" json:"vpcOwnerId" yaml:"vpcOwnerId"` }
Properties for defining a `Vpcs`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vpcs
Source Files ¶
- Address.go
- AddressProps.go
- Address__checks.go
- Addresses.go
- AddressesProps.go
- Addresses__checks.go
- AnycastEipAddress.go
- AnycastEipAddressProps.go
- AnycastEipAddress__checks.go
- BgpPeer.go
- BgpPeerProps.go
- BgpPeer__checks.go
- BgpPeers.go
- BgpPeersProps.go
- BgpPeers__checks.go
- CommonBandwidthPackage.go
- CommonBandwidthPackageProps.go
- CommonBandwidthPackage__checks.go
- CommonBandwidthPackages.go
- CommonBandwidthPackagesProps.go
- CommonBandwidthPackages__checks.go
- CustomerGateway.go
- CustomerGatewayProps.go
- CustomerGateway__checks.go
- CustomerGateways.go
- CustomerGatewaysProps.go
- CustomerGateways__checks.go
- FlowLog.go
- FlowLogProps.go
- FlowLog__checks.go
- FlowLogs.go
- FlowLogsProps.go
- FlowLogs__checks.go
- HaVip.go
- HaVipProps.go
- HaVip__checks.go
- HaVips.go
- HaVipsProps.go
- HaVips__checks.go
- IAddress.go
- IAddresses.go
- IAnycastEipAddress.go
- IBgpPeer.go
- IBgpPeers.go
- ICommonBandwidthPackage.go
- ICommonBandwidthPackages.go
- ICustomerGateway.go
- ICustomerGateways.go
- IFlowLog.go
- IFlowLogs.go
- IHaVip.go
- IHaVips.go
- IIpv4Gateway.go
- IIpv4Gateways.go
- INatGateway.go
- INatGatewayZones.go
- INatGateways.go
- INatIpCidrs.go
- INetworkAcls.go
- IPrefixList.go
- IPrefixLists.go
- IPublicIpAddressPool.go
- IPublicIpAddressPools.go
- IRouteEntries.go
- IRouteTable.go
- IRouteTables.go
- ITrafficMirrorFilter.go
- ITrafficMirrorFilters.go
- IVSwitch.go
- IVSwitches.go
- IVpc.go
- IVpcs.go
- Ipv4Gateway.go
- Ipv4GatewayProps.go
- Ipv4Gateway__checks.go
- Ipv4Gateways.go
- Ipv4GatewaysProps.go
- Ipv4Gateways__checks.go
- NatGateway.go
- NatGatewayProps.go
- NatGatewayZones.go
- NatGatewayZonesProps.go
- NatGatewayZones__checks.go
- NatGateway__checks.go
- NatGateways.go
- NatGatewaysProps.go
- NatGateways__checks.go
- NatIpCidrs.go
- NatIpCidrsProps.go
- NatIpCidrs__checks.go
- NetworkAcls.go
- NetworkAclsProps.go
- NetworkAcls__checks.go
- PrefixList.go
- PrefixListProps.go
- PrefixList__checks.go
- PrefixLists.go
- PrefixListsProps.go
- PrefixLists__checks.go
- PublicIpAddressPool.go
- PublicIpAddressPoolProps.go
- PublicIpAddressPool__checks.go
- PublicIpAddressPools.go
- PublicIpAddressPoolsProps.go
- PublicIpAddressPools__checks.go
- RosAddress.go
- RosAddressProps.go
- RosAddress__checks.go
- RosAddresses.go
- RosAddressesProps.go
- RosAddresses__checks.go
- RosAnycastEipAddress.go
- RosAnycastEipAddressProps.go
- RosAnycastEipAddress__checks.go
- RosBgpPeer.go
- RosBgpPeerProps.go
- RosBgpPeer__checks.go
- RosBgpPeers.go
- RosBgpPeersProps.go
- RosBgpPeers__checks.go
- RosCommonBandwidthPackage.go
- RosCommonBandwidthPackageProps.go
- RosCommonBandwidthPackage__checks.go
- RosCommonBandwidthPackages.go
- RosCommonBandwidthPackagesProps.go
- RosCommonBandwidthPackages__checks.go
- RosCustomerGateway.go
- RosCustomerGatewayProps.go
- RosCustomerGateway__checks.go
- RosCustomerGateways.go
- RosCustomerGatewaysProps.go
- RosCustomerGateways__checks.go
- RosFlowLog.go
- RosFlowLogProps.go
- RosFlowLog__checks.go
- RosFlowLogs.go
- RosFlowLogsProps.go
- RosFlowLogs__checks.go
- RosHaVip.go
- RosHaVipProps.go
- RosHaVip__checks.go
- RosHaVips.go
- RosHaVipsProps.go
- RosHaVips__checks.go
- RosIpv4Gateway.go
- RosIpv4GatewayProps.go
- RosIpv4Gateway__checks.go
- RosIpv4Gateways.go
- RosIpv4GatewaysProps.go
- RosIpv4Gateways__checks.go
- RosNatGateway.go
- RosNatGatewayProps.go
- RosNatGatewayZones.go
- RosNatGatewayZonesProps.go
- RosNatGatewayZones__checks.go
- RosNatGateway__checks.go
- RosNatGateways.go
- RosNatGatewaysProps.go
- RosNatGateways__checks.go
- RosNatIpCidrs.go
- RosNatIpCidrsProps.go
- RosNatIpCidrs__checks.go
- RosNetworkAcls.go
- RosNetworkAclsProps.go
- RosNetworkAcls__checks.go
- RosPrefixList.go
- RosPrefixListProps.go
- RosPrefixList__checks.go
- RosPrefixLists.go
- RosPrefixListsProps.go
- RosPrefixLists__checks.go
- RosPublicIpAddressPool.go
- RosPublicIpAddressPoolProps.go
- RosPublicIpAddressPool__checks.go
- RosPublicIpAddressPools.go
- RosPublicIpAddressPoolsProps.go
- RosPublicIpAddressPools__checks.go
- RosRouteEntries.go
- RosRouteEntriesProps.go
- RosRouteEntries__checks.go
- RosRouteTable.go
- RosRouteTableProps.go
- RosRouteTable__checks.go
- RosRouteTables.go
- RosRouteTablesProps.go
- RosRouteTables__checks.go
- RosTrafficMirrorFilter.go
- RosTrafficMirrorFilterProps.go
- RosTrafficMirrorFilter__checks.go
- RosTrafficMirrorFilters.go
- RosTrafficMirrorFiltersProps.go
- RosTrafficMirrorFilters__checks.go
- RosVSwitch.go
- RosVSwitchProps.go
- RosVSwitch__checks.go
- RosVSwitches.go
- RosVSwitchesProps.go
- RosVSwitches__checks.go
- RosVpc.go
- RosVpcProps.go
- RosVpc__checks.go
- RosVpcs.go
- RosVpcsProps.go
- RosVpcs__checks.go
- RouteEntries.go
- RouteEntriesProps.go
- RouteEntries__checks.go
- RouteTable.go
- RouteTableProps.go
- RouteTable__checks.go
- RouteTables.go
- RouteTablesProps.go
- RouteTables__checks.go
- TrafficMirrorFilter.go
- TrafficMirrorFilterProps.go
- TrafficMirrorFilter__checks.go
- TrafficMirrorFilters.go
- TrafficMirrorFiltersProps.go
- TrafficMirrorFilters__checks.go
- VSwitch.go
- VSwitchProps.go
- VSwitch__checks.go
- VSwitches.go
- VSwitchesProps.go
- VSwitches__checks.go
- Vpc.go
- VpcProps.go
- Vpc__checks.go
- Vpcs.go
- VpcsProps.go
- Vpcs__checks.go
- main.go