1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. ApigwCustomAuthorizerV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.ApigwCustomAuthorizerV2

Explore with Pulumi AI

Up-to-date reference of API arguments for API Gateway Custom Authorizer service you can get at documentation portal

Manages an APIGW custom authorizer resource within OpenTelekomCloud.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
configuration:
  gatewayId:
    type: dynamic
  authorizerName:
    type: dynamic
  functionUrn:
    type: dynamic
resources:
  test:
    type: opentelekomcloud:ApigwCustomAuthorizerV2
    properties:
      gatewayId: ${gatewayId}
      functionUrn: ${functionUrn}
      type: FRONTEND
      cacheAge: 60
      identities:
        - name: user_name
          location: QUERY
Copy

Create ApigwCustomAuthorizerV2 Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ApigwCustomAuthorizerV2(name: string, args: ApigwCustomAuthorizerV2Args, opts?: CustomResourceOptions);
@overload
def ApigwCustomAuthorizerV2(resource_name: str,
                            args: ApigwCustomAuthorizerV2Args,
                            opts: Optional[ResourceOptions] = None)

@overload
def ApigwCustomAuthorizerV2(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            function_urn: Optional[str] = None,
                            gateway_id: Optional[str] = None,
                            apigw_custom_authorizer_v2_id: Optional[str] = None,
                            identities: Optional[Sequence[ApigwCustomAuthorizerV2IdentityArgs]] = None,
                            is_body_send: Optional[bool] = None,
                            name: Optional[str] = None,
                            ttl: Optional[float] = None,
                            type: Optional[str] = None,
                            user_data: Optional[str] = None)
func NewApigwCustomAuthorizerV2(ctx *Context, name string, args ApigwCustomAuthorizerV2Args, opts ...ResourceOption) (*ApigwCustomAuthorizerV2, error)
public ApigwCustomAuthorizerV2(string name, ApigwCustomAuthorizerV2Args args, CustomResourceOptions? opts = null)
public ApigwCustomAuthorizerV2(String name, ApigwCustomAuthorizerV2Args args)
public ApigwCustomAuthorizerV2(String name, ApigwCustomAuthorizerV2Args args, CustomResourceOptions options)
type: opentelekomcloud:ApigwCustomAuthorizerV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ApigwCustomAuthorizerV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ApigwCustomAuthorizerV2Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ApigwCustomAuthorizerV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ApigwCustomAuthorizerV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ApigwCustomAuthorizerV2Args
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var apigwCustomAuthorizerV2Resource = new Opentelekomcloud.ApigwCustomAuthorizerV2("apigwCustomAuthorizerV2Resource", new()
{
    FunctionUrn = "string",
    GatewayId = "string",
    ApigwCustomAuthorizerV2Id = "string",
    Identities = new[]
    {
        new Opentelekomcloud.Inputs.ApigwCustomAuthorizerV2IdentityArgs
        {
            Location = "string",
            Name = "string",
            Validation = "string",
        },
    },
    IsBodySend = false,
    Name = "string",
    Ttl = 0,
    Type = "string",
    UserData = "string",
});
Copy
example, err := opentelekomcloud.NewApigwCustomAuthorizerV2(ctx, "apigwCustomAuthorizerV2Resource", &opentelekomcloud.ApigwCustomAuthorizerV2Args{
	FunctionUrn:               pulumi.String("string"),
	GatewayId:                 pulumi.String("string"),
	ApigwCustomAuthorizerV2Id: pulumi.String("string"),
	Identities: opentelekomcloud.ApigwCustomAuthorizerV2IdentityArray{
		&opentelekomcloud.ApigwCustomAuthorizerV2IdentityArgs{
			Location:   pulumi.String("string"),
			Name:       pulumi.String("string"),
			Validation: pulumi.String("string"),
		},
	},
	IsBodySend: pulumi.Bool(false),
	Name:       pulumi.String("string"),
	Ttl:        pulumi.Float64(0),
	Type:       pulumi.String("string"),
	UserData:   pulumi.String("string"),
})
Copy
var apigwCustomAuthorizerV2Resource = new ApigwCustomAuthorizerV2("apigwCustomAuthorizerV2Resource", ApigwCustomAuthorizerV2Args.builder()
    .functionUrn("string")
    .gatewayId("string")
    .apigwCustomAuthorizerV2Id("string")
    .identities(ApigwCustomAuthorizerV2IdentityArgs.builder()
        .location("string")
        .name("string")
        .validation("string")
        .build())
    .isBodySend(false)
    .name("string")
    .ttl(0)
    .type("string")
    .userData("string")
    .build());
