published on Thursday, Aug 20, 2026 by jschady
published on Thursday, Aug 20, 2026 by jschady
A Holiday Calendar defines site-wide holiday dates and optional partial-day windows that scheduled resources skip.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as filescom from "pulumi-filescom";
const exampleHolidayCalendar = new filescom.HolidayCalendar("example_holiday_calendar", {
definition: {
months: {
"0": {
calculatedRules: [{
name: "Good Friday",
"function": "easter(year)",
functionModifier: -2,
}],
},
"1": {
fixedRules: [{
name: "New Year's Day",
mday: 1,
observed: "to_weekday_if_weekend(date)",
}],
weekdayRules: [{
name: "Third Monday",
week: 3,
wday: 1,
}],
},
"11": {
weekdayRules: [{
name: "Thanksgiving",
week: 4,
wday: 4,
}],
},
"12": {
fixedRules: [{
name: "Christmas Eve Early Close",
mday: 24,
startTime: "13:00",
endTime: "17:00",
yearRanges: {
from: 2026,
},
}],
},
},
},
name: "Company Holidays",
});
import pulumi
import pulumi_filescom as filescom
example_holiday_calendar = filescom.HolidayCalendar("example_holiday_calendar",
definition={
"months": {
"0": {
"calculated_rules": [{
"name": "Good Friday",
"function": "easter(year)",
"function_modifier": -2,
}],
},
"1": {
"fixed_rules": [{
"name": "New Year's Day",
"mday": 1,
"observed": "to_weekday_if_weekend(date)",
}],
"weekday_rules": [{
"name": "Third Monday",
"week": 3,
"wday": 1,
}],
},
"11": {
"weekday_rules": [{
"name": "Thanksgiving",
"week": 4,
"wday": 4,
}],
},
"12": {
"fixed_rules": [{
"name": "Christmas Eve Early Close",
"mday": 24,
"start_time": "13:00",
"end_time": "17:00",
"year_ranges": {
"from_": 2026,
},
}],
},
},
},
name="Company Holidays")
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.NewHolidayCalendar(ctx, "example_holiday_calendar", &filescom.HolidayCalendarArgs{
Definition: &filescom.HolidayCalendarDefinitionArgs{
Months: filescom.HolidayCalendarDefinitionMonthsMap{
"0": &filescom.HolidayCalendarDefinitionMonthsArgs{
CalculatedRules: filescom.HolidayCalendarDefinitionMonthsCalculatedRuleArray{
&filescom.HolidayCalendarDefinitionMonthsCalculatedRuleArgs{
Name: pulumi.String("Good Friday"),
Function: pulumi.String("easter(year)"),
FunctionModifier: pulumi.Int(-2),
},
},
},
"1": &filescom.HolidayCalendarDefinitionMonthsArgs{
FixedRules: filescom.HolidayCalendarDefinitionMonthsFixedRuleArray{
&filescom.HolidayCalendarDefinitionMonthsFixedRuleArgs{
Name: pulumi.String("New Year's Day"),
Mday: pulumi.Int(1),
Observed: pulumi.String("to_weekday_if_weekend(date)"),
},
},
WeekdayRules: filescom.HolidayCalendarDefinitionMonthsWeekdayRuleArray{
&filescom.HolidayCalendarDefinitionMonthsWeekdayRuleArgs{
Name: pulumi.String("Third Monday"),
Week: pulumi.Int(3),
Wday: pulumi.Int(1),
},
},
},
"11": &filescom.HolidayCalendarDefinitionMonthsArgs{
WeekdayRules: filescom.HolidayCalendarDefinitionMonthsWeekdayRuleArray{
&filescom.HolidayCalendarDefinitionMonthsWeekdayRuleArgs{
Name: pulumi.String("Thanksgiving"),
Week: pulumi.Int(4),
Wday: pulumi.Int(4),
},
},
},
"12": &filescom.HolidayCalendarDefinitionMonthsArgs{
FixedRules: filescom.HolidayCalendarDefinitionMonthsFixedRuleArray{
&filescom.HolidayCalendarDefinitionMonthsFixedRuleArgs{
Name: pulumi.String("Christmas Eve Early Close"),
Mday: pulumi.Int(24),
StartTime: pulumi.String("13:00"),
EndTime: pulumi.String("17:00"),
YearRanges: &filescom.HolidayCalendarDefinitionMonthsFixedRuleYearRangesArgs{
From: pulumi.Int(2026),
},
},
},
},
},
},
Name: pulumi.String("Company Holidays"),
})
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 exampleHolidayCalendar = new Filescom.HolidayCalendar("example_holiday_calendar", new()
{
Definition = new Filescom.Inputs.HolidayCalendarDefinitionArgs
{
Months =
{
{ "0", new Filescom.Inputs.HolidayCalendarDefinitionMonthsArgs
{
CalculatedRules = new[]
{
new Filescom.Inputs.HolidayCalendarDefinitionMonthsCalculatedRuleArgs
{
Name = "Good Friday",
Function = "easter(year)",
FunctionModifier = -2,
},
},
} },
{ "1", new Filescom.Inputs.HolidayCalendarDefinitionMonthsArgs
{
FixedRules = new[]
{
new Filescom.Inputs.HolidayCalendarDefinitionMonthsFixedRuleArgs
{
Name = "New Year's Day",
Mday = 1,
Observed = "to_weekday_if_weekend(date)",
},
},
WeekdayRules = new[]
{
new Filescom.Inputs.HolidayCalendarDefinitionMonthsWeekdayRuleArgs
{
Name = "Third Monday",
Week = 3,
Wday = 1,
},
},
} },
{ "11", new Filescom.Inputs.HolidayCalendarDefinitionMonthsArgs
{
WeekdayRules = new[]
{
new Filescom.Inputs.HolidayCalendarDefinitionMonthsWeekdayRuleArgs
{
Name = "Thanksgiving",
Week = 4,
Wday = 4,
},
},
} },
{ "12", new Filescom.Inputs.HolidayCalendarDefinitionMonthsArgs
{
FixedRules = new[]
{
new Filescom.Inputs.HolidayCalendarDefinitionMonthsFixedRuleArgs
{
Name = "Christmas Eve Early Close",
Mday = 24,
StartTime = "13:00",
EndTime = "17:00",
YearRanges = new Filescom.Inputs.HolidayCalendarDefinitionMonthsFixedRuleYearRangesArgs
{
From = 2026,
},
},
},
} },
},
},
Name = "Company Holidays",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.filescom.HolidayCalendar;
import com.pulumi.filescom.HolidayCalendarArgs;
import com.pulumi.filescom.inputs.HolidayCalendarDefinitionArgs;
import com.pulumi.filescom.inputs.HolidayCalendarDefinitionMonthsArgs;
import com.pulumi.filescom.inputs.HolidayCalendarDefinitionMonthsCalculatedRuleArgs;
import com.pulumi.filescom.inputs.HolidayCalendarDefinitionMonthsFixedRuleArgs;
import com.pulumi.filescom.inputs.HolidayCalendarDefinitionMonthsWeekdayRuleArgs;
import com.pulumi.filescom.inputs.HolidayCalendarDefinitionMonthsFixedRuleYearRangesArgs;
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 exampleHolidayCalendar = new HolidayCalendar("exampleHolidayCalendar", HolidayCalendarArgs.builder()
.definition(HolidayCalendarDefinitionArgs.builder()
.months(Map.ofEntries(
Map.entry("0", HolidayCalendarDefinitionMonthsArgs.builder()
.calculatedRules(HolidayCalendarDefinitionMonthsCalculatedRuleArgs.builder()
.name("Good Friday")
.function("easter(year)")
.functionModifier(-2)
.build())
.build()),
Map.entry("1", HolidayCalendarDefinitionMonthsArgs.builder()
.fixedRules(HolidayCalendarDefinitionMonthsFixedRuleArgs.builder()
.name("New Year's Day")
.mday(1)
.observed("to_weekday_if_weekend(date)")
.build())
.weekdayRules(HolidayCalendarDefinitionMonthsWeekdayRuleArgs.builder()
.name("Third Monday")
.week(3)
.wday(1)
.build())
.build()),
Map.entry("11", HolidayCalendarDefinitionMonthsArgs.builder()
.weekdayRules(HolidayCalendarDefinitionMonthsWeekdayRuleArgs.builder()
.name("Thanksgiving")
.week(4)
.wday(4)
.build())
.build()),
Map.entry("12", HolidayCalendarDefinitionMonthsArgs.builder()
.fixedRules(HolidayCalendarDefinitionMonthsFixedRuleArgs.builder()
.name("Christmas Eve Early Close")
.mday(24)
.startTime("13:00")
.endTime("17:00")
.yearRanges(HolidayCalendarDefinitionMonthsFixedRuleYearRangesArgs.builder()
.from(2026)
.build())
.build())
.build())
))
.build())
.name("Company Holidays")
.build());
}
}
resources:
exampleHolidayCalendar:
type: filescom:HolidayCalendar
name: example_holiday_calendar
properties:
definition:
months:
'0':
calculatedRules:
- name: Good Friday
function: easter(year)
functionModifier: -2
'1':
fixedRules:
- name: New Year's Day
mday: 1
observed: to_weekday_if_weekend(date)
weekdayRules:
- name: Third Monday
week: 3
wday: 1
'11':
weekdayRules:
- name: Thanksgiving
week: 4
wday: 4
'12':
fixedRules:
- name: Christmas Eve Early Close
mday: 24
startTime: 13:00
endTime: 17:00
yearRanges:
from: 2026
name: Company Holidays
pulumi {
required_providers {
filescom = {
source = "pulumi/filescom"
}
}
}
resource "filescom_holidaycalendar" "example_holiday_calendar" {
definition = {
months = {
"0" = {
calculated_rules = [{
"name" = "Good Friday"
"function" = "easter(year)"
"functionModifier" = -2
}]
}
"1" = {
fixed_rules = [{
"name" = "New Year's Day"
"mday" = 1
"observed" = "to_weekday_if_weekend(date)"
}]
weekday_rules = [{
"name" = "Third Monday"
"week" = 3
"wday" = 1
}]
}
"11" = {
weekday_rules = [{
"name" = "Thanksgiving"
"week" = 4
"wday" = 4
}]
}
"12" = {
fixed_rules = [{
"name" = "Christmas Eve Early Close"
"mday" = 24
"startTime" = "13:00"
"endTime" = "17:00"
"yearRanges" = {
"from" = 2026
}
}]
}
}
}
name = "Company Holidays"
}
Create HolidayCalendar Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HolidayCalendar(name: string, args: HolidayCalendarArgs, opts?: CustomResourceOptions);@overload
def HolidayCalendar(resource_name: str,
args: HolidayCalendarArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HolidayCalendar(resource_name: str,
opts: Optional[ResourceOptions] = None,
definition: Optional[HolidayCalendarDefinitionArgs] = None,
name: Optional[str] = None)func NewHolidayCalendar(ctx *Context, name string, args HolidayCalendarArgs, opts ...ResourceOption) (*HolidayCalendar, error)public HolidayCalendar(string name, HolidayCalendarArgs args, CustomResourceOptions? opts = null)
public HolidayCalendar(String name, HolidayCalendarArgs args)
public HolidayCalendar(String name, HolidayCalendarArgs args, CustomResourceOptions options)
type: filescom:HolidayCalendar
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "filescom_holiday_calendar" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args HolidayCalendarArgs
- 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 HolidayCalendarArgs
- 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 HolidayCalendarArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HolidayCalendarArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HolidayCalendarArgs
- 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 holidayCalendarResource = new Filescom.HolidayCalendar("holidayCalendarResource", new()
{
Definition = new Filescom.Inputs.HolidayCalendarDefinitionArgs
{
Months =
{
{ "string", new Filescom.Inputs.HolidayCalendarDefinitionMonthsArgs
{
CalculatedRules = new[]
{
new Filescom.Inputs.HolidayCalendarDefinitionMonthsCalculatedRuleArgs
{
Function = "string",
EndTime = "string",
FunctionModifier = 0,
Name = "string",
Observed = "string",
StartTime = "string",
YearRanges = new Filescom.Inputs.HolidayCalendarDefinitionMonthsCalculatedRuleYearRangesArgs
{
Between = new Filescom.Inputs.HolidayCalendarDefinitionMonthsCalculatedRuleYearRangesBetweenArgs
{
End = 0,
Start = 0,
},
From = 0,
Limiteds = new[]
{
0,
},
Until = 0,
},
},
},
FixedRules = new[]
{
new Filescom.Inputs.HolidayCalendarDefinitionMonthsFixedRuleArgs
{
Mday = 0,
EndTime = "string",
Name = "string",
Observed = "string",
StartTime = "string",
YearRanges = new Filescom.Inputs.HolidayCalendarDefinitionMonthsFixedRuleYearRangesArgs
{
Between = new Filescom.Inputs.HolidayCalendarDefinitionMonthsFixedRuleYearRangesBetweenArgs
{
End = 0,
Start = 0,
},
From = 0,
Limiteds = new[]
{
0,
},
Until = 0,
},
},
},
WeekdayRules = new[]
{
new Filescom.Inputs.HolidayCalendarDefinitionMonthsWeekdayRuleArgs
{
Wday = 0,
Week = 0,
EndTime = "string",
Name = "string",
Observed = "string",
StartTime = "string",
YearRanges = new Filescom.Inputs.HolidayCalendarDefinitionMonthsWeekdayRuleYearRangesArgs
{
Between = new Filescom.Inputs.HolidayCalendarDefinitionMonthsWeekdayRuleYearRangesBetweenArgs
{
End = 0,
Start = 0,
},
From = 0,
Limiteds = new[]
{
0,
},
Until = 0,
},
},
},
} },
},
},
Name = "string",
});
example, err := filescom.NewHolidayCalendar(ctx, "holidayCalendarResource", &filescom.HolidayCalendarArgs{
Definition: &filescom.HolidayCalendarDefinitionArgs{
Months: filescom.HolidayCalendarDefinitionMonthsMap{
"string": &filescom.HolidayCalendarDefinitionMonthsArgs{
CalculatedRules: filescom.HolidayCalendarDefinitionMonthsCalculatedRuleArray{
&filescom.HolidayCalendarDefinitionMonthsCalculatedRuleArgs{
Function: pulumi.String("string"),
EndTime: pulumi.String("string"),
FunctionModifier: pulumi.Int(0),
Name: pulumi.String("string"),
Observed: pulumi.String("string"),
StartTime: pulumi.String("string"),
YearRanges: &filescom.HolidayCalendarDefinitionMonthsCalculatedRuleYearRangesArgs{
Between: &filescom.HolidayCalendarDefinitionMonthsCalculatedRuleYearRangesBetweenArgs{
End: pulumi.Int(0),
Start: pulumi.Int(0),
},
From: pulumi.Int(0),
Limiteds: pulumi.IntArray{
pulumi.Int(0),
},
Until: pulumi.Int(0),
},
},
},
FixedRules: filescom.HolidayCalendarDefinitionMonthsFixedRuleArray{
&filescom.HolidayCalendarDefinitionMonthsFixedRuleArgs{
Mday: pulumi.Int(0),
EndTime: pulumi.String("string"),
Name: pulumi.String("string"),
Observed: pulumi.String("string"),
StartTime: pulumi.String("string"),
YearRanges: &filescom.HolidayCalendarDefinitionMonthsFixedRuleYearRangesArgs{
Between: &filescom.HolidayCalendarDefinitionMonthsFixedRuleYearRangesBetweenArgs{
End: pulumi.Int(0),
Start: pulumi.Int(0),
},
From: pulumi.Int(0),
Limiteds: pulumi.IntArray{
pulumi.Int(0),
},
Until: pulumi.Int(0),
},
},
},
WeekdayRules: filescom.HolidayCalendarDefinitionMonthsWeekdayRuleArray{
&filescom.HolidayCalendarDefinitionMonthsWeekdayRuleArgs{
Wday: pulumi.Int(0),
Week: pulumi.Int(0),
EndTime: pulumi.String("string"),
Name: pulumi.String("string"),
Observed: pulumi.String("string"),
StartTime: pulumi.String("string"),
YearRanges: &filescom.HolidayCalendarDefinitionMonthsWeekdayRuleYearRangesArgs{
Between: &filescom.HolidayCalendarDefinitionMonthsWeekdayRuleYearRangesBetweenArgs{
End: pulumi.Int(0),
Start: pulumi.Int(0),
},
From: pulumi.Int(0),
Limiteds: pulumi.IntArray{
pulumi.Int(0),
},
Until: pulumi.Int(0),
},
},
},
},
},
},
Name: pulumi.String("string"),
})
resource "filescom_holiday_calendar" "holidayCalendarResource" {
lifecycle {
create_before_destroy = true
}
definition = {
months = {
"string" = {
calculated_rules = [{
function = "string"
end_time = "string"
function_modifier = 0
name = "string"
observed = "string"
start_time = "string"
year_ranges = {
between = {
end = 0
start = 0
}
from = 0
limiteds = [0]
until = 0
}
}]
fixed_rules = [{
mday = 0
end_time = "string"
name = "string"
observed = "string"
start_time = "string"
year_ranges = {
between = {
end = 0
start = 0
}
from = 0
limiteds = [0]
until = 0
}
}]
weekday_rules = [{
wday = 0
week = 0
end_time = "string"
name = "string"
observed = "string"
start_time = "string"
year_ranges = {
between = {
end = 0
start = 0
}
from = 0
limiteds = [0]
until = 0
}
}]
}
}
}
name = "string"
}
var holidayCalendarResource = new HolidayCalendar("holidayCalendarResource", HolidayCalendarArgs.builder()
.definition(HolidayCalendarDefinitionArgs.builder()
.months(Map.of("string", HolidayCalendarDefinitionMonthsArgs.builder()
.calculatedRules(HolidayCalendarDefinitionMonthsCalculatedRuleArgs.builder()
.function("string")
.endTime("string")
.functionModifier(0)
.name("string")
.observed("string")
.startTime("string")
.yearRanges(HolidayCalendarDefinitionMonthsCalculatedRuleYearRangesArgs.builder()
.between(HolidayCalendarDefinitionMonthsCalculatedRuleYearRangesBetweenArgs.builder()
.end(0)
.start(0)
.build())
.from(0)
.limiteds(0)
.until(0)
.build())
.build())
.fixedRules(HolidayCalendarDefinitionMonthsFixedRuleArgs.builder()
.mday(0)
.endTime("string")
.name("string")
.observed("string")
.startTime("string")
.yearRanges(HolidayCalendarDefinitionMonthsFixedRuleYearRangesArgs.builder()
.between(HolidayCalendarDefinitionMonthsFixedRuleYearRangesBetweenArgs.builder()
.end(0)
.start(0)
.build())
.from(0)
.limiteds(0)
.until(0)
.build())
.build())
.weekdayRules(HolidayCalendarDefinitionMonthsWeekdayRuleArgs.builder()
.wday(0)
.week(0)
.endTime("string")
.name("string")
.observed("string")
.startTime("string")
.yearRanges(HolidayCalendarDefinitionMonthsWeekdayRuleYearRangesArgs.builder()
.between(HolidayCalendarDefinitionMonthsWeekdayRuleYearRangesBetweenArgs.builder()
.end(0)
.start(0)
.build())
.from(0)
.limiteds(0)
.until(0)
.build())
.build())
.build()))
.build())
.name("string")
.build());
holiday_calendar_resource = filescom.HolidayCalendar("holidayCalendarResource",
definition={
"months": {
"string": {
"calculated_rules": [{
"function": "string",
"end_time": "string",
"function_modifier": 0,
"name": "string",
"observed": "string",
"start_time": "string",
"year_ranges": {
"between": {
"end": 0,
"start": 0,
},
"from_": 0,
"limiteds": [0],
"until": 0,
},
}],
"fixed_rules": [{
"mday": 0,
"end_time": "string",
"name": "string",
"observed": "string",
"start_time": "string",
"year_ranges": {
"between": {
"end": 0,
"start": 0,
},
"from_": 0,
"limiteds": [0],
"until": 0,
},
}],
"weekday_rules": [{
"wday": 0,
"week": 0,
"end_time": "string",
"name": "string",
"observed": "string",
"start_time": "string",
"year_ranges": {
"between": {
"end": 0,
"start": 0,
},
"from_": 0,
"limiteds": [0],
"until": 0,
},
}],
},
},
},
name="string")
const holidayCalendarResource = new filescom.HolidayCalendar("holidayCalendarResource", {
definition: {
months: {
string: {
calculatedRules: [{
"function": "string",
endTime: "string",
functionModifier: 0,
name: "string",
observed: "string",
startTime: "string",
yearRanges: {
between: {
end: 0,
start: 0,
},
from: 0,
limiteds: [0],
until: 0,
},
}],
fixedRules: [{
mday: 0,
endTime: "string",
name: "string",
observed: "string",
startTime: "string",
yearRanges: {
between: {
end: 0,
start: 0,
},
from: 0,
limiteds: [0],
until: 0,
},
}],
weekdayRules: [{
wday: 0,
week: 0,
endTime: "string",
name: "string",
observed: "string",
startTime: "string",
yearRanges: {
between: {
end: 0,
start: 0,
},
from: 0,
limiteds: [0],
until: 0,
},
}],
},
},
},
name: "string",
});
type: filescom:HolidayCalendar
properties:
definition:
months:
string:
calculatedRules:
- endTime: string
function: string
functionModifier: 0
name: string
observed: string
startTime: string
yearRanges:
between:
end: 0
start: 0
from: 0
limiteds:
- 0
until: 0
fixedRules:
- endTime: string
mday: 0
name: string
observed: string
startTime: string
yearRanges:
between:
end: 0
start: 0
from: 0
limiteds:
- 0
until: 0
weekdayRules:
- endTime: string
name: string
observed: string
startTime: string
wday: 0
week: 0
yearRanges:
between:
end: 0
start: 0
from: 0
limiteds:
- 0
until: 0
name: string
HolidayCalendar 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 HolidayCalendar resource accepts the following input properties:
- Definition
Jschady.
Filescom. Inputs. Holiday Calendar Definition - Holiday rules for the calendar.
- Name string
- Holiday Calendar name.
- Definition
Holiday
Calendar Definition Args - Holiday rules for the calendar.
- Name string
- Holiday Calendar name.
- definition object
- Holiday rules for the calendar.
- name string
- Holiday Calendar name.
- definition
Holiday
Calendar Definition - Holiday rules for the calendar.
- name String
- Holiday Calendar name.
- definition
Holiday
Calendar Definition - Holiday rules for the calendar.
- name string
- Holiday Calendar name.
- definition
Holiday
Calendar Definition Args - Holiday rules for the calendar.
- name str
- Holiday Calendar name.
- definition Property Map
- Holiday rules for the calendar.
- name String
- Holiday Calendar name.
Outputs
All input properties are implicitly available as output properties. Additionally, the HolidayCalendar resource produces the following output properties:
- created_
at string - Creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- updated_
at string - Last update time.
- created_
at str - Creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - Last update time.
Look up Existing HolidayCalendar Resource
Get an existing HolidayCalendar 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?: HolidayCalendarState, opts?: CustomResourceOptions): HolidayCalendar@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
definition: Optional[HolidayCalendarDefinitionArgs] = None,
name: Optional[str] = None,
updated_at: Optional[str] = None) -> HolidayCalendarfunc GetHolidayCalendar(ctx *Context, name string, id IDInput, state *HolidayCalendarState, opts ...ResourceOption) (*HolidayCalendar, error)public static HolidayCalendar Get(string name, Input<string> id, HolidayCalendarState? state, CustomResourceOptions? opts = null)public static HolidayCalendar get(String name, Output<String> id, HolidayCalendarState state, CustomResourceOptions options)resources: _: type: filescom:HolidayCalendar get: id: ${id}import {
to = filescom_holiday_calendar.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.
- Created
At string - Creation time.
- Definition
Jschady.
Filescom. Inputs. Holiday Calendar Definition - Holiday rules for the calendar.
- Name string
- Holiday Calendar name.
- Updated
At string - Last update time.
- Created
At string - Creation time.
- Definition
Holiday
Calendar Definition Args - Holiday rules for the calendar.
- Name string
- Holiday Calendar name.
- Updated
At string - Last update time.
- created_
at string - Creation time.
- definition object
- Holiday rules for the calendar.
- name string
- Holiday Calendar name.
- updated_
at string - Last update time.
- created
At String - Creation time.
- definition
Holiday
Calendar Definition - Holiday rules for the calendar.
- name String
- Holiday Calendar name.
- updated
At String - Last update time.
- created
At string - Creation time.
- definition
Holiday
Calendar Definition - Holiday rules for the calendar.
- name string
- Holiday Calendar name.
- updated
At string - Last update time.
- created_
at str - Creation time.
- definition
Holiday
Calendar Definition Args - Holiday rules for the calendar.
- name str
- Holiday Calendar name.
- updated_
at str - Last update time.
- created
At String - Creation time.
- definition Property Map
- Holiday rules for the calendar.
- name String
- Holiday Calendar name.
- updated
At String - Last update time.
Supporting Types
HolidayCalendarDefinition, HolidayCalendarDefinitionArgs
- Months
Dictionary<string, Jschady.
Filescom. Inputs. Holiday Calendar Definition Months> - Keys 1 through 12 contain rules for that month. Key 0 contains calculated-date rules. At most 366 rules are allowed across all months.
- Months
map[string]Holiday
Calendar Definition Months - Keys 1 through 12 contain rules for that month. Key 0 contains calculated-date rules. At most 366 rules are allowed across all months.
- months map(object)
- Keys 1 through 12 contain rules for that month. Key 0 contains calculated-date rules. At most 366 rules are allowed across all months.
- months
Map<String,Holiday
Calendar Definition Months> - Keys 1 through 12 contain rules for that month. Key 0 contains calculated-date rules. At most 366 rules are allowed across all months.
- months
{[key: string]: Holiday
Calendar Definition Months} - Keys 1 through 12 contain rules for that month. Key 0 contains calculated-date rules. At most 366 rules are allowed across all months.
- months
Mapping[str, Holiday
Calendar Definition Months] - Keys 1 through 12 contain rules for that month. Key 0 contains calculated-date rules. At most 366 rules are allowed across all months.
- months Map<Property Map>
- Keys 1 through 12 contain rules for that month. Key 0 contains calculated-date rules. At most 366 rules are allowed across all months.
HolidayCalendarDefinitionMonths, HolidayCalendarDefinitionMonthsArgs
HolidayCalendarDefinitionMonthsCalculatedRule, HolidayCalendarDefinitionMonthsCalculatedRuleArgs
- Function string
- Supported calculated-date function.
- End
Time string - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- Function
Modifier int - Number of days to add to or subtract from the calculated date.
- Name string
- Optional rule name.
- Observed string
- Optional function used to move the selected date when it falls on a weekend.
- Start
Time string - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- Year
Ranges Jschady.Filescom. Inputs. Holiday Calendar Definition Months Calculated Rule Year Ranges - Optional inclusive year restriction.
- Function string
- Supported calculated-date function.
- End
Time string - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- Function
Modifier int - Number of days to add to or subtract from the calculated date.
- Name string
- Optional rule name.
- Observed string
- Optional function used to move the selected date when it falls on a weekend.
- Start
Time string - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- Year
Ranges HolidayCalendar Definition Months Calculated Rule Year Ranges - Optional inclusive year restriction.
- function string
- Supported calculated-date function.
- end_
time string - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- function_
modifier number - Number of days to add to or subtract from the calculated date.
- name string
- Optional rule name.
- observed string
- Optional function used to move the selected date when it falls on a weekend.
- start_
time string - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year_
ranges object - Optional inclusive year restriction.
- function String
- Supported calculated-date function.
- end
Time String - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- function
Modifier Integer - Number of days to add to or subtract from the calculated date.
- name String
- Optional rule name.
- observed String
- Optional function used to move the selected date when it falls on a weekend.
- start
Time String - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year
Ranges HolidayCalendar Definition Months Calculated Rule Year Ranges - Optional inclusive year restriction.
- function string
- Supported calculated-date function.
- end
Time string - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- function
Modifier number - Number of days to add to or subtract from the calculated date.
- name string
- Optional rule name.
- observed string
- Optional function used to move the selected date when it falls on a weekend.
- start
Time string - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year
Ranges HolidayCalendar Definition Months Calculated Rule Year Ranges - Optional inclusive year restriction.
- function str
- Supported calculated-date function.
- end_
time str - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- function_
modifier int - Number of days to add to or subtract from the calculated date.
- name str
- Optional rule name.
- observed str
- Optional function used to move the selected date when it falls on a weekend.
- start_
time str - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year_
ranges HolidayCalendar Definition Months Calculated Rule Year Ranges - Optional inclusive year restriction.
- function String
- Supported calculated-date function.
- end
Time String - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- function
Modifier Number - Number of days to add to or subtract from the calculated date.
- name String
- Optional rule name.
- observed String
- Optional function used to move the selected date when it falls on a weekend.
- start
Time String - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year
Ranges Property Map - Optional inclusive year restriction.
HolidayCalendarDefinitionMonthsCalculatedRuleYearRanges, HolidayCalendarDefinitionMonthsCalculatedRuleYearRangesArgs
- Between
Jschady.
Filescom. Inputs. Holiday Calendar Definition Months Calculated Rule Year Ranges Between - Required start and end years.
- From int
- First year in which the rule applies.
- Limiteds List<int>
- Years in which the rule applies.
- Until int
- Last year in which the rule applies.
- Between
Holiday
Calendar Definition Months Calculated Rule Year Ranges Between - Required start and end years.
- From int
- First year in which the rule applies.
- Limiteds []int
- Years in which the rule applies.
- Until int
- Last year in which the rule applies.
- between
Holiday
Calendar Definition Months Calculated Rule Year Ranges Between - Required start and end years.
- from Integer
- First year in which the rule applies.
- limiteds List<Integer>
- Years in which the rule applies.
- until Integer
- Last year in which the rule applies.
- between
Holiday
Calendar Definition Months Calculated Rule Year Ranges Between - Required start and end years.
- from number
- First year in which the rule applies.
- limiteds number[]
- Years in which the rule applies.
- until number
- Last year in which the rule applies.
- between
Holiday
Calendar Definition Months Calculated Rule Year Ranges Between - Required start and end years.
- from_ int
- First year in which the rule applies.
- limiteds Sequence[int]
- Years in which the rule applies.
- until int
- Last year in which the rule applies.
- between Property Map
- Required start and end years.
- from Number
- First year in which the rule applies.
- limiteds List<Number>
- Years in which the rule applies.
- until Number
- Last year in which the rule applies.
HolidayCalendarDefinitionMonthsCalculatedRuleYearRangesBetween, HolidayCalendarDefinitionMonthsCalculatedRuleYearRangesBetweenArgs
HolidayCalendarDefinitionMonthsFixedRule, HolidayCalendarDefinitionMonthsFixedRuleArgs
- Mday int
- Day of the month. Must be valid for the selected month.
- End
Time string - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- Name string
- Optional rule name.
- Observed string
- Optional function used to move the selected date when it falls on a weekend.
- Start
Time string - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- Year
Ranges Jschady.Filescom. Inputs. Holiday Calendar Definition Months Fixed Rule Year Ranges - Optional inclusive year restriction.
- Mday int
- Day of the month. Must be valid for the selected month.
- End
Time string - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- Name string
- Optional rule name.
- Observed string
- Optional function used to move the selected date when it falls on a weekend.
- Start
Time string - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- Year
Ranges HolidayCalendar Definition Months Fixed Rule Year Ranges - Optional inclusive year restriction.
- mday number
- Day of the month. Must be valid for the selected month.
- end_
time string - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- name string
- Optional rule name.
- observed string
- Optional function used to move the selected date when it falls on a weekend.
- start_
time string - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year_
ranges object - Optional inclusive year restriction.
- mday Integer
- Day of the month. Must be valid for the selected month.
- end
Time String - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- name String
- Optional rule name.
- observed String
- Optional function used to move the selected date when it falls on a weekend.
- start
Time String - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year
Ranges HolidayCalendar Definition Months Fixed Rule Year Ranges - Optional inclusive year restriction.
- mday number
- Day of the month. Must be valid for the selected month.
- end
Time string - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- name string
- Optional rule name.
- observed string
- Optional function used to move the selected date when it falls on a weekend.
- start
Time string - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year
Ranges HolidayCalendar Definition Months Fixed Rule Year Ranges - Optional inclusive year restriction.
- mday int
- Day of the month. Must be valid for the selected month.
- end_
time str - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- name str
- Optional rule name.
- observed str
- Optional function used to move the selected date when it falls on a weekend.
- start_
time str - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year_
ranges HolidayCalendar Definition Months Fixed Rule Year Ranges - Optional inclusive year restriction.
- mday Number
- Day of the month. Must be valid for the selected month.
- end
Time String - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- name String
- Optional rule name.
- observed String
- Optional function used to move the selected date when it falls on a weekend.
- start
Time String - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year
Ranges Property Map - Optional inclusive year restriction.
HolidayCalendarDefinitionMonthsFixedRuleYearRanges, HolidayCalendarDefinitionMonthsFixedRuleYearRangesArgs
- Between
Jschady.
Filescom. Inputs. Holiday Calendar Definition Months Fixed Rule Year Ranges Between - Required start and end years.
- From int
- First year in which the rule applies.
- Limiteds List<int>
- Years in which the rule applies.
- Until int
- Last year in which the rule applies.
- Between
Holiday
Calendar Definition Months Fixed Rule Year Ranges Between - Required start and end years.
- From int
- First year in which the rule applies.
- Limiteds []int
- Years in which the rule applies.
- Until int
- Last year in which the rule applies.
- between
Holiday
Calendar Definition Months Fixed Rule Year Ranges Between - Required start and end years.
- from Integer
- First year in which the rule applies.
- limiteds List<Integer>
- Years in which the rule applies.
- until Integer
- Last year in which the rule applies.
- between
Holiday
Calendar Definition Months Fixed Rule Year Ranges Between - Required start and end years.
- from number
- First year in which the rule applies.
- limiteds number[]
- Years in which the rule applies.
- until number
- Last year in which the rule applies.
- between
Holiday
Calendar Definition Months Fixed Rule Year Ranges Between - Required start and end years.
- from_ int
- First year in which the rule applies.
- limiteds Sequence[int]
- Years in which the rule applies.
- until int
- Last year in which the rule applies.
- between Property Map
- Required start and end years.
- from Number
- First year in which the rule applies.
- limiteds List<Number>
- Years in which the rule applies.
- until Number
- Last year in which the rule applies.
HolidayCalendarDefinitionMonthsFixedRuleYearRangesBetween, HolidayCalendarDefinitionMonthsFixedRuleYearRangesBetweenArgs
HolidayCalendarDefinitionMonthsWeekdayRule, HolidayCalendarDefinitionMonthsWeekdayRuleArgs
- Wday int
- Day of the week, where 0 is Sunday and 6 is Saturday.
- Week int
- Occurrence of the weekday in the month. Negative values count from the end of the month.
- End
Time string - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- Name string
- Optional rule name.
- Observed string
- Optional function used to move the selected date when it falls on a weekend.
- Start
Time string - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- Year
Ranges Jschady.Filescom. Inputs. Holiday Calendar Definition Months Weekday Rule Year Ranges - Optional inclusive year restriction.
- Wday int
- Day of the week, where 0 is Sunday and 6 is Saturday.
- Week int
- Occurrence of the weekday in the month. Negative values count from the end of the month.
- End
Time string - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- Name string
- Optional rule name.
- Observed string
- Optional function used to move the selected date when it falls on a weekend.
- Start
Time string - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- Year
Ranges HolidayCalendar Definition Months Weekday Rule Year Ranges - Optional inclusive year restriction.
- wday number
- Day of the week, where 0 is Sunday and 6 is Saturday.
- week number
- Occurrence of the weekday in the month. Negative values count from the end of the month.
- end_
time string - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- name string
- Optional rule name.
- observed string
- Optional function used to move the selected date when it falls on a weekend.
- start_
time string - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year_
ranges object - Optional inclusive year restriction.
- wday Integer
- Day of the week, where 0 is Sunday and 6 is Saturday.
- week Integer
- Occurrence of the weekday in the month. Negative values count from the end of the month.
- end
Time String - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- name String
- Optional rule name.
- observed String
- Optional function used to move the selected date when it falls on a weekend.
- start
Time String - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year
Ranges HolidayCalendar Definition Months Weekday Rule Year Ranges - Optional inclusive year restriction.
- wday number
- Day of the week, where 0 is Sunday and 6 is Saturday.
- week number
- Occurrence of the weekday in the month. Negative values count from the end of the month.
- end
Time string - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- name string
- Optional rule name.
- observed string
- Optional function used to move the selected date when it falls on a weekend.
- start
Time string - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year
Ranges HolidayCalendar Definition Months Weekday Rule Year Ranges - Optional inclusive year restriction.
- wday int
- Day of the week, where 0 is Sunday and 6 is Saturday.
- week int
- Occurrence of the weekday in the month. Negative values count from the end of the month.
- end_
time str - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- name str
- Optional rule name.
- observed str
- Optional function used to move the selected date when it falls on a weekend.
- start_
time str - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year_
ranges HolidayCalendar Definition Months Weekday Rule Year Ranges - Optional inclusive year restriction.
- wday Number
- Day of the week, where 0 is Sunday and 6 is Saturday.
- week Number
- Occurrence of the weekday in the month. Negative values count from the end of the month.
- end
Time String - Exclusive end of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be later than start_time.
- name String
- Optional rule name.
- observed String
- Optional function used to move the selected date when it falls on a weekend.
- start
Time String - Inclusive start of a partial-day window in 24-hour HH:MM or HH:MM:SS format. Must be earlier than end_time.
- year
Ranges Property Map - Optional inclusive year restriction.
HolidayCalendarDefinitionMonthsWeekdayRuleYearRanges, HolidayCalendarDefinitionMonthsWeekdayRuleYearRangesArgs
- Between
Jschady.
Filescom. Inputs. Holiday Calendar Definition Months Weekday Rule Year Ranges Between - Required start and end years.
- From int
- First year in which the rule applies.
- Limiteds List<int>
- Years in which the rule applies.
- Until int
- Last year in which the rule applies.
- Between
Holiday
Calendar Definition Months Weekday Rule Year Ranges Between - Required start and end years.
- From int
- First year in which the rule applies.
- Limiteds []int
- Years in which the rule applies.
- Until int
- Last year in which the rule applies.
- between
Holiday
Calendar Definition Months Weekday Rule Year Ranges Between - Required start and end years.
- from Integer
- First year in which the rule applies.
- limiteds List<Integer>
- Years in which the rule applies.
- until Integer
- Last year in which the rule applies.
- between
Holiday
Calendar Definition Months Weekday Rule Year Ranges Between - Required start and end years.
- from number
- First year in which the rule applies.
- limiteds number[]
- Years in which the rule applies.
- until number
- Last year in which the rule applies.
- between
Holiday
Calendar Definition Months Weekday Rule Year Ranges Between - Required start and end years.
- from_ int
- First year in which the rule applies.
- limiteds Sequence[int]
- Years in which the rule applies.
- until int
- Last year in which the rule applies.
- between Property Map
- Required start and end years.
- from Number
- First year in which the rule applies.
- limiteds List<Number>
- Years in which the rule applies.
- until Number
- Last year in which the rule applies.
HolidayCalendarDefinitionMonthsWeekdayRuleYearRangesBetween, HolidayCalendarDefinitionMonthsWeekdayRuleYearRangesBetweenArgs
Import
The pulumi import command can be used, for example:
Holiday Calendars can be imported by specifying the id.
$ pulumi import filescom:index/holidayCalendar:HolidayCalendar example_holiday_calendar 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