1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. tos
  6. BucketRealtimeLog
Viewing docs for volcenginecc v0.0.36
published on Thursday, May 21, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.36
published on Thursday, May 21, 2026 by Volcengine

    Log analysis feature

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      tOSBucketRealtimeLogDemo:
        type: volcenginecc:tos:BucketRealtimeLog
        name: TOSBucketRealtimeLogDemo
        properties:
          bucketName: ccapi-test
          realTimeLog:
            role: TOSLogArchiveTLSRole
            use_service_topic: true
            tls_project_id: 569b6ea5-xxxxxx-90d47ff07774
            tls_topic_id: 22fca26e-xxxxxx-a9bb6d3fb9bd
    
    Example coming soon!
    

    Create BucketRealtimeLog Resource

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

    Constructor syntax

    new BucketRealtimeLog(name: string, args: BucketRealtimeLogArgs, opts?: CustomResourceOptions);
    @overload
    def BucketRealtimeLog(resource_name: str,
                          args: BucketRealtimeLogArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def BucketRealtimeLog(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          bucket_name: Optional[str] = None,
                          real_time_log: Optional[BucketRealtimeLogRealTimeLogArgs] = None)
    func NewBucketRealtimeLog(ctx *Context, name string, args BucketRealtimeLogArgs, opts ...ResourceOption) (*BucketRealtimeLog, error)
    public BucketRealtimeLog(string name, BucketRealtimeLogArgs args, CustomResourceOptions? opts = null)
    public BucketRealtimeLog(String name, BucketRealtimeLogArgs args)
    public BucketRealtimeLog(String name, BucketRealtimeLogArgs args, CustomResourceOptions options)
    
    type: volcenginecc:tos:BucketRealtimeLog
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "volcenginecc_tos_bucketrealtimelog" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args BucketRealtimeLogArgs
    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 BucketRealtimeLogArgs
    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 BucketRealtimeLogArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BucketRealtimeLogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BucketRealtimeLogArgs
    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 bucketRealtimeLogResource = new Volcenginecc.Tos.BucketRealtimeLog("bucketRealtimeLogResource", new()
    {
        BucketName = "string",
        RealTimeLog = new Volcenginecc.Tos.Inputs.BucketRealtimeLogRealTimeLogArgs
        {
            Role = "string",
            UseServiceTopic = false,
            TlsProjectId = "string",
            TlsTopicId = "string",
        },
    });
    
    example, err := tos.NewBucketRealtimeLog(ctx, "bucketRealtimeLogResource", &tos.BucketRealtimeLogArgs{
    	BucketName: pulumi.String("string"),
    	RealTimeLog: &tos.BucketRealtimeLogRealTimeLogArgs{
    		Role:            pulumi.String("string"),
    		UseServiceTopic: pulumi.Bool(false),
    		TlsProjectId:    pulumi.String("string"),
    		TlsTopicId:      pulumi.String("string"),
    	},
    })
    
    resource "volcenginecc_tos_bucketrealtimelog" "bucketRealtimeLogResource" {
      bucket_name = "string"
      real_time_log = {
        role              = "string"
        use_service_topic = false
        tls_project_id    = "string"
        tls_topic_id      = "string"
      }
    }
    
    var bucketRealtimeLogResource = new BucketRealtimeLog("bucketRealtimeLogResource", BucketRealtimeLogArgs.builder()
        .bucketName("string")
        .realTimeLog(BucketRealtimeLogRealTimeLogArgs.builder()
            .role("string")
            .useServiceTopic(false)
            .tlsProjectId("string")
            .tlsTopicId("string")
            .build())
        .build());
    
    bucket_realtime_log_resource = volcenginecc.tos.BucketRealtimeLog("bucketRealtimeLogResource",
        bucket_name="string",
        real_time_log={
            "role": "string",
            "use_service_topic": False,
            "tls_project_id": "string",
            "tls_topic_id": "string",
        })
    
    const bucketRealtimeLogResource = new volcenginecc.tos.BucketRealtimeLog("bucketRealtimeLogResource", {
        bucketName: "string",
        realTimeLog: {
            role: "string",
            useServiceTopic: false,
            tlsProjectId: "string",
            tlsTopicId: "string",
        },
    });
    
    type: volcenginecc:tos:BucketRealtimeLog
    properties:
        bucketName: string
        realTimeLog:
            role: string
            tlsProjectId: string
            tlsTopicId: string
            useServiceTopic: false
    

    BucketRealtimeLog 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 BucketRealtimeLog resource accepts the following input properties:

    BucketName string
    Bucket name
    RealTimeLog Volcengine.BucketRealtimeLogRealTimeLog
    Log analysis feature for the bucket
    BucketName string
    Bucket name
    RealTimeLog BucketRealtimeLogRealTimeLogArgs
    Log analysis feature for the bucket
    bucket_name string
    Bucket name
    real_time_log object
    Log analysis feature for the bucket
    bucketName String
    Bucket name
    realTimeLog BucketRealtimeLogRealTimeLog
    Log analysis feature for the bucket
    bucketName string
    Bucket name
    realTimeLog BucketRealtimeLogRealTimeLog
    Log analysis feature for the bucket
    bucket_name str
    Bucket name
    real_time_log BucketRealtimeLogRealTimeLogArgs
    Log analysis feature for the bucket
    bucketName String
    Bucket name
    realTimeLog Property Map
    Log analysis feature for the bucket

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing BucketRealtimeLog Resource

    Get an existing BucketRealtimeLog 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?: BucketRealtimeLogState, opts?: CustomResourceOptions): BucketRealtimeLog
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bucket_name: Optional[str] = None,
            real_time_log: Optional[BucketRealtimeLogRealTimeLogArgs] = None) -> BucketRealtimeLog
    func GetBucketRealtimeLog(ctx *Context, name string, id IDInput, state *BucketRealtimeLogState, opts ...ResourceOption) (*BucketRealtimeLog, error)
    public static BucketRealtimeLog Get(string name, Input<string> id, BucketRealtimeLogState? state, CustomResourceOptions? opts = null)
    public static BucketRealtimeLog get(String name, Output<String> id, BucketRealtimeLogState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:tos:BucketRealtimeLog    get:      id: ${id}
    import {
      to = volcenginecc_tos_bucketrealtimelog.example
      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.
    The following state arguments are supported:
    BucketName string
    Bucket name
    RealTimeLog Volcengine.BucketRealtimeLogRealTimeLog
    Log analysis feature for the bucket
    BucketName string
    Bucket name
    RealTimeLog BucketRealtimeLogRealTimeLogArgs
    Log analysis feature for the bucket
    bucket_name string
    Bucket name
    real_time_log object
    Log analysis feature for the bucket
    bucketName String
    Bucket name
    realTimeLog BucketRealtimeLogRealTimeLog
    Log analysis feature for the bucket
    bucketName string
    Bucket name
    realTimeLog BucketRealtimeLogRealTimeLog
    Log analysis feature for the bucket
    bucket_name str
    Bucket name
    real_time_log BucketRealtimeLogRealTimeLogArgs
    Log analysis feature for the bucket
    bucketName String
    Bucket name
    realTimeLog Property Map
    Log analysis feature for the bucket

    Supporting Types

    BucketRealtimeLogRealTimeLog, BucketRealtimeLogRealTimeLogArgs

    Role string
    Role name. Used to grant TOS Object Storage permission to create resources such as projects and topics in Log Service TLS and to write logs
    UseServiceTopic bool
    For topics created using the TOS service, only "true" is allowed as a value
    TlsProjectId string
    Log project ID
    TlsTopicId string
    Log topic ID
    Role string
    Role name. Used to grant TOS Object Storage permission to create resources such as projects and topics in Log Service TLS and to write logs
    UseServiceTopic bool
    For topics created using the TOS service, only "true" is allowed as a value
    TlsProjectId string
    Log project ID
    TlsTopicId string
    Log topic ID
    role string
    Role name. Used to grant TOS Object Storage permission to create resources such as projects and topics in Log Service TLS and to write logs
    use_service_topic bool
    For topics created using the TOS service, only "true" is allowed as a value
    tls_project_id string
    Log project ID
    tls_topic_id string
    Log topic ID
    role String
    Role name. Used to grant TOS Object Storage permission to create resources such as projects and topics in Log Service TLS and to write logs
    useServiceTopic Boolean
    For topics created using the TOS service, only "true" is allowed as a value
    tlsProjectId String
    Log project ID
    tlsTopicId String
    Log topic ID
    role string
    Role name. Used to grant TOS Object Storage permission to create resources such as projects and topics in Log Service TLS and to write logs
    useServiceTopic boolean
    For topics created using the TOS service, only "true" is allowed as a value
    tlsProjectId string
    Log project ID
    tlsTopicId string
    Log topic ID
    role str
    Role name. Used to grant TOS Object Storage permission to create resources such as projects and topics in Log Service TLS and to write logs
    use_service_topic bool
    For topics created using the TOS service, only "true" is allowed as a value
    tls_project_id str
    Log project ID
    tls_topic_id str
    Log topic ID
    role String
    Role name. Used to grant TOS Object Storage permission to create resources such as projects and topics in Log Service TLS and to write logs
    useServiceTopic Boolean
    For topics created using the TOS service, only "true" is allowed as a value
    tlsProjectId String
    Log project ID
    tlsTopicId String
    Log topic ID

    Import

    $ pulumi import volcenginecc:tos/bucketRealtimeLog:BucketRealtimeLog example "bucket_name"
    

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

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.36
    published on Thursday, May 21, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial