Skip to main content

StatusPage

Resource StatusPage in pulumi-better-uptime.
8 min read

Resource StatusPage in pulumi-better-uptime.

Pulumi type: better-uptime:index/statusPage:StatusPage.

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
announcementstringnoAdd an announcement to your status page.
announcementEmbedCssstringnoModify the design of the announcement embed.
announcementEmbedLinkstringnoPoint your embedded announcement to a specified URL.
announcementEmbedVisiblebooleannoToggle this field if you want to show an announcement in your embed. You can embed the announcement using this snippet: <script src="https://uptime.betterstack.com/widgets/announcement.js" data-id="<SET STATUS_PAGE_ID>" async="async" type="text/javascript"></script>
automaticReportsbooleannoGenerate automatic reports when your services go down
companyNamestringyesName of your company.
companyUrlstringyesURL of your company's website.
contactUrlstringnoURL that should be used for contacting you in case of an emergency.
customCssstringnoUnleash your inner designer and tweak our status page design to fit your branding.
customDomainstringnoDo you want a custom domain on your status page? Add a CNAME record that points your domain to status.betteruptime.com. Example: CNAME status.walmine.com statuspage.betteruptime.com To remove the custom domain, set the value to an empty string "".
customJavascriptstringnoAdd custom behavior to your status page. It is only allowed for status pages with a custom domain name.
darkLogoUrlstringnoA direct link to a dark version of your company's logo. The image should be under 20MB in size.
designstringnoChoose between classic and modern status page design. Possible values: 'v1', 'v2'.
googleAnalyticsIdstringnoSpecify your own Google Analytics ID if you want to receive hits on your status page.
hideFromSearchEnginesbooleannoHide your status page from search engines.
historynumbernoNumber of days to display on the status page. Between 7 and 365 days.
ipAllowlistsstring[]noList of IP addresses or CIDR ranges that are allowed to access the status page. Accepts IPv4, IPv6, CIDR ranges, and comments starting with #. To remove all IP restrictions, set to an empty list []. This is a billable feature.
layoutstringnoChoose usual vertical layout or space-saving horizontal layout. Only applicable when design: v2. Possible values: 'vertical', 'horizontal'.
logoUrlstringnoA direct link to your company's logo. The image should be under 20MB in size.
minIncidentLengthnumbernoIf you don't want to display short incidents on your status page, this attribute is for you.
navigationLinksStatusPageNavigationLink (input)[]noAdjust the navigation links on your status page. Only applicable when design: v2. Only first 4 links considered.
passwordstringnoSet a password of your status page (we won't store it as plaintext, promise). Required when password_enabled: true. We will set password_enabled: false automatically when you send us an empty password.
passwordEnabledbooleannoDo you want to enable password protection on your status page?
publishedbooleannoIs your status page currently accessible?
requireSsobooleannoRequire SSO sign-in to access your status page. Requires SSO to be configured for your organization and is mutually exclusive with password protection.
statusPageGroupIdnumbernoSet this attribute if you want to add this status page to a status page group.
subdomainstringyesWhat subdomain should we use for your status page? This needs to be unique across our entire application, so choose carefully
subscribablebooleannoDo you want to allow users to subscribe to your status page changes?
themestringnoChoose theme of your status page. Only applicable when design: v2. Possible values: 'light', 'dark'.
timezonestringyesWhat timezone should we display your status page in? The accepted values can be found in the Rails TimeZone documentation. https://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html
whitelabeledbooleannoWhether the 'Powered by Better Stack' footer should be removed.

Outputs#

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

PropertyTypeComputedDescription
aggregateStatestringyesThe overall status of this status page.
announcementstringnoAdd an announcement to your status page.
announcementEmbedCssstringnoModify the design of the announcement embed.
announcementEmbedLinkstringnoPoint your embedded announcement to a specified URL.
announcementEmbedVisiblebooleannoToggle this field if you want to show an announcement in your embed. You can embed the announcement using this snippet: <script src="https://uptime.betterstack.com/widgets/announcement.js" data-id="<SET STATUS_PAGE_ID>" async="async" type="text/javascript"></script>
automaticReportsbooleannoGenerate automatic reports when your services go down
companyNamestringnoName of your company.
companyUrlstringnoURL of your company's website.
contactUrlstringnoURL that should be used for contacting you in case of an emergency.
createdAtstringyesThe time when this status page was created.
customCssstringnoUnleash your inner designer and tweak our status page design to fit your branding.
customDomainstringnoDo you want a custom domain on your status page? Add a CNAME record that points your domain to status.betteruptime.com. Example: CNAME status.walmine.com statuspage.betteruptime.com To remove the custom domain, set the value to an empty string "".
customJavascriptstringnoAdd custom behavior to your status page. It is only allowed for status pages with a custom domain name.
darkLogoUrlstringnoA direct link to a dark version of your company's logo. The image should be under 20MB in size.
designstringnoChoose between classic and modern status page design. Possible values: 'v1', 'v2'.
googleAnalyticsIdstringnoSpecify your own Google Analytics ID if you want to receive hits on your status page.
hideFromSearchEnginesbooleannoHide your status page from search engines.
historynumbernoNumber of days to display on the status page. Between 7 and 365 days.
ipAllowlistsstring[]noList of IP addresses or CIDR ranges that are allowed to access the status page. Accepts IPv4, IPv6, CIDR ranges, and comments starting with #. To remove all IP restrictions, set to an empty list []. This is a billable feature.
layoutstringnoChoose usual vertical layout or space-saving horizontal layout. Only applicable when design: v2. Possible values: 'vertical', 'horizontal'.
logoUrlstringnoA direct link to your company's logo. The image should be under 20MB in size.
minIncidentLengthnumbernoIf you don't want to display short incidents on your status page, this attribute is for you.
navigationLinksStatusPageNavigationLink (output)[]noAdjust the navigation links on your status page. Only applicable when design: v2. Only first 4 links considered.
passwordstringnoSet a password of your status page (we won't store it as plaintext, promise). Required when password_enabled: true. We will set password_enabled: false automatically when you send us an empty password.
passwordEnabledbooleannoDo you want to enable password protection on your status page?
publishedbooleannoIs your status page currently accessible?
requireSsobooleannoRequire SSO sign-in to access your status page. Requires SSO to be configured for your organization and is mutually exclusive with password protection.
statusPageGroupIdnumbernoSet this attribute if you want to add this status page to a status page group.
subdomainstringnoWhat subdomain should we use for your status page? This needs to be unique across our entire application, so choose carefully
subscribablebooleannoDo you want to allow users to subscribe to your status page changes?
themestringnoChoose theme of your status page. Only applicable when design: v2. Possible values: 'light', 'dark'.
timezonestringnoWhat timezone should we display your status page in? The accepted values can be found in the Rails TimeZone documentation. https://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html
updatedAtstringyesThe time when this status page was updated.
whitelabeledbooleannoWhether the 'Powered by Better Stack' footer should be removed.

Input object StatusPageNavigationLink. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
hrefstringyesHref of the link. Use full URL for external links. Use /, /maintenance and /incidents for built-in links.
textstringyesLabel of the link.

Output object StatusPageNavigationLink. Fields below belong to this object.

PropertyTypeAlways presentDescription
hrefstringyesHref of the link. Use full URL for external links. Use /, /maintenance and /incidents for built-in links.
textstringyesLabel of the link.