published on Thursday, Sep 3, 2026 by Volcengine
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:
- Recorder
Type string - Configuration recorder type. Options: SingleAccount, Organization
- Include
All boolResource Types - Whether to record all supported resource types
- Include
Resource List<string>Types - List of specified resource types to record
- Recorder
Type string - Configuration recorder type. Options: SingleAccount, Organization
- Include
All boolResource Types - Whether to record all supported resource types
- Include
Resource []stringTypes - List of specified resource types to record
- recorder_
type string - Configuration recorder type. Options: SingleAccount, Organization
- include_
all_ boolresource_ types - Whether to record all supported resource types
- include_
resource_ list(string)types - List of specified resource types to record
- recorder
Type String - Configuration recorder type. Options: SingleAccount, Organization
- include
All BooleanResource Types - Whether to record all supported resource types
- include
Resource List<String>Types - List of specified resource types to record
- recorder
Type string - Configuration recorder type. Options: SingleAccount, Organization
- include
All booleanResource Types - Whether to record all supported resource types
- include
Resource string[]Types - List of specified resource types to record
- recorder_
type str - Configuration recorder type. Options: SingleAccount, Organization
- include_
all_ boolresource_ types - Whether to record all supported resource types
- include_
resource_ Sequence[str]types - List of specified resource types to record
- recorder
Type String - Configuration recorder type. Options: SingleAccount, Organization
- include
All BooleanResource Types - Whether to record all supported resource types
- include
Resource List<String>Types - 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:
- Configuration
Recorder stringStatus - 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
- Configuration
Recorder stringStatus - 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
- configuration_
recorder_ stringstatus - 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
- configuration
Recorder StringStatus - 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
- configuration
Recorder stringStatus - 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
- configuration_
recorder_ strstatus - 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
- configuration
Recorder StringStatus - 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
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) -> ConfigurationRecorderfunc 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.
- Configuration
Recorder stringStatus - Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
- Create
By string - Configuration recorder creation source
- Include
All boolResource Types - Whether to record all supported resource types
- Include
Resource List<string>Types - 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
- Configuration
Recorder stringStatus - Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
- Create
By string - Configuration recorder creation source
- Include
All boolResource Types - Whether to record all supported resource types
- Include
Resource []stringTypes - 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
- configuration_
recorder_ stringstatus - Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
- create_
by string - Configuration recorder creation source
- include_
all_ boolresource_ types - Whether to record all supported resource types
- include_
resource_ list(string)types - 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
- configuration
Recorder StringStatus - Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
- create
By String - Configuration recorder creation source
- include
All BooleanResource Types - Whether to record all supported resource types
- include
Resource List<String>Types - 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
- configuration
Recorder stringStatus - Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
- create
By string - Configuration recorder creation source
- include
All booleanResource Types - Whether to record all supported resource types
- include
Resource string[]Types - 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
- configuration_
recorder_ strstatus - Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
- create_
by str - Configuration recorder creation source
- include_
all_ boolresource_ types - Whether to record all supported resource types
- include_
resource_ Sequence[str]types - 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
- configuration
Recorder StringStatus - Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
- create
By String - Configuration recorder creation source
- include
All BooleanResource Types - Whether to record all supported resource types
- include
Resource List<String>Types - 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
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
volcengineccTerraform Provider.
published on Thursday, Sep 3, 2026 by Volcengine