Skip to content

IRule

  • Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource

  • Implemented By: Rule, IRule

Represents a Rule.

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node for this construct.
Env github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment The environment this resource belongs to.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
AttrCreateTime interface{} Attribute CreateTime: The timestamp when the forwarding rule was created.
AttrEndpointId interface{} Attribute EndpointId: The ID of the endpoint.
AttrEndpointName interface{} Attribute EndpointName: The name of the endpoint.
AttrForwardIp interface{} Attribute ForwardIp: The information about each destination external server.
AttrRuleName interface{} Attribute RuleName: The name of the forwarding rule.
AttrType interface{} Attribute Type: The type of the forwarding rule.
AttrVpcs interface{} Attribute Vpcs: The information about each virtual private cloud (VPC) that is associated with the forwarding rule.
AttrZoneName interface{} Attribute ZoneName: The domain name that requires Domain Name System (DNS) traffic forwarding.
Props RuleProps No description.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node for this construct.


EnvRequired

func Env() IResourceEnvironment
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


AttrCreateTimeRequired

func AttrCreateTime() interface{}
  • Type: interface{}

Attribute CreateTime: The timestamp when the forwarding rule was created.


AttrEndpointIdRequired

func AttrEndpointId() interface{}
  • Type: interface{}

Attribute EndpointId: The ID of the endpoint.


AttrEndpointNameRequired

func AttrEndpointName() interface{}
  • Type: interface{}

Attribute EndpointName: The name of the endpoint.


AttrForwardIpRequired

func AttrForwardIp() interface{}
  • Type: interface{}

Attribute ForwardIp: The information about each destination external server.


AttrRuleNameRequired

func AttrRuleName() interface{}
  • Type: interface{}

Attribute RuleName: The name of the forwarding rule.


AttrTypeRequired

func AttrType() interface{}
  • Type: interface{}

Attribute Type: The type of the forwarding rule.


AttrVpcsRequired

func AttrVpcs() interface{}
  • Type: interface{}

Attribute Vpcs: The information about each virtual private cloud (VPC) that is associated with the forwarding rule.


AttrZoneNameRequired

func AttrZoneName() interface{}
  • Type: interface{}

Attribute ZoneName: The domain name that requires Domain Name System (DNS) traffic forwarding.


PropsRequired

func Props() RuleProps