Class MonitoringUptimeCheckConfigHttpCheck.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.monitoring_uptime_check_config.MonitoringUptimeCheckConfigHttpCheck.Jsii$Proxy
-
- All Implemented Interfaces:
MonitoringUptimeCheckConfigHttpCheck,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- MonitoringUptimeCheckConfigHttpCheck
@Stability(Stable) @Internal public static final class MonitoringUptimeCheckConfigHttpCheck.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MonitoringUptimeCheckConfigHttpCheck
An implementation forMonitoringUptimeCheckConfigHttpCheck
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.monitoring_uptime_check_config.MonitoringUptimeCheckConfigHttpCheck
MonitoringUptimeCheckConfigHttpCheck.Builder, MonitoringUptimeCheckConfigHttpCheck.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(MonitoringUptimeCheckConfigHttpCheck.Builder builder)Constructor that initializes the object based on literal property values passed by theMonitoringUptimeCheckConfigHttpCheck.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetAcceptedResponseStatusCodes()accepted_response_status_codes block.MonitoringUptimeCheckConfigHttpCheckAuthInfogetAuthInfo()auth_info block.StringgetBody()The request body associated with the HTTP POST request.StringgetContentType()The content type to use for the check.StringgetCustomContentType()A user provided content type header to use for the check.Map<String,String>getHeaders()The list of headers to send as part of the uptime check request.ObjectgetMaskHeaders()Boolean specifying whether to encrypt the header information.StringgetPath()The path to the page to run the check against.MonitoringUptimeCheckConfigHttpCheckPingConfiggetPingConfig()ping_config block.NumbergetPort()The port to the page to run the check against.StringgetRequestMethod()The HTTP request method to use for the check.MonitoringUptimeCheckConfigHttpCheckServiceAgentAuthenticationgetServiceAgentAuthentication()service_agent_authentication block.ObjectgetUseSsl()If true, use HTTPS instead of HTTP to run the check.ObjectgetValidateSsl()Boolean specifying whether to include SSL certificate validation as a part of the Uptime check.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(MonitoringUptimeCheckConfigHttpCheck.Builder builder)
Constructor that initializes the object based on literal property values passed by theMonitoringUptimeCheckConfigHttpCheck.Builder.
-
-
Method Detail
-
getAcceptedResponseStatusCodes
public final Object getAcceptedResponseStatusCodes()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckaccepted_response_status_codes block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#accepted_response_status_codes MonitoringUptimeCheckConfig#accepted_response_status_codes}
- Specified by:
getAcceptedResponseStatusCodesin interfaceMonitoringUptimeCheckConfigHttpCheck
-
getAuthInfo
public final MonitoringUptimeCheckConfigHttpCheckAuthInfo getAuthInfo()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckauth_info block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#auth_info MonitoringUptimeCheckConfig#auth_info}
- Specified by:
getAuthInfoin interfaceMonitoringUptimeCheckConfigHttpCheck
-
getBody
public final String getBody()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckThe request body associated with the HTTP POST request.If 'content_type' is 'URL_ENCODED', the body passed in must be URL-encoded. Users can provide a 'Content-Length' header via the 'headers' field or the API will do so. If the 'request_method' is 'GET' and 'body' is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. 'foo=bar' in URL-encoded form is 'foo%3Dbar' and in base64 encoding is 'Zm9vJTI1M0RiYXI='. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#body MonitoringUptimeCheckConfig#body}
- Specified by:
getBodyin interfaceMonitoringUptimeCheckConfigHttpCheck
-
getContentType
public final String getContentType()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckThe content type to use for the check. Possible values: ["TYPE_UNSPECIFIED", "URL_ENCODED", "USER_PROVIDED"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#content_type MonitoringUptimeCheckConfig#content_type}
- Specified by:
getContentTypein interfaceMonitoringUptimeCheckConfigHttpCheck
-
getCustomContentType
public final String getCustomContentType()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckA user provided content type header to use for the check.The invalid configurations outlined in the 'content_type' field apply to custom_content_type', as well as the following 1. 'content_type' is 'URL_ENCODED' and 'custom_content_type' is set. 2. 'content_type' is 'USER_PROVIDED' and 'custom_content_type' is not set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#custom_content_type MonitoringUptimeCheckConfig#custom_content_type}
- Specified by:
getCustomContentTypein interfaceMonitoringUptimeCheckConfigHttpCheck
-
getHeaders
public final Map<String,String> getHeaders()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckThe list of headers to send as part of the uptime check request.If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described in [RFC 2616 (page 31)](https://www.w3.org/Protocols/rfc2616/rfc2616.txt). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#headers MonitoringUptimeCheckConfig#headers}
- Specified by:
getHeadersin interfaceMonitoringUptimeCheckConfigHttpCheck
-
getMaskHeaders
public final Object getMaskHeaders()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckBoolean specifying whether to encrypt the header information.Encryption should be specified for any headers related to authentication that you do not wish to be seen when retrieving the configuration. The server will be responsible for encrypting the headers. On Get/List calls, if 'mask_headers' is set to 'true' then the headers will be obscured with '******'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#mask_headers MonitoringUptimeCheckConfig#mask_headers}
- Specified by:
getMaskHeadersin interfaceMonitoringUptimeCheckConfigHttpCheck
-
getPath
public final String getPath()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckThe path to the page to run the check against.Will be combined with the host (specified within the MonitoredResource) and port to construct the full URL. If the provided path does not begin with '/', a '/' will be prepended automatically. Optional (defaults to '/'). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#path MonitoringUptimeCheckConfig#path}
- Specified by:
getPathin interfaceMonitoringUptimeCheckConfigHttpCheck
-
getPingConfig
public final MonitoringUptimeCheckConfigHttpCheckPingConfig getPingConfig()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckping_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#ping_config MonitoringUptimeCheckConfig#ping_config}
- Specified by:
getPingConfigin interfaceMonitoringUptimeCheckConfigHttpCheck
-
getPort
public final Number getPort()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckThe port to the page to run the check against.Will be combined with 'host' (specified within the ['monitored_resource'](#nested_monitored_resource)) and path to construct the full URL. Optional (defaults to 80 without SSL, or 443 with SSL). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#port MonitoringUptimeCheckConfig#port}
- Specified by:
getPortin interfaceMonitoringUptimeCheckConfigHttpCheck
-
getRequestMethod
public final String getRequestMethod()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckThe HTTP request method to use for the check.If set to 'METHOD_UNSPECIFIED' then 'request_method' defaults to 'GET'. Default value: "GET" Possible values: ["METHOD_UNSPECIFIED", "GET", "POST"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#request_method MonitoringUptimeCheckConfig#request_method}
- Specified by:
getRequestMethodin interfaceMonitoringUptimeCheckConfigHttpCheck
-
getServiceAgentAuthentication
public final MonitoringUptimeCheckConfigHttpCheckServiceAgentAuthentication getServiceAgentAuthentication()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckservice_agent_authentication block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#service_agent_authentication MonitoringUptimeCheckConfig#service_agent_authentication}
- Specified by:
getServiceAgentAuthenticationin interfaceMonitoringUptimeCheckConfigHttpCheck
-
getUseSsl
public final Object getUseSsl()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckIf true, use HTTPS instead of HTTP to run the check.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#use_ssl MonitoringUptimeCheckConfig#use_ssl}
- Specified by:
getUseSslin interfaceMonitoringUptimeCheckConfigHttpCheck
-
getValidateSsl
public final Object getValidateSsl()
Description copied from interface:MonitoringUptimeCheckConfigHttpCheckBoolean specifying whether to include SSL certificate validation as a part of the Uptime check.Only applies to checks where 'monitored_resource' is set to 'uptime_url'. If 'use_ssl' is 'false', setting 'validate_ssl' to 'true' has no effect. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#validate_ssl MonitoringUptimeCheckConfig#validate_ssl}
- Specified by:
getValidateSslin interfaceMonitoringUptimeCheckConfigHttpCheck
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-