1. Registry
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. config
  6. ConfigurationRecorder
Viewing docs for volcenginecc v0.0.60
published on Thursday, Sep 3, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.60
published on Thursday, Sep 3, 2026 by Volcengine

    Configuration Recorder is used to record and track configuration changes for specified resource types under the Volcano Engine account

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const example = new volcenginecc.config.ConfigurationRecorder("example", {
        recorderType: "SingleAccount",
        includeAllResourceTypes: false,
        includeResourceTypes: ["Volcengine::ALB::ACL"],
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    example = volcenginecc.config.ConfigurationRecorder("example",
        recorder_type="SingleAccount",
        include_all_resource_types=False,
        include_resource_types=["Volcengine::ALB::ACL"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := config.NewConfigurationRecorder(ctx, "example", &config.ConfigurationRecorderArgs{
    			RecorderType:            pulumi.String("SingleAccount"),
    			IncludeAllResourceTypes: pulumi.Bool(false),
    			IncludeResourceTypes: pulumi.StringArray{
    				pulumi.String("Volcengine::ALB::ACL"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Volcenginecc.Config.ConfigurationRecorder("example", new()
        {
            RecorderType = "SingleAccount",
            IncludeAllResourceTypes = false,
            IncludeResourceTypes = new[]
            {
                "Volcengine::ALB::ACL",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.config.ConfigurationRecorder;
    import com.volcengine.volcenginecc.config.ConfigurationRecorderArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 ConfigurationRecorder("example", ConfigurationRecorderArgs.builder()
                .recorderType("SingleAccount")
                .includeAllResourceTypes(false)
                .includeResourceTypes("Volcengine::ALB::ACL")
                .build());
    
        }
    }
    
    resources:
      example:
        type: volcenginecc:config:ConfigurationRecorder
        properties:
          recorderType: SingleAccount
          includeAllResourceTypes: false
          includeResourceTypes:
            - Volcengine::ALB::ACL
    
    pulumi {
      required_providers {
        volcenginecc = {
          source = "pulumi/volcenginecc"
        }
      }
    }
    
    resource "volcenginecc_config_configurationrecorder" "example" {
      recorder_type              = "SingleAccount"
      include_all_resource_types = false
      include_resource_types     = ["Volcengine::ALB::ACL"]
    }
    

    Create ConfigurationRecorder Resource

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

    Constructor syntax

    new ConfigurationRecorder(name: string, args: ConfigurationRecorderArgs, opts?: CustomResourceOptions);
    @overload
    def ConfigurationRecorder(resource_name: str,
                              args: ConfigurationRecorderArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConfigurationRecorder(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              recorder_type: Optional[str] = None,
                              include_all_resource_types: Optional[bool] = None,
                              include_resource_types: Optional[Sequence[str]] = None)
    func NewConfigurationRecorder(ctx *Context, name string, args ConfigurationRecorderArgs, opts ...ResourceOption) (*ConfigurationRecorder, error)
    public ConfigurationRecorder(string name, ConfigurationRecorderArgs args, CustomResourceOptions? opts = null)
    public ConfigurationRecorder(String name, ConfigurationRecorderArgs args)
    public ConfigurationRecorder(String name, ConfigurationRecorderArgs args, CustomResourceOptions options)
    
    type: volcenginecc:config:ConfigurationRecorder
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "volcenginecc_config_configuration_recorder" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ConfigurationRecorderArgs
    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 ConfigurationRecorderArgs
    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 ConfigurationRecorderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConfigurationRecorderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConfigurationRecorderArgs
    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 configurationRecorderResource = new Volcenginecc.Config.ConfigurationRecorder("configurationRecorderResource", new()
    {
        RecorderType = "string",
        IncludeAllResourceTypes = false,
        IncludeResourceTypes = new[]
        {
            "string",
        },
    });
    
    example, err := config.NewConfigurationRecorder(ctx, "configurationRecorderResource", &config.ConfigurationRecorderArgs{
    	RecorderType:            pulumi.String("string"),
    	IncludeAllResourceTypes: pulumi.Bool(false),
    	IncludeResourceTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "volcenginecc_config_configuration_recorder" "configurationRecorderResource" {
      lifecycle {
        create_before_destroy = true
      }
      recorder_type              = "string"
      include_all_resource_types = false
      include_resource_types     = ["string"]
    }
    
    var configurationRecorderResource = new ConfigurationRecorder("configurationRecorderResource", ConfigurationRecorderArgs.builder()
        .recorderType("string")
        .includeAllResourceTypes(false)
        .includeResourceTypes("string")
        .build());
    
    configuration_recorder_resource = volcenginecc.config.ConfigurationRecorder("configurationRecorderResource",
        recorder_type="string",
        include_all_resource_types=False,
        include_resource_types=["string"])
    
    const configurationRecorderResource = new volcenginecc.config.ConfigurationRecorder("configurationRecorderResource", {
        recorderType: "string",
        includeAllResourceTypes: false,
        includeResourceTypes: ["string"],
    });
    
    type: volcenginecc:config:ConfigurationRecorder
    properties:
        includeAllResourceTypes: false
        includeResourceTypes:
            - string
        recorderType: string
    

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

    RecorderType string
    Configuration recorder type. Options: SingleAccount, Organization
    IncludeAllResourceTypes bool
    Whether to record all supported resource types
    IncludeResourceTypes List<string>
    List of specified resource types to record
    RecorderType string
    Configuration recorder type. Options: SingleAccount, Organization
    IncludeAllResourceTypes bool
    Whether to record all supported resource types
    IncludeResourceTypes []string
    List of specified resource types to record
    recorder_type string
    Configuration recorder type. Options: SingleAccount, Organization
    include_all_resource_types bool
    Whether to record all supported resource types
    include_resource_types list(string)
    List of specified resource types to record
    recorderType String
    Configuration recorder type. Options: SingleAccount, Organization
    includeAllResourceTypes Boolean
    Whether to record all supported resource types
    includeResourceTypes List<String>
    List of specified resource types to record
    recorderType string
    Configuration recorder type. Options: SingleAccount, Organization
    includeAllResourceTypes boolean
    Whether to record all supported resource types
    includeResourceTypes string[]
    List of specified resource types to record
    recorder_type str
    Configuration recorder type. Options: SingleAccount, Organization
    include_all_resource_types bool
    Whether to record all supported resource types
    include_resource_types Sequence[str]
    List of specified resource types to record
    recorderType String
    Configuration recorder type. Options: SingleAccount, Organization
    includeAllResourceTypes Boolean
    Whether to record all supported resource types
    includeResourceTypes List<String>
    List of specified resource types to record

    Outputs

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

    ConfigurationRecorderStatus string
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    CreateBy string
    Configuration recorder creation source
    Id string
    The provider-assigned unique ID for this managed resource.
    RecorderId string
    Configuration recorder ID
    RecorderName string
    Configuration recorder name
    ConfigurationRecorderStatus string
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    CreateBy string
    Configuration recorder creation source
    Id string
    The provider-assigned unique ID for this managed resource.
    RecorderId string
    Configuration recorder ID
    RecorderName string
    Configuration recorder name
    configuration_recorder_status string
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    create_by string
    Configuration recorder creation source
    id string
    The provider-assigned unique ID for this managed resource.
    recorder_id string
    Configuration recorder ID
    recorder_name string
    Configuration recorder name
    configurationRecorderStatus String
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    createBy String
    Configuration recorder creation source
    id String
    The provider-assigned unique ID for this managed resource.
    recorderId String
    Configuration recorder ID
    recorderName String
    Configuration recorder name
    configurationRecorderStatus string
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    createBy string
    Configuration recorder creation source
    id string
    The provider-assigned unique ID for this managed resource.
    recorderId string
    Configuration recorder ID
    recorderName string
    Configuration recorder name
    configuration_recorder_status str
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    create_by str
    Configuration recorder creation source
    id str
    The provider-assigned unique ID for this managed resource.
    recorder_id str
    Configuration recorder ID
    recorder_name str
    Configuration recorder name
    configurationRecorderStatus String
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    createBy String
    Configuration recorder creation source
    id String
    The provider-assigned unique ID for this managed resource.
    recorderId String
    Configuration recorder ID
    recorderName String
    Configuration recorder name

    Look up Existing ConfigurationRecorder Resource

    Get an existing ConfigurationRecorder 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?: ConfigurationRecorderState, opts?: CustomResourceOptions): ConfigurationRecorder
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configuration_recorder_status: Optional[str] = None,
            create_by: Optional[str] = None,
            include_all_resource_types: Optional[bool] = None,
            include_resource_types: Optional[Sequence[str]] = None,
            recorder_id: Optional[str] = None,
            recorder_name: Optional[str] = None,
            recorder_type: Optional[str] = None) -> ConfigurationRecorder
    func GetConfigurationRecorder(ctx *Context, name string, id IDInput, state *ConfigurationRecorderState, opts ...ResourceOption) (*ConfigurationRecorder, error)
    public static ConfigurationRecorder Get(string name, Input<string> id, ConfigurationRecorderState? state, CustomResourceOptions? opts = null)
    public static ConfigurationRecorder get(String name, Output<String> id, ConfigurationRecorderState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:config:ConfigurationRecorder    get:      id: ${id}
    import {
      to = volcenginecc_config_configuration_recorder.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:
    ConfigurationRecorderStatus string
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    CreateBy string
    Configuration recorder creation source
    IncludeAllResourceTypes bool
    Whether to record all supported resource types
    IncludeResourceTypes List<string>
    List of specified resource types to record
    RecorderId string
    Configuration recorder ID
    RecorderName string
    Configuration recorder name
    RecorderType string
    Configuration recorder type. Options: SingleAccount, Organization
    ConfigurationRecorderStatus string
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    CreateBy string
    Configuration recorder creation source
    IncludeAllResourceTypes bool
    Whether to record all supported resource types
    IncludeResourceTypes []string
    List of specified resource types to record
    RecorderId string
    Configuration recorder ID
    RecorderName string
    Configuration recorder name
    RecorderType string
    Configuration recorder type. Options: SingleAccount, Organization
    configuration_recorder_status string
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    create_by string
    Configuration recorder creation source
    include_all_resource_types bool
    Whether to record all supported resource types
    include_resource_types list(string)
    List of specified resource types to record
    recorder_id string
    Configuration recorder ID
    recorder_name string
    Configuration recorder name
    recorder_type string
    Configuration recorder type. Options: SingleAccount, Organization
    configurationRecorderStatus String
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    createBy String
    Configuration recorder creation source
    includeAllResourceTypes Boolean
    Whether to record all supported resource types
    includeResourceTypes List<String>
    List of specified resource types to record
    recorderId String
    Configuration recorder ID
    recorderName String
    Configuration recorder name
    recorderType String
    Configuration recorder type. Options: SingleAccount, Organization
    configurationRecorderStatus string
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    createBy string
    Configuration recorder creation source
    includeAllResourceTypes boolean
    Whether to record all supported resource types
    includeResourceTypes string[]
    List of specified resource types to record
    recorderId string
    Configuration recorder ID
    recorderName string
    Configuration recorder name
    recorderType string
    Configuration recorder type. Options: SingleAccount, Organization
    configuration_recorder_status str
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    create_by str
    Configuration recorder creation source
    include_all_resource_types bool
    Whether to record all supported resource types
    include_resource_types Sequence[str]
    List of specified resource types to record
    recorder_id str
    Configuration recorder ID
    recorder_name str
    Configuration recorder name
    recorder_type str
    Configuration recorder type. Options: SingleAccount, Organization
    configurationRecorderStatus String
    Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
    createBy String
    Configuration recorder creation source
    includeAllResourceTypes Boolean
    Whether to record all supported resource types
    includeResourceTypes List<String>
    List of specified resource types to record
    recorderId String
    Configuration recorder ID
    recorderName String
    Configuration recorder name
    recorderType String
    Configuration recorder type. Options: SingleAccount, Organization

    Import

    $ pulumi import volcenginecc:config/configurationRecorder:ConfigurationRecorder example "recorder_type"
    

    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.60
    published on Thursday, Sep 3, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial