+++ title = "About the Custom Resource DSL" draft = false
aliases = ["/dsl_custom_resource.html"]
[menu] [menu.docs] title = "Custom Resources DSL" identifier = "chef_infra/cookbook_reference/dsl_custom_resource.md Custom Resources DSL" parent = "chef_infra/cookbook_reference" weight = 70 +++
Use the Custom Resource DSL to define property behaviors within custom resources, such as:
- Loading the value of a specific property
- Comparing the current property value against a desired property value
- Telling Chef Infra Client when and how to make changes
{{% dsl_custom_resource_method_converge_if_changed_multiple %}}
{{% dsl_custom_resource_method_converge_if_changed %}}
{{% dsl_custom_resource_method_converge_if_changed_multiple %}}
{{% dsl_custom_resource_method_default_action %}}
{{% dsl_custom_resource_method_load_current_value %}}
{{% dsl_custom_resource_method_new_resource %}}
{{% dsl_custom_resource_method_property %}}
{{% dsl_custom_resource_method_property_ruby_type %}}
{{% dsl_custom_resource_method_property_validation_parameter %}}
{{% dsl_custom_resource_method_property_desired_state %}}
{{% dsl_custom_resource_method_property_identity %}}
{{% dsl_custom_resource_method_property_block_argument %}}
{{% dsl_custom_resource_method_property_is_set %}}
{{% dsl_custom_resource_method_provides %}}
{{% dsl_custom_resource_method_provides_override %}}
{{% dsl_custom_resource_method_reset_property %}}
{{< note >}}
{{% ruby_style_patterns_hyphens %}}
{{< /note >}}
{{% dsl_custom_resource_method_resource_name %}}
{{% dsl_custom_resource_method_resource_name_example %}}