Documentation
¶
Index ¶
- func GoogleRedisInstance_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func GoogleRedisInstance_IsConstruct(x interface{}) *bool
- func GoogleRedisInstance_IsTerraformElement(x interface{}) *bool
- func GoogleRedisInstance_IsTerraformResource(x interface{}) *bool
- func GoogleRedisInstance_TfResourceType() *string
- func NewGoogleRedisInstanceMaintenancePolicyOutputReference_Override(g GoogleRedisInstanceMaintenancePolicyOutputReference, ...)
- func NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList_Override(g GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList, ...)
- func NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference_Override(g GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference, ...)
- func NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference_Override(...)
- func NewGoogleRedisInstanceMaintenanceScheduleList_Override(g GoogleRedisInstanceMaintenanceScheduleList, ...)
- func NewGoogleRedisInstanceMaintenanceScheduleOutputReference_Override(g GoogleRedisInstanceMaintenanceScheduleOutputReference, ...)
- func NewGoogleRedisInstanceNodesList_Override(g GoogleRedisInstanceNodesList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewGoogleRedisInstanceNodesOutputReference_Override(g GoogleRedisInstanceNodesOutputReference, ...)
- func NewGoogleRedisInstancePersistenceConfigOutputReference_Override(g GoogleRedisInstancePersistenceConfigOutputReference, ...)
- func NewGoogleRedisInstanceServerCaCertsList_Override(g GoogleRedisInstanceServerCaCertsList, ...)
- func NewGoogleRedisInstanceServerCaCertsOutputReference_Override(g GoogleRedisInstanceServerCaCertsOutputReference, ...)
- func NewGoogleRedisInstanceTimeoutsOutputReference_Override(g GoogleRedisInstanceTimeoutsOutputReference, ...)
- func NewGoogleRedisInstance_Override(g GoogleRedisInstance, scope constructs.Construct, id *string, ...)
- type GoogleRedisInstance
- type GoogleRedisInstanceConfig
- type GoogleRedisInstanceMaintenancePolicy
- type GoogleRedisInstanceMaintenancePolicyOutputReference
- type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindow
- type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList
- type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference
- type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime
- type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference
- type GoogleRedisInstanceMaintenanceSchedule
- type GoogleRedisInstanceMaintenanceScheduleList
- type GoogleRedisInstanceMaintenanceScheduleOutputReference
- type GoogleRedisInstanceNodes
- type GoogleRedisInstanceNodesList
- type GoogleRedisInstanceNodesOutputReference
- type GoogleRedisInstancePersistenceConfig
- type GoogleRedisInstancePersistenceConfigOutputReference
- type GoogleRedisInstanceServerCaCerts
- type GoogleRedisInstanceServerCaCertsList
- type GoogleRedisInstanceServerCaCertsOutputReference
- type GoogleRedisInstanceTimeouts
- type GoogleRedisInstanceTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleRedisInstance_GenerateConfigForImport ¶
func GoogleRedisInstance_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a GoogleRedisInstance resource upon running "cdktf plan <stack-name>".
func GoogleRedisInstance_IsConstruct ¶
func GoogleRedisInstance_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 GoogleRedisInstance_IsTerraformElement ¶
func GoogleRedisInstance_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleRedisInstance_IsTerraformResource ¶
func GoogleRedisInstance_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleRedisInstance_TfResourceType ¶
func GoogleRedisInstance_TfResourceType() *string
func NewGoogleRedisInstanceMaintenancePolicyOutputReference_Override ¶
func NewGoogleRedisInstanceMaintenancePolicyOutputReference_Override(g GoogleRedisInstanceMaintenancePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList_Override ¶
func NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList_Override(g GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference_Override ¶
func NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference_Override(g GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference_Override ¶
func NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference_Override(g GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleRedisInstanceMaintenanceScheduleList_Override ¶
func NewGoogleRedisInstanceMaintenanceScheduleList_Override(g GoogleRedisInstanceMaintenanceScheduleList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleRedisInstanceMaintenanceScheduleOutputReference_Override ¶
func NewGoogleRedisInstanceMaintenanceScheduleOutputReference_Override(g GoogleRedisInstanceMaintenanceScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleRedisInstanceNodesList_Override ¶
func NewGoogleRedisInstanceNodesList_Override(g GoogleRedisInstanceNodesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleRedisInstanceNodesOutputReference_Override ¶
func NewGoogleRedisInstanceNodesOutputReference_Override(g GoogleRedisInstanceNodesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleRedisInstancePersistenceConfigOutputReference_Override ¶
func NewGoogleRedisInstancePersistenceConfigOutputReference_Override(g GoogleRedisInstancePersistenceConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleRedisInstanceServerCaCertsList_Override ¶
func NewGoogleRedisInstanceServerCaCertsList_Override(g GoogleRedisInstanceServerCaCertsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleRedisInstanceServerCaCertsOutputReference_Override ¶
func NewGoogleRedisInstanceServerCaCertsOutputReference_Override(g GoogleRedisInstanceServerCaCertsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleRedisInstanceTimeoutsOutputReference_Override ¶
func NewGoogleRedisInstanceTimeoutsOutputReference_Override(g GoogleRedisInstanceTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleRedisInstance_Override ¶
func NewGoogleRedisInstance_Override(g GoogleRedisInstance, scope constructs.Construct, id *string, config *GoogleRedisInstanceConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance google_redis_instance} Resource.
Types ¶
type GoogleRedisInstance ¶
type GoogleRedisInstance interface {
cdktf.TerraformResource
AlternativeLocationId() *string
SetAlternativeLocationId(val *string)
AlternativeLocationIdInput() *string
AuthEnabled() interface{}
SetAuthEnabled(val interface{})
AuthEnabledInput() interface{}
AuthorizedNetwork() *string
SetAuthorizedNetwork(val *string)
AuthorizedNetworkInput() *string
AuthString() *string
// Experimental.
CdktfStack() cdktf.TerraformStack
// Experimental.
Connection() interface{}
// Experimental.
SetConnection(val interface{})
ConnectMode() *string
SetConnectMode(val *string)
ConnectModeInput() *string
// Experimental.
ConstructNodeMetadata() *map[string]interface{}
// Experimental.
Count() interface{}
// Experimental.
SetCount(val interface{})
CreateTime() *string
CurrentLocationId() *string
CustomerManagedKey() *string
SetCustomerManagedKey(val *string)
CustomerManagedKeyInput() *string
// Experimental.
DependsOn() *[]*string
// Experimental.
SetDependsOn(val *[]*string)
DisplayName() *string
SetDisplayName(val *string)
DisplayNameInput() *string
EffectiveLabels() cdktf.StringMap
EffectiveReservedIpRange() *string
// Experimental.
ForEach() cdktf.ITerraformIterator
// Experimental.
SetForEach(val cdktf.ITerraformIterator)
// Experimental.
Fqn() *string
// Experimental.
FriendlyUniqueId() *string
Host() *string
Id() *string
SetId(val *string)
IdInput() *string
Labels() *map[string]*string
SetLabels(val *map[string]*string)
LabelsInput() *map[string]*string
// Experimental.
Lifecycle() *cdktf.TerraformResourceLifecycle
// Experimental.
SetLifecycle(val *cdktf.TerraformResourceLifecycle)
LocationId() *string
SetLocationId(val *string)
LocationIdInput() *string
MaintenancePolicy() GoogleRedisInstanceMaintenancePolicyOutputReference
MaintenancePolicyInput() *GoogleRedisInstanceMaintenancePolicy
MaintenanceSchedule() GoogleRedisInstanceMaintenanceScheduleList
MaintenanceVersion() *string
SetMaintenanceVersion(val *string)
MaintenanceVersionInput() *string
MemorySizeGb() *float64
SetMemorySizeGb(val *float64)
MemorySizeGbInput() *float64
Name() *string
SetName(val *string)
NameInput() *string
// The tree node.
Node() constructs.Node
Nodes() GoogleRedisInstanceNodesList
PersistenceConfig() GoogleRedisInstancePersistenceConfigOutputReference
PersistenceConfigInput() *GoogleRedisInstancePersistenceConfig
PersistenceIamIdentity() *string
Port() *float64
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{}
ReadEndpoint() *string
ReadEndpointPort() *float64
ReadReplicasMode() *string
SetReadReplicasMode(val *string)
ReadReplicasModeInput() *string
RedisConfigs() *map[string]*string
SetRedisConfigs(val *map[string]*string)
RedisConfigsInput() *map[string]*string
RedisVersion() *string
SetRedisVersion(val *string)
RedisVersionInput() *string
Region() *string
SetRegion(val *string)
RegionInput() *string
ReplicaCount() *float64
SetReplicaCount(val *float64)
ReplicaCountInput() *float64
ReservedIpRange() *string
SetReservedIpRange(val *string)
ReservedIpRangeInput() *string
SecondaryIpRange() *string
SetSecondaryIpRange(val *string)
SecondaryIpRangeInput() *string
ServerCaCerts() GoogleRedisInstanceServerCaCertsList
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
TerraformLabels() cdktf.StringMap
// Experimental.
TerraformMetaArguments() *map[string]interface{}
// Experimental.
TerraformResourceType() *string
Tier() *string
SetTier(val *string)
TierInput() *string
Timeouts() GoogleRedisInstanceTimeoutsOutputReference
TimeoutsInput() interface{}
TransitEncryptionMode() *string
SetTransitEncryptionMode(val *string)
TransitEncryptionModeInput() *string
// 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)
PutMaintenancePolicy(value *GoogleRedisInstanceMaintenancePolicy)
PutPersistenceConfig(value *GoogleRedisInstancePersistenceConfig)
PutTimeouts(value *GoogleRedisInstanceTimeouts)
ResetAlternativeLocationId()
ResetAuthEnabled()
ResetAuthorizedNetwork()
ResetConnectMode()
ResetCustomerManagedKey()
ResetDisplayName()
ResetId()
ResetLabels()
ResetLocationId()
ResetMaintenancePolicy()
ResetMaintenanceVersion()
// Resets a previously passed logical Id to use the auto-generated logical id again.
// Experimental.
ResetOverrideLogicalId()
ResetPersistenceConfig()
ResetProject()
ResetReadReplicasMode()
ResetRedisConfigs()
ResetRedisVersion()
ResetRegion()
ResetReplicaCount()
ResetReservedIpRange()
ResetSecondaryIpRange()
ResetTier()
ResetTimeouts()
ResetTransitEncryptionMode()
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.49.3/docs/resources/google_redis_instance google_redis_instance}.
func NewGoogleRedisInstance ¶
func NewGoogleRedisInstance(scope constructs.Construct, id *string, config *GoogleRedisInstanceConfig) GoogleRedisInstance
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance google_redis_instance} Resource.
type GoogleRedisInstanceConfig ¶
type GoogleRedisInstanceConfig 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"`
// Redis memory size in GiB.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#memory_size_gb GoogleRedisInstance#memory_size_gb}
MemorySizeGb *float64 `field:"required" json:"memorySizeGb" yaml:"memorySizeGb"`
// The ID of the instance or a fully qualified identifier for the instance.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#name GoogleRedisInstance#name}
Name *string `field:"required" json:"name" yaml:"name"`
// Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones.
//
// If provided, it must be a different zone from the one provided in
// [locationId].
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#alternative_location_id GoogleRedisInstance#alternative_location_id}
AlternativeLocationId *string `field:"optional" json:"alternativeLocationId" yaml:"alternativeLocationId"`
// Optional.
//
// Indicates whether OSS Redis AUTH is enabled for the
// instance. If set to "true" AUTH is enabled on the instance.
// Default value is "false" meaning AUTH is disabled.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#auth_enabled GoogleRedisInstance#auth_enabled}
AuthEnabled interface{} `field:"optional" json:"authEnabled" yaml:"authEnabled"`
// The full name of the Google Compute Engine network to which the instance is connected.
//
// If left unspecified, the default network
// will be used.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#authorized_network GoogleRedisInstance#authorized_network}
AuthorizedNetwork *string `field:"optional" json:"authorizedNetwork" yaml:"authorizedNetwork"`
// The connection mode of the Redis instance. Default value: "DIRECT_PEERING" Possible values: ["DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS"].
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#connect_mode GoogleRedisInstance#connect_mode}
ConnectMode *string `field:"optional" json:"connectMode" yaml:"connectMode"`
// Optional.
//
// The KMS key reference that you want to use to encrypt the data at rest for this Redis
// instance. If this is provided, CMEK is enabled.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#customer_managed_key GoogleRedisInstance#customer_managed_key}
CustomerManagedKey *string `field:"optional" json:"customerManagedKey" yaml:"customerManagedKey"`
// An arbitrary and optional user-provided name for the instance.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#display_name GoogleRedisInstance#display_name}
DisplayName *string `field:"optional" json:"displayName" yaml:"displayName"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#id GoogleRedisInstance#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"`
// Resource labels to represent user provided metadata.
//
// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
// Please refer to the field 'effective_labels' for all of the labels present on the resource.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#labels GoogleRedisInstance#labels}
Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"`
// The zone where the instance will be provisioned.
//
// If not provided,
// the service will choose a zone for the instance. For STANDARD_HA tier,
// instances will be created across two zones for protection against
// zonal failures. If [alternativeLocationId] is also provided, it must
// be different from [locationId].
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#location_id GoogleRedisInstance#location_id}
LocationId *string `field:"optional" json:"locationId" yaml:"locationId"`
// maintenance_policy block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#maintenance_policy GoogleRedisInstance#maintenance_policy}
MaintenancePolicy *GoogleRedisInstanceMaintenancePolicy `field:"optional" json:"maintenancePolicy" yaml:"maintenancePolicy"`
// The self service update maintenance version.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#maintenance_version GoogleRedisInstance#maintenance_version}
MaintenanceVersion *string `field:"optional" json:"maintenanceVersion" yaml:"maintenanceVersion"`
// persistence_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#persistence_config GoogleRedisInstance#persistence_config}
PersistenceConfig *GoogleRedisInstancePersistenceConfig `field:"optional" json:"persistenceConfig" yaml:"persistenceConfig"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#project GoogleRedisInstance#project}.
Project *string `field:"optional" json:"project" yaml:"project"`
// Optional.
//
// Read replica mode. Can only be specified when trying to create the instance.
// If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.
// - READ_REPLICAS_DISABLED: If disabled, read endpoint will not be provided and the
// instance cannot scale up or down the number of replicas.
// - READ_REPLICAS_ENABLED: If enabled, read endpoint will be provided and the instance
// can scale up and down the number of replicas. Possible values: ["READ_REPLICAS_DISABLED", "READ_REPLICAS_ENABLED"]
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#read_replicas_mode GoogleRedisInstance#read_replicas_mode}
ReadReplicasMode *string `field:"optional" json:"readReplicasMode" yaml:"readReplicasMode"`
// Redis configuration parameters, according to http://redis.io/topics/config. Please check Memorystore documentation for the list of supported parameters: https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Instance.FIELDS.redis_configs.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#redis_configs GoogleRedisInstance#redis_configs}
RedisConfigs *map[string]*string `field:"optional" json:"redisConfigs" yaml:"redisConfigs"`
// The version of Redis software.
//
// If not provided, latest supported
// version will be used. Please check the API documentation linked
// at the top for the latest valid values.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#redis_version GoogleRedisInstance#redis_version}
RedisVersion *string `field:"optional" json:"redisVersion" yaml:"redisVersion"`
// The name of the Redis region of the instance.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#region GoogleRedisInstance#region}
Region *string `field:"optional" json:"region" yaml:"region"`
// Optional.
//
// The number of replica nodes. The valid range for the Standard Tier with
// read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled
// for a Standard Tier instance, the only valid value is 1 and the default is 1.
// The valid value for basic tier is 0 and the default is also 0.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#replica_count GoogleRedisInstance#replica_count}
ReplicaCount *float64 `field:"optional" json:"replicaCount" yaml:"replicaCount"`
// The CIDR range of internal addresses that are reserved for this instance.
//
// If not provided, the service will choose an unused /29
// block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be
// unique and non-overlapping with existing subnets in an authorized
// network.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#reserved_ip_range GoogleRedisInstance#reserved_ip_range}
ReservedIpRange *string `field:"optional" json:"reservedIpRange" yaml:"reservedIpRange"`
// Optional.
//
// Additional IP range for node placement. Required when enabling read replicas on
// an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or
// "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address
// range associated with the private service access connection, or "auto".
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#secondary_ip_range GoogleRedisInstance#secondary_ip_range}
SecondaryIpRange *string `field:"optional" json:"secondaryIpRange" yaml:"secondaryIpRange"`
// The service tier of the instance. Must be one of these values:.
//
// - BASIC: standalone instance
// - STANDARD_HA: highly available primary/replica instances Default value: "BASIC" Possible values: ["BASIC", "STANDARD_HA"]
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#tier GoogleRedisInstance#tier}
Tier *string `field:"optional" json:"tier" yaml:"tier"`
// timeouts block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#timeouts GoogleRedisInstance#timeouts}
Timeouts *GoogleRedisInstanceTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"`
// The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance.
//
// - SERVER_AUTHENTICATION: Client to Server traffic encryption enabled with server authentication Default value: "DISABLED" Possible values: ["SERVER_AUTHENTICATION", "DISABLED"]
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#transit_encryption_mode GoogleRedisInstance#transit_encryption_mode}
TransitEncryptionMode *string `field:"optional" json:"transitEncryptionMode" yaml:"transitEncryptionMode"`
}
type GoogleRedisInstanceMaintenancePolicy ¶
type GoogleRedisInstanceMaintenancePolicy struct {
// Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#description GoogleRedisInstance#description}
Description *string `field:"optional" json:"description" yaml:"description"`
// weekly_maintenance_window block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#weekly_maintenance_window GoogleRedisInstance#weekly_maintenance_window}
WeeklyMaintenanceWindow interface{} `field:"optional" json:"weeklyMaintenanceWindow" yaml:"weeklyMaintenanceWindow"`
}
type GoogleRedisInstanceMaintenancePolicyOutputReference ¶
type GoogleRedisInstanceMaintenancePolicyOutputReference 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)
CreateTime() *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
Description() *string
SetDescription(val *string)
DescriptionInput() *string
// Experimental.
Fqn() *string
InternalValue() *GoogleRedisInstanceMaintenancePolicy
SetInternalValue(val *GoogleRedisInstanceMaintenancePolicy)
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
UpdateTime() *string
WeeklyMaintenanceWindow() GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList
WeeklyMaintenanceWindowInput() interface{}
// 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
PutWeeklyMaintenanceWindow(value interface{})
ResetDescription()
ResetWeeklyMaintenanceWindow()
// 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 NewGoogleRedisInstanceMaintenancePolicyOutputReference ¶
func NewGoogleRedisInstanceMaintenancePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleRedisInstanceMaintenancePolicyOutputReference
type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindow ¶
type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindow struct {
// Required. The day of week that maintenance updates occur.
//
// - DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
// - MONDAY: Monday
// - TUESDAY: Tuesday
// - WEDNESDAY: Wednesday
// - THURSDAY: Thursday
// - FRIDAY: Friday
// - SATURDAY: Saturday
// - SUNDAY: Sunday 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.49.3/docs/resources/google_redis_instance#day GoogleRedisInstance#day}
Day *string `field:"required" json:"day" yaml:"day"`
// start_time block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#start_time GoogleRedisInstance#start_time}
StartTime *GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime `field:"required" json:"startTime" yaml:"startTime"`
}
type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList ¶
type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList interface {
cdktf.ComplexList
// 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() interface{}
SetInternalValue(val interface{})
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference
// 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 NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList ¶
func NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList
type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference ¶
type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference 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
Duration() *string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
StartTime() GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference
StartTimeInput() *GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime
// 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
PutStartTime(value *GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime)
// 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 NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference ¶
func NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference
type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime ¶
type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime struct {
// Hours of day in 24 hour format.
//
// Should be from 0 to 23.
// An API may choose to allow the value "24:00:00" for scenarios like business closing time.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#hours GoogleRedisInstance#hours}
Hours *float64 `field:"optional" json:"hours" yaml:"hours"`
// Minutes of hour of day. Must be from 0 to 59.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#minutes GoogleRedisInstance#minutes}
Minutes *float64 `field:"optional" json:"minutes" yaml:"minutes"`
// Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#nanos GoogleRedisInstance#nanos}
Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"`
// Seconds of minutes of the time.
//
// Must normally be from 0 to 59.
// An API may allow the value 60 if it allows leap-seconds.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#seconds GoogleRedisInstance#seconds}
Seconds *float64 `field:"optional" json:"seconds" yaml:"seconds"`
}
type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference ¶
type GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference 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
Hours() *float64
SetHours(val *float64)
HoursInput() *float64
InternalValue() *GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime
SetInternalValue(val *GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime)
Minutes() *float64
SetMinutes(val *float64)
MinutesInput() *float64
Nanos() *float64
SetNanos(val *float64)
NanosInput() *float64
Seconds() *float64
SetSeconds(val *float64)
SecondsInput() *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
ResetHours()
ResetMinutes()
ResetNanos()
ResetSeconds()
// 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 NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference ¶
func NewGoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference
type GoogleRedisInstanceMaintenanceSchedule ¶
type GoogleRedisInstanceMaintenanceSchedule struct {
}
type GoogleRedisInstanceMaintenanceScheduleList ¶
type GoogleRedisInstanceMaintenanceScheduleList interface {
cdktf.ComplexList
// 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
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) GoogleRedisInstanceMaintenanceScheduleOutputReference
// 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 NewGoogleRedisInstanceMaintenanceScheduleList ¶
func NewGoogleRedisInstanceMaintenanceScheduleList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleRedisInstanceMaintenanceScheduleList
type GoogleRedisInstanceMaintenanceScheduleOutputReference ¶
type GoogleRedisInstanceMaintenanceScheduleOutputReference 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
EndTime() *string
// Experimental.
Fqn() *string
InternalValue() *GoogleRedisInstanceMaintenanceSchedule
SetInternalValue(val *GoogleRedisInstanceMaintenanceSchedule)
ScheduleDeadlineTime() *string
StartTime() *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 NewGoogleRedisInstanceMaintenanceScheduleOutputReference ¶
func NewGoogleRedisInstanceMaintenanceScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleRedisInstanceMaintenanceScheduleOutputReference
type GoogleRedisInstanceNodes ¶
type GoogleRedisInstanceNodes struct {
}
type GoogleRedisInstanceNodesList ¶
type GoogleRedisInstanceNodesList interface {
cdktf.ComplexList
// 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
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) GoogleRedisInstanceNodesOutputReference
// 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 NewGoogleRedisInstanceNodesList ¶
func NewGoogleRedisInstanceNodesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleRedisInstanceNodesList
type GoogleRedisInstanceNodesOutputReference ¶
type GoogleRedisInstanceNodesOutputReference 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
Id() *string
InternalValue() *GoogleRedisInstanceNodes
SetInternalValue(val *GoogleRedisInstanceNodes)
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
Zone() *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 NewGoogleRedisInstanceNodesOutputReference ¶
func NewGoogleRedisInstanceNodesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleRedisInstanceNodesOutputReference
type GoogleRedisInstancePersistenceConfig ¶
type GoogleRedisInstancePersistenceConfig struct {
// Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
//
// - DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted.
// - RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#persistence_mode GoogleRedisInstance#persistence_mode}
PersistenceMode *string `field:"optional" json:"persistenceMode" yaml:"persistenceMode"`
// Optional. Available snapshot periods for scheduling.
//
// - ONE_HOUR: Snapshot every 1 hour.
// - SIX_HOURS: Snapshot every 6 hours.
// - TWELVE_HOURS: Snapshot every 12 hours.
// - TWENTY_FOUR_HOURS: Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#rdb_snapshot_period GoogleRedisInstance#rdb_snapshot_period}
RdbSnapshotPeriod *string `field:"optional" json:"rdbSnapshotPeriod" yaml:"rdbSnapshotPeriod"`
// Optional.
//
// Date and time that the first snapshot was/will be attempted,
// and to which future snapshots will be aligned. If not provided,
// the current time will be used.
// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution
// and up to nine fractional digits.
// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#rdb_snapshot_start_time GoogleRedisInstance#rdb_snapshot_start_time}
RdbSnapshotStartTime *string `field:"optional" json:"rdbSnapshotStartTime" yaml:"rdbSnapshotStartTime"`
}
type GoogleRedisInstancePersistenceConfigOutputReference ¶
type GoogleRedisInstancePersistenceConfigOutputReference 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() *GoogleRedisInstancePersistenceConfig
SetInternalValue(val *GoogleRedisInstancePersistenceConfig)
PersistenceMode() *string
SetPersistenceMode(val *string)
PersistenceModeInput() *string
RdbNextSnapshotTime() *string
RdbSnapshotPeriod() *string
SetRdbSnapshotPeriod(val *string)
RdbSnapshotPeriodInput() *string
RdbSnapshotStartTime() *string
SetRdbSnapshotStartTime(val *string)
RdbSnapshotStartTimeInput() *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
ResetPersistenceMode()
ResetRdbSnapshotPeriod()
ResetRdbSnapshotStartTime()
// 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 NewGoogleRedisInstancePersistenceConfigOutputReference ¶
func NewGoogleRedisInstancePersistenceConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleRedisInstancePersistenceConfigOutputReference
type GoogleRedisInstanceServerCaCerts ¶
type GoogleRedisInstanceServerCaCerts struct {
}
type GoogleRedisInstanceServerCaCertsList ¶
type GoogleRedisInstanceServerCaCertsList interface {
cdktf.ComplexList
// 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
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) GoogleRedisInstanceServerCaCertsOutputReference
// 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 NewGoogleRedisInstanceServerCaCertsList ¶
func NewGoogleRedisInstanceServerCaCertsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleRedisInstanceServerCaCertsList
type GoogleRedisInstanceServerCaCertsOutputReference ¶
type GoogleRedisInstanceServerCaCertsOutputReference interface {
cdktf.ComplexObject
Cert() *string
// 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)
CreateTime() *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
ExpireTime() *string
// Experimental.
Fqn() *string
InternalValue() *GoogleRedisInstanceServerCaCerts
SetInternalValue(val *GoogleRedisInstanceServerCaCerts)
SerialNumber() *string
Sha1Fingerprint() *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 NewGoogleRedisInstanceServerCaCertsOutputReference ¶
func NewGoogleRedisInstanceServerCaCertsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleRedisInstanceServerCaCertsOutputReference
type GoogleRedisInstanceTimeouts ¶
type GoogleRedisInstanceTimeouts struct {
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#create GoogleRedisInstance#create}.
Create *string `field:"optional" json:"create" yaml:"create"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#delete GoogleRedisInstance#delete}.
Delete *string `field:"optional" json:"delete" yaml:"delete"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.49.3/docs/resources/google_redis_instance#update GoogleRedisInstance#update}.
Update *string `field:"optional" json:"update" yaml:"update"`
}
type GoogleRedisInstanceTimeoutsOutputReference ¶
type GoogleRedisInstanceTimeoutsOutputReference 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 NewGoogleRedisInstanceTimeoutsOutputReference ¶
func NewGoogleRedisInstanceTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleRedisInstanceTimeoutsOutputReference
Source Files
¶
- GoogleRedisInstance.go
- GoogleRedisInstanceConfig.go
- GoogleRedisInstanceMaintenancePolicy.go
- GoogleRedisInstanceMaintenancePolicyOutputReference.go
- GoogleRedisInstanceMaintenancePolicyOutputReference__checks.go
- GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindow.go
- GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList.go
- GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList__checks.go
- GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference.go
- GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference__checks.go
- GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime.go
- GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference.go
- GoogleRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference__checks.go
- GoogleRedisInstanceMaintenanceSchedule.go
- GoogleRedisInstanceMaintenanceScheduleList.go
- GoogleRedisInstanceMaintenanceScheduleList__checks.go
- GoogleRedisInstanceMaintenanceScheduleOutputReference.go
- GoogleRedisInstanceMaintenanceScheduleOutputReference__checks.go
- GoogleRedisInstanceNodes.go
- GoogleRedisInstanceNodesList.go
- GoogleRedisInstanceNodesList__checks.go
- GoogleRedisInstanceNodesOutputReference.go
- GoogleRedisInstanceNodesOutputReference__checks.go
- GoogleRedisInstancePersistenceConfig.go
- GoogleRedisInstancePersistenceConfigOutputReference.go
- GoogleRedisInstancePersistenceConfigOutputReference__checks.go
- GoogleRedisInstanceServerCaCerts.go
- GoogleRedisInstanceServerCaCertsList.go
- GoogleRedisInstanceServerCaCertsList__checks.go
- GoogleRedisInstanceServerCaCertsOutputReference.go
- GoogleRedisInstanceServerCaCertsOutputReference__checks.go
- GoogleRedisInstanceTimeouts.go
- GoogleRedisInstanceTimeoutsOutputReference.go
- GoogleRedisInstanceTimeoutsOutputReference__checks.go
- GoogleRedisInstance__checks.go
- main.go