Skip to main content

Offset

Resource Offset in pulumi-time.
3 min read

Resource Offset in pulumi-time.

Pulumi type: time:index/offset:Offset.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
baseRfc3339stringnoBase timestamp in RFC3339 format (see RFC3339 time string e.g., YYYY-MM-DDTHH:MM:SSZ). Defaults to the current time.
offsetDaysnumbernoNumber of days to offset the base timestamp. At least one of the 'offset_' arguments must be configured.
offsetHoursnumbernoNumber of hours to offset the base timestamp. At least one of the 'offset_' arguments must be configured.
offsetMinutesnumbernoNumber of minutes to offset the base timestamp. At least one of the 'offset_' arguments must be configured.
offsetMonthsnumbernoNumber of months to offset the base timestamp. At least one of the 'offset_' arguments must be configured.
offsetSecondsnumbernoNumber of seconds to offset the base timestamp. At least one of the 'offset_' arguments must be configured.
offsetYearsnumbernoNumber of years to offset the base timestamp. At least one of the 'offset_' arguments must be configured.
triggers{ [key: string]: string }noArbitrary map of values that, when changed, will trigger a new base timestamp value to be saved. See the main provider documentation for more information.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
baseRfc3339stringnoBase timestamp in RFC3339 format (see RFC3339 time string e.g., YYYY-MM-DDTHH:MM:SSZ). Defaults to the current time.
daynumberyesNumber day of offset timestamp.
hournumberyesNumber hour of offset timestamp.
minutenumberyesNumber minute of offset timestamp.
monthnumberyesNumber month of offset timestamp.
offsetDaysnumbernoNumber of days to offset the base timestamp. At least one of the 'offset_' arguments must be configured.
offsetHoursnumbernoNumber of hours to offset the base timestamp. At least one of the 'offset_' arguments must be configured.
offsetMinutesnumbernoNumber of minutes to offset the base timestamp. At least one of the 'offset_' arguments must be configured.
offsetMonthsnumbernoNumber of months to offset the base timestamp. At least one of the 'offset_' arguments must be configured.
offsetSecondsnumbernoNumber of seconds to offset the base timestamp. At least one of the 'offset_' arguments must be configured.
offsetYearsnumbernoNumber of years to offset the base timestamp. At least one of the 'offset_' arguments must be configured.
rfc3339stringyesRFC3339 format of the offset timestamp, e.g. 2020-02-12T06:36:13Z.
secondnumberyesNumber second of offset timestamp.
triggers{ [key: string]: string }noArbitrary map of values that, when changed, will trigger a new base timestamp value to be saved. See the main provider documentation for more information.
unixnumberyesNumber of seconds since epoch time, e.g. 1581489373.
yearnumberyesNumber year of offset timestamp.