tencentcloud.WafLogPostCkafkaFlow
Explore with Pulumi AI
Provides a resource to create a WAF log post ckafka flow
Example Usage
If vip_type is 1
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.WafLogPostCkafkaFlow("example", {
brokers: "ckafka-qzoeajkz.ap-guangzhou.ckafka.tencentcloudmq.com:50000",
ckafkaId: "ckafka-qzoeajkz",
ckafkaRegion: "ap-guangzhou",
compression: "snappy",
kafkaVersion: "2.8.1",
logType: 2,
saslEnable: 1,
saslPassword: "Password@123",
saslUser: "ckafka-qzoeajkz#root",
topic: "tf-example",
vipType: 1,
writeConfig: {
enableBody: 1,
enableBot: 1,
enableHeaders: 1,
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.WafLogPostCkafkaFlow("example",
brokers="ckafka-qzoeajkz.ap-guangzhou.ckafka.tencentcloudmq.com:50000",
ckafka_id="ckafka-qzoeajkz",
ckafka_region="ap-guangzhou",
compression="snappy",
kafka_version="2.8.1",
log_type=2,
sasl_enable=1,
sasl_password="Password@123",
sasl_user="ckafka-qzoeajkz#root",
topic="tf-example",
vip_type=1,
write_config={
"enable_body": 1,
"enable_bot": 1,
"enable_headers": 1,
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewWafLogPostCkafkaFlow(ctx, "example", &tencentcloud.WafLogPostCkafkaFlowArgs{
Brokers: pulumi.String("ckafka-qzoeajkz.ap-guangzhou.ckafka.tencentcloudmq.com:50000"),
CkafkaId: pulumi.String("ckafka-qzoeajkz"),
CkafkaRegion: pulumi.String("ap-guangzhou"),
Compression: pulumi.String("snappy"),
KafkaVersion: pulumi.String("2.8.1"),
LogType: pulumi.Float64(2),
SaslEnable: pulumi.Float64(1),
SaslPassword: pulumi.String("Password@123"),
SaslUser: pulumi.String("ckafka-qzoeajkz#root"),
Topic: pulumi.String("tf-example"),
VipType: pulumi.Float64(1),
WriteConfig: &tencentcloud.WafLogPostCkafkaFlowWriteConfigArgs{
EnableBody: pulumi.Float64(1),
EnableBot: pulumi.Float64(1),
EnableHeaders: pulumi.Float64(1),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.WafLogPostCkafkaFlow("example", new()
{
Brokers = "ckafka-qzoeajkz.ap-guangzhou.ckafka.tencentcloudmq.com:50000",
CkafkaId = "ckafka-qzoeajkz",
CkafkaRegion = "ap-guangzhou",
Compression = "snappy",
KafkaVersion = "2.8.1",
LogType = 2,
SaslEnable = 1,
SaslPassword = "Password@123",
SaslUser = "ckafka-qzoeajkz#root",
Topic = "tf-example",
VipType = 1,
WriteConfig = new Tencentcloud.Inputs.WafLogPostCkafkaFlowWriteConfigArgs
{
EnableBody = 1,
EnableBot = 1,
EnableHeaders = 1,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.WafLogPostCkafkaFlow;
import com.pulumi.tencentcloud.WafLogPostCkafkaFlowArgs;
import com.pulumi.tencentcloud.inputs.WafLogPostCkafkaFlowWriteConfigArgs;
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 example = new WafLogPostCkafkaFlow("example", WafLogPostCkafkaFlowArgs.builder()
.brokers("ckafka-qzoeajkz.ap-guangzhou.ckafka.tencentcloudmq.com:50000")
.ckafkaId("ckafka-qzoeajkz")
.ckafkaRegion("ap-guangzhou")
.compression("snappy")
.kafkaVersion("2.8.1")
.logType(2)
.saslEnable(1)
.saslPassword("Password@123")
.saslUser("ckafka-qzoeajkz#root")
.topic("tf-example")
.vipType(1)
.writeConfig(WafLogPostCkafkaFlowWriteConfigArgs.builder()
.enableBody(1)
.enableBot(1)
.enableHeaders(1)
.build())
.build());
}
}
resources:
example:
type: tencentcloud:WafLogPostCkafkaFlow
properties:
brokers: ckafka-qzoeajkz.ap-guangzhou.ckafka.tencentcloudmq.com:50000
ckafkaId: ckafka-qzoeajkz
ckafkaRegion: ap-guangzhou
compression: snappy
kafkaVersion: 2.8.1
logType: 2
saslEnable: 1
saslPassword: Password@123
saslUser: ckafka-qzoeajkz#root
topic: tf-example
vipType: 1
writeConfig:
enableBody: 1
enableBot: 1
enableHeaders: 1
If vip_type is 2
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.WafLogPostCkafkaFlow("example", {
brokers: "11.135.14.110:18737",
ckafkaId: "ckafka-k9m5vwar",
ckafkaRegion: "ap-guangzhou",
compression: "snappy",
kafkaVersion: "2.8.1",
logType: 1,
topic: "tf-example",
vipType: 2,
writeConfig: {
enableBody: 0,
enableBot: 1,
enableHeaders: 0,
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.WafLogPostCkafkaFlow("example",
brokers="11.135.14.110:18737",
ckafka_id="ckafka-k9m5vwar",
ckafka_region="ap-guangzhou",
compression="snappy",
kafka_version="2.8.1",
log_type=1,
topic="tf-example",
vip_type=2,
write_config={
"enable_body": 0,
"enable_bot": 1,
"enable_headers": 0,
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewWafLogPostCkafkaFlow(ctx, "example", &tencentcloud.WafLogPostCkafkaFlowArgs{
Brokers: pulumi.String("11.135.14.110:18737"),
CkafkaId: pulumi.String("ckafka-k9m5vwar"),
CkafkaRegion: pulumi.String("ap-guangzhou"),
Compression: pulumi.String("snappy"),
KafkaVersion: pulumi.String("2.8.1"),
LogType: pulumi.Float64(1),
Topic: pulumi.String("tf-example"),
VipType: pulumi.Float64(2),
WriteConfig: &tencentcloud.WafLogPostCkafkaFlowWriteConfigArgs{
EnableBody: pulumi.Float64(0),
EnableBot: pulumi.Float64(1),
EnableHeaders: pulumi.Float64(0),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.WafLogPostCkafkaFlow("example", new()
{
Brokers = "11.135.14.110:18737",
CkafkaId = "ckafka-k9m5vwar",
CkafkaRegion = "ap-guangzhou",
Compression = "snappy",
KafkaVersion = "2.8.1",
LogType = 1,
Topic = "tf-example",
VipType = 2,
WriteConfig = new Tencentcloud.Inputs.WafLogPostCkafkaFlowWriteConfigArgs
{
EnableBody = 0,
EnableBot = 1,
EnableHeaders = 0,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.WafLogPostCkafkaFlow;
import com.pulumi.tencentcloud.WafLogPostCkafkaFlowArgs;
import com.pulumi.tencentcloud.inputs.WafLogPostCkafkaFlowWriteConfigArgs;
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 example = new WafLogPostCkafkaFlow("example", WafLogPostCkafkaFlowArgs.builder()
.brokers("11.135.14.110:18737")
.ckafkaId("ckafka-k9m5vwar")
.ckafkaRegion("ap-guangzhou")
.compression("snappy")
.kafkaVersion("2.8.1")
.logType(1)
.topic("tf-example")
.vipType(2)
.writeConfig(WafLogPostCkafkaFlowWriteConfigArgs.builder()
.enableBody(0)
.enableBot(1)
.enableHeaders(0)
.build())
.build());
}
}
resources:
example:
type: tencentcloud:WafLogPostCkafkaFlow
properties:
brokers: 11.135.14.110:18737
ckafkaId: ckafka-k9m5vwar
ckafkaRegion: ap-guangzhou
compression: snappy
kafkaVersion: 2.8.1
logType: 1
topic: tf-example
vipType: 2
writeConfig:
enableBody: 0
enableBot: 1
enableHeaders: 0
Create WafLogPostCkafkaFlow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WafLogPostCkafkaFlow(name: string, args: WafLogPostCkafkaFlowArgs, opts?: CustomResourceOptions);
@overload
def WafLogPostCkafkaFlow(resource_name: str,
args: WafLogPostCkafkaFlowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WafLogPostCkafkaFlow(resource_name: str,
opts: Optional[ResourceOptions] = None,
topic: Optional[str] = None,
ckafka_id: Optional[str] = None,
ckafka_region: Optional[str] = None,
compression: Optional[str] = None,
kafka_version: Optional[str] = None,
log_type: Optional[float] = None,
brokers: Optional[str] = None,
vip_type: Optional[float] = None,
sasl_enable: Optional[float] = None,
sasl_password: Optional[str] = None,
sasl_user: Optional[str] = None,
waf_log_post_ckafka_flow_id: Optional[str] = None,
write_config: Optional[WafLogPostCkafkaFlowWriteConfigArgs] = None)
func NewWafLogPostCkafkaFlow(ctx *Context, name string, args WafLogPostCkafkaFlowArgs, opts ...ResourceOption) (*WafLogPostCkafkaFlow, error)
public WafLogPostCkafkaFlow(string name, WafLogPostCkafkaFlowArgs args, CustomResourceOptions? opts = null)
public WafLogPostCkafkaFlow(String name, WafLogPostCkafkaFlowArgs args)
public WafLogPostCkafkaFlow(String name, WafLogPostCkafkaFlowArgs args, CustomResourceOptions options)
type: tencentcloud:WafLogPostCkafkaFlow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WafLogPostCkafkaFlowArgs
- 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 WafLogPostCkafkaFlowArgs
- 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 WafLogPostCkafkaFlowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WafLogPostCkafkaFlowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WafLogPostCkafkaFlowArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WafLogPostCkafkaFlow 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 WafLogPostCkafkaFlow resource accepts the following input properties:
- Brokers string
- The supporting environment is IP:PORT, The external network environment is domain:PORT.
- Ckafka
Id string - CKafka ID.
- Ckafka
Region string - The region where CKafka is located for delivery.
- Compression string
- Default to none, supports snappy, gzip, and lz4 compression, recommended snappy.
- Kafka
Version string - Version number of Kafka cluster.
- Log
Type double - 1- Access log, 2- Attack log, the default is access log.
- Topic string
- Theme name, default not to pass or pass empty string, default value is waf_post_access_log.
- Vip
Type double - External network TGW, 2. Supporting environment, default is supporting environment.
- Sasl
Enable double - Whether to enable SASL verification, default not enabled, 0-off, 1-on.
- Sasl
Password string - SASL password.
- Sasl
User string - SASL username.
- Waf
Log stringPost Ckafka Flow Id - ID of the resource.
- Write
Config WafLog Post Ckafka Flow Write Config - Enable access to certain fields of the log and check if they have been delivered.
- Brokers string
- The supporting environment is IP:PORT, The external network environment is domain:PORT.
- Ckafka
Id string - CKafka ID.
- Ckafka
Region string - The region where CKafka is located for delivery.
- Compression string
- Default to none, supports snappy, gzip, and lz4 compression, recommended snappy.
- Kafka
Version string - Version number of Kafka cluster.
- Log
Type float64 - 1- Access log, 2- Attack log, the default is access log.
- Topic string
- Theme name, default not to pass or pass empty string, default value is waf_post_access_log.
- Vip
Type float64 - External network TGW, 2. Supporting environment, default is supporting environment.
- Sasl
Enable float64 - Whether to enable SASL verification, default not enabled, 0-off, 1-on.
- Sasl
Password string - SASL password.
- Sasl
User string - SASL username.
- Waf
Log stringPost Ckafka Flow Id - ID of the resource.
- Write
Config WafLog Post Ckafka Flow Write Config Args - Enable access to certain fields of the log and check if they have been delivered.
- brokers String
- The supporting environment is IP:PORT, The external network environment is domain:PORT.
- ckafka
Id String - CKafka ID.
- ckafka
Region String - The region where CKafka is located for delivery.
- compression String
- Default to none, supports snappy, gzip, and lz4 compression, recommended snappy.
- kafka
Version String - Version number of Kafka cluster.
- log
Type Double - 1- Access log, 2- Attack log, the default is access log.
- topic String
- Theme name, default not to pass or pass empty string, default value is waf_post_access_log.
- vip
Type Double - External network TGW, 2. Supporting environment, default is supporting environment.
- sasl
Enable Double - Whether to enable SASL verification, default not enabled, 0-off, 1-on.
- sasl
Password String - SASL password.
- sasl
User String - SASL username.
- waf
Log StringPost Ckafka Flow Id - ID of the resource.
- write
Config WafLog Post Ckafka Flow Write Config - Enable access to certain fields of the log and check if they have been delivered.
- brokers string
- The supporting environment is IP:PORT, The external network environment is domain:PORT.
- ckafka
Id string - CKafka ID.
- ckafka
Region string - The region where CKafka is located for delivery.
- compression string
- Default to none, supports snappy, gzip, and lz4 compression, recommended snappy.
- kafka
Version string - Version number of Kafka cluster.
- log
Type number - 1- Access log, 2- Attack log, the default is access log.
- topic string
- Theme name, default not to pass or pass empty string, default value is waf_post_access_log.
- vip
Type number - External network TGW, 2. Supporting environment, default is supporting environment.
- sasl
Enable number - Whether to enable SASL verification, default not enabled, 0-off, 1-on.
- sasl
Password string - SASL password.
- sasl
User string - SASL username.
- waf
Log stringPost Ckafka Flow Id - ID of the resource.
- write
Config WafLog Post Ckafka Flow Write Config - Enable access to certain fields of the log and check if they have been delivered.
- brokers str
- The supporting environment is IP:PORT, The external network environment is domain:PORT.
- ckafka_
id str - CKafka ID.
- ckafka_
region str - The region where CKafka is located for delivery.
- compression str
- Default to none, supports snappy, gzip, and lz4 compression, recommended snappy.
- kafka_
version str - Version number of Kafka cluster.
- log_
type float - 1- Access log, 2- Attack log, the default is access log.
- topic str
- Theme name, default not to pass or pass empty string, default value is waf_post_access_log.
- vip_
type float - External network TGW, 2. Supporting environment, default is supporting environment.
- sasl_
enable float - Whether to enable SASL verification, default not enabled, 0-off, 1-on.
- sasl_
password str - SASL password.
- sasl_
user str - SASL username.
- waf_
log_ strpost_ ckafka_ flow_ id - ID of the resource.
- write_
config WafLog Post Ckafka Flow Write Config Args - Enable access to certain fields of the log and check if they have been delivered.
- brokers String
- The supporting environment is IP:PORT, The external network environment is domain:PORT.
- ckafka
Id String - CKafka ID.
- ckafka
Region String - The region where CKafka is located for delivery.
- compression String
- Default to none, supports snappy, gzip, and lz4 compression, recommended snappy.
- kafka
Version String - Version number of Kafka cluster.
- log
Type Number - 1- Access log, 2- Attack log, the default is access log.
- topic String
- Theme name, default not to pass or pass empty string, default value is waf_post_access_log.
- vip
Type Number - External network TGW, 2. Supporting environment, default is supporting environment.
- sasl
Enable Number - Whether to enable SASL verification, default not enabled, 0-off, 1-on.
- sasl
Password String - SASL password.
- sasl
User String - SASL username.
- waf
Log StringPost Ckafka Flow Id - ID of the resource.
- write
Config Property Map - Enable access to certain fields of the log and check if they have been delivered.
Outputs
All input properties are implicitly available as output properties. Additionally, the WafLogPostCkafkaFlow resource produces the following output properties:
Look up Existing WafLogPostCkafkaFlow Resource
Get an existing WafLogPostCkafkaFlow 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?: WafLogPostCkafkaFlowState, opts?: CustomResourceOptions): WafLogPostCkafkaFlow
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
brokers: Optional[str] = None,
ckafka_id: Optional[str] = None,
ckafka_region: Optional[str] = None,
compression: Optional[str] = None,
flow_id: Optional[float] = None,
kafka_version: Optional[str] = None,
log_type: Optional[float] = None,
sasl_enable: Optional[float] = None,
sasl_password: Optional[str] = None,
sasl_user: Optional[str] = None,
status: Optional[float] = None,
topic: Optional[str] = None,
vip_type: Optional[float] = None,
waf_log_post_ckafka_flow_id: Optional[str] = None,
write_config: Optional[WafLogPostCkafkaFlowWriteConfigArgs] = None) -> WafLogPostCkafkaFlow
func GetWafLogPostCkafkaFlow(ctx *Context, name string, id IDInput, state *WafLogPostCkafkaFlowState, opts ...ResourceOption) (*WafLogPostCkafkaFlow, error)
public static WafLogPostCkafkaFlow Get(string name, Input<string> id, WafLogPostCkafkaFlowState? state, CustomResourceOptions? opts = null)
public static WafLogPostCkafkaFlow get(String name, Output<String> id, WafLogPostCkafkaFlowState state, CustomResourceOptions options)
resources: _: type: tencentcloud:WafLogPostCkafkaFlow get: id: ${id}
- 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.
- Brokers string
- The supporting environment is IP:PORT, The external network environment is domain:PORT.
- Ckafka
Id string - CKafka ID.
- Ckafka
Region string - The region where CKafka is located for delivery.
- Compression string
- Default to none, supports snappy, gzip, and lz4 compression, recommended snappy.
- Flow
Id double - Unique ID for post cls flow.
- Kafka
Version string - Version number of Kafka cluster.
- Log
Type double - 1- Access log, 2- Attack log, the default is access log.
- Sasl
Enable double - Whether to enable SASL verification, default not enabled, 0-off, 1-on.
- Sasl
Password string - SASL password.
- Sasl
User string - SASL username.
- Status double
- Status 0- Off 1- On.
- Topic string
- Theme name, default not to pass or pass empty string, default value is waf_post_access_log.
- Vip
Type double - External network TGW, 2. Supporting environment, default is supporting environment.
- Waf
Log stringPost Ckafka Flow Id - ID of the resource.
- Write
Config WafLog Post Ckafka Flow Write Config - Enable access to certain fields of the log and check if they have been delivered.
- Brokers string
- The supporting environment is IP:PORT, The external network environment is domain:PORT.
- Ckafka
Id string - CKafka ID.
- Ckafka
Region string - The region where CKafka is located for delivery.
- Compression string
- Default to none, supports snappy, gzip, and lz4 compression, recommended snappy.
- Flow
Id float64 - Unique ID for post cls flow.
- Kafka
Version string - Version number of Kafka cluster.
- Log
Type float64 - 1- Access log, 2- Attack log, the default is access log.
- Sasl
Enable float64 - Whether to enable SASL verification, default not enabled, 0-off, 1-on.
- Sasl
Password string - SASL password.
- Sasl
User string - SASL username.
- Status float64
- Status 0- Off 1- On.
- Topic string
- Theme name, default not to pass or pass empty string, default value is waf_post_access_log.
- Vip
Type float64 - External network TGW, 2. Supporting environment, default is supporting environment.
- Waf
Log stringPost Ckafka Flow Id - ID of the resource.
- Write
Config WafLog Post Ckafka Flow Write Config Args - Enable access to certain fields of the log and check if they have been delivered.
- brokers String
- The supporting environment is IP:PORT, The external network environment is domain:PORT.
- ckafka
Id String - CKafka ID.
- ckafka
Region String - The region where CKafka is located for delivery.
- compression String
- Default to none, supports snappy, gzip, and lz4 compression, recommended snappy.
- flow
Id Double - Unique ID for post cls flow.
- kafka
Version String - Version number of Kafka cluster.
- log
Type Double - 1- Access log, 2- Attack log, the default is access log.
- sasl
Enable Double - Whether to enable SASL verification, default not enabled, 0-off, 1-on.
- sasl
Password String - SASL password.
- sasl
User String - SASL username.
- status Double
- Status 0- Off 1- On.
- topic String
- Theme name, default not to pass or pass empty string, default value is waf_post_access_log.
- vip
Type Double - External network TGW, 2. Supporting environment, default is supporting environment.
- waf
Log StringPost Ckafka Flow Id - ID of the resource.
- write
Config WafLog Post Ckafka Flow Write Config - Enable access to certain fields of the log and check if they have been delivered.
- brokers string
- The supporting environment is IP:PORT, The external network environment is domain:PORT.
- ckafka
Id string - CKafka ID.
- ckafka
Region string - The region where CKafka is located for delivery.
- compression string
- Default to none, supports snappy, gzip, and lz4 compression, recommended snappy.
- flow
Id number - Unique ID for post cls flow.
- kafka
Version string - Version number of Kafka cluster.
- log
Type number - 1- Access log, 2- Attack log, the default is access log.
- sasl
Enable number - Whether to enable SASL verification, default not enabled, 0-off, 1-on.
- sasl
Password string - SASL password.
- sasl
User string - SASL username.
- status number
- Status 0- Off 1- On.
- topic string
- Theme name, default not to pass or pass empty string, default value is waf_post_access_log.
- vip
Type number - External network TGW, 2. Supporting environment, default is supporting environment.
- waf
Log stringPost Ckafka Flow Id - ID of the resource.
- write
Config WafLog Post Ckafka Flow Write Config - Enable access to certain fields of the log and check if they have been delivered.
- brokers str
- The supporting environment is IP:PORT, The external network environment is domain:PORT.
- ckafka_
id str - CKafka ID.
- ckafka_
region str - The region where CKafka is located for delivery.
- compression str
- Default to none, supports snappy, gzip, and lz4 compression, recommended snappy.
- flow_
id float - Unique ID for post cls flow.
- kafka_
version str - Version number of Kafka cluster.
- log_
type float - 1- Access log, 2- Attack log, the default is access log.
- sasl_
enable float - Whether to enable SASL verification, default not enabled, 0-off, 1-on.
- sasl_
password str - SASL password.
- sasl_
user str - SASL username.
- status float
- Status 0- Off 1- On.
- topic str
- Theme name, default not to pass or pass empty string, default value is waf_post_access_log.
- vip_
type float - External network TGW, 2. Supporting environment, default is supporting environment.
- waf_
log_ strpost_ ckafka_ flow_ id - ID of the resource.
- write_
config WafLog Post Ckafka Flow Write Config Args - Enable access to certain fields of the log and check if they have been delivered.
- brokers String
- The supporting environment is IP:PORT, The external network environment is domain:PORT.
- ckafka
Id String - CKafka ID.
- ckafka
Region String - The region where CKafka is located for delivery.
- compression String
- Default to none, supports snappy, gzip, and lz4 compression, recommended snappy.
- flow
Id Number - Unique ID for post cls flow.
- kafka
Version String - Version number of Kafka cluster.
- log
Type Number - 1- Access log, 2- Attack log, the default is access log.
- sasl
Enable Number - Whether to enable SASL verification, default not enabled, 0-off, 1-on.
- sasl
Password String - SASL password.
- sasl
User String - SASL username.
- status Number
- Status 0- Off 1- On.
- topic String
- Theme name, default not to pass or pass empty string, default value is waf_post_access_log.
- vip
Type Number - External network TGW, 2. Supporting environment, default is supporting environment.
- waf
Log StringPost Ckafka Flow Id - ID of the resource.
- write
Config Property Map - Enable access to certain fields of the log and check if they have been delivered.
Supporting Types
WafLogPostCkafkaFlowWriteConfig, WafLogPostCkafkaFlowWriteConfigArgs
- Enable
Body double - 1: Enable 0: Do not enable.
- Enable
Bot double - 1: Enable 0: Do not enable.
- Enable
Headers double - 1: Enable 0: Do not enable.
- Enable
Body float64 - 1: Enable 0: Do not enable.
- Enable
Bot float64 - 1: Enable 0: Do not enable.
- Enable
Headers float64 - 1: Enable 0: Do not enable.
- enable
Body Double - 1: Enable 0: Do not enable.
- enable
Bot Double - 1: Enable 0: Do not enable.
- enable
Headers Double - 1: Enable 0: Do not enable.
- enable
Body number - 1: Enable 0: Do not enable.
- enable
Bot number - 1: Enable 0: Do not enable.
- enable
Headers number - 1: Enable 0: Do not enable.
- enable_
body float - 1: Enable 0: Do not enable.
- enable_
bot float - 1: Enable 0: Do not enable.
- enable_
headers float - 1: Enable 0: Do not enable.
- enable
Body Number - 1: Enable 0: Do not enable.
- enable
Bot Number - 1: Enable 0: Do not enable.
- enable
Headers Number - 1: Enable 0: Do not enable.
Import
WAF log post ckafka flow can be imported using the id, e.g.
If log_type is 1
$ pulumi import tencentcloud:index/wafLogPostCkafkaFlow:WafLogPostCkafkaFlow example 100536#1
If log_type is 2
$ pulumi import tencentcloud:index/wafLogPostCkafkaFlow:WafLogPostCkafkaFlow example 100541#2
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.