akamai.getCloudletsForwardRewriteMatchRule
Every policy version specifies the match rules that govern how the Cloudlet is used. Matches specify conditions that need to be met in the incoming request.
Use the akamai.getCloudletsForwardRewriteMatchRule
data source to build a match rule JSON object for the Forward Rewrite Cloudlet.
Basic usage
This example returns the JSON-encoded rules for the Forward Rewrite Cloudlet:
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";
const example = akamai.getCloudletsForwardRewriteMatchRule({
matchRules: [{
forwardSettings: {
originId: "1234",
pathAndQs: "/path",
useIncomingQueryString: true,
},
matches: [{
caseSensitive: false,
checkIps: "CONNECTING_IP XFF_HEADERS",
matchOperator: "equals",
matchType: "clientip",
matchValue: "192.0.2.0",
negate: false,
}],
name: "rule",
}],
});
import pulumi
import pulumi_akamai as akamai
example = akamai.get_cloudlets_forward_rewrite_match_rule(match_rules=[akamai.GetCloudletsForwardRewriteMatchRuleMatchRuleArgs(
forward_settings=akamai.GetCloudletsForwardRewriteMatchRuleMatchRuleForwardSettingsArgs(
origin_id="1234",
path_and_qs="/path",
use_incoming_query_string=True,
),
matches=[akamai.GetCloudletsForwardRewriteMatchRuleMatchRuleMatchArgs(
case_sensitive=False,
check_ips="CONNECTING_IP XFF_HEADERS",
match_operator="equals",
match_type="clientip",
match_value="192.0.2.0",
negate=False,
)],
name="rule",
)])
using System.Collections.Generic;
using Pulumi;
using Akamai = Pulumi.Akamai;
return await Deployment.RunAsync(() =>
{
var example = Akamai.GetCloudletsForwardRewriteMatchRule.Invoke(new()
{
MatchRules = new[]
{
new Akamai.Inputs.GetCloudletsForwardRewriteMatchRuleMatchRuleInputArgs
{
ForwardSettings = new Akamai.Inputs.GetCloudletsForwardRewriteMatchRuleMatchRuleForwardSettingsInputArgs
{
OriginId = "1234",
PathAndQs = "/path",
UseIncomingQueryString = true,
},
Matches = new[]
{
new Akamai.Inputs.GetCloudletsForwardRewriteMatchRuleMatchRuleMatchInputArgs
{
CaseSensitive = false,
CheckIps = "CONNECTING_IP XFF_HEADERS",
MatchOperator = "equals",
MatchType = "clientip",
MatchValue = "192.0.2.0",
Negate = false,
},
},
Name = "rule",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-akamai/sdk/v4/go/akamai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := akamai.GetCloudletsForwardRewriteMatchRule(ctx, &akamai.GetCloudletsForwardRewriteMatchRuleArgs{
MatchRules: []akamai.GetCloudletsForwardRewriteMatchRuleMatchRule{
{
ForwardSettings: {
OriginId: pulumi.StringRef("1234"),
PathAndQs: pulumi.StringRef("/path"),
UseIncomingQueryString: pulumi.BoolRef(true),
},
Matches: []akamai.GetCloudletsForwardRewriteMatchRuleMatchRuleMatch{
{
CaseSensitive: pulumi.BoolRef(false),
CheckIps: pulumi.StringRef("CONNECTING_IP XFF_HEADERS"),
MatchOperator: pulumi.StringRef("equals"),
MatchType: pulumi.StringRef("clientip"),
MatchValue: pulumi.StringRef("192.0.2.0"),
Negate: pulumi.BoolRef(false),
},
},
Name: pulumi.StringRef("rule"),
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.akamai.AkamaiFunctions;
import com.pulumi.akamai.inputs.GetCloudletsForwardRewriteMatchRuleArgs;
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) {
final var example = AkamaiFunctions.getCloudletsForwardRewriteMatchRule(GetCloudletsForwardRewriteMatchRuleArgs.builder()
.matchRules(GetCloudletsForwardRewriteMatchRuleMatchRuleArgs.builder()
.forwardSettings(GetCloudletsForwardRewriteMatchRuleMatchRuleForwardSettingsArgs.builder()
.originId("1234")
.pathAndQs("/path")
.useIncomingQueryString(true)
.build())
.matches(GetCloudletsForwardRewriteMatchRuleMatchRuleMatchArgs.builder()
.caseSensitive(false)
.checkIps("CONNECTING_IP XFF_HEADERS")
.matchOperator("equals")
.matchType("clientip")
.matchValue("192.0.2.0")
.negate(false)
.build())
.name("rule")
.build())
.build());
}
}
variables:
example:
fn::invoke:
Function: akamai:getCloudletsForwardRewriteMatchRule
Arguments:
matchRules:
- forwardSettings:
originId: '1234'
pathAndQs: /path
useIncomingQueryString: true
matches:
- caseSensitive: false
checkIps: CONNECTING_IP XFF_HEADERS
matchOperator: equals
matchType: clientip
matchValue: 192.0.2.0
negate: false
name: rule
Attributes reference
This data source returns these attributes:
type
- The type of Cloudlet the rule is for.json
- Amatch_rules
JSON structure generated from the API schema that defines the rules for this policy.
Using getCloudletsForwardRewriteMatchRule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCloudletsForwardRewriteMatchRule(args: GetCloudletsForwardRewriteMatchRuleArgs, opts?: InvokeOptions): Promise<GetCloudletsForwardRewriteMatchRuleResult>
function getCloudletsForwardRewriteMatchRuleOutput(args: GetCloudletsForwardRewriteMatchRuleOutputArgs, opts?: InvokeOptions): Output<GetCloudletsForwardRewriteMatchRuleResult>
def get_cloudlets_forward_rewrite_match_rule(match_rules: Optional[Sequence[GetCloudletsForwardRewriteMatchRuleMatchRule]] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudletsForwardRewriteMatchRuleResult
def get_cloudlets_forward_rewrite_match_rule_output(match_rules: Optional[pulumi.Input[Sequence[pulumi.Input[GetCloudletsForwardRewriteMatchRuleMatchRuleArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudletsForwardRewriteMatchRuleResult]
func GetCloudletsForwardRewriteMatchRule(ctx *Context, args *GetCloudletsForwardRewriteMatchRuleArgs, opts ...InvokeOption) (*GetCloudletsForwardRewriteMatchRuleResult, error)
func GetCloudletsForwardRewriteMatchRuleOutput(ctx *Context, args *GetCloudletsForwardRewriteMatchRuleOutputArgs, opts ...InvokeOption) GetCloudletsForwardRewriteMatchRuleResultOutput
> Note: This function is named GetCloudletsForwardRewriteMatchRule
in the Go SDK.
public static class GetCloudletsForwardRewriteMatchRule
{
public static Task<GetCloudletsForwardRewriteMatchRuleResult> InvokeAsync(GetCloudletsForwardRewriteMatchRuleArgs args, InvokeOptions? opts = null)
public static Output<GetCloudletsForwardRewriteMatchRuleResult> Invoke(GetCloudletsForwardRewriteMatchRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudletsForwardRewriteMatchRuleResult> getCloudletsForwardRewriteMatchRule(GetCloudletsForwardRewriteMatchRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: akamai:index/getCloudletsForwardRewriteMatchRule:getCloudletsForwardRewriteMatchRule
arguments:
# arguments dictionary
The following arguments are supported:
- Match
Rules List<GetCloudlets Forward Rewrite Match Rule Match Rule> (Optional) A list of Cloudlet-specific match rules for a policy.
- Match
Rules []GetCloudlets Forward Rewrite Match Rule Match Rule (Optional) A list of Cloudlet-specific match rules for a policy.
- match
Rules List<GetCloudlets Forward Rewrite Match Rule Match Rule> (Optional) A list of Cloudlet-specific match rules for a policy.
- match
Rules GetCloudlets Forward Rewrite Match Rule Match Rule[] (Optional) A list of Cloudlet-specific match rules for a policy.
- match_
rules Sequence[GetCloudlets Forward Rewrite Match Rule Match Rule] (Optional) A list of Cloudlet-specific match rules for a policy.
- match
Rules List<Property Map> (Optional) A list of Cloudlet-specific match rules for a policy.
getCloudletsForwardRewriteMatchRule Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Json string
- Match
Rules List<GetCloudlets Forward Rewrite Match Rule Match Rule>
- Id string
The provider-assigned unique ID for this managed resource.
- Json string
- Match
Rules []GetCloudlets Forward Rewrite Match Rule Match Rule
- id String
The provider-assigned unique ID for this managed resource.
- json String
- match
Rules List<GetCloudlets Forward Rewrite Match Rule Match Rule>
- id string
The provider-assigned unique ID for this managed resource.
- json string
- match
Rules GetCloudlets Forward Rewrite Match Rule Match Rule[]
- id str
The provider-assigned unique ID for this managed resource.
- json str
- match_
rules Sequence[GetCloudlets Forward Rewrite Match Rule Match Rule]
- id String
The provider-assigned unique ID for this managed resource.
- json String
- match
Rules List<Property Map>
Supporting Types
GetCloudletsForwardRewriteMatchRuleMatchRule
- Forward
Settings GetCloudlets Forward Rewrite Match Rule Match Rule Forward Settings (Required) The data used to construct a new request URL if all match conditions are met. If all conditions are met, the edge server returns an HTTP response from the rewritten URL.
- Type string
(Required) The type of the array, either
object
orsimple
. Use thesimple
option when adding only an array of string-based values.- Disabled bool
(Optional) Whether to disable a rule so it is not evaluated against incoming requests.
- End int
(Optional) The end time for this match. Specify the value in UTC in seconds since the epoch.
- Match
Url string (Optional) If you're using a URL match, this specifies the URL that the Cloudlet uses to match the incoming request.
- Matches
List<Get
Cloudlets Forward Rewrite Match Rule Match Rule Match> (Optional) A list of conditions to apply to a Cloudlet, including:
- Name string
(Optional) If you're using a
match_type
that supports name attributes, specify the part the incoming request to match on, eithercookie
,header
,parameter
, orquery
.- Start int
(Optional) The start time for this match. Specify the value in UTC in seconds since the epoch.
- Forward
Settings GetCloudlets Forward Rewrite Match Rule Match Rule Forward Settings (Required) The data used to construct a new request URL if all match conditions are met. If all conditions are met, the edge server returns an HTTP response from the rewritten URL.
- Type string
(Required) The type of the array, either
object
orsimple
. Use thesimple
option when adding only an array of string-based values.- Disabled bool
(Optional) Whether to disable a rule so it is not evaluated against incoming requests.
- End int
(Optional) The end time for this match. Specify the value in UTC in seconds since the epoch.
- Match
Url string (Optional) If you're using a URL match, this specifies the URL that the Cloudlet uses to match the incoming request.
- Matches
[]Get
Cloudlets Forward Rewrite Match Rule Match Rule Match (Optional) A list of conditions to apply to a Cloudlet, including:
- Name string
(Optional) If you're using a
match_type
that supports name attributes, specify the part the incoming request to match on, eithercookie
,header
,parameter
, orquery
.- Start int
(Optional) The start time for this match. Specify the value in UTC in seconds since the epoch.
- forward
Settings GetCloudlets Forward Rewrite Match Rule Match Rule Forward Settings (Required) The data used to construct a new request URL if all match conditions are met. If all conditions are met, the edge server returns an HTTP response from the rewritten URL.
- type String
(Required) The type of the array, either
object
orsimple
. Use thesimple
option when adding only an array of string-based values.- disabled Boolean
(Optional) Whether to disable a rule so it is not evaluated against incoming requests.
- end Integer
(Optional) The end time for this match. Specify the value in UTC in seconds since the epoch.
- match
Url String (Optional) If you're using a URL match, this specifies the URL that the Cloudlet uses to match the incoming request.
- matches
List<Get
Cloudlets Forward Rewrite Match Rule Match Rule Match> (Optional) A list of conditions to apply to a Cloudlet, including:
- name String
(Optional) If you're using a
match_type
that supports name attributes, specify the part the incoming request to match on, eithercookie
,header
,parameter
, orquery
.- start Integer
(Optional) The start time for this match. Specify the value in UTC in seconds since the epoch.
- forward
Settings GetCloudlets Forward Rewrite Match Rule Match Rule Forward Settings (Required) The data used to construct a new request URL if all match conditions are met. If all conditions are met, the edge server returns an HTTP response from the rewritten URL.
- type string
(Required) The type of the array, either
object
orsimple
. Use thesimple
option when adding only an array of string-based values.- disabled boolean
(Optional) Whether to disable a rule so it is not evaluated against incoming requests.
- end number
(Optional) The end time for this match. Specify the value in UTC in seconds since the epoch.
- match
Url string (Optional) If you're using a URL match, this specifies the URL that the Cloudlet uses to match the incoming request.
- matches
Get
Cloudlets Forward Rewrite Match Rule Match Rule Match[] (Optional) A list of conditions to apply to a Cloudlet, including:
- name string
(Optional) If you're using a
match_type
that supports name attributes, specify the part the incoming request to match on, eithercookie
,header
,parameter
, orquery
.- start number
(Optional) The start time for this match. Specify the value in UTC in seconds since the epoch.
- forward_
settings GetCloudlets Forward Rewrite Match Rule Match Rule Forward Settings (Required) The data used to construct a new request URL if all match conditions are met. If all conditions are met, the edge server returns an HTTP response from the rewritten URL.
- type str
(Required) The type of the array, either
object
orsimple
. Use thesimple
option when adding only an array of string-based values.- disabled bool
(Optional) Whether to disable a rule so it is not evaluated against incoming requests.
- end int
(Optional) The end time for this match. Specify the value in UTC in seconds since the epoch.
- match_
url str (Optional) If you're using a URL match, this specifies the URL that the Cloudlet uses to match the incoming request.
- matches
Sequence[Get
Cloudlets Forward Rewrite Match Rule Match Rule Match] (Optional) A list of conditions to apply to a Cloudlet, including:
- name str
(Optional) If you're using a
match_type
that supports name attributes, specify the part the incoming request to match on, eithercookie
,header
,parameter
, orquery
.- start int
(Optional) The start time for this match. Specify the value in UTC in seconds since the epoch.
- forward
Settings Property Map (Required) The data used to construct a new request URL if all match conditions are met. If all conditions are met, the edge server returns an HTTP response from the rewritten URL.
- type String
(Required) The type of the array, either
object
orsimple
. Use thesimple
option when adding only an array of string-based values.- disabled Boolean
(Optional) Whether to disable a rule so it is not evaluated against incoming requests.
- end Number
(Optional) The end time for this match. Specify the value in UTC in seconds since the epoch.
- match
Url String (Optional) If you're using a URL match, this specifies the URL that the Cloudlet uses to match the incoming request.
- matches List<Property Map>
(Optional) A list of conditions to apply to a Cloudlet, including:
- name String
(Optional) If you're using a
match_type
that supports name attributes, specify the part the incoming request to match on, eithercookie
,header
,parameter
, orquery
.- start Number
(Optional) The start time for this match. Specify the value in UTC in seconds since the epoch.
GetCloudletsForwardRewriteMatchRuleMatchRuleForwardSettings
- Origin
Id string (Optional) The ID of the new origin requests are forwarded to. This type of origin is known as a Conditional Origin. See Property requirements for Cloudlets that forward requests to learn more.
- Path
And stringQs (Optional) When match conditions are met, this value defines the path, resource, or query string added to the rewritten URL.
- Use
Incoming boolQuery String (Optional) Whether the Cloudlet should include the query string from the request in the rewritten or forwarded URL.
- Origin
Id string (Optional) The ID of the new origin requests are forwarded to. This type of origin is known as a Conditional Origin. See Property requirements for Cloudlets that forward requests to learn more.
- Path
And stringQs (Optional) When match conditions are met, this value defines the path, resource, or query string added to the rewritten URL.
- Use
Incoming boolQuery String (Optional) Whether the Cloudlet should include the query string from the request in the rewritten or forwarded URL.
- origin
Id String (Optional) The ID of the new origin requests are forwarded to. This type of origin is known as a Conditional Origin. See Property requirements for Cloudlets that forward requests to learn more.
- path
And StringQs (Optional) When match conditions are met, this value defines the path, resource, or query string added to the rewritten URL.
- use
Incoming BooleanQuery String (Optional) Whether the Cloudlet should include the query string from the request in the rewritten or forwarded URL.
- origin
Id string (Optional) The ID of the new origin requests are forwarded to. This type of origin is known as a Conditional Origin. See Property requirements for Cloudlets that forward requests to learn more.
- path
And stringQs (Optional) When match conditions are met, this value defines the path, resource, or query string added to the rewritten URL.
- use
Incoming booleanQuery String (Optional) Whether the Cloudlet should include the query string from the request in the rewritten or forwarded URL.
- origin_
id str (Optional) The ID of the new origin requests are forwarded to. This type of origin is known as a Conditional Origin. See Property requirements for Cloudlets that forward requests to learn more.
- path_
and_ strqs (Optional) When match conditions are met, this value defines the path, resource, or query string added to the rewritten URL.
- use_
incoming_ boolquery_ string (Optional) Whether the Cloudlet should include the query string from the request in the rewritten or forwarded URL.
- origin
Id String (Optional) The ID of the new origin requests are forwarded to. This type of origin is known as a Conditional Origin. See Property requirements for Cloudlets that forward requests to learn more.
- path
And StringQs (Optional) When match conditions are met, this value defines the path, resource, or query string added to the rewritten URL.
- use
Incoming BooleanQuery String (Optional) Whether the Cloudlet should include the query string from the request in the rewritten or forwarded URL.
GetCloudletsForwardRewriteMatchRuleMatchRuleMatch
- Case
Sensitive bool (Optional) Whether the match is case sensitive.
- Check
Ips string (Optional) For
clientip
,continent
,countrycode
,proxy
, andregioncode
match types, this defines the part of the request that determines the IP address to use. Values include the connecting IP address (CONNECTING_IP
) and the X_Forwarded_For header (XFF_HEADERS
). To select both, enter the two values separated by a space delimiter. When both values are included, the connecting IP address is evaluated first.- Match
Operator string (Optional) Compares a string expression with a pattern, either
contains
,exists
, orequals
.- Match
Type string (Optional) The type of match used, either
header
,hostname
,path
,extension
,query
,regex
,cookie
,deviceCharacteristics
,clientip
,continent
,countrycode
,regioncode
,protocol
,method
, orproxy
.- Match
Value string (Optional) This depends on the
match_type
. If thematch_type
ishostname
, thenmatch_value
is the fully qualified domain name, likewww.akamai.com
.- Negate bool
(Optional) Whether to negate the match.
- Object
Match List<GetValues Cloudlets Forward Rewrite Match Rule Match Rule Match Object Match Value> (Optional) If
match_value
is empty, this argument is required. An object used when a rule includes more complex match criteria, like multiple value attributes. Includes these sub-arguments:
- Case
Sensitive bool (Optional) Whether the match is case sensitive.
- Check
Ips string (Optional) For
clientip
,continent
,countrycode
,proxy
, andregioncode
match types, this defines the part of the request that determines the IP address to use. Values include the connecting IP address (CONNECTING_IP
) and the X_Forwarded_For header (XFF_HEADERS
). To select both, enter the two values separated by a space delimiter. When both values are included, the connecting IP address is evaluated first.- Match
Operator string (Optional) Compares a string expression with a pattern, either
contains
,exists
, orequals
.- Match
Type string (Optional) The type of match used, either
header
,hostname
,path
,extension
,query
,regex
,cookie
,deviceCharacteristics
,clientip
,continent
,countrycode
,regioncode
,protocol
,method
, orproxy
.- Match
Value string (Optional) This depends on the
match_type
. If thematch_type
ishostname
, thenmatch_value
is the fully qualified domain name, likewww.akamai.com
.- Negate bool
(Optional) Whether to negate the match.
- Object
Match []GetValues Cloudlets Forward Rewrite Match Rule Match Rule Match Object Match Value (Optional) If
match_value
is empty, this argument is required. An object used when a rule includes more complex match criteria, like multiple value attributes. Includes these sub-arguments:
- case
Sensitive Boolean (Optional) Whether the match is case sensitive.
- check
Ips String (Optional) For
clientip
,continent
,countrycode
,proxy
, andregioncode
match types, this defines the part of the request that determines the IP address to use. Values include the connecting IP address (CONNECTING_IP
) and the X_Forwarded_For header (XFF_HEADERS
). To select both, enter the two values separated by a space delimiter. When both values are included, the connecting IP address is evaluated first.- match
Operator String (Optional) Compares a string expression with a pattern, either
contains
,exists
, orequals
.- match
Type String (Optional) The type of match used, either
header
,hostname
,path
,extension
,query
,regex
,cookie
,deviceCharacteristics
,clientip
,continent
,countrycode
,regioncode
,protocol
,method
, orproxy
.- match
Value String (Optional) This depends on the
match_type
. If thematch_type
ishostname
, thenmatch_value
is the fully qualified domain name, likewww.akamai.com
.- negate Boolean
(Optional) Whether to negate the match.
- object
Match List<GetValues Cloudlets Forward Rewrite Match Rule Match Rule Match Object Match Value> (Optional) If
match_value
is empty, this argument is required. An object used when a rule includes more complex match criteria, like multiple value attributes. Includes these sub-arguments:
- case
Sensitive boolean (Optional) Whether the match is case sensitive.
- check
Ips string (Optional) For
clientip
,continent
,countrycode
,proxy
, andregioncode
match types, this defines the part of the request that determines the IP address to use. Values include the connecting IP address (CONNECTING_IP
) and the X_Forwarded_For header (XFF_HEADERS
). To select both, enter the two values separated by a space delimiter. When both values are included, the connecting IP address is evaluated first.- match
Operator string (Optional) Compares a string expression with a pattern, either
contains
,exists
, orequals
.- match
Type string (Optional) The type of match used, either
header
,hostname
,path
,extension
,query
,regex
,cookie
,deviceCharacteristics
,clientip
,continent
,countrycode
,regioncode
,protocol
,method
, orproxy
.- match
Value string (Optional) This depends on the
match_type
. If thematch_type
ishostname
, thenmatch_value
is the fully qualified domain name, likewww.akamai.com
.- negate boolean
(Optional) Whether to negate the match.
- object
Match GetValues Cloudlets Forward Rewrite Match Rule Match Rule Match Object Match Value[] (Optional) If
match_value
is empty, this argument is required. An object used when a rule includes more complex match criteria, like multiple value attributes. Includes these sub-arguments:
- case_
sensitive bool (Optional) Whether the match is case sensitive.
- check_
ips str (Optional) For
clientip
,continent
,countrycode
,proxy
, andregioncode
match types, this defines the part of the request that determines the IP address to use. Values include the connecting IP address (CONNECTING_IP
) and the X_Forwarded_For header (XFF_HEADERS
). To select both, enter the two values separated by a space delimiter. When both values are included, the connecting IP address is evaluated first.- match_
operator str (Optional) Compares a string expression with a pattern, either
contains
,exists
, orequals
.- match_
type str (Optional) The type of match used, either
header
,hostname
,path
,extension
,query
,regex
,cookie
,deviceCharacteristics
,clientip
,continent
,countrycode
,regioncode
,protocol
,method
, orproxy
.- match_
value str (Optional) This depends on the
match_type
. If thematch_type
ishostname
, thenmatch_value
is the fully qualified domain name, likewww.akamai.com
.- negate bool
(Optional) Whether to negate the match.
- object_
match_ Sequence[Getvalues Cloudlets Forward Rewrite Match Rule Match Rule Match Object Match Value] (Optional) If
match_value
is empty, this argument is required. An object used when a rule includes more complex match criteria, like multiple value attributes. Includes these sub-arguments:
- case
Sensitive Boolean (Optional) Whether the match is case sensitive.
- check
Ips String (Optional) For
clientip
,continent
,countrycode
,proxy
, andregioncode
match types, this defines the part of the request that determines the IP address to use. Values include the connecting IP address (CONNECTING_IP
) and the X_Forwarded_For header (XFF_HEADERS
). To select both, enter the two values separated by a space delimiter. When both values are included, the connecting IP address is evaluated first.- match
Operator String (Optional) Compares a string expression with a pattern, either
contains
,exists
, orequals
.- match
Type String (Optional) The type of match used, either
header
,hostname
,path
,extension
,query
,regex
,cookie
,deviceCharacteristics
,clientip
,continent
,countrycode
,regioncode
,protocol
,method
, orproxy
.- match
Value String (Optional) This depends on the
match_type
. If thematch_type
ishostname
, thenmatch_value
is the fully qualified domain name, likewww.akamai.com
.- negate Boolean
(Optional) Whether to negate the match.
- object
Match List<Property Map>Values (Optional) If
match_value
is empty, this argument is required. An object used when a rule includes more complex match criteria, like multiple value attributes. Includes these sub-arguments:
GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue
- Type string
(Required) The type of the array, either
object
orsimple
. Use thesimple
option when adding only an array of string-based values.- Name string
(Optional) If you're using a
match_type
that supports name attributes, specify the part the incoming request to match on, eithercookie
,header
,parameter
, orquery
.- Name
Case boolSensitive (Optional) Whether the
name
argument should be evaluated based on case sensitivity.- Name
Has boolWildcard (Optional) Whether the
name
argument includes wildcards.- Options
Get
Cloudlets Forward Rewrite Match Rule Match Rule Match Object Match Value Options (Optional) If you set the
type
argument toobject
, use this array to list the values to match on.- Values List<string>
(Optional) If you set the
type
argument tosimple
, specify the values in the incoming request to match on.
- Type string
(Required) The type of the array, either
object
orsimple
. Use thesimple
option when adding only an array of string-based values.- Name string
(Optional) If you're using a
match_type
that supports name attributes, specify the part the incoming request to match on, eithercookie
,header
,parameter
, orquery
.- Name
Case boolSensitive (Optional) Whether the
name
argument should be evaluated based on case sensitivity.- Name
Has boolWildcard (Optional) Whether the
name
argument includes wildcards.- Options
Get
Cloudlets Forward Rewrite Match Rule Match Rule Match Object Match Value Options (Optional) If you set the
type
argument toobject
, use this array to list the values to match on.- Values []string
(Optional) If you set the
type
argument tosimple
, specify the values in the incoming request to match on.
- type String
(Required) The type of the array, either
object
orsimple
. Use thesimple
option when adding only an array of string-based values.- name String
(Optional) If you're using a
match_type
that supports name attributes, specify the part the incoming request to match on, eithercookie
,header
,parameter
, orquery
.- name
Case BooleanSensitive (Optional) Whether the
name
argument should be evaluated based on case sensitivity.- name
Has BooleanWildcard (Optional) Whether the
name
argument includes wildcards.- options
Get
Cloudlets Forward Rewrite Match Rule Match Rule Match Object Match Value Options (Optional) If you set the
type
argument toobject
, use this array to list the values to match on.- values List<String>
(Optional) If you set the
type
argument tosimple
, specify the values in the incoming request to match on.
- type string
(Required) The type of the array, either
object
orsimple
. Use thesimple
option when adding only an array of string-based values.- name string
(Optional) If you're using a
match_type
that supports name attributes, specify the part the incoming request to match on, eithercookie
,header
,parameter
, orquery
.- name
Case booleanSensitive (Optional) Whether the
name
argument should be evaluated based on case sensitivity.- name
Has booleanWildcard (Optional) Whether the
name
argument includes wildcards.- options
Get
Cloudlets Forward Rewrite Match Rule Match Rule Match Object Match Value Options (Optional) If you set the
type
argument toobject
, use this array to list the values to match on.- values string[]
(Optional) If you set the
type
argument tosimple
, specify the values in the incoming request to match on.
- type str
(Required) The type of the array, either
object
orsimple
. Use thesimple
option when adding only an array of string-based values.- name str
(Optional) If you're using a
match_type
that supports name attributes, specify the part the incoming request to match on, eithercookie
,header
,parameter
, orquery
.- name_
case_ boolsensitive (Optional) Whether the
name
argument should be evaluated based on case sensitivity.- name_
has_ boolwildcard (Optional) Whether the
name
argument includes wildcards.- options
Get
Cloudlets Forward Rewrite Match Rule Match Rule Match Object Match Value Options (Optional) If you set the
type
argument toobject
, use this array to list the values to match on.- values Sequence[str]
(Optional) If you set the
type
argument tosimple
, specify the values in the incoming request to match on.
- type String
(Required) The type of the array, either
object
orsimple
. Use thesimple
option when adding only an array of string-based values.- name String
(Optional) If you're using a
match_type
that supports name attributes, specify the part the incoming request to match on, eithercookie
,header
,parameter
, orquery
.- name
Case BooleanSensitive (Optional) Whether the
name
argument should be evaluated based on case sensitivity.- name
Has BooleanWildcard (Optional) Whether the
name
argument includes wildcards.- options Property Map
(Optional) If you set the
type
argument toobject
, use this array to list the values to match on.- values List<String>
(Optional) If you set the
type
argument tosimple
, specify the values in the incoming request to match on.
GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueOptions
- Value
Case boolSensitive (Optional) Whether the
value
argument should be evaluated based on case sensitivity.- Value
Escaped bool (Optional) Whether the
value
argument should be compared in an escaped form.- Value
Has boolWildcard (Optional) Whether the
value
argument includes wildcards.- Values List<string>
(Optional) If you set the
type
argument tosimple
, specify the values in the incoming request to match on.
- Value
Case boolSensitive (Optional) Whether the
value
argument should be evaluated based on case sensitivity.- Value
Escaped bool (Optional) Whether the
value
argument should be compared in an escaped form.- Value
Has boolWildcard (Optional) Whether the
value
argument includes wildcards.- Values []string
(Optional) If you set the
type
argument tosimple
, specify the values in the incoming request to match on.
- value
Case BooleanSensitive (Optional) Whether the
value
argument should be evaluated based on case sensitivity.- value
Escaped Boolean (Optional) Whether the
value
argument should be compared in an escaped form.- value
Has BooleanWildcard (Optional) Whether the
value
argument includes wildcards.- values List<String>
(Optional) If you set the
type
argument tosimple
, specify the values in the incoming request to match on.
- value
Case booleanSensitive (Optional) Whether the
value
argument should be evaluated based on case sensitivity.- value
Escaped boolean (Optional) Whether the
value
argument should be compared in an escaped form.- value
Has booleanWildcard (Optional) Whether the
value
argument includes wildcards.- values string[]
(Optional) If you set the
type
argument tosimple
, specify the values in the incoming request to match on.
- value_
case_ boolsensitive (Optional) Whether the
value
argument should be evaluated based on case sensitivity.- value_
escaped bool (Optional) Whether the
value
argument should be compared in an escaped form.- value_
has_ boolwildcard (Optional) Whether the
value
argument includes wildcards.- values Sequence[str]
(Optional) If you set the
type
argument tosimple
, specify the values in the incoming request to match on.
- value
Case BooleanSensitive (Optional) Whether the
value
argument should be evaluated based on case sensitivity.- value
Escaped Boolean (Optional) Whether the
value
argument should be compared in an escaped form.- value
Has BooleanWildcard (Optional) Whether the
value
argument includes wildcards.- values List<String>
(Optional) If you set the
type
argument tosimple
, specify the values in the incoming request to match on.
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
akamai
Terraform Provider.