IRule
Represents a Rule.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrCreateTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CreateTime: The timestamp when the forwarding rule was created. |
attrEndpointId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute EndpointId: The ID of the endpoint. |
attrEndpointName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute EndpointName: The name of the endpoint. |
attrForwardIp | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ForwardIp: The information about each destination external server. |
attrRuleName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute RuleName: The name of the forwarding rule. |
attrType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Type: The type of the forwarding rule. |
attrVpcs | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Vpcs: The information about each virtual private cloud (VPC) that is associated with the forwarding rule. |
attrZoneName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ZoneName: The domain name that requires Domain Name System (DNS) traffic forwarding. |
props | RuleProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.ros.cdk.core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
stackRequired
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrCreateTimeRequired
public java.lang.Object getAttrCreateTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: The timestamp when the forwarding rule was created.
attrEndpointIdRequired
public java.lang.Object getAttrEndpointId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute EndpointId: The ID of the endpoint.
attrEndpointNameRequired
public java.lang.Object getAttrEndpointName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute EndpointName: The name of the endpoint.
attrForwardIpRequired
public java.lang.Object getAttrForwardIp();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ForwardIp: The information about each destination external server.
attrRuleNameRequired
public java.lang.Object getAttrRuleName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute RuleName: The name of the forwarding rule.
attrTypeRequired
public java.lang.Object getAttrType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Type: The type of the forwarding rule.
attrVpcsRequired
public java.lang.Object getAttrVpcs();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Vpcs: The information about each virtual private cloud (VPC) that is associated with the forwarding rule.
attrZoneNameRequired
public java.lang.Object getAttrZoneName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ZoneName: The domain name that requires Domain Name System (DNS) traffic forwarding.
propsRequired
public RuleProps getProps();
- Type: RuleProps