Skip to main content

Static

Resource Static in pulumi-time.
2 min read

Resource Static in pulumi-time.

Pulumi type: time:index/static:Static.

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
rfc3339stringnoBase timestamp in RFC3339 format (see RFC3339 time string e.g., YYYY-MM-DDTHH:MM:SSZ). Defaults to the current time.
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
daynumberyesNumber day of timestamp.
hournumberyesNumber hour of timestamp.
minutenumberyesNumber minute of timestamp.
monthnumberyesNumber month of timestamp.
rfc3339stringnoBase timestamp in RFC3339 format (see RFC3339 time string e.g., YYYY-MM-DDTHH:MM:SSZ). Defaults to the current time.
secondnumberyesNumber second of 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 timestamp.