published on Thursday, Aug 20, 2026 by jschady
published on Thursday, Aug 20, 2026 by jschady
A Child Site Management Policy is a centralized policy defined by a parent site to enforce consistent configurations across child sites. These policies allow parent sites to maintain control over specific aspects of their child sites’ functionality and appearance.
Non-default policies apply only to the child sites listed in childSiteIds, and each child site can be explicitly assigned to only one policy.
One policy can be designated as the default policy. It applies to every child site not explicitly assigned to another policy or listed in its skipChildSiteIds, including newly created child sites. Only a default policy can exclude child sites. The value field contains the policy configuration data, with the format varying based on the policy type. When a policy is active, its managed configurations are automatically enforced on applicable child sites, and attribute modifications are not permitted.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as filescom from "pulumi-filescom";
const exampleChildSiteManagementPolicy = new filescom.ChildSiteManagementPolicy("example_child_site_management_policy", {
value: {
color2Left: "#000000",
},
skipChildSiteIds: [
1,
2,
],
childSiteIds: [
1,
2,
],
defaultPolicy: true,
policyType: "settings",
name: "example",
description: "example",
});
import pulumi
import pulumi_filescom as filescom
example_child_site_management_policy = filescom.ChildSiteManagementPolicy("example_child_site_management_policy",
value={
"color2Left": "#000000",
},
skip_child_site_ids=[
1,
2,
],
child_site_ids=[
1,
2,
],
default_policy=True,
policy_type="settings",
name="example",
description="example")
package main
import (
"github.com/jschady/pulumi-filescom/sdk/go/filescom"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := filescom.NewChildSiteManagementPolicy(ctx, "example_child_site_management_policy", &filescom.ChildSiteManagementPolicyArgs{
Value: pulumi.Any(map[string]interface{}{
"color2Left": "#000000",
}),
SkipChildSiteIds: pulumi.IntArray{
pulumi.Int(1),
pulumi.Int(2),
},
ChildSiteIds: pulumi.IntArray{
pulumi.Int(1),
pulumi.Int(2),
},
DefaultPolicy: pulumi.Bool(true),
PolicyType: pulumi.String("settings"),
Name: pulumi.String("example"),
Description: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Filescom = Jschady.Filescom;
return await Deployment.RunAsync(() =>
{
var exampleChildSiteManagementPolicy = new Filescom.ChildSiteManagementPolicy("example_child_site_management_policy", new()
{
Value = new Dictionary<string, object?>
{
["color2Left"] = "#000000",
},
SkipChildSiteIds = new[]
{
1,
2,
},
ChildSiteIds = new[]
{
1,
2,
},
DefaultPolicy = true,
PolicyType = "settings",
Name = "example",
Description = "example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.filescom.ChildSiteManagementPolicy;
import com.pulumi.filescom.ChildSiteManagementPolicyArgs;
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 exampleChildSiteManagementPolicy = new ChildSiteManagementPolicy("exampleChildSiteManagementPolicy", ChildSiteManagementPolicyArgs.builder()
.value(Map.of("color2Left", "#000000"))
.skipChildSiteIds(
1,
2)
.childSiteIds(
1,
2)
.defaultPolicy(true)
.policyType("settings")
.name("example")
.description("example")
.build());
}
}
resources:
exampleChildSiteManagementPolicy:
type: filescom:ChildSiteManagementPolicy
name: example_child_site_management_policy
properties:
value:
color2Left: '#000000'
skipChildSiteIds:
- 1
- 2
childSiteIds:
- 1
- 2
defaultPolicy: true
policyType: settings
name: example
description: example
pulumi {
required_providers {
filescom = {
source = "pulumi/filescom"
}
}
}
resource "filescom_childsitemanagementpolicy" "example_child_site_management_policy" {
value = {
"color2Left" = "#000000"
}
skip_child_site_ids = [1, 2]
child_site_ids = [1, 2]
default_policy = true
policy_type = "settings"
name = "example"
description = "example"
}
Create ChildSiteManagementPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ChildSiteManagementPolicy(name: string, args: ChildSiteManagementPolicyArgs, opts?: CustomResourceOptions);@overload
def ChildSiteManagementPolicy(resource_name: str,
args: ChildSiteManagementPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ChildSiteManagementPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
policy_type: Optional[str] = None,
child_site_ids: Optional[Sequence[int]] = None,
default_policy: Optional[bool] = None,
description: Optional[str] = None,
name: Optional[str] = None,
skip_child_site_ids: Optional[Sequence[int]] = None,
value: Optional[Any] = None)func NewChildSiteManagementPolicy(ctx *Context, name string, args ChildSiteManagementPolicyArgs, opts ...ResourceOption) (*ChildSiteManagementPolicy, error)public ChildSiteManagementPolicy(string name, ChildSiteManagementPolicyArgs args, CustomResourceOptions? opts = null)
public ChildSiteManagementPolicy(String name, ChildSiteManagementPolicyArgs args)
public ChildSiteManagementPolicy(String name, ChildSiteManagementPolicyArgs args, CustomResourceOptions options)
type: filescom:ChildSiteManagementPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "filescom_child_site_management_policy" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ChildSiteManagementPolicyArgs
- 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 ChildSiteManagementPolicyArgs
- 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 ChildSiteManagementPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ChildSiteManagementPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ChildSiteManagementPolicyArgs
- 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 childSiteManagementPolicyResource = new Filescom.ChildSiteManagementPolicy("childSiteManagementPolicyResource", new()
{
PolicyType = "string",
ChildSiteIds = new[]
{
0,
},
DefaultPolicy = false,
Description = "string",
Name = "string",
SkipChildSiteIds = new[]
{
0,
},
Value = "any",
});
example, err := filescom.NewChildSiteManagementPolicy(ctx, "childSiteManagementPolicyResource", &filescom.ChildSiteManagementPolicyArgs{
PolicyType: pulumi.String("string"),
ChildSiteIds: pulumi.IntArray{
pulumi.Int(0),
},
DefaultPolicy: pulumi.Bool(false),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
SkipChildSiteIds: pulumi.IntArray{
pulumi.Int(0),
},
Value: pulumi.Any("any"),
})
resource "filescom_child_site_management_policy" "childSiteManagementPolicyResource" {
lifecycle {
create_before_destroy = true
}
policy_type = "string"
child_site_ids = [0]
default_policy = false
description = "string"
name = "string"
skip_child_site_ids = [0]
value = "any"
}
var childSiteManagementPolicyResource = new ChildSiteManagementPolicy("childSiteManagementPolicyResource", ChildSiteManagementPolicyArgs.builder()
.policyType("string")
.childSiteIds(0)
.defaultPolicy(false)
.description("string")
.name("string")
.skipChildSiteIds(0)
.value("any")
.build());
child_site_management_policy_resource = filescom.ChildSiteManagementPolicy("childSiteManagementPolicyResource",
policy_type="string",
child_site_ids=[0],
default_policy=False,
description="string",
name="string",
skip_child_site_ids=[0],
value="any")
const childSiteManagementPolicyResource = new filescom.ChildSiteManagementPolicy("childSiteManagementPolicyResource", {
policyType: "string",
childSiteIds: [0],
defaultPolicy: false,
description: "string",
name: "string",
skipChildSiteIds: [0],
value: "any",
});
type: filescom:ChildSiteManagementPolicy
properties:
childSiteIds:
- 0
defaultPolicy: false
description: string
name: string
policyType: string
skipChildSiteIds:
- 0
value: any
ChildSiteManagementPolicy 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 ChildSiteManagementPolicy resource accepts the following input properties:
- Policy
Type string - Type of policy. Valid values:
settings. - Child
Site List<int>Ids - IDs of child sites explicitly assigned to this non-default policy.
- Default
Policy bool - Whether this policy applies to child sites not explicitly assigned to another policy.
- Description string
- Description for this policy.
- Name string
- Name for this policy.
- Skip
Child List<int>Site Ids - IDs of child sites excluded from this default policy.
- Value object
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
- Policy
Type string - Type of policy. Valid values:
settings. - Child
Site []intIds - IDs of child sites explicitly assigned to this non-default policy.
- Default
Policy bool - Whether this policy applies to child sites not explicitly assigned to another policy.
- Description string
- Description for this policy.
- Name string
- Name for this policy.
- Skip
Child []intSite Ids - IDs of child sites excluded from this default policy.
- Value interface{}
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
- policy_
type string - Type of policy. Valid values:
settings. - child_
site_ list(number)ids - IDs of child sites explicitly assigned to this non-default policy.
- default_
policy bool - Whether this policy applies to child sites not explicitly assigned to another policy.
- description string
- Description for this policy.
- name string
- Name for this policy.
- skip_
child_ list(number)site_ ids - IDs of child sites excluded from this default policy.
- value any
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
- policy
Type String - Type of policy. Valid values:
settings. - child
Site List<Integer>Ids - IDs of child sites explicitly assigned to this non-default policy.
- default
Policy Boolean - Whether this policy applies to child sites not explicitly assigned to another policy.
- description String
- Description for this policy.
- name String
- Name for this policy.
- skip
Child List<Integer>Site Ids - IDs of child sites excluded from this default policy.
- value Object
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
- policy
Type string - Type of policy. Valid values:
settings. - child
Site number[]Ids - IDs of child sites explicitly assigned to this non-default policy.
- default
Policy boolean - Whether this policy applies to child sites not explicitly assigned to another policy.
- description string
- Description for this policy.
- name string
- Name for this policy.
- skip
Child number[]Site Ids - IDs of child sites excluded from this default policy.
- value any
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
- policy_
type str - Type of policy. Valid values:
settings. - child_
site_ Sequence[int]ids - IDs of child sites explicitly assigned to this non-default policy.
- default_
policy bool - Whether this policy applies to child sites not explicitly assigned to another policy.
- description str
- Description for this policy.
- name str
- Name for this policy.
- skip_
child_ Sequence[int]site_ ids - IDs of child sites excluded from this default policy.
- value Any
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
- policy
Type String - Type of policy. Valid values:
settings. - child
Site List<Number>Ids - IDs of child sites explicitly assigned to this non-default policy.
- default
Policy Boolean - Whether this policy applies to child sites not explicitly assigned to another policy.
- description String
- Description for this policy.
- name String
- Name for this policy.
- skip
Child List<Number>Site Ids - IDs of child sites excluded from this default policy.
- value Any
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
Outputs
All input properties are implicitly available as output properties. Additionally, the ChildSiteManagementPolicy resource produces the following output properties:
- Applied
Child List<int>Site Ids - IDs of child sites that this policy has been applied to. This field is read-only.
- Created
At string - When this policy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - When this policy was last updated.
- Applied
Child []intSite Ids - IDs of child sites that this policy has been applied to. This field is read-only.
- Created
At string - When this policy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - When this policy was last updated.
- applied_
child_ list(number)site_ ids - IDs of child sites that this policy has been applied to. This field is read-only.
- created_
at string - When this policy was created.
- id string
- The provider-assigned unique ID for this managed resource.
- updated_
at string - When this policy was last updated.
- applied
Child List<Integer>Site Ids - IDs of child sites that this policy has been applied to. This field is read-only.
- created
At String - When this policy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- updated
At String - When this policy was last updated.
- applied
Child number[]Site Ids - IDs of child sites that this policy has been applied to. This field is read-only.
- created
At string - When this policy was created.
- id string
- The provider-assigned unique ID for this managed resource.
- updated
At string - When this policy was last updated.
- applied_
child_ Sequence[int]site_ ids - IDs of child sites that this policy has been applied to. This field is read-only.
- created_
at str - When this policy was created.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - When this policy was last updated.
- applied
Child List<Number>Site Ids - IDs of child sites that this policy has been applied to. This field is read-only.
- created
At String - When this policy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- updated
At String - When this policy was last updated.
Look up Existing ChildSiteManagementPolicy Resource
Get an existing ChildSiteManagementPolicy 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?: ChildSiteManagementPolicyState, opts?: CustomResourceOptions): ChildSiteManagementPolicy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
applied_child_site_ids: Optional[Sequence[int]] = None,
child_site_ids: Optional[Sequence[int]] = None,
created_at: Optional[str] = None,
default_policy: Optional[bool] = None,
description: Optional[str] = None,
name: Optional[str] = None,
policy_type: Optional[str] = None,
skip_child_site_ids: Optional[Sequence[int]] = None,
updated_at: Optional[str] = None,
value: Optional[Any] = None) -> ChildSiteManagementPolicyfunc GetChildSiteManagementPolicy(ctx *Context, name string, id IDInput, state *ChildSiteManagementPolicyState, opts ...ResourceOption) (*ChildSiteManagementPolicy, error)public static ChildSiteManagementPolicy Get(string name, Input<string> id, ChildSiteManagementPolicyState? state, CustomResourceOptions? opts = null)public static ChildSiteManagementPolicy get(String name, Output<String> id, ChildSiteManagementPolicyState state, CustomResourceOptions options)resources: _: type: filescom:ChildSiteManagementPolicy get: id: ${id}import {
to = filescom_child_site_management_policy.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.
- Applied
Child List<int>Site Ids - IDs of child sites that this policy has been applied to. This field is read-only.
- Child
Site List<int>Ids - IDs of child sites explicitly assigned to this non-default policy.
- Created
At string - When this policy was created.
- Default
Policy bool - Whether this policy applies to child sites not explicitly assigned to another policy.
- Description string
- Description for this policy.
- Name string
- Name for this policy.
- Policy
Type string - Type of policy. Valid values:
settings. - Skip
Child List<int>Site Ids - IDs of child sites excluded from this default policy.
- Updated
At string - When this policy was last updated.
- Value object
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
- Applied
Child []intSite Ids - IDs of child sites that this policy has been applied to. This field is read-only.
- Child
Site []intIds - IDs of child sites explicitly assigned to this non-default policy.
- Created
At string - When this policy was created.
- Default
Policy bool - Whether this policy applies to child sites not explicitly assigned to another policy.
- Description string
- Description for this policy.
- Name string
- Name for this policy.
- Policy
Type string - Type of policy. Valid values:
settings. - Skip
Child []intSite Ids - IDs of child sites excluded from this default policy.
- Updated
At string - When this policy was last updated.
- Value interface{}
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
- applied_
child_ list(number)site_ ids - IDs of child sites that this policy has been applied to. This field is read-only.
- child_
site_ list(number)ids - IDs of child sites explicitly assigned to this non-default policy.
- created_
at string - When this policy was created.
- default_
policy bool - Whether this policy applies to child sites not explicitly assigned to another policy.
- description string
- Description for this policy.
- name string
- Name for this policy.
- policy_
type string - Type of policy. Valid values:
settings. - skip_
child_ list(number)site_ ids - IDs of child sites excluded from this default policy.
- updated_
at string - When this policy was last updated.
- value any
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
- applied
Child List<Integer>Site Ids - IDs of child sites that this policy has been applied to. This field is read-only.
- child
Site List<Integer>Ids - IDs of child sites explicitly assigned to this non-default policy.
- created
At String - When this policy was created.
- default
Policy Boolean - Whether this policy applies to child sites not explicitly assigned to another policy.
- description String
- Description for this policy.
- name String
- Name for this policy.
- policy
Type String - Type of policy. Valid values:
settings. - skip
Child List<Integer>Site Ids - IDs of child sites excluded from this default policy.
- updated
At String - When this policy was last updated.
- value Object
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
- applied
Child number[]Site Ids - IDs of child sites that this policy has been applied to. This field is read-only.
- child
Site number[]Ids - IDs of child sites explicitly assigned to this non-default policy.
- created
At string - When this policy was created.
- default
Policy boolean - Whether this policy applies to child sites not explicitly assigned to another policy.
- description string
- Description for this policy.
- name string
- Name for this policy.
- policy
Type string - Type of policy. Valid values:
settings. - skip
Child number[]Site Ids - IDs of child sites excluded from this default policy.
- updated
At string - When this policy was last updated.
- value any
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
- applied_
child_ Sequence[int]site_ ids - IDs of child sites that this policy has been applied to. This field is read-only.
- child_
site_ Sequence[int]ids - IDs of child sites explicitly assigned to this non-default policy.
- created_
at str - When this policy was created.
- default_
policy bool - Whether this policy applies to child sites not explicitly assigned to another policy.
- description str
- Description for this policy.
- name str
- Name for this policy.
- policy_
type str - Type of policy. Valid values:
settings. - skip_
child_ Sequence[int]site_ ids - IDs of child sites excluded from this default policy.
- updated_
at str - When this policy was last updated.
- value Any
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
- applied
Child List<Number>Site Ids - IDs of child sites that this policy has been applied to. This field is read-only.
- child
Site List<Number>Ids - IDs of child sites explicitly assigned to this non-default policy.
- created
At String - When this policy was created.
- default
Policy Boolean - Whether this policy applies to child sites not explicitly assigned to another policy.
- description String
- Description for this policy.
- name String
- Name for this policy.
- policy
Type String - Type of policy. Valid values:
settings. - skip
Child List<Number>Site Ids - IDs of child sites excluded from this default policy.
- updated
At String - When this policy was last updated.
- value Any
- Policy configuration data. Settings policies accept site settings plus an optional
folderBehaviorsarray for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
Import
The pulumi import command can be used, for example:
Child Site Management Policies can be imported by specifying the id.
$ pulumi import filescom:index/childSiteManagementPolicy:ChildSiteManagementPolicy example_child_site_management_policy 1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- filescom jschady/pulumi-filescom
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
filescomTerraform Provider.
published on Thursday, Aug 20, 2026 by jschady