Documentation ¶
Index ¶
- func FailoverGroup_IsConstruct(x interface{}) *bool
- func FailoverGroup_IsTerraformElement(x interface{}) *bool
- func FailoverGroup_IsTerraformResource(x interface{}) *bool
- func FailoverGroup_TfResourceType() *string
- func NewFailoverGroupFromReplicaOutputReference_Override(f FailoverGroupFromReplicaOutputReference, ...)
- func NewFailoverGroupReplicationScheduleCronOutputReference_Override(f FailoverGroupReplicationScheduleCronOutputReference, ...)
- func NewFailoverGroupReplicationScheduleOutputReference_Override(f FailoverGroupReplicationScheduleOutputReference, ...)
- func NewFailoverGroup_Override(f FailoverGroup, scope constructs.Construct, id *string, ...)
- type FailoverGroup
- type FailoverGroupConfig
- type FailoverGroupFromReplica
- type FailoverGroupFromReplicaOutputReference
- type FailoverGroupReplicationSchedule
- type FailoverGroupReplicationScheduleCron
- type FailoverGroupReplicationScheduleCronOutputReference
- type FailoverGroupReplicationScheduleOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailoverGroup_IsConstruct ¶
func FailoverGroup_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 FailoverGroup_IsTerraformElement ¶
func FailoverGroup_IsTerraformElement(x interface{}) *bool
Experimental.
func FailoverGroup_IsTerraformResource ¶
func FailoverGroup_IsTerraformResource(x interface{}) *bool
Experimental.
func FailoverGroup_TfResourceType ¶
func FailoverGroup_TfResourceType() *string
func NewFailoverGroupFromReplicaOutputReference_Override ¶
func NewFailoverGroupFromReplicaOutputReference_Override(f FailoverGroupFromReplicaOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewFailoverGroupReplicationScheduleCronOutputReference_Override ¶
func NewFailoverGroupReplicationScheduleCronOutputReference_Override(f FailoverGroupReplicationScheduleCronOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewFailoverGroupReplicationScheduleOutputReference_Override ¶
func NewFailoverGroupReplicationScheduleOutputReference_Override(f FailoverGroupReplicationScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewFailoverGroup_Override ¶
func NewFailoverGroup_Override(f FailoverGroup, scope constructs.Construct, id *string, config *FailoverGroupConfig)
Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group snowflake_failover_group} Resource.
Types ¶
type FailoverGroup ¶
type FailoverGroup interface { cdktf.TerraformResource AllowedAccounts() *[]*string SetAllowedAccounts(val *[]*string) AllowedAccountsInput() *[]*string AllowedDatabases() *[]*string SetAllowedDatabases(val *[]*string) AllowedDatabasesInput() *[]*string AllowedIntegrationTypes() *[]*string SetAllowedIntegrationTypes(val *[]*string) AllowedIntegrationTypesInput() *[]*string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string FromReplica() FailoverGroupFromReplicaOutputReference FromReplicaInput() *FailoverGroupFromReplica Id() *string SetId(val *string) IdInput() *string IgnoreEditionCheck() interface{} SetIgnoreEditionCheck(val interface{}) IgnoreEditionCheckInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node ObjectTypes() *[]*string SetObjectTypes(val *[]*string) ObjectTypesInput() *[]*string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} ReplicationSchedule() FailoverGroupReplicationScheduleOutputReference ReplicationScheduleInput() *FailoverGroupReplicationSchedule // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutFromReplica(value *FailoverGroupFromReplica) PutReplicationSchedule(value *FailoverGroupReplicationSchedule) ResetAllowedAccounts() ResetAllowedDatabases() ResetAllowedIntegrationTypes() ResetFromReplica() ResetId() ResetIgnoreEditionCheck() ResetObjectTypes() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetReplicationSchedule() SynthesizeAttributes() *map[string]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/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group snowflake_failover_group}.
func NewFailoverGroup ¶
func NewFailoverGroup(scope constructs.Construct, id *string, config *FailoverGroupConfig) FailoverGroup
Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group snowflake_failover_group} Resource.
type FailoverGroupConfig ¶
type FailoverGroupConfig 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"` // Specifies the identifier for the failover group. // // The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#name FailoverGroup#name} Name *string `field:"required" json:"name" yaml:"name"` // Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. // // Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form <org_name>.<target_account_name> // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#allowed_accounts FailoverGroup#allowed_accounts} AllowedAccounts *[]*string `field:"optional" json:"allowedAccounts" yaml:"allowedAccounts"` // Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. // // The OBJECT_TYPES list must include DATABASES to set this parameter. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#allowed_databases FailoverGroup#allowed_databases} AllowedDatabases *[]*string `field:"optional" json:"allowedDatabases" yaml:"allowedDatabases"` // Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. // // This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS" // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#allowed_integration_types FailoverGroup#allowed_integration_types} AllowedIntegrationTypes *[]*string `field:"optional" json:"allowedIntegrationTypes" yaml:"allowedIntegrationTypes"` // // The OBJECT_TYPES list must include SHARES to set this parameter. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#allowed_shares FailoverGroup#allowed_shares} AllowedShares *[]*string `field:"optional" json:"allowedShares" yaml:"allowedShares"` // from_replica block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#from_replica FailoverGroup#from_replica} FromReplica *FailoverGroupFromReplica `field:"optional" json:"fromReplica" yaml:"fromReplica"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#id FailoverGroup#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"` // Allows replicating objects to accounts on lower editions. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#ignore_edition_check FailoverGroup#ignore_edition_check} IgnoreEditionCheck interface{} `field:"optional" json:"ignoreEditionCheck" yaml:"ignoreEditionCheck"` // Type(s) of objects for which you are enabling replication and failover from the source account to the target account. // // The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES" // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#object_types FailoverGroup#object_types} ObjectTypes *[]*string `field:"optional" json:"objectTypes" yaml:"objectTypes"` // replication_schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#replication_schedule FailoverGroup#replication_schedule} ReplicationSchedule *FailoverGroupReplicationSchedule `field:"optional" json:"replicationSchedule" yaml:"replicationSchedule"` }
type FailoverGroupFromReplica ¶
type FailoverGroupFromReplica struct { // Identifier for the primary failover group in the source account. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#name FailoverGroup#name} Name *string `field:"required" json:"name" yaml:"name"` // Name of your Snowflake organization. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#organization_name FailoverGroup#organization_name} OrganizationName *string `field:"required" json:"organizationName" yaml:"organizationName"` // Source account from which you are enabling replication and failover of the specified objects. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#source_account_name FailoverGroup#source_account_name} SourceAccountName *string `field:"required" json:"sourceAccountName" yaml:"sourceAccountName"` }
type FailoverGroupFromReplicaOutputReference ¶
type FailoverGroupFromReplicaOutputReference 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() *FailoverGroupFromReplica SetInternalValue(val *FailoverGroupFromReplica) Name() *string SetName(val *string) NameInput() *string OrganizationName() *string SetOrganizationName(val *string) OrganizationNameInput() *string SourceAccountName() *string SetSourceAccountName(val *string) SourceAccountNameInput() *string // 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 NewFailoverGroupFromReplicaOutputReference ¶
func NewFailoverGroupFromReplicaOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) FailoverGroupFromReplicaOutputReference
type FailoverGroupReplicationSchedule ¶
type FailoverGroupReplicationSchedule struct { // cron block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#cron FailoverGroup#cron} Cron *FailoverGroupReplicationScheduleCron `field:"optional" json:"cron" yaml:"cron"` // Specifies the interval in minutes for the replication schedule. // // The interval must be greater than 0 and less than 1440 (24 hours). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#interval FailoverGroup#interval} Interval *float64 `field:"optional" json:"interval" yaml:"interval"` }
type FailoverGroupReplicationScheduleCron ¶
type FailoverGroupReplicationScheduleCron struct { // Specifies the cron expression for the replication schedule. // // The cron expression must be in the following format: "minute hour day-of-month month day-of-week". The following values are supported: minute: 0-59 hour: 0-23 day-of-month: 1-31 month: 1-12 day-of-week: 0-6 (0 is Sunday) // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#expression FailoverGroup#expression} Expression *string `field:"required" json:"expression" yaml:"expression"` // Specifies the time zone for secondary group refresh. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/failover_group#time_zone FailoverGroup#time_zone} TimeZone *string `field:"required" json:"timeZone" yaml:"timeZone"` }
type FailoverGroupReplicationScheduleCronOutputReference ¶
type FailoverGroupReplicationScheduleCronOutputReference 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 Expression() *string SetExpression(val *string) ExpressionInput() *string // Experimental. Fqn() *string InternalValue() *FailoverGroupReplicationScheduleCron SetInternalValue(val *FailoverGroupReplicationScheduleCron) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TimeZone() *string SetTimeZone(val *string) TimeZoneInput() *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 // 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 NewFailoverGroupReplicationScheduleCronOutputReference ¶
func NewFailoverGroupReplicationScheduleCronOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) FailoverGroupReplicationScheduleCronOutputReference
type FailoverGroupReplicationScheduleOutputReference ¶
type FailoverGroupReplicationScheduleOutputReference 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 Cron() FailoverGroupReplicationScheduleCronOutputReference CronInput() *FailoverGroupReplicationScheduleCron // Experimental. Fqn() *string InternalValue() *FailoverGroupReplicationSchedule SetInternalValue(val *FailoverGroupReplicationSchedule) Interval() *float64 SetInterval(val *float64) IntervalInput() *float64 // 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 PutCron(value *FailoverGroupReplicationScheduleCron) ResetCron() ResetInterval() // 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 NewFailoverGroupReplicationScheduleOutputReference ¶
func NewFailoverGroupReplicationScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) FailoverGroupReplicationScheduleOutputReference
Source Files ¶
- FailoverGroup.go
- FailoverGroupConfig.go
- FailoverGroupFromReplica.go
- FailoverGroupFromReplicaOutputReference.go
- FailoverGroupFromReplicaOutputReference__checks.go
- FailoverGroupReplicationSchedule.go
- FailoverGroupReplicationScheduleCron.go
- FailoverGroupReplicationScheduleCronOutputReference.go
- FailoverGroupReplicationScheduleCronOutputReference__checks.go
- FailoverGroupReplicationScheduleOutputReference.go
- FailoverGroupReplicationScheduleOutputReference__checks.go
- FailoverGroup__checks.go
- main.go