This provider is currently in preview.
pulumiservice.TtlSchedule
Explore with Pulumi AI
This provider is currently in preview.
A scheduled stack destroy run.
Create TtlSchedule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TtlSchedule(name: string, args: TtlScheduleArgs, opts?: CustomResourceOptions);
@overload
def TtlSchedule(resource_name: str,
args: TtlScheduleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TtlSchedule(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization: Optional[str] = None,
project: Optional[str] = None,
stack: Optional[str] = None,
timestamp: Optional[str] = None,
delete_after_destroy: Optional[bool] = None)
func NewTtlSchedule(ctx *Context, name string, args TtlScheduleArgs, opts ...ResourceOption) (*TtlSchedule, error)
public TtlSchedule(string name, TtlScheduleArgs args, CustomResourceOptions? opts = null)
public TtlSchedule(String name, TtlScheduleArgs args)
public TtlSchedule(String name, TtlScheduleArgs args, CustomResourceOptions options)
type: pulumiservice:TtlSchedule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TtlScheduleArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. TtlScheduleArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TtlScheduleArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TtlScheduleArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. TtlScheduleArgs - 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 ttlScheduleResource = new PulumiService.TtlSchedule("ttlScheduleResource", new()
{
Organization = "string",
Project = "string",
Stack = "string",
Timestamp = "string",
DeleteAfterDestroy = false,
});
example, err := pulumiservice.NewTtlSchedule(ctx, "ttlScheduleResource", &pulumiservice.TtlScheduleArgs{
Organization: pulumi.String("string"),
Project: pulumi.String("string"),
Stack: pulumi.String("string"),
Timestamp: pulumi.String("string"),
DeleteAfterDestroy: pulumi.Bool(false),
})
var ttlScheduleResource = new TtlSchedule("ttlScheduleResource", TtlScheduleArgs.builder()
.organization("string")
.project("string")
.stack("string")
.timestamp("string")
.deleteAfterDestroy(false)
.build());
ttl_schedule_resource = pulumiservice.TtlSchedule("ttlScheduleResource",
organization="string",
project="string",
stack="string",
timestamp="string",
delete_after_destroy=False)
const ttlScheduleResource = new pulumiservice.TtlSchedule("ttlScheduleResource", {
organization: "string",
project: "string",
stack: "string",
timestamp: "string",
deleteAfterDestroy: false,
});
type: pulumiservice:TtlSchedule
properties:
deleteAfterDestroy: false
organization: string
project: string
stack: string
timestamp: string
TtlSchedule 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 TtlSchedule resource accepts the following input properties:
- Organization
This property is required. Changes to this property will trigger replacement.
- Organization name.
- Project
This property is required. Changes to this property will trigger replacement.
- Project name.
- Stack
This property is required. Changes to this property will trigger replacement.
- Stack name.
- Timestamp
This property is required. Changes to this property will trigger replacement.
- The time at which the schedule should run, in ISO 8601 format. Eg: 2020-01-01T00:00:00Z.
- Delete
After boolDestroy - True if the stack and all associated history and settings should be deleted.
- Organization
This property is required. Changes to this property will trigger replacement.
- Organization name.
- Project
This property is required. Changes to this property will trigger replacement.
- Project name.
- Stack
This property is required. Changes to this property will trigger replacement.
- Stack name.
- Timestamp
This property is required. Changes to this property will trigger replacement.
- The time at which the schedule should run, in ISO 8601 format. Eg: 2020-01-01T00:00:00Z.
- Delete
After boolDestroy - True if the stack and all associated history and settings should be deleted.
- organization
This property is required. Changes to this property will trigger replacement.
- Organization name.
- project
This property is required. Changes to this property will trigger replacement.
- Project name.
- stack
This property is required. Changes to this property will trigger replacement.
- Stack name.
- timestamp
This property is required. Changes to this property will trigger replacement.
- The time at which the schedule should run, in ISO 8601 format. Eg: 2020-01-01T00:00:00Z.
- delete
After BooleanDestroy - True if the stack and all associated history and settings should be deleted.
- organization
This property is required. Changes to this property will trigger replacement.
- Organization name.
- project
This property is required. Changes to this property will trigger replacement.
- Project name.
- stack
This property is required. Changes to this property will trigger replacement.
- Stack name.
- timestamp
This property is required. Changes to this property will trigger replacement.
- The time at which the schedule should run, in ISO 8601 format. Eg: 2020-01-01T00:00:00Z.
- delete
After booleanDestroy - True if the stack and all associated history and settings should be deleted.
- organization
This property is required. Changes to this property will trigger replacement.
- Organization name.
- project
This property is required. Changes to this property will trigger replacement.
- Project name.
- stack
This property is required. Changes to this property will trigger replacement.
- Stack name.
- timestamp
This property is required. Changes to this property will trigger replacement.
- The time at which the schedule should run, in ISO 8601 format. Eg: 2020-01-01T00:00:00Z.
- delete_
after_ booldestroy - True if the stack and all associated history and settings should be deleted.
- organization
This property is required. Changes to this property will trigger replacement.
- Organization name.
- project
This property is required. Changes to this property will trigger replacement.
- Project name.
- stack
This property is required. Changes to this property will trigger replacement.
- Stack name.
- timestamp
This property is required. Changes to this property will trigger replacement.
- The time at which the schedule should run, in ISO 8601 format. Eg: 2020-01-01T00:00:00Z.
- delete
After BooleanDestroy - True if the stack and all associated history and settings should be deleted.
Outputs
All input properties are implicitly available as output properties. Additionally, the TtlSchedule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Schedule
Id string - Schedule ID of the created schedule, assigned by Pulumi Cloud.
- Id string
- The provider-assigned unique ID for this managed resource.
- Schedule
Id string - Schedule ID of the created schedule, assigned by Pulumi Cloud.
- id String
- The provider-assigned unique ID for this managed resource.
- schedule
Id String - Schedule ID of the created schedule, assigned by Pulumi Cloud.
- id string
- The provider-assigned unique ID for this managed resource.
- schedule
Id string - Schedule ID of the created schedule, assigned by Pulumi Cloud.
- id str
- The provider-assigned unique ID for this managed resource.
- schedule_
id str - Schedule ID of the created schedule, assigned by Pulumi Cloud.
- id String
- The provider-assigned unique ID for this managed resource.
- schedule
Id String - Schedule ID of the created schedule, assigned by Pulumi Cloud.
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0
This provider is currently in preview.