Skip to content

InstanceProps

Properties for defining a Instance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudfw-instance

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcloudfw"
&alicloudroscdkcloudfw.InstanceProps {
    PayType: interface{},
    AccountNum: interface{},
    AclExtension: interface{},
    AutoPay: interface{},
    AutoRenew: interface{},
    Bandwidth: interface{},
    IgnoreExisting: interface{},
    IpNum: interface{},
    LogAnalysis: interface{},
    LogStorage: interface{},
    MultiAccountManagement: interface{},
    NatBandwidth: interface{},
    NatFirewallNum: interface{},
    Period: interface{},
    PeriodUnit: interface{},
    Spec: interface{},
    VpcBandwidth: interface{},
    VpcFirewallNum: interface{},
}

Properties

Name Type Description
PayType interface{} Property payType: The billing method of the firewall instance.
AccountNum interface{} Property accountNum: The number of multi-account management and control is the number of member accounts that you need to uniformly control.
AclExtension interface{} Property aclExtension: When the default access control authorization specifications of your version are not enough, you can purchase global extension specifications of access control.
AutoPay interface{} Property autoPay: Whether to auto pay the bill.
AutoRenew interface{} Property autoRenew: Whether to auto renew the prepay instance.
Bandwidth interface{} Property bandwidth: Public network processing capability.
IgnoreExisting interface{} Property ignoreExisting: Whether to ignore existing cloud firewall instance False: ROS will perform a uniqueness check.If the cloud firewall instance exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If the cloud firewall instance exists, the creation process will be ignored. If the cloud firewall instance is not created by ROS, it will be ignored during update and delete stage.
IpNum interface{} Property ipNum: The number of public IPs that can be protected.
LogAnalysis interface{} Property logAnalysis: The cloud firewall includes 7 days of free log storage and auditing by default.
LogStorage interface{} Property logStorage: Reference for purchasing storage capacity: 10M public network bandwidth, 6 months of log storage, recommended purchase of 1000GB log storage capacity.
MultiAccountManagement interface{} Property multiAccountManagement: Multiple accounts on the enterprise cloud can be managed centrally on the cloud firewall, including asset inventory, ACL policies, attack protection, log reports, etc.
NatBandwidth interface{} Property natBandwidth: The bandwidth of private network traffic processed by the NAT firewall.
NatFirewallNum interface{} Property natFirewallNum: The number of NAT gateway instances of the NAT firewall you need to enable.
Period interface{} Property period: The subscription period of the firewallIf PeriodUnit is month, the valid range is 1, 3, 6 If periodUnit is year, the valid range is 1, 2, 3.
PeriodUnit interface{} Property periodUnit: The unit of the subscription duration.
Spec interface{} Property spec: The version of Cloud Firewall.
VpcBandwidth interface{} Property vpcBandwidth: VPC network processing capability.
VpcFirewallNum interface{} Property vpcFirewallNum: The number of protected VPCs.

PayTypeRequired

PayType interface{}
  • Type: interface{}

Property payType: The billing method of the firewall instance.

Valid values: PayAsYouGo: pay-as-you-go Subscription: subscription


AccountNumOptional

AccountNum interface{}
  • Type: interface{}

Property accountNum: The number of multi-account management and control is the number of member accounts that you need to uniformly control.


AclExtensionOptional

AclExtension interface{}
  • Type: interface{}

Property aclExtension: When the default access control authorization specifications of your version are not enough, you can purchase global extension specifications of access control.

This extension supports shared occupancy with Internet and VPC boundary ACL specifications.


AutoPayOptional

AutoPay interface{}
  • Type: interface{}

Property autoPay: Whether to auto pay the bill.


AutoRenewOptional

AutoRenew interface{}
  • Type: interface{}

Property autoRenew: Whether to auto renew the prepay instance.


BandwidthOptional

Bandwidth interface{}
  • Type: interface{}

Property bandwidth: Public network processing capability.

Valid values: 10 to 15000. Unit: Mbps.


IgnoreExistingOptional

IgnoreExisting interface{}
  • Type: interface{}

Property ignoreExisting: Whether to ignore existing cloud firewall instance False: ROS will perform a uniqueness check.If the cloud firewall instance exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If the cloud firewall instance exists, the creation process will be ignored. If the cloud firewall instance is not created by ROS, it will be ignored during update and delete stage.


IpNumOptional

IpNum interface{}
  • Type: interface{}

Property ipNum: The number of public IPs that can be protected.

Valid values: 20 to 4000.PremiumVersion: [20, 1000]


LogAnalysisOptional

LogAnalysis interface{}
  • Type: interface{}

Property logAnalysis: The cloud firewall includes 7 days of free log storage and auditing by default.

If you need longer storage time or meet the requirements for equal protection, it is recommended to purchase the log analysis service.


LogStorageOptional

LogStorage interface{}
  • Type: interface{}

Property logStorage: Reference for purchasing storage capacity: 10M public network bandwidth, 6 months of log storage, recommended purchase of 1000GB log storage capacity.


MultiAccountManagementOptional

MultiAccountManagement interface{}
  • Type: interface{}

Property multiAccountManagement: Multiple accounts on the enterprise cloud can be managed centrally on the cloud firewall, including asset inventory, ACL policies, attack protection, log reports, etc.

After the member account is managed by the current account, there will be no need to purchase it separately.


NatBandwidthOptional

NatBandwidth interface{}
  • Type: interface{}

Property natBandwidth: The bandwidth of private network traffic processed by the NAT firewall.

The premium version does not include it by default, the enterprise version has 10Mbps by default, and the ultimate version has 20Mbps by default.


NatFirewallNumOptional

NatFirewallNum interface{}
  • Type: interface{}

Property natFirewallNum: The number of NAT gateway instances of the NAT firewall you need to enable.

Each NAT gateway instance corresponds to one NAT firewall instance. The premium version does not include it by default, the enterprise version comes with 1 specification by default,and the ultimate version comes with 2 specifications by default.


PeriodOptional

Period interface{}
  • Type: interface{}

Property period: The subscription period of the firewallIf PeriodUnit is month, the valid range is 1, 3, 6 If periodUnit is year, the valid range is 1, 2, 3.


PeriodUnitOptional

PeriodUnit interface{}
  • Type: interface{}

Property periodUnit: The unit of the subscription duration.

Valid values: Month Year Default value: Month.


SpecOptional

Spec interface{}
  • Type: interface{}

Property spec: The version of Cloud Firewall.


VpcBandwidthOptional

VpcBandwidth interface{}
  • Type: interface{}

Property vpcBandwidth: VPC network processing capability.

Valid values: 1000 to 15000. Unit: Mbps.


VpcFirewallNumOptional

VpcFirewallNum interface{}
  • Type: interface{}

Property vpcFirewallNum: The number of protected VPCs.

It will be ignored when spec = "premium_version". Valid values between 2 and 500.