Documentation ¶
Index ¶
- func GoogleFirestoreBackupSchedule_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func GoogleFirestoreBackupSchedule_IsConstruct(x interface{}) *bool
- func GoogleFirestoreBackupSchedule_IsTerraformElement(x interface{}) *bool
- func GoogleFirestoreBackupSchedule_IsTerraformResource(x interface{}) *bool
- func GoogleFirestoreBackupSchedule_TfResourceType() *string
- func NewGoogleFirestoreBackupScheduleDailyRecurrenceOutputReference_Override(g GoogleFirestoreBackupScheduleDailyRecurrenceOutputReference, ...)
- func NewGoogleFirestoreBackupScheduleTimeoutsOutputReference_Override(g GoogleFirestoreBackupScheduleTimeoutsOutputReference, ...)
- func NewGoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference_Override(g GoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference, ...)
- func NewGoogleFirestoreBackupSchedule_Override(g GoogleFirestoreBackupSchedule, scope constructs.Construct, id *string, ...)
- type GoogleFirestoreBackupSchedule
- type GoogleFirestoreBackupScheduleConfig
- type GoogleFirestoreBackupScheduleDailyRecurrence
- type GoogleFirestoreBackupScheduleDailyRecurrenceOutputReference
- type GoogleFirestoreBackupScheduleTimeouts
- type GoogleFirestoreBackupScheduleTimeoutsOutputReference
- type GoogleFirestoreBackupScheduleWeeklyRecurrence
- type GoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleFirestoreBackupSchedule_GenerateConfigForImport ¶
func GoogleFirestoreBackupSchedule_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a GoogleFirestoreBackupSchedule resource upon running "cdktf plan <stack-name>".
func GoogleFirestoreBackupSchedule_IsConstruct ¶
func GoogleFirestoreBackupSchedule_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func GoogleFirestoreBackupSchedule_IsTerraformElement ¶
func GoogleFirestoreBackupSchedule_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleFirestoreBackupSchedule_IsTerraformResource ¶
func GoogleFirestoreBackupSchedule_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleFirestoreBackupSchedule_TfResourceType ¶
func GoogleFirestoreBackupSchedule_TfResourceType() *string
func NewGoogleFirestoreBackupScheduleDailyRecurrenceOutputReference_Override ¶
func NewGoogleFirestoreBackupScheduleDailyRecurrenceOutputReference_Override(g GoogleFirestoreBackupScheduleDailyRecurrenceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleFirestoreBackupScheduleTimeoutsOutputReference_Override ¶
func NewGoogleFirestoreBackupScheduleTimeoutsOutputReference_Override(g GoogleFirestoreBackupScheduleTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference_Override ¶
func NewGoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference_Override(g GoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleFirestoreBackupSchedule_Override ¶
func NewGoogleFirestoreBackupSchedule_Override(g GoogleFirestoreBackupSchedule, scope constructs.Construct, id *string, config *GoogleFirestoreBackupScheduleConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule google_firestore_backup_schedule} Resource.
Types ¶
type GoogleFirestoreBackupSchedule ¶
type GoogleFirestoreBackupSchedule interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) DailyRecurrence() GoogleFirestoreBackupScheduleDailyRecurrenceOutputReference DailyRecurrenceInput() *GoogleFirestoreBackupScheduleDailyRecurrence Database() *string SetDatabase(val *string) DatabaseInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string // The tree node. Node() constructs.Node Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Retention() *string SetRetention(val *string) RetentionInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() GoogleFirestoreBackupScheduleTimeoutsOutputReference TimeoutsInput() interface{} WeeklyRecurrence() GoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference WeeklyRecurrenceInput() *GoogleFirestoreBackupScheduleWeeklyRecurrence // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutDailyRecurrence(value *GoogleFirestoreBackupScheduleDailyRecurrence) PutTimeouts(value *GoogleFirestoreBackupScheduleTimeouts) PutWeeklyRecurrence(value *GoogleFirestoreBackupScheduleWeeklyRecurrence) ResetDailyRecurrence() ResetDatabase() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetTimeouts() ResetWeeklyRecurrence() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule google_firestore_backup_schedule}.
func NewGoogleFirestoreBackupSchedule ¶
func NewGoogleFirestoreBackupSchedule(scope constructs.Construct, id *string, config *GoogleFirestoreBackupScheduleConfig) GoogleFirestoreBackupSchedule
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule google_firestore_backup_schedule} Resource.
type GoogleFirestoreBackupScheduleConfig ¶
type GoogleFirestoreBackupScheduleConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". // // You can set this to a value up to 14 weeks. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule#retention GoogleFirestoreBackupSchedule#retention} Retention *string `field:"required" json:"retention" yaml:"retention"` // daily_recurrence block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule#daily_recurrence GoogleFirestoreBackupSchedule#daily_recurrence} DailyRecurrence *GoogleFirestoreBackupScheduleDailyRecurrence `field:"optional" json:"dailyRecurrence" yaml:"dailyRecurrence"` // The Firestore database id. Defaults to '"(default)"'. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule#database GoogleFirestoreBackupSchedule#database} Database *string `field:"optional" json:"database" yaml:"database"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule#id GoogleFirestoreBackupSchedule#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule#project GoogleFirestoreBackupSchedule#project}. Project *string `field:"optional" json:"project" yaml:"project"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule#timeouts GoogleFirestoreBackupSchedule#timeouts} Timeouts *GoogleFirestoreBackupScheduleTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // weekly_recurrence block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule#weekly_recurrence GoogleFirestoreBackupSchedule#weekly_recurrence} WeeklyRecurrence *GoogleFirestoreBackupScheduleWeeklyRecurrence `field:"optional" json:"weeklyRecurrence" yaml:"weeklyRecurrence"` }
type GoogleFirestoreBackupScheduleDailyRecurrence ¶
type GoogleFirestoreBackupScheduleDailyRecurrence struct { }
type GoogleFirestoreBackupScheduleDailyRecurrenceOutputReference ¶
type GoogleFirestoreBackupScheduleDailyRecurrenceOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *GoogleFirestoreBackupScheduleDailyRecurrence SetInternalValue(val *GoogleFirestoreBackupScheduleDailyRecurrence) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleFirestoreBackupScheduleDailyRecurrenceOutputReference ¶
func NewGoogleFirestoreBackupScheduleDailyRecurrenceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleFirestoreBackupScheduleDailyRecurrenceOutputReference
type GoogleFirestoreBackupScheduleTimeouts ¶
type GoogleFirestoreBackupScheduleTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule#create GoogleFirestoreBackupSchedule#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule#delete GoogleFirestoreBackupSchedule#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule#update GoogleFirestoreBackupSchedule#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type GoogleFirestoreBackupScheduleTimeoutsOutputReference ¶
type GoogleFirestoreBackupScheduleTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleFirestoreBackupScheduleTimeoutsOutputReference ¶
func NewGoogleFirestoreBackupScheduleTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleFirestoreBackupScheduleTimeoutsOutputReference
type GoogleFirestoreBackupScheduleWeeklyRecurrence ¶
type GoogleFirestoreBackupScheduleWeeklyRecurrence struct { // The day of week to run. Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.7.0/docs/resources/google_firestore_backup_schedule#day GoogleFirestoreBackupSchedule#day} Day *string `field:"optional" json:"day" yaml:"day"` }
type GoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference ¶
type GoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Day() *string SetDay(val *string) DayInput() *string // Experimental. Fqn() *string InternalValue() *GoogleFirestoreBackupScheduleWeeklyRecurrence SetInternalValue(val *GoogleFirestoreBackupScheduleWeeklyRecurrence) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDay() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference ¶
func NewGoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference
Source Files ¶
- GoogleFirestoreBackupSchedule.go
- GoogleFirestoreBackupScheduleConfig.go
- GoogleFirestoreBackupScheduleDailyRecurrence.go
- GoogleFirestoreBackupScheduleDailyRecurrenceOutputReference.go
- GoogleFirestoreBackupScheduleDailyRecurrenceOutputReference__checks.go
- GoogleFirestoreBackupScheduleTimeouts.go
- GoogleFirestoreBackupScheduleTimeoutsOutputReference.go
- GoogleFirestoreBackupScheduleTimeoutsOutputReference__checks.go
- GoogleFirestoreBackupScheduleWeeklyRecurrence.go
- GoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference.go
- GoogleFirestoreBackupScheduleWeeklyRecurrenceOutputReference__checks.go
- GoogleFirestoreBackupSchedule__checks.go
- main.go