Copy
apigw_custom_authorizer_v2_resource = opentelekomcloud.ApigwCustomAuthorizerV2("apigwCustomAuthorizerV2Resource",
    function_urn="string",
    gateway_id="string",
    apigw_custom_authorizer_v2_id="string",
    identities=[{
        "location": "string",
        "name": "string",
        "validation": "string",
    }],
    is_body_send=False,
    name="string",
    ttl=0,
    type="string",
    user_data="string")
Copy
const apigwCustomAuthorizerV2Resource = new opentelekomcloud.ApigwCustomAuthorizerV2("apigwCustomAuthorizerV2Resource", {
    functionUrn: "string",
    gatewayId: "string",
    apigwCustomAuthorizerV2Id: "string",
    identities: [{
        location: "string",
        name: "string",
        validation: "string",
    }],
    isBodySend: false,
    name: "string",
    ttl: 0,
    type: "string",
    userData: "string",
});
Copy
type: opentelekomcloud:ApigwCustomAuthorizerV2
properties:
    apigwCustomAuthorizerV2Id: string
    functionUrn: string
    gatewayId: string
    identities:
        - location: string
          name: string
          validation: string
    isBodySend: false
    name: string
    ttl: 0
    type: string
    userData: string
Copy

ApigwCustomAuthorizerV2 Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ApigwCustomAuthorizerV2 resource accepts the following input properties:

FunctionUrn This property is required. string
Specifies the uniform function URN of the function graph resource.
GatewayId This property is required. string
Specifies an ID of the APIGW dedicated instance to which the custom authorizer belongs to. Changing this will create a new custom authorizer resource.
ApigwCustomAuthorizerV2Id string
ID of the custom authorizer.
Identities List<ApigwCustomAuthorizerV2Identity>

Specifies an array of one or more parameter identities of the custom authorizer. The object structure is documented below.

The identity block supports:

IsBodySend bool
Specifies whether to send the body.
Name string
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
Ttl double
Specifies the maximum cache age.
Type string
Specifies the custom authorize type. The valid values are FRONTEND and BACKEND. Defaults to FRONTEND. Changing this will create a new custom authorizer resource.
UserData string

Specifies the user data, which can contain a maximum of 2,048 characters. The user data is used by APIGW to invoke the specified authentication function when accessing the backend service.

NOTE: The user data will be displayed in plain text on the console.

FunctionUrn This property is required. string
Specifies the uniform function URN of the function graph resource.
GatewayId This property is required. string
Specifies an ID of the APIGW dedicated instance to which the custom authorizer belongs to. Changing this will create a new custom authorizer resource.
ApigwCustomAuthorizerV2Id string
ID of the custom authorizer.
Identities []ApigwCustomAuthorizerV2IdentityArgs

Specifies an array of one or more parameter identities of the custom authorizer. The object structure is documented below.

The identity block supports:

IsBodySend bool
Specifies whether to send the body.
Name string
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
Ttl float64
Specifies the maximum cache age.
Type string
Specifies the custom authorize type. The valid values are FRONTEND and BACKEND. Defaults to FRONTEND. Changing this will create a new custom authorizer resource.
UserData string

Specifies the user data, which can contain a maximum of 2,048 characters. The user data is used by APIGW to invoke the specified authentication function when accessing the backend service.

NOTE: The user data will be displayed in plain text on the console.

functionUrn This property is required. String
Specifies the uniform function URN of the function graph resource.
gatewayId This property is required. String
Specifies an ID of the APIGW dedicated instance to which the custom authorizer belongs to. Changing this will create a new custom authorizer resource.
apigwCustomAuthorizerV2Id String
ID of the custom authorizer.
identities List<ApigwCustomAuthorizerV2Identity>

Specifies an array of one or more parameter identities of the custom authorizer. The object structure is documented below.

The identity block supports:

isBodySend Boolean
Specifies whether to send the body.
name String
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
ttl Double
Specifies the maximum cache age.
type String
Specifies the custom authorize type. The valid values are FRONTEND and BACKEND. Defaults to FRONTEND. Changing this will create a new custom authorizer resource.
userData String

Specifies the user data, which can contain a maximum of 2,048 characters. The user data is used by APIGW to invoke the specified authentication function when accessing the backend service.

NOTE: The user data will be displayed in plain text on the console.

functionUrn This property is required. string
Specifies the uniform function URN of the function graph resource.
gatewayId This property is required. string
Specifies an ID of the APIGW dedicated instance to which the custom authorizer belongs to. Changing this will create a new custom authorizer resource.
apigwCustomAuthorizerV2Id string
ID of the custom authorizer.
identities ApigwCustomAuthorizerV2Identity[]

Specifies an array of one or more parameter identities of the custom authorizer. The object structure is documented below.

The identity block supports:

isBodySend boolean
Specifies whether to send the body.
name string
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
ttl number
Specifies the maximum cache age.
type string
Specifies the custom authorize type. The valid values are FRONTEND and BACKEND. Defaults to FRONTEND. Changing this will create a new custom authorizer resource.
userData string

Specifies the user data, which can contain a maximum of 2,048 characters. The user data is used by APIGW to invoke the specified authentication function when accessing the backend service.

NOTE: The user data will be displayed in plain text on the console.

function_urn This property is required. str
Specifies the uniform function URN of the function graph resource.
gateway_id This property is required. str
Specifies an ID of the APIGW dedicated instance to which the custom authorizer belongs to. Changing this will create a new custom authorizer resource.
apigw_custom_authorizer_v2_id str
ID of the custom authorizer.
identities Sequence[ApigwCustomAuthorizerV2IdentityArgs]

Specifies an array of one or more parameter identities of the custom authorizer. The object structure is documented below.

The identity block supports:

is_body_send bool
Specifies whether to send the body.
name str
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
ttl float
Specifies the maximum cache age.
type str
Specifies the custom authorize type. The valid values are FRONTEND and BACKEND. Defaults to FRONTEND. Changing this will create a new custom authorizer resource.
user_data str

Specifies the user data, which can contain a maximum of 2,048 characters. The user data is used by APIGW to invoke the specified authentication function when accessing the backend service.

NOTE: The user data will be displayed in plain text on the console.

functionUrn This property is required. String
Specifies the uniform function URN of the function graph resource.
gatewayId This property is required. String
Specifies an ID of the APIGW dedicated instance to which the custom authorizer belongs to. Changing this will create a new custom authorizer resource.
apigwCustomAuthorizerV2Id String
ID of the custom authorizer.
identities List<Property Map>

Specifies an array of one or more parameter identities of the custom authorizer. The object structure is documented below.

The identity block supports:

isBodySend Boolean
Specifies whether to send the body.
name String
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
ttl Number
Specifies the maximum cache age.
type String
Specifies the custom authorize type. The valid values are FRONTEND and BACKEND. Defaults to FRONTEND. Changing this will create a new custom authorizer resource.
userData String

Specifies the user data, which can contain a maximum of 2,048 characters. The user data is used by APIGW to invoke the specified authentication function when accessing the backend service.

NOTE: The user data will be displayed in plain text on the console.

Outputs

All input properties are implicitly available as output properties. Additionally, the ApigwCustomAuthorizerV2 resource produces the following output properties:

CreatedAt string
The creation time of the custom authorizer.
Id string
The provider-assigned unique ID for this managed resource.
Region string
The region in which to create the custom authorizer resource.
CreatedAt string
The creation time of the custom authorizer.
Id string
The provider-assigned unique ID for this managed resource.
Region string
The region in which to create the custom authorizer resource.
createdAt String
The creation time of the custom authorizer.
id String
The provider-assigned unique ID for this managed resource.
region String
The region in which to create the custom authorizer resource.
createdAt string
The creation time of the custom authorizer.
id string
The provider-assigned unique ID for this managed resource.
region string
The region in which to create the custom authorizer resource.
created_at str
The creation time of the custom authorizer.
id str
The provider-assigned unique ID for this managed resource.
region str
The region in which to create the custom authorizer resource.
createdAt String
The creation time of the custom authorizer.
id String
The provider-assigned unique ID for this managed resource.
region String
The region in which to create the custom authorizer resource.

Look up Existing ApigwCustomAuthorizerV2 Resource

Get an existing ApigwCustomAuthorizerV2 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?: ApigwCustomAuthorizerV2State, opts?: CustomResourceOptions): ApigwCustomAuthorizerV2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        apigw_custom_authorizer_v2_id: Optional[str] = None,
        created_at: Optional[str] = None,
        function_urn: Optional[str] = None,
        gateway_id: Optional[str] = None,
        identities: Optional[Sequence[ApigwCustomAuthorizerV2IdentityArgs]] = None,
        is_body_send: Optional[bool] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        ttl: Optional[float] = None,
        type: Optional[str] = None,
        user_data: Optional[str] = None) -> ApigwCustomAuthorizerV2
func GetApigwCustomAuthorizerV2(ctx *Context, name string, id IDInput, state *ApigwCustomAuthorizerV2State, opts ...ResourceOption) (*ApigwCustomAuthorizerV2, error)
public static ApigwCustomAuthorizerV2 Get(string name, Input<string> id, ApigwCustomAuthorizerV2State? state, CustomResourceOptions? opts = null)
public static ApigwCustomAuthorizerV2 get(String name, Output<String> id, ApigwCustomAuthorizerV2State state, CustomResourceOptions options)
resources:  _:    type: opentelekomcloud:ApigwCustomAuthorizerV2    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
ApigwCustomAuthorizerV2Id string
ID of the custom authorizer.
CreatedAt string
The creation time of the custom authorizer.
FunctionUrn string
Specifies the uniform function URN of the function graph resource.
GatewayId string
Specifies an ID of the APIGW dedicated instance to which the custom authorizer belongs to. Changing this will create a new custom authorizer resource.
Identities List<ApigwCustomAuthorizerV2Identity>

Specifies an array of one or more parameter identities of the custom authorizer. The object structure is documented below.

The identity block supports:

IsBodySend bool
Specifies whether to send the body.
Name string
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
Region string
The region in which to create the custom authorizer resource.
Ttl double
Specifies the maximum cache age.
Type string
Specifies the custom authorize type. The valid values are FRONTEND and BACKEND. Defaults to FRONTEND. Changing this will create a new custom authorizer resource.
UserData string

Specifies the user data, which can contain a maximum of 2,048 characters. The user data is used by APIGW to invoke the specified authentication function when accessing the backend service.

NOTE: The user data will be displayed in plain text on the console.

ApigwCustomAuthorizerV2Id string
ID of the custom authorizer.
CreatedAt string
The creation time of the custom authorizer.
FunctionUrn string
Specifies the uniform function URN of the function graph resource.
GatewayId string
Specifies an ID of the APIGW dedicated instance to which the custom authorizer belongs to. Changing this will create a new custom authorizer resource.
Identities []ApigwCustomAuthorizerV2IdentityArgs

Specifies an array of one or more parameter identities of the custom authorizer. The object structure is documented below.

The identity block supports:

IsBodySend bool
Specifies whether to send the body.
Name string
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
Region string
The region in which to create the custom authorizer resource.
Ttl float64
Specifies the maximum cache age.
Type string
Specifies the custom authorize type. The valid values are FRONTEND and BACKEND. Defaults to FRONTEND. Changing this will create a new custom authorizer resource.
UserData string

Specifies the user data, which can contain a maximum of 2,048 characters. The user data is used by APIGW to invoke the specified authentication function when accessing the backend service.

NOTE: The user data will be displayed in plain text on the console.

apigwCustomAuthorizerV2Id String
ID of the custom authorizer.
createdAt String
The creation time of the custom authorizer.
functionUrn String
Specifies the uniform function URN of the function graph resource.
gatewayId String
Specifies an ID of the APIGW dedicated instance to which the custom authorizer belongs to. Changing this will create a new custom authorizer resource.
identities List<ApigwCustomAuthorizerV2Identity>

Specifies an array of one or more parameter identities of the custom authorizer. The object structure is documented below.

The identity block supports:

isBodySend Boolean
Specifies whether to send the body.
name String
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
region String
The region in which to create the custom authorizer resource.
ttl Double
Specifies the maximum cache age.
type String
Specifies the custom authorize type. The valid values are FRONTEND and BACKEND. Defaults to FRONTEND. Changing this will create a new custom authorizer resource.
userData String

Specifies the user data, which can contain a maximum of 2,048 characters. The user data is used by APIGW to invoke the specified authentication function when accessing the backend service.

NOTE: The user data will be displayed in plain text on the console.

apigwCustomAuthorizerV2Id string
ID of the custom authorizer.
createdAt string
The creation time of the custom authorizer.
functionUrn string
Specifies the uniform function URN of the function graph resource.
gatewayId string
Specifies an ID of the APIGW dedicated instance to which the custom authorizer belongs to. Changing this will create a new custom authorizer resource.
identities ApigwCustomAuthorizerV2Identity[]

Specifies an array of one or more parameter identities of the custom authorizer. The object structure is documented below.

The identity block supports:

isBodySend boolean
Specifies whether to send the body.
name string
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
region string
The region in which to create the custom authorizer resource.
ttl number
Specifies the maximum cache age.
type string
Specifies the custom authorize type. The valid values are FRONTEND and BACKEND. Defaults to FRONTEND. Changing this will create a new custom authorizer resource.
userData string

Specifies the user data, which can contain a maximum of 2,048 characters. The user data is used by APIGW to invoke the specified authentication function when accessing the backend service.

NOTE: The user data will be displayed in plain text on the console.

apigw_custom_authorizer_v2_id str
ID of the custom authorizer.
created_at str
The creation time of the custom authorizer.
function_urn str
Specifies the uniform function URN of the function graph resource.
gateway_id str
Specifies an ID of the APIGW dedicated instance to which the custom authorizer belongs to. Changing this will create a new custom authorizer resource.
identities Sequence[ApigwCustomAuthorizerV2IdentityArgs]

Specifies an array of one or more parameter identities of the custom authorizer. The object structure is documented below.

The identity block supports:

is_body_send bool
Specifies whether to send the body.
name str
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
region str
The region in which to create the custom authorizer resource.
ttl float
Specifies the maximum cache age.
type str
Specifies the custom authorize type. The valid values are FRONTEND and BACKEND. Defaults to FRONTEND. Changing this will create a new custom authorizer resource.
user_data str

Specifies the user data, which can contain a maximum of 2,048 characters. The user data is used by APIGW to invoke the specified authentication function when accessing the backend service.

NOTE: The user data will be displayed in plain text on the console.

apigwCustomAuthorizerV2Id String
ID of the custom authorizer.
createdAt String
The creation time of the custom authorizer.
functionUrn String
Specifies the uniform function URN of the function graph resource.
gatewayId String
Specifies an ID of the APIGW dedicated instance to which the custom authorizer belongs to. Changing this will create a new custom authorizer resource.
identities List<Property Map>

Specifies an array of one or more parameter identities of the custom authorizer. The object structure is documented below.

The identity block supports:

isBodySend Boolean
Specifies whether to send the body.
name String
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
region String
The region in which to create the custom authorizer resource.
ttl Number
Specifies the maximum cache age.
type String
Specifies the custom authorize type. The valid values are FRONTEND and BACKEND. Defaults to FRONTEND. Changing this will create a new custom authorizer resource.
userData String

Specifies the user data, which can contain a maximum of 2,048 characters. The user data is used by APIGW to invoke the specified authentication function when accessing the backend service.

NOTE: The user data will be displayed in plain text on the console.

Supporting Types

ApigwCustomAuthorizerV2Identity
, ApigwCustomAuthorizerV2IdentityArgs

Location This property is required. string
Specifies the parameter location, which support HEADER and QUERY.
Name This property is required. string
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
Validation string
Specifies the parameter verification expression. If omitted, the custom authorizer will not perform verification. The valid value is range form 1 to 2,048.
Location This property is required. string
Specifies the parameter location, which support HEADER and QUERY.
Name This property is required. string
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
Validation string
Specifies the parameter verification expression. If omitted, the custom authorizer will not perform verification. The valid value is range form 1 to 2,048.
location This property is required. String
Specifies the parameter location, which support HEADER and QUERY.
name This property is required. String
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
validation String
Specifies the parameter verification expression. If omitted, the custom authorizer will not perform verification. The valid value is range form 1 to 2,048.
location This property is required. string
Specifies the parameter location, which support HEADER and QUERY.
name This property is required. string
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
validation string
Specifies the parameter verification expression. If omitted, the custom authorizer will not perform verification. The valid value is range form 1 to 2,048.
location This property is required. str
Specifies the parameter location, which support HEADER and QUERY.
name This property is required. str
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
validation str
Specifies the parameter verification expression. If omitted, the custom authorizer will not perform verification. The valid value is range form 1 to 2,048.
location This property is required. String
Specifies the parameter location, which support HEADER and QUERY.
name This property is required. String
Specifies the name of the parameter to be verified. The parameter includes front-end and back-end parameters.
validation String
Specifies the parameter verification expression. If omitted, the custom authorizer will not perform verification. The valid value is range form 1 to 2,048.

Import

Custom Authorizers of the APIGW can be imported using their name and related dedicated gateway IDs, separated by a

slash, e.g.

$ pulumi import opentelekomcloud:index/apigwCustomAuthorizerV2:ApigwCustomAuthorizerV2 test <gateway_id>/<name>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.