statuscake.SslCheck
Explore with Pulumi AI
Create SslCheck Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SslCheck(name: string, args: SslCheckArgs, opts?: CustomResourceOptions);
@overload
def SslCheck(resource_name: str,
args: SslCheckArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SslCheck(resource_name: str,
opts: Optional[ResourceOptions] = None,
alert_config: Optional[SslCheckAlertConfigArgs] = None,
check_interval: Optional[int] = None,
monitored_resource: Optional[SslCheckMonitoredResourceArgs] = None,
contact_groups: Optional[Sequence[str]] = None,
follow_redirects: Optional[bool] = None,
paused: Optional[bool] = None,
user_agent: Optional[str] = None)
func NewSslCheck(ctx *Context, name string, args SslCheckArgs, opts ...ResourceOption) (*SslCheck, error)
public SslCheck(string name, SslCheckArgs args, CustomResourceOptions? opts = null)
public SslCheck(String name, SslCheckArgs args)
public SslCheck(String name, SslCheckArgs args, CustomResourceOptions options)
type: statuscake:SslCheck
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SslCheckArgs
- 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 SslCheckArgs
- 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 SslCheckArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SslCheckArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SslCheckArgs
- 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 sslCheckResource = new Statuscake.SslCheck("sslCheckResource", new()
{
AlertConfig = new Statuscake.Inputs.SslCheckAlertConfigArgs
{
AlertAts = new[]
{
0,
},
OnBroken = false,
OnExpiry = false,
OnMixed = false,
OnReminder = false,
},
CheckInterval = 0,
MonitoredResource = new Statuscake.Inputs.SslCheckMonitoredResourceArgs
{
Address = "string",
Hostname = "string",
},
ContactGroups = new[]
{
"string",
},
FollowRedirects = false,
Paused = false,
UserAgent = "string",
});
example, err := statuscake.NewSslCheck(ctx, "sslCheckResource", &statuscake.SslCheckArgs{
AlertConfig: &statuscake.SslCheckAlertConfigArgs{
AlertAts: pulumi.IntArray{
pulumi.Int(0),
},
OnBroken: pulumi.Bool(false),
OnExpiry: pulumi.Bool(false),
OnMixed: pulumi.Bool(false),
OnReminder: pulumi.Bool(false),
},
CheckInterval: pulumi.Int(0),
MonitoredResource: &statuscake.SslCheckMonitoredResourceArgs{
Address: pulumi.String("string"),
Hostname: pulumi.String("string"),
},
ContactGroups: pulumi.StringArray{
pulumi.String("string"),
},
FollowRedirects: pulumi.Bool(false),
Paused: pulumi.Bool(false),
UserAgent: pulumi.String("string"),
})
var sslCheckResource = new SslCheck("sslCheckResource", SslCheckArgs.builder()
.alertConfig(SslCheckAlertConfigArgs.builder()
.alertAts(0)
.onBroken(false)
.onExpiry(false)
.onMixed(false)
.onReminder(false)
.build())
.checkInterval(0)
.monitoredResource(SslCheckMonitoredResourceArgs.builder()
.address("string")
.hostname("string")
.build())
.contactGroups("string")
.followRedirects(false)
.paused(false)
.userAgent("string")
.build());
ssl_check_resource = statuscake.SslCheck("sslCheckResource",
alert_config={
"alert_ats": [0],
"on_broken": False,
"on_expiry": False,
"on_mixed": False,
"on_reminder": False,
},
check_interval=0,
monitored_resource={
"address": "string",
"hostname": "string",
},
contact_groups=["string"],
follow_redirects=False,
paused=False,
user_agent="string")
const sslCheckResource = new statuscake.SslCheck("sslCheckResource", {
alertConfig: {
alertAts: [0],
onBroken: false,
onExpiry: false,
onMixed: false,
onReminder: false,
},
checkInterval: 0,
monitoredResource: {
address: "string",
hostname: "string",
},
contactGroups: ["string"],
followRedirects: false,
paused: false,
userAgent: "string",
});
type: statuscake:SslCheck
properties:
alertConfig:
alertAts:
- 0
onBroken: false
onExpiry: false
onMixed: false
onReminder: false
checkInterval: 0
contactGroups:
- string
followRedirects: false
monitoredResource:
address: string
hostname: string
paused: false
userAgent: string
SslCheck 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 SslCheck resource accepts the following input properties:
- Alert
Config Pulumiverse.Statuscake. Inputs. Ssl Check Alert Config - Alert configuration block
- Check
Interval int - Number of seconds between checks
- Monitored
Resource Pulumiverse.Statuscake. Inputs. Ssl Check Monitored Resource - Monitored resource configuration block. The describes server under test
- Contact
Groups List<string> - List of contact group IDs
- Follow
Redirects bool - Whether to follow redirects when testing. Disabled by default
- Paused bool
- Whether the check should be run
- User
Agent string - Custom user agent string set when testing
- Alert
Config SslCheck Alert Config Args - Alert configuration block
- Check
Interval int - Number of seconds between checks
- Monitored
Resource SslCheck Monitored Resource Args - Monitored resource configuration block. The describes server under test
- Contact
Groups []string - List of contact group IDs
- Follow
Redirects bool - Whether to follow redirects when testing. Disabled by default
- Paused bool
- Whether the check should be run
- User
Agent string - Custom user agent string set when testing
- alert
Config SslCheck Alert Config - Alert configuration block
- check
Interval Integer - Number of seconds between checks
- monitored
Resource SslCheck Monitored Resource - Monitored resource configuration block. The describes server under test
- contact
Groups List<String> - List of contact group IDs
- follow
Redirects Boolean - Whether to follow redirects when testing. Disabled by default
- paused Boolean
- Whether the check should be run
- user
Agent String - Custom user agent string set when testing
- alert
Config SslCheck Alert Config - Alert configuration block
- check
Interval number - Number of seconds between checks
- monitored
Resource SslCheck Monitored Resource - Monitored resource configuration block. The describes server under test
- contact
Groups string[] - List of contact group IDs
- follow
Redirects boolean - Whether to follow redirects when testing. Disabled by default
- paused boolean
- Whether the check should be run
- user
Agent string - Custom user agent string set when testing
- alert_
config SslCheck Alert Config Args - Alert configuration block
- check_
interval int - Number of seconds between checks
- monitored_
resource SslCheck Monitored Resource Args - Monitored resource configuration block. The describes server under test
- contact_
groups Sequence[str] - List of contact group IDs
- follow_
redirects bool - Whether to follow redirects when testing. Disabled by default
- paused bool
- Whether the check should be run
- user_
agent str - Custom user agent string set when testing
- alert
Config Property Map - Alert configuration block
- check
Interval Number - Number of seconds between checks
- monitored
Resource Property Map - Monitored resource configuration block. The describes server under test
- contact
Groups List<String> - List of contact group IDs
- follow
Redirects Boolean - Whether to follow redirects when testing. Disabled by default
- paused Boolean
- Whether the check should be run
- user
Agent String - Custom user agent string set when testing
Outputs
All input properties are implicitly available as output properties. Additionally, the SslCheck resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SslCheck Resource
Get an existing SslCheck 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?: SslCheckState, opts?: CustomResourceOptions): SslCheck
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alert_config: Optional[SslCheckAlertConfigArgs] = None,
check_interval: Optional[int] = None,
contact_groups: Optional[Sequence[str]] = None,
follow_redirects: Optional[bool] = None,
monitored_resource: Optional[SslCheckMonitoredResourceArgs] = None,
paused: Optional[bool] = None,
user_agent: Optional[str] = None) -> SslCheck
func GetSslCheck(ctx *Context, name string, id IDInput, state *SslCheckState, opts ...ResourceOption) (*SslCheck, error)
public static SslCheck Get(string name, Input<string> id, SslCheckState? state, CustomResourceOptions? opts = null)
public static SslCheck get(String name, Output<String> id, SslCheckState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Alert
Config Pulumiverse.Statuscake. Inputs. Ssl Check Alert Config - Alert configuration block
- Check
Interval int - Number of seconds between checks
- Contact
Groups List<string> - List of contact group IDs
- Follow
Redirects bool - Whether to follow redirects when testing. Disabled by default
- Monitored
Resource Pulumiverse.Statuscake. Inputs. Ssl Check Monitored Resource - Monitored resource configuration block. The describes server under test
- Paused bool
- Whether the check should be run
- User
Agent string - Custom user agent string set when testing
- Alert
Config SslCheck Alert Config Args - Alert configuration block
- Check
Interval int - Number of seconds between checks
- Contact
Groups []string - List of contact group IDs
- Follow
Redirects bool - Whether to follow redirects when testing. Disabled by default
- Monitored
Resource SslCheck Monitored Resource Args - Monitored resource configuration block. The describes server under test
- Paused bool
- Whether the check should be run
- User
Agent string - Custom user agent string set when testing
- alert
Config SslCheck Alert Config - Alert configuration block
- check
Interval Integer - Number of seconds between checks
- contact
Groups List<String> - List of contact group IDs
- follow
Redirects Boolean - Whether to follow redirects when testing. Disabled by default
- monitored
Resource SslCheck Monitored Resource - Monitored resource configuration block. The describes server under test
- paused Boolean
- Whether the check should be run
- user
Agent String - Custom user agent string set when testing
- alert
Config SslCheck Alert Config - Alert configuration block
- check
Interval number - Number of seconds between checks
- contact
Groups string[] - List of contact group IDs
- follow
Redirects boolean - Whether to follow redirects when testing. Disabled by default
- monitored
Resource SslCheck Monitored Resource - Monitored resource configuration block. The describes server under test
- paused boolean
- Whether the check should be run
- user
Agent string - Custom user agent string set when testing
- alert_
config SslCheck Alert Config Args - Alert configuration block
- check_
interval int - Number of seconds between checks
- contact_
groups Sequence[str] - List of contact group IDs
- follow_
redirects bool - Whether to follow redirects when testing. Disabled by default
- monitored_
resource SslCheck Monitored Resource Args - Monitored resource configuration block. The describes server under test
- paused bool
- Whether the check should be run
- user_
agent str - Custom user agent string set when testing
- alert
Config Property Map - Alert configuration block
- check
Interval Number - Number of seconds between checks
- contact
Groups List<String> - List of contact group IDs
- follow
Redirects Boolean - Whether to follow redirects when testing. Disabled by default
- monitored
Resource Property Map - Monitored resource configuration block. The describes server under test
- paused Boolean
- Whether the check should be run
- user
Agent String - Custom user agent string set when testing
Supporting Types
SslCheckAlertConfig, SslCheckAlertConfigArgs
- Alert
Ats List<int> - On
Broken bool - On
Expiry bool - On
Mixed bool - On
Reminder bool
- Alert
Ats []int - On
Broken bool - On
Expiry bool - On
Mixed bool - On
Reminder bool
- alert
Ats List<Integer> - on
Broken Boolean - on
Expiry Boolean - on
Mixed Boolean - on
Reminder Boolean
- alert
Ats number[] - on
Broken boolean - on
Expiry boolean - on
Mixed boolean - on
Reminder boolean
- alert_
ats Sequence[int] - on_
broken bool - on_
expiry bool - on_
mixed bool - on_
reminder bool
- alert
Ats List<Number> - on
Broken Boolean - on
Expiry Boolean - on
Mixed Boolean - on
Reminder Boolean
SslCheckMonitoredResource, SslCheckMonitoredResourceArgs
Package Details
- Repository
- statuscake pulumiverse/pulumi-statuscake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
statuscake
Terraform Provider.