alicloud.ga.ForwardingRule
Explore with Pulumi AI
Provides a Global Accelerator (GA) Forwarding Rule resource.
For information about Global Accelerator (GA) Forwarding Rule and how to use it, see What is Forwarding Rule.
NOTE: Available in v1.120.0+.
Example Usage
Basic Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ga.Accelerator;
import com.pulumi.alicloud.ga.AcceleratorArgs;
import com.pulumi.alicloud.ga.BandwidthPackage;
import com.pulumi.alicloud.ga.BandwidthPackageArgs;
import com.pulumi.alicloud.ga.BandwidthPackageAttachment;
import com.pulumi.alicloud.ga.BandwidthPackageAttachmentArgs;
import com.pulumi.alicloud.ga.Listener;
import com.pulumi.alicloud.ga.ListenerArgs;
import com.pulumi.alicloud.ga.inputs.ListenerPortRangeArgs;
import com.pulumi.alicloud.ga.IpSet;
import com.pulumi.alicloud.ga.IpSetArgs;
import com.pulumi.alicloud.ecs.EipAddress;
import com.pulumi.alicloud.ecs.EipAddressArgs;
import com.pulumi.alicloud.ga.EndpointGroup;
import com.pulumi.alicloud.ga.EndpointGroupArgs;
import com.pulumi.alicloud.ga.inputs.EndpointGroupEndpointConfigurationArgs;
import com.pulumi.alicloud.ga.inputs.EndpointGroupPortOverridesArgs;
import com.pulumi.alicloud.ga.ForwardingRule;
import com.pulumi.alicloud.ga.ForwardingRuleArgs;
import com.pulumi.alicloud.ga.inputs.ForwardingRuleRuleConditionArgs;
import com.pulumi.alicloud.ga.inputs.ForwardingRuleRuleConditionPathConfigArgs;
import com.pulumi.alicloud.ga.inputs.ForwardingRuleRuleActionArgs;
import com.pulumi.alicloud.ga.inputs.ForwardingRuleRuleActionForwardGroupConfigArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleAccelerator = new Accelerator("exampleAccelerator", AcceleratorArgs.builder()
.duration(3)
.spec("2")
.acceleratorName("ga-tf")
.autoUseCoupon(false)
.description("ga-tf description")
.autoRenewDuration("2")
.renewalStatus("AutoRenewal")
.build());
var exampleBandwidthPackage = new BandwidthPackage("exampleBandwidthPackage", BandwidthPackageArgs.builder()
.type("Basic")
.bandwidth(20)
.bandwidthType("Basic")
.duration(1)
.timeouts(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.autoPay(true)
.paymentType("Subscription")
.autoUseCoupon(false)
.bandwidthPackageName("bandwidth_package_name_tf")
.description("bandwidth_package_name_tf_description")
.build());
var exampleBandwidthPackageAttachment = new BandwidthPackageAttachment("exampleBandwidthPackageAttachment", BandwidthPackageAttachmentArgs.builder()
.acceleratorId(exampleAccelerator.id())
.bandwidthPackageId(exampleBandwidthPackage.id())
.build());
var exampleListener = new Listener("exampleListener", ListenerArgs.builder()
.acceleratorId(exampleAccelerator.id())
.portRanges(ListenerPortRangeArgs.builder()
.fromPort(60)
.toPort(60)
.build())
.clientAffinity("SOURCE_IP")
.description("alicloud_ga_listener_description")
.protocol("HTTP")
.proxyProtocol(true)
.build(), CustomResourceOptions.builder()
.dependsOn(exampleBandwidthPackageAttachment)
.build());
var exampleIpSet = new IpSet("exampleIpSet", IpSetArgs.builder()
.accelerateRegionId("cn-shanghai")
.acceleratorId(exampleAccelerator.id())
.bandwidth("20")
.build(), CustomResourceOptions.builder()
.dependsOn(exampleBandwidthPackageAttachment)
.build());
var exampleEipAddress = new EipAddress("exampleEipAddress", EipAddressArgs.builder()
.bandwidth("10")
.internetChargeType("PayByBandwidth")
.build());
var virtual = new EndpointGroup("virtual", EndpointGroupArgs.builder()
.acceleratorId(exampleAccelerator.id())
.endpointConfigurations(EndpointGroupEndpointConfigurationArgs.builder()
.endpoint(exampleEipAddress.ipAddress())
.type("PublicIp")
.weight("20")
.enableClientipPreservation(true)
.build())
.endpointGroupRegion("cn-shanghai")
.listenerId(exampleListener.id())
.description("alicloud_ga_endpoint_group_description")
.endpointGroupType("virtual")
.endpointRequestProtocol("HTTPS")
.healthCheckIntervalSeconds(4)
.healthCheckPath("/path")
.thresholdCount(4)
.trafficPercentage(20)
.portOverrides(EndpointGroupPortOverridesArgs.builder()
.endpointPort(80)
.listenerPort(60)
.build())
.build());
var exampleForwardingRule = new ForwardingRule("exampleForwardingRule", ForwardingRuleArgs.builder()
.acceleratorId(exampleAccelerator.id())
.listenerId(exampleListener.id())
.ruleConditions(
ForwardingRuleRuleConditionArgs.builder()
.ruleConditionType("Path")
.pathConfig(ForwardingRuleRuleConditionPathConfigArgs.builder()
.values("/testpathconfig")
.build())
.build(),
ForwardingRuleRuleConditionArgs.builder()
.ruleConditionType("Host")
.hostConfigs(ForwardingRuleRuleConditionHostConfigArgs.builder()
.values("www.test.com")
.build())
.build())
.ruleActions(ForwardingRuleRuleActionArgs.builder()
.order("40")
.ruleActionType("ForwardGroup")
.forwardGroupConfig(ForwardingRuleRuleActionForwardGroupConfigArgs.builder()
.serverGroupTuples(ForwardingRuleRuleActionForwardGroupConfigServerGroupTupleArgs.builder()
.endpointGroupId(virtual.id())
.build())
.build())
.build())
.priority(2)
.forwardingRuleName("forwarding_rule_name")
.build());
}
}
Coming soon!
Coming soon!
resources:
exampleAccelerator:
type: alicloud:ga:Accelerator
properties:
duration: 3
spec: '2'
acceleratorName: ga-tf
autoUseCoupon: false
description: ga-tf description
autoRenewDuration: '2'
renewalStatus: AutoRenewal
exampleBandwidthPackage:
type: alicloud:ga:BandwidthPackage
properties:
type: Basic
bandwidth: 20
bandwidthType: Basic
duration: 1
timeouts:
- create: 5m
autoPay: true
paymentType: Subscription
autoUseCoupon: false
bandwidthPackageName: bandwidth_package_name_tf
description: bandwidth_package_name_tf_description
exampleBandwidthPackageAttachment:
type: alicloud:ga:BandwidthPackageAttachment
properties:
acceleratorId: ${exampleAccelerator.id}
bandwidthPackageId: ${exampleBandwidthPackage.id}
exampleListener:
type: alicloud:ga:Listener
properties:
acceleratorId: ${exampleAccelerator.id}
portRanges:
- fromPort: 60
toPort: 60
clientAffinity: SOURCE_IP
description: alicloud_ga_listener_description
protocol: HTTP
proxyProtocol: true
options:
dependson:
- ${exampleBandwidthPackageAttachment}
exampleIpSet:
type: alicloud:ga:IpSet
properties:
accelerateRegionId: cn-shanghai
acceleratorId: ${exampleAccelerator.id}
bandwidth: '20'
options:
dependson:
- ${exampleBandwidthPackageAttachment}
exampleEipAddress:
type: alicloud:ecs:EipAddress
properties:
bandwidth: '10'
internetChargeType: PayByBandwidth
virtual:
type: alicloud:ga:EndpointGroup
properties:
acceleratorId: ${exampleAccelerator.id}
endpointConfigurations:
- endpoint: ${exampleEipAddress.ipAddress}
type: PublicIp
weight: '20'
enableClientipPreservation: true
endpointGroupRegion: cn-shanghai
listenerId: ${exampleListener.id}
description: alicloud_ga_endpoint_group_description
endpointGroupType: virtual
endpointRequestProtocol: HTTPS
healthCheckIntervalSeconds: 4
healthCheckPath: /path
thresholdCount: 4
trafficPercentage: 20
portOverrides:
endpointPort: 80
listenerPort: 60
exampleForwardingRule:
type: alicloud:ga:ForwardingRule
properties:
acceleratorId: ${exampleAccelerator.id}
listenerId: ${exampleListener.id}
ruleConditions:
- ruleConditionType: Path
pathConfig:
values:
- /testpathconfig
- ruleConditionType: Host
hostConfigs:
- values:
- www.test.com
ruleActions:
- order: '40'
ruleActionType: ForwardGroup
forwardGroupConfig:
serverGroupTuples:
- endpointGroupId: ${virtual.id}
priority: 2
forwardingRuleName: forwarding_rule_name
Create ForwardingRule Resource
new ForwardingRule(name: string, args: ForwardingRuleArgs, opts?: CustomResourceOptions);
@overload
def ForwardingRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
accelerator_id: Optional[str] = None,
forwarding_rule_name: Optional[str] = None,
listener_id: Optional[str] = None,
priority: Optional[int] = None,
rule_actions: Optional[Sequence[ForwardingRuleRuleActionArgs]] = None,
rule_conditions: Optional[Sequence[ForwardingRuleRuleConditionArgs]] = None)
@overload
def ForwardingRule(resource_name: str,
args: ForwardingRuleArgs,
opts: Optional[ResourceOptions] = None)
func NewForwardingRule(ctx *Context, name string, args ForwardingRuleArgs, opts ...ResourceOption) (*ForwardingRule, error)
public ForwardingRule(string name, ForwardingRuleArgs args, CustomResourceOptions? opts = null)
public ForwardingRule(String name, ForwardingRuleArgs args)
public ForwardingRule(String name, ForwardingRuleArgs args, CustomResourceOptions options)
type: alicloud:ga:ForwardingRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ForwardingRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ForwardingRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ForwardingRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ForwardingRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ForwardingRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ForwardingRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ForwardingRule resource accepts the following input properties:
- Accelerator
Id string The ID of the Global Accelerator instance.
- Listener
Id string The ID of the listener.
- Rule
Actions List<Pulumi.Ali Cloud. Ga. Inputs. Forwarding Rule Rule Action Args> Forward action.
- Rule
Conditions List<Pulumi.Ali Cloud. Ga. Inputs. Forwarding Rule Rule Condition Args> Forwarding condition list.
- Forwarding
Rule stringName Forwarding policy name. The length of the name is 2-128 English or Chinese characters. It must start with uppercase and lowercase letters or Chinese characters. It can contain numbers, half width period (.), underscores (_) And dash (-).
- Priority int
Forwarding policy priority.
- Accelerator
Id string The ID of the Global Accelerator instance.
- Listener
Id string The ID of the listener.
- Rule
Actions []ForwardingRule Rule Action Args Forward action.
- Rule
Conditions []ForwardingRule Rule Condition Args Forwarding condition list.
- Forwarding
Rule stringName Forwarding policy name. The length of the name is 2-128 English or Chinese characters. It must start with uppercase and lowercase letters or Chinese characters. It can contain numbers, half width period (.), underscores (_) And dash (-).
- Priority int
Forwarding policy priority.
- accelerator
Id String The ID of the Global Accelerator instance.
- listener
Id String The ID of the listener.
- rule
Actions List<ForwardingRule Rule Action Args> Forward action.
- rule
Conditions List<ForwardingRule Rule Condition Args> Forwarding condition list.
- forwarding
Rule StringName Forwarding policy name. The length of the name is 2-128 English or Chinese characters. It must start with uppercase and lowercase letters or Chinese characters. It can contain numbers, half width period (.), underscores (_) And dash (-).
- priority Integer
Forwarding policy priority.
- accelerator
Id string The ID of the Global Accelerator instance.
- listener
Id string The ID of the listener.
- rule
Actions ForwardingRule Rule Action Args[] Forward action.
- rule
Conditions ForwardingRule Rule Condition Args[] Forwarding condition list.
- forwarding
Rule stringName Forwarding policy name. The length of the name is 2-128 English or Chinese characters. It must start with uppercase and lowercase letters or Chinese characters. It can contain numbers, half width period (.), underscores (_) And dash (-).
- priority number
Forwarding policy priority.
- accelerator_
id str The ID of the Global Accelerator instance.
- listener_
id str The ID of the listener.
- rule_
actions Sequence[ForwardingRule Rule Action Args] Forward action.
- rule_
conditions Sequence[ForwardingRule Rule Condition Args] Forwarding condition list.
- forwarding_
rule_ strname Forwarding policy name. The length of the name is 2-128 English or Chinese characters. It must start with uppercase and lowercase letters or Chinese characters. It can contain numbers, half width period (.), underscores (_) And dash (-).
- priority int
Forwarding policy priority.
- accelerator
Id String The ID of the Global Accelerator instance.
- listener
Id String The ID of the listener.
- rule
Actions List<Property Map> Forward action.
- rule
Conditions List<Property Map> Forwarding condition list.
- forwarding
Rule StringName Forwarding policy name. The length of the name is 2-128 English or Chinese characters. It must start with uppercase and lowercase letters or Chinese characters. It can contain numbers, half width period (.), underscores (_) And dash (-).
- priority Number
Forwarding policy priority.
Outputs
All input properties are implicitly available as output properties. Additionally, the ForwardingRule resource produces the following output properties:
- Forwarding
Rule stringId Forwarding Policy ID.
- Forwarding
Rule stringStatus Forwarding Policy Status.
- Id string
The provider-assigned unique ID for this managed resource.
- Forwarding
Rule stringId Forwarding Policy ID.
- Forwarding
Rule stringStatus Forwarding Policy Status.
- Id string
The provider-assigned unique ID for this managed resource.
- forwarding
Rule StringId Forwarding Policy ID.
- forwarding
Rule StringStatus Forwarding Policy Status.
- id String
The provider-assigned unique ID for this managed resource.
- forwarding
Rule stringId Forwarding Policy ID.
- forwarding
Rule stringStatus Forwarding Policy Status.
- id string
The provider-assigned unique ID for this managed resource.
- forwarding_
rule_ strid Forwarding Policy ID.
- forwarding_
rule_ strstatus Forwarding Policy Status.
- id str
The provider-assigned unique ID for this managed resource.
- forwarding
Rule StringId Forwarding Policy ID.
- forwarding
Rule StringStatus Forwarding Policy Status.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing ForwardingRule Resource
Get an existing ForwardingRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ForwardingRuleState, opts?: CustomResourceOptions): ForwardingRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accelerator_id: Optional[str] = None,
forwarding_rule_id: Optional[str] = None,
forwarding_rule_name: Optional[str] = None,
forwarding_rule_status: Optional[str] = None,
listener_id: Optional[str] = None,
priority: Optional[int] = None,
rule_actions: Optional[Sequence[ForwardingRuleRuleActionArgs]] = None,
rule_conditions: Optional[Sequence[ForwardingRuleRuleConditionArgs]] = None) -> ForwardingRule
func GetForwardingRule(ctx *Context, name string, id IDInput, state *ForwardingRuleState, opts ...ResourceOption) (*ForwardingRule, error)
public static ForwardingRule Get(string name, Input<string> id, ForwardingRuleState? state, CustomResourceOptions? opts = null)
public static ForwardingRule get(String name, Output<String> id, ForwardingRuleState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Accelerator
Id string The ID of the Global Accelerator instance.
- Forwarding
Rule stringId Forwarding Policy ID.
- Forwarding
Rule stringName Forwarding policy name. The length of the name is 2-128 English or Chinese characters. It must start with uppercase and lowercase letters or Chinese characters. It can contain numbers, half width period (.), underscores (_) And dash (-).
- Forwarding
Rule stringStatus Forwarding Policy Status.
- Listener
Id string The ID of the listener.
- Priority int
Forwarding policy priority.
- Rule
Actions List<Pulumi.Ali Cloud. Ga. Inputs. Forwarding Rule Rule Action Args> Forward action.
- Rule
Conditions List<Pulumi.Ali Cloud. Ga. Inputs. Forwarding Rule Rule Condition Args> Forwarding condition list.
- Accelerator
Id string The ID of the Global Accelerator instance.
- Forwarding
Rule stringId Forwarding Policy ID.
- Forwarding
Rule stringName Forwarding policy name. The length of the name is 2-128 English or Chinese characters. It must start with uppercase and lowercase letters or Chinese characters. It can contain numbers, half width period (.), underscores (_) And dash (-).
- Forwarding
Rule stringStatus Forwarding Policy Status.
- Listener
Id string The ID of the listener.
- Priority int
Forwarding policy priority.
- Rule
Actions []ForwardingRule Rule Action Args Forward action.
- Rule
Conditions []ForwardingRule Rule Condition Args Forwarding condition list.
- accelerator
Id String The ID of the Global Accelerator instance.
- forwarding
Rule StringId Forwarding Policy ID.
- forwarding
Rule StringName Forwarding policy name. The length of the name is 2-128 English or Chinese characters. It must start with uppercase and lowercase letters or Chinese characters. It can contain numbers, half width period (.), underscores (_) And dash (-).
- forwarding
Rule StringStatus Forwarding Policy Status.
- listener
Id String The ID of the listener.
- priority Integer
Forwarding policy priority.
- rule
Actions List<ForwardingRule Rule Action Args> Forward action.
- rule
Conditions List<ForwardingRule Rule Condition Args> Forwarding condition list.
- accelerator
Id string The ID of the Global Accelerator instance.
- forwarding
Rule stringId Forwarding Policy ID.
- forwarding
Rule stringName Forwarding policy name. The length of the name is 2-128 English or Chinese characters. It must start with uppercase and lowercase letters or Chinese characters. It can contain numbers, half width period (.), underscores (_) And dash (-).
- forwarding
Rule stringStatus Forwarding Policy Status.
- listener
Id string The ID of the listener.
- priority number
Forwarding policy priority.
- rule
Actions ForwardingRule Rule Action Args[] Forward action.
- rule
Conditions ForwardingRule Rule Condition Args[] Forwarding condition list.
- accelerator_
id str The ID of the Global Accelerator instance.
- forwarding_
rule_ strid Forwarding Policy ID.
- forwarding_
rule_ strname Forwarding policy name. The length of the name is 2-128 English or Chinese characters. It must start with uppercase and lowercase letters or Chinese characters. It can contain numbers, half width period (.), underscores (_) And dash (-).
- forwarding_
rule_ strstatus Forwarding Policy Status.
- listener_
id str The ID of the listener.
- priority int
Forwarding policy priority.
- rule_
actions Sequence[ForwardingRule Rule Action Args] Forward action.
- rule_
conditions Sequence[ForwardingRule Rule Condition Args] Forwarding condition list.
- accelerator
Id String The ID of the Global Accelerator instance.
- forwarding
Rule StringId Forwarding Policy ID.
- forwarding
Rule StringName Forwarding policy name. The length of the name is 2-128 English or Chinese characters. It must start with uppercase and lowercase letters or Chinese characters. It can contain numbers, half width period (.), underscores (_) And dash (-).
- forwarding
Rule StringStatus Forwarding Policy Status.
- listener
Id String The ID of the listener.
- priority Number
Forwarding policy priority.
- rule
Actions List<Property Map> Forward action.
- rule
Conditions List<Property Map> Forwarding condition list.
Supporting Types
ForwardingRuleRuleAction
- Forward
Group Pulumi.Config Ali Cloud. Ga. Inputs. Forwarding Rule Rule Action Forward Group Config Forwarding configuration.
- Order int
Forwarding priority.
- Rule
Action stringType Forward action type. Default: forwardgroup.
- Forward
Group ForwardingConfig Rule Rule Action Forward Group Config Forwarding configuration.
- Order int
Forwarding priority.
- Rule
Action stringType Forward action type. Default: forwardgroup.
- forward
Group ForwardingConfig Rule Rule Action Forward Group Config Forwarding configuration.
- order Integer
Forwarding priority.
- rule
Action StringType Forward action type. Default: forwardgroup.
- forward
Group ForwardingConfig Rule Rule Action Forward Group Config Forwarding configuration.
- order number
Forwarding priority.
- rule
Action stringType Forward action type. Default: forwardgroup.
- forward_
group_ Forwardingconfig Rule Rule Action Forward Group Config Forwarding configuration.
- order int
Forwarding priority.
- rule_
action_ strtype Forward action type. Default: forwardgroup.
- forward
Group Property MapConfig Forwarding configuration.
- order Number
Forwarding priority.
- rule
Action StringType Forward action type. Default: forwardgroup.
ForwardingRuleRuleActionForwardGroupConfig
- Server
Group List<Pulumi.Tuples Ali Cloud. Ga. Inputs. Forwarding Rule Rule Action Forward Group Config Server Group Tuple> Terminal node group configuration.
- Server
Group []ForwardingTuples Rule Rule Action Forward Group Config Server Group Tuple Terminal node group configuration.
- server
Group List<ForwardingTuples Rule Rule Action Forward Group Config Server Group Tuple> Terminal node group configuration.
- server
Group ForwardingTuples Rule Rule Action Forward Group Config Server Group Tuple[] Terminal node group configuration.
- server_
group_ Sequence[Forwardingtuples Rule Rule Action Forward Group Config Server Group Tuple] Terminal node group configuration.
- server
Group List<Property Map>Tuples Terminal node group configuration.
ForwardingRuleRuleActionForwardGroupConfigServerGroupTuple
- Endpoint
Group stringId Terminal node group ID.
- Endpoint
Group stringId Terminal node group ID.
- endpoint
Group StringId Terminal node group ID.
- endpoint
Group stringId Terminal node group ID.
- endpoint_
group_ strid Terminal node group ID.
- endpoint
Group StringId Terminal node group ID.
ForwardingRuleRuleCondition
- Rule
Condition stringType Forwarding condition type. Valid value:
Host
,Path
.- Host
Configs List<Pulumi.Ali Cloud. Ga. Inputs. Forwarding Rule Rule Condition Host Config> Domain name configuration information.
- Path
Config Pulumi.Ali Cloud. Ga. Inputs. Forwarding Rule Rule Condition Path Config Path configuration information.
- Rule
Condition stringType Forwarding condition type. Valid value:
Host
,Path
.- Host
Configs []ForwardingRule Rule Condition Host Config Domain name configuration information.
- Path
Config ForwardingRule Rule Condition Path Config Path configuration information.
- rule
Condition StringType Forwarding condition type. Valid value:
Host
,Path
.- host
Configs List<ForwardingRule Rule Condition Host Config> Domain name configuration information.
- path
Config ForwardingRule Rule Condition Path Config Path configuration information.
- rule
Condition stringType Forwarding condition type. Valid value:
Host
,Path
.- host
Configs ForwardingRule Rule Condition Host Config[] Domain name configuration information.
- path
Config ForwardingRule Rule Condition Path Config Path configuration information.
- rule_
condition_ strtype Forwarding condition type. Valid value:
Host
,Path
.- host_
configs Sequence[ForwardingRule Rule Condition Host Config] Domain name configuration information.
- path_
config ForwardingRule Rule Condition Path Config Path configuration information.
- rule
Condition StringType Forwarding condition type. Valid value:
Host
,Path
.- host
Configs List<Property Map> Domain name configuration information.
- path
Config Property Map Path configuration information.
ForwardingRuleRuleConditionHostConfig
- Values List<string>
The length of the path is 1-128 characters. It must start with a forward slash (/), and can only contain letters, numbers, dollar sign ($), dash (-), and underscores (_) , half width full stop (.), plus sign (+), forward slash (/), and (&), wavy line (~), at (@), half width colon (:), apostrophe ('). It supports asterisk (*) and half width question mark (?) as wildcards.
- Values []string
The length of the path is 1-128 characters. It must start with a forward slash (/), and can only contain letters, numbers, dollar sign ($), dash (-), and underscores (_) , half width full stop (.), plus sign (+), forward slash (/), and (&), wavy line (~), at (@), half width colon (:), apostrophe ('). It supports asterisk (*) and half width question mark (?) as wildcards.
- values List<String>
The length of the path is 1-128 characters. It must start with a forward slash (/), and can only contain letters, numbers, dollar sign ($), dash (-), and underscores (_) , half width full stop (.), plus sign (+), forward slash (/), and (&), wavy line (~), at (@), half width colon (:), apostrophe ('). It supports asterisk (*) and half width question mark (?) as wildcards.
- values string[]
The length of the path is 1-128 characters. It must start with a forward slash (/), and can only contain letters, numbers, dollar sign ($), dash (-), and underscores (_) , half width full stop (.), plus sign (+), forward slash (/), and (&), wavy line (~), at (@), half width colon (:), apostrophe ('). It supports asterisk (*) and half width question mark (?) as wildcards.
- values Sequence[str]
The length of the path is 1-128 characters. It must start with a forward slash (/), and can only contain letters, numbers, dollar sign ($), dash (-), and underscores (_) , half width full stop (.), plus sign (+), forward slash (/), and (&), wavy line (~), at (@), half width colon (:), apostrophe ('). It supports asterisk (*) and half width question mark (?) as wildcards.
- values List<String>
The length of the path is 1-128 characters. It must start with a forward slash (/), and can only contain letters, numbers, dollar sign ($), dash (-), and underscores (_) , half width full stop (.), plus sign (+), forward slash (/), and (&), wavy line (~), at (@), half width colon (:), apostrophe ('). It supports asterisk (*) and half width question mark (?) as wildcards.
ForwardingRuleRuleConditionPathConfig
- Values List<string>
The length of the path is 1-128 characters. It must start with a forward slash (/), and can only contain letters, numbers, dollar sign ($), dash (-), and underscores (_) , half width full stop (.), plus sign (+), forward slash (/), and (&), wavy line (~), at (@), half width colon (:), apostrophe ('). It supports asterisk (*) and half width question mark (?) as wildcards.
- Values []string
The length of the path is 1-128 characters. It must start with a forward slash (/), and can only contain letters, numbers, dollar sign ($), dash (-), and underscores (_) , half width full stop (.), plus sign (+), forward slash (/), and (&), wavy line (~), at (@), half width colon (:), apostrophe ('). It supports asterisk (*) and half width question mark (?) as wildcards.
- values List<String>
The length of the path is 1-128 characters. It must start with a forward slash (/), and can only contain letters, numbers, dollar sign ($), dash (-), and underscores (_) , half width full stop (.), plus sign (+), forward slash (/), and (&), wavy line (~), at (@), half width colon (:), apostrophe ('). It supports asterisk (*) and half width question mark (?) as wildcards.
- values string[]
The length of the path is 1-128 characters. It must start with a forward slash (/), and can only contain letters, numbers, dollar sign ($), dash (-), and underscores (_) , half width full stop (.), plus sign (+), forward slash (/), and (&), wavy line (~), at (@), half width colon (:), apostrophe ('). It supports asterisk (*) and half width question mark (?) as wildcards.
- values Sequence[str]
The length of the path is 1-128 characters. It must start with a forward slash (/), and can only contain letters, numbers, dollar sign ($), dash (-), and underscores (_) , half width full stop (.), plus sign (+), forward slash (/), and (&), wavy line (~), at (@), half width colon (:), apostrophe ('). It supports asterisk (*) and half width question mark (?) as wildcards.
- values List<String>
The length of the path is 1-128 characters. It must start with a forward slash (/), and can only contain letters, numbers, dollar sign ($), dash (-), and underscores (_) , half width full stop (.), plus sign (+), forward slash (/), and (&), wavy line (~), at (@), half width colon (:), apostrophe ('). It supports asterisk (*) and half width question mark (?) as wildcards.
Import
Ga Forwarding Rule can be imported using the id, e.g.
$ pulumi import alicloud:ga/forwardingRule:ForwardingRule example <id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.