tencentcloud.EventsAuditTrack
Explore with Pulumi AI
Provides a resource to create events audit track
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.EventsAuditTrack("example", {
filters: {
resourceFields: [
{
actionType: "*",
eventNames: [
"AddSubAccount",
"AddSubAccountCheckingMFA",
],
resourceType: "cam",
},
{
actionType: "*",
eventNames: ["*"],
resourceType: "cvm",
},
{
actionType: "*",
eventNames: ["*"],
resourceType: "tke",
},
],
},
status: 1,
storage: {
storageName: "393953ac-5c1b-457d-911d-376271b1b4f2",
storagePrefix: "cloudaudit",
storageRegion: "ap-guangzhou",
storageType: "cls",
},
trackForAllMembers: 0,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.EventsAuditTrack("example",
filters={
"resource_fields": [
{
"action_type": "*",
"event_names": [
"AddSubAccount",
"AddSubAccountCheckingMFA",
],
"resource_type": "cam",
},
{
"action_type": "*",
"event_names": ["*"],
"resource_type": "cvm",
},
{
"action_type": "*",
"event_names": ["*"],
"resource_type": "tke",
},
],
},
status=1,
storage={
"storage_name": "393953ac-5c1b-457d-911d-376271b1b4f2",
"storage_prefix": "cloudaudit",
"storage_region": "ap-guangzhou",
"storage_type": "cls",
},
track_for_all_members=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.NewEventsAuditTrack(ctx, "example", &tencentcloud.EventsAuditTrackArgs{
Filters: &tencentcloud.EventsAuditTrackFiltersArgs{
ResourceFields: tencentcloud.EventsAuditTrackFiltersResourceFieldArray{
&tencentcloud.EventsAuditTrackFiltersResourceFieldArgs{
ActionType: pulumi.String("*"),
EventNames: pulumi.StringArray{
pulumi.String("AddSubAccount"),
pulumi.String("AddSubAccountCheckingMFA"),
},
ResourceType: pulumi.String("cam"),
},
&tencentcloud.EventsAuditTrackFiltersResourceFieldArgs{
ActionType: pulumi.String("*"),
EventNames: pulumi.StringArray{
pulumi.String("*"),
},
ResourceType: pulumi.String("cvm"),
},
&tencentcloud.EventsAuditTrackFiltersResourceFieldArgs{
ActionType: pulumi.String("*"),
EventNames: pulumi.StringArray{
pulumi.String("*"),
},
ResourceType: pulumi.String("tke"),
},
},
},
Status: pulumi.Float64(1),
Storage: &tencentcloud.EventsAuditTrackStorageArgs{
StorageName: pulumi.String("393953ac-5c1b-457d-911d-376271b1b4f2"),
StoragePrefix: pulumi.String("cloudaudit"),
StorageRegion: pulumi.String("ap-guangzhou"),
StorageType: pulumi.String("cls"),
},
TrackForAllMembers: 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.EventsAuditTrack("example", new()
{
Filters = new Tencentcloud.Inputs.EventsAuditTrackFiltersArgs
{
ResourceFields = new[]
{
new Tencentcloud.Inputs.EventsAuditTrackFiltersResourceFieldArgs
{
ActionType = "*",
EventNames = new[]
{
"AddSubAccount",
"AddSubAccountCheckingMFA",
},
ResourceType = "cam",
},
new Tencentcloud.Inputs.EventsAuditTrackFiltersResourceFieldArgs
{
ActionType = "*",
EventNames = new[]
{
"*",
},
ResourceType = "cvm",
},
new Tencentcloud.Inputs.EventsAuditTrackFiltersResourceFieldArgs
{
ActionType = "*",
EventNames = new[]
{
"*",
},
ResourceType = "tke",
},
},
},
Status = 1,
Storage = new Tencentcloud.Inputs.EventsAuditTrackStorageArgs
{
StorageName = "393953ac-5c1b-457d-911d-376271b1b4f2",
StoragePrefix = "cloudaudit",
StorageRegion = "ap-guangzhou",
StorageType = "cls",
},
TrackForAllMembers = 0,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.EventsAuditTrack;
import com.pulumi.tencentcloud.EventsAuditTrackArgs;
import com.pulumi.tencentcloud.inputs.EventsAuditTrackFiltersArgs;
import com.pulumi.tencentcloud.inputs.EventsAuditTrackStorageArgs;
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 EventsAuditTrack("example", EventsAuditTrackArgs.builder()
.filters(EventsAuditTrackFiltersArgs.builder()
.resourceFields(
EventsAuditTrackFiltersResourceFieldArgs.builder()
.actionType("*")
.eventNames(
"AddSubAccount",
"AddSubAccountCheckingMFA")
.resourceType("cam")
.build(),
EventsAuditTrackFiltersResourceFieldArgs.builder()
.actionType("*")
.eventNames("*")
.resourceType("cvm")
.build(),
EventsAuditTrackFiltersResourceFieldArgs.builder()
.actionType("*")
.eventNames("*")
.resourceType("tke")
.build())
.build())
.status(1)
.storage(EventsAuditTrackStorageArgs.builder()
.storageName("393953ac-5c1b-457d-911d-376271b1b4f2")
.storagePrefix("cloudaudit")
.storageRegion("ap-guangzhou")
.storageType("cls")
.build())
.trackForAllMembers(0)
.build());
}
}
resources:
example:
type: tencentcloud:EventsAuditTrack
properties:
filters:
resourceFields:
- actionType: '*'
eventNames:
- AddSubAccount
- AddSubAccountCheckingMFA
resourceType: cam
- actionType: '*'
eventNames:
- '*'
resourceType: cvm
- actionType: '*'
eventNames:
- '*'
resourceType: tke
status: 1
storage:
storageName: 393953ac-5c1b-457d-911d-376271b1b4f2
storagePrefix: cloudaudit
storageRegion: ap-guangzhou
storageType: cls
trackForAllMembers: 0
Create EventsAuditTrack Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventsAuditTrack(name: string, args: EventsAuditTrackArgs, opts?: CustomResourceOptions);
@overload
def EventsAuditTrack(resource_name: str,
args: EventsAuditTrackArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EventsAuditTrack(resource_name: str,
opts: Optional[ResourceOptions] = None,
filters: Optional[EventsAuditTrackFiltersArgs] = None,
status: Optional[float] = None,
storage: Optional[EventsAuditTrackStorageArgs] = None,
events_audit_track_id: Optional[str] = None,
name: Optional[str] = None,
track_for_all_members: Optional[float] = None)
func NewEventsAuditTrack(ctx *Context, name string, args EventsAuditTrackArgs, opts ...ResourceOption) (*EventsAuditTrack, error)
public EventsAuditTrack(string name, EventsAuditTrackArgs args, CustomResourceOptions? opts = null)
public EventsAuditTrack(String name, EventsAuditTrackArgs args)
public EventsAuditTrack(String name, EventsAuditTrackArgs args, CustomResourceOptions options)
type: tencentcloud:EventsAuditTrack
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 EventsAuditTrackArgs
- 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 EventsAuditTrackArgs
- 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 EventsAuditTrackArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventsAuditTrackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventsAuditTrackArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EventsAuditTrack 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 EventsAuditTrack resource accepts the following input properties:
- Filters
Events
Audit Track Filters - Data filtering criteria.
- Status double
- Tracking set status (0: Not enabled; 1: Enabled).
- Storage
Events
Audit Track Storage - Storage type of shipped data. Valid values:
cos
,cls
. - Events
Audit stringTrack Id - ID of the resource.
- Name string
- Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
- Track
For doubleAll Members - Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
- Filters
Events
Audit Track Filters Args - Data filtering criteria.
- Status float64
- Tracking set status (0: Not enabled; 1: Enabled).
- Storage
Events
Audit Track Storage Args - Storage type of shipped data. Valid values:
cos
,cls
. - Events
Audit stringTrack Id - ID of the resource.
- Name string
- Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
- Track
For float64All Members - Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
- filters
Events
Audit Track Filters - Data filtering criteria.
- status Double
- Tracking set status (0: Not enabled; 1: Enabled).
- storage
Events
Audit Track Storage - Storage type of shipped data. Valid values:
cos
,cls
. - events
Audit StringTrack Id - ID of the resource.
- name String
- Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
- track
For DoubleAll Members - Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
- filters
Events
Audit Track Filters - Data filtering criteria.
- status number
- Tracking set status (0: Not enabled; 1: Enabled).
- storage
Events
Audit Track Storage - Storage type of shipped data. Valid values:
cos
,cls
. - events
Audit stringTrack Id - ID of the resource.
- name string
- Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
- track
For numberAll Members - Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
- filters
Events
Audit Track Filters Args - Data filtering criteria.
- status float
- Tracking set status (0: Not enabled; 1: Enabled).
- storage
Events
Audit Track Storage Args - Storage type of shipped data. Valid values:
cos
,cls
. - events_
audit_ strtrack_ id - ID of the resource.
- name str
- Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
- track_
for_ floatall_ members - Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
- filters Property Map
- Data filtering criteria.
- status Number
- Tracking set status (0: Not enabled; 1: Enabled).
- storage Property Map
- Storage type of shipped data. Valid values:
cos
,cls
. - events
Audit StringTrack Id - ID of the resource.
- name String
- Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
- track
For NumberAll Members - Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
Outputs
All input properties are implicitly available as output properties. Additionally, the EventsAuditTrack resource produces the following output properties:
Look up Existing EventsAuditTrack Resource
Get an existing EventsAuditTrack 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?: EventsAuditTrackState, opts?: CustomResourceOptions): EventsAuditTrack
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
events_audit_track_id: Optional[str] = None,
filters: Optional[EventsAuditTrackFiltersArgs] = None,
name: Optional[str] = None,
status: Optional[float] = None,
storage: Optional[EventsAuditTrackStorageArgs] = None,
track_for_all_members: Optional[float] = None,
track_id: Optional[float] = None) -> EventsAuditTrack
func GetEventsAuditTrack(ctx *Context, name string, id IDInput, state *EventsAuditTrackState, opts ...ResourceOption) (*EventsAuditTrack, error)
public static EventsAuditTrack Get(string name, Input<string> id, EventsAuditTrackState? state, CustomResourceOptions? opts = null)
public static EventsAuditTrack get(String name, Output<String> id, EventsAuditTrackState state, CustomResourceOptions options)
resources: _: type: tencentcloud:EventsAuditTrack 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.
- Events
Audit stringTrack Id - ID of the resource.
- Filters
Events
Audit Track Filters - Data filtering criteria.
- Name string
- Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
- Status double
- Tracking set status (0: Not enabled; 1: Enabled).
- Storage
Events
Audit Track Storage - Storage type of shipped data. Valid values:
cos
,cls
. - Track
For doubleAll Members - Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
- Track
Id double - Whether the log list has come to an end.
true
: Yes. Pagination is not required.
- Events
Audit stringTrack Id - ID of the resource.
- Filters
Events
Audit Track Filters Args - Data filtering criteria.
- Name string
- Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
- Status float64
- Tracking set status (0: Not enabled; 1: Enabled).
- Storage
Events
Audit Track Storage Args - Storage type of shipped data. Valid values:
cos
,cls
. - Track
For float64All Members - Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
- Track
Id float64 - Whether the log list has come to an end.
true
: Yes. Pagination is not required.
- events
Audit StringTrack Id - ID of the resource.
- filters
Events
Audit Track Filters - Data filtering criteria.
- name String
- Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
- status Double
- Tracking set status (0: Not enabled; 1: Enabled).
- storage
Events
Audit Track Storage - Storage type of shipped data. Valid values:
cos
,cls
. - track
For DoubleAll Members - Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
- track
Id Double - Whether the log list has come to an end.
true
: Yes. Pagination is not required.
- events
Audit stringTrack Id - ID of the resource.
- filters
Events
Audit Track Filters - Data filtering criteria.
- name string
- Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
- status number
- Tracking set status (0: Not enabled; 1: Enabled).
- storage
Events
Audit Track Storage - Storage type of shipped data. Valid values:
cos
,cls
. - track
For numberAll Members - Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
- track
Id number - Whether the log list has come to an end.
true
: Yes. Pagination is not required.
- events_
audit_ strtrack_ id - ID of the resource.
- filters
Events
Audit Track Filters Args - Data filtering criteria.
- name str
- Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
- status float
- Tracking set status (0: Not enabled; 1: Enabled).
- storage
Events
Audit Track Storage Args - Storage type of shipped data. Valid values:
cos
,cls
. - track_
for_ floatall_ members - Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
- track_
id float - Whether the log list has come to an end.
true
: Yes. Pagination is not required.
- events
Audit StringTrack Id - ID of the resource.
- filters Property Map
- Data filtering criteria.
- name String
- Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
- status Number
- Tracking set status (0: Not enabled; 1: Enabled).
- storage Property Map
- Storage type of shipped data. Valid values:
cos
,cls
. - track
For NumberAll Members - Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
- track
Id Number - Whether the log list has come to an end.
true
: Yes. Pagination is not required.
Supporting Types
EventsAuditTrackFilters, EventsAuditTrackFiltersArgs
- Resource
Fields List<EventsAudit Track Filters Resource Field> - Resource filtering conditions.
- Resource
Fields []EventsAudit Track Filters Resource Field - Resource filtering conditions.
- resource
Fields List<EventsAudit Track Filters Resource Field> - Resource filtering conditions.
- resource
Fields EventsAudit Track Filters Resource Field[] - Resource filtering conditions.
- resource_
fields Sequence[EventsAudit Track Filters Resource Field] - Resource filtering conditions.
- resource
Fields List<Property Map> - Resource filtering conditions.
EventsAuditTrackFiltersResourceField, EventsAuditTrackFiltersResourceFieldArgs
- Action
Type string - Tracking set event type (
Read
: Read;Write
: Write;*
: All). - Event
Names List<string> - The list of API names of tracking set events. When
ResourceType
is*
, the value ofEventNames
must be*
. WhenResourceType
is a specified product, the value ofEventNames
can be*
. WhenResourceType
iscos
orcls
, up to 10 APIs are supported. - Resource
Type string - The product to which the tracking set event belongs. The value can be a single product such as
cos
, or*
that indicates all products.
- Action
Type string - Tracking set event type (
Read
: Read;Write
: Write;*
: All). - Event
Names []string - The list of API names of tracking set events. When
ResourceType
is*
, the value ofEventNames
must be*
. WhenResourceType
is a specified product, the value ofEventNames
can be*
. WhenResourceType
iscos
orcls
, up to 10 APIs are supported. - Resource
Type string - The product to which the tracking set event belongs. The value can be a single product such as
cos
, or*
that indicates all products.
- action
Type String - Tracking set event type (
Read
: Read;Write
: Write;*
: All). - event
Names List<String> - The list of API names of tracking set events. When
ResourceType
is*
, the value ofEventNames
must be*
. WhenResourceType
is a specified product, the value ofEventNames
can be*
. WhenResourceType
iscos
orcls
, up to 10 APIs are supported. - resource
Type String - The product to which the tracking set event belongs. The value can be a single product such as
cos
, or*
that indicates all products.
- action
Type string - Tracking set event type (
Read
: Read;Write
: Write;*
: All). - event
Names string[] - The list of API names of tracking set events. When
ResourceType
is*
, the value ofEventNames
must be*
. WhenResourceType
is a specified product, the value ofEventNames
can be*
. WhenResourceType
iscos
orcls
, up to 10 APIs are supported. - resource
Type string - The product to which the tracking set event belongs. The value can be a single product such as
cos
, or*
that indicates all products.
- action_
type str - Tracking set event type (
Read
: Read;Write
: Write;*
: All). - event_
names Sequence[str] - The list of API names of tracking set events. When
ResourceType
is*
, the value ofEventNames
must be*
. WhenResourceType
is a specified product, the value ofEventNames
can be*
. WhenResourceType
iscos
orcls
, up to 10 APIs are supported. - resource_
type str - The product to which the tracking set event belongs. The value can be a single product such as
cos
, or*
that indicates all products.
- action
Type String - Tracking set event type (
Read
: Read;Write
: Write;*
: All). - event
Names List<String> - The list of API names of tracking set events. When
ResourceType
is*
, the value ofEventNames
must be*
. WhenResourceType
is a specified product, the value ofEventNames
can be*
. WhenResourceType
iscos
orcls
, up to 10 APIs are supported. - resource
Type String - The product to which the tracking set event belongs. The value can be a single product such as
cos
, or*
that indicates all products.
EventsAuditTrackStorage, EventsAuditTrackStorageArgs
- Storage
Name string - Storage name. For COS, the storage name is the custom bucket name, which can contain up to 50 lowercase letters, digits, and hyphens. It cannot contain "-APPID" and cannot start or end with a hyphen. For CLS, the storage name is the log topic ID, which can contain 1-50 characters.
- Storage
Prefix string - Storage directory prefix. The COS log file prefix can only contain 3-40 letters and digits.
- Storage
Region string - StorageRegion *string
json:'StorageRegion,omitnil,omitempty' name: 'StorageRegion'
. - Storage
Type string - Storage type (Valid values: cos, cls).
- Storage
Account stringId - Designated to store user ID.
- Storage
App stringId - Designated to store user app ID.
- Storage
Name string - Storage name. For COS, the storage name is the custom bucket name, which can contain up to 50 lowercase letters, digits, and hyphens. It cannot contain "-APPID" and cannot start or end with a hyphen. For CLS, the storage name is the log topic ID, which can contain 1-50 characters.
- Storage
Prefix string - Storage directory prefix. The COS log file prefix can only contain 3-40 letters and digits.
- Storage
Region string - StorageRegion *string
json:'StorageRegion,omitnil,omitempty' name: 'StorageRegion'
. - Storage
Type string - Storage type (Valid values: cos, cls).
- Storage
Account stringId - Designated to store user ID.
- Storage
App stringId - Designated to store user app ID.
- storage
Name String - Storage name. For COS, the storage name is the custom bucket name, which can contain up to 50 lowercase letters, digits, and hyphens. It cannot contain "-APPID" and cannot start or end with a hyphen. For CLS, the storage name is the log topic ID, which can contain 1-50 characters.
- storage
Prefix String - Storage directory prefix. The COS log file prefix can only contain 3-40 letters and digits.
- storage
Region String - StorageRegion *string
json:'StorageRegion,omitnil,omitempty' name: 'StorageRegion'
. - storage
Type String - Storage type (Valid values: cos, cls).
- storage
Account StringId - Designated to store user ID.
- storage
App StringId - Designated to store user app ID.
- storage
Name string - Storage name. For COS, the storage name is the custom bucket name, which can contain up to 50 lowercase letters, digits, and hyphens. It cannot contain "-APPID" and cannot start or end with a hyphen. For CLS, the storage name is the log topic ID, which can contain 1-50 characters.
- storage
Prefix string - Storage directory prefix. The COS log file prefix can only contain 3-40 letters and digits.
- storage
Region string - StorageRegion *string
json:'StorageRegion,omitnil,omitempty' name: 'StorageRegion'
. - storage
Type string - Storage type (Valid values: cos, cls).
- storage
Account stringId - Designated to store user ID.
- storage
App stringId - Designated to store user app ID.
- storage_
name str - Storage name. For COS, the storage name is the custom bucket name, which can contain up to 50 lowercase letters, digits, and hyphens. It cannot contain "-APPID" and cannot start or end with a hyphen. For CLS, the storage name is the log topic ID, which can contain 1-50 characters.
- storage_
prefix str - Storage directory prefix. The COS log file prefix can only contain 3-40 letters and digits.
- storage_
region str - StorageRegion *string
json:'StorageRegion,omitnil,omitempty' name: 'StorageRegion'
. - storage_
type str - Storage type (Valid values: cos, cls).
- storage_
account_ strid - Designated to store user ID.
- storage_
app_ strid - Designated to store user app ID.
- storage
Name String - Storage name. For COS, the storage name is the custom bucket name, which can contain up to 50 lowercase letters, digits, and hyphens. It cannot contain "-APPID" and cannot start or end with a hyphen. For CLS, the storage name is the log topic ID, which can contain 1-50 characters.
- storage
Prefix String - Storage directory prefix. The COS log file prefix can only contain 3-40 letters and digits.
- storage
Region String - StorageRegion *string
json:'StorageRegion,omitnil,omitempty' name: 'StorageRegion'
. - storage
Type String - Storage type (Valid values: cos, cls).
- storage
Account StringId - Designated to store user ID.
- storage
App StringId - Designated to store user app ID.
Import
events audit track can be imported using the id, e.g.
$ pulumi import tencentcloud:index/eventsAuditTrack:EventsAuditTrack example 24283
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.