Documentation
¶
Index ¶
- func NewRedisInstanceMaintenancePolicyOutputReference_Override(r RedisInstanceMaintenancePolicyOutputReference, ...)
- func NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList_Override(r RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList, ...)
- func NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference_Override(r RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference, ...)
- func NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference_Override(...)
- func NewRedisInstanceMaintenanceScheduleList_Override(r RedisInstanceMaintenanceScheduleList, ...)
- func NewRedisInstanceMaintenanceScheduleOutputReference_Override(r RedisInstanceMaintenanceScheduleOutputReference, ...)
- func NewRedisInstanceNodesList_Override(r RedisInstanceNodesList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewRedisInstanceNodesOutputReference_Override(r RedisInstanceNodesOutputReference, ...)
- func NewRedisInstancePersistenceConfigOutputReference_Override(r RedisInstancePersistenceConfigOutputReference, ...)
- func NewRedisInstanceServerCaCertsList_Override(r RedisInstanceServerCaCertsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewRedisInstanceServerCaCertsOutputReference_Override(r RedisInstanceServerCaCertsOutputReference, ...)
- func NewRedisInstanceTimeoutsOutputReference_Override(r RedisInstanceTimeoutsOutputReference, ...)
- func NewRedisInstance_Override(r RedisInstance, scope constructs.Construct, id *string, ...)
- func RedisInstance_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func RedisInstance_IsConstruct(x interface{}) *bool
- func RedisInstance_IsTerraformElement(x interface{}) *bool
- func RedisInstance_IsTerraformResource(x interface{}) *bool
- func RedisInstance_TfResourceType() *string
- type RedisInstance
- type RedisInstanceConfig
- type RedisInstanceMaintenancePolicy
- type RedisInstanceMaintenancePolicyOutputReference
- type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow
- type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList
- type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference
- type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime
- type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference
- type RedisInstanceMaintenanceSchedule
- type RedisInstanceMaintenanceScheduleList
- type RedisInstanceMaintenanceScheduleOutputReference
- type RedisInstanceNodes
- type RedisInstanceNodesList
- type RedisInstanceNodesOutputReference
- type RedisInstancePersistenceConfig
- type RedisInstancePersistenceConfigOutputReference
- type RedisInstanceServerCaCerts
- type RedisInstanceServerCaCertsList
- type RedisInstanceServerCaCertsOutputReference
- type RedisInstanceTimeouts
- type RedisInstanceTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRedisInstanceMaintenancePolicyOutputReference_Override ¶
func NewRedisInstanceMaintenancePolicyOutputReference_Override(r RedisInstanceMaintenancePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList_Override ¶
func NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList_Override(r RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference_Override ¶
func NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference_Override(r RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference_Override ¶
func NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference_Override(r RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewRedisInstanceMaintenanceScheduleList_Override ¶
func NewRedisInstanceMaintenanceScheduleList_Override(r RedisInstanceMaintenanceScheduleList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewRedisInstanceMaintenanceScheduleOutputReference_Override ¶
func NewRedisInstanceMaintenanceScheduleOutputReference_Override(r RedisInstanceMaintenanceScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewRedisInstanceNodesList_Override ¶
func NewRedisInstanceNodesList_Override(r RedisInstanceNodesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewRedisInstanceNodesOutputReference_Override ¶
func NewRedisInstanceNodesOutputReference_Override(r RedisInstanceNodesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewRedisInstancePersistenceConfigOutputReference_Override ¶
func NewRedisInstancePersistenceConfigOutputReference_Override(r RedisInstancePersistenceConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewRedisInstanceServerCaCertsList_Override ¶
func NewRedisInstanceServerCaCertsList_Override(r RedisInstanceServerCaCertsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewRedisInstanceServerCaCertsOutputReference_Override ¶
func NewRedisInstanceServerCaCertsOutputReference_Override(r RedisInstanceServerCaCertsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewRedisInstanceTimeoutsOutputReference_Override ¶
func NewRedisInstanceTimeoutsOutputReference_Override(r RedisInstanceTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewRedisInstance_Override ¶
func NewRedisInstance_Override(r RedisInstance, scope constructs.Construct, id *string, config *RedisInstanceConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.7.0/docs/resources/redis_instance google_redis_instance} Resource.
func RedisInstance_GenerateConfigForImport ¶
func RedisInstance_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a RedisInstance resource upon running "cdktf plan <stack-name>".
func RedisInstance_IsConstruct ¶
func RedisInstance_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 RedisInstance_IsTerraformElement ¶
func RedisInstance_IsTerraformElement(x interface{}) *bool
Experimental.
func RedisInstance_IsTerraformResource ¶
func RedisInstance_IsTerraformResource(x interface{}) *bool
Experimental.
func RedisInstance_TfResourceType ¶
func RedisInstance_TfResourceType() *string
Types ¶
type RedisInstance ¶
type RedisInstance 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
// 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() RedisInstanceMaintenancePolicyOutputReference
MaintenancePolicyInput() *RedisInstanceMaintenancePolicy
MaintenanceSchedule() RedisInstanceMaintenanceScheduleList
MemorySizeGb() *float64
SetMemorySizeGb(val *float64)
MemorySizeGbInput() *float64
Name() *string
SetName(val *string)
NameInput() *string
// The tree node.
Node() constructs.Node
Nodes() RedisInstanceNodesList
PersistenceConfig() RedisInstancePersistenceConfigOutputReference
PersistenceConfigInput() *RedisInstancePersistenceConfig
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() RedisInstanceServerCaCertsList
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
TerraformLabels() cdktf.StringMap
// Experimental.
TerraformMetaArguments() *map[string]interface{}
// Experimental.
TerraformResourceType() *string
Tier() *string
SetTier(val *string)
TierInput() *string
Timeouts() RedisInstanceTimeoutsOutputReference
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.
ImportFrom(id *string, provider cdktf.TerraformProvider)
// Experimental.
InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
// Moves this resource to the target resource given by moveTarget.
// Experimental.
MoveTo(moveTarget *string, index interface{})
// Overrides the auto-generated logical ID with a specific ID.
// Experimental.
OverrideLogicalId(newLogicalId *string)
PutMaintenancePolicy(value *RedisInstanceMaintenancePolicy)
PutPersistenceConfig(value *RedisInstancePersistenceConfig)
PutTimeouts(value *RedisInstanceTimeouts)
ResetAlternativeLocationId()
ResetAuthEnabled()
ResetAuthorizedNetwork()
ResetConnectMode()
ResetCustomerManagedKey()
ResetDisplayName()
ResetId()
ResetLabels()
ResetLocationId()
ResetMaintenancePolicy()
// 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{}
// 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/5.7.0/docs/resources/redis_instance google_redis_instance}.
func NewRedisInstance ¶
func NewRedisInstance(scope constructs.Construct, id *string, config *RedisInstanceConfig) RedisInstance
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.7.0/docs/resources/redis_instance google_redis_instance} Resource.
type RedisInstanceConfig ¶
type RedisInstanceConfig 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/5.7.0/docs/resources/redis_instance#memory_size_gb RedisInstance#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/5.7.0/docs/resources/redis_instance#name RedisInstance#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/5.7.0/docs/resources/redis_instance#alternative_location_id RedisInstance#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/5.7.0/docs/resources/redis_instance#auth_enabled RedisInstance#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/5.7.0/docs/resources/redis_instance#authorized_network RedisInstance#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/5.7.0/docs/resources/redis_instance#connect_mode RedisInstance#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/5.7.0/docs/resources/redis_instance#customer_managed_key RedisInstance#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/5.7.0/docs/resources/redis_instance#display_name RedisInstance#display_name}
DisplayName *string `field:"optional" json:"displayName" yaml:"displayName"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.7.0/docs/resources/redis_instance#id RedisInstance#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/5.7.0/docs/resources/redis_instance#labels RedisInstance#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/5.7.0/docs/resources/redis_instance#location_id RedisInstance#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/5.7.0/docs/resources/redis_instance#maintenance_policy RedisInstance#maintenance_policy}
MaintenancePolicy *RedisInstanceMaintenancePolicy `field:"optional" json:"maintenancePolicy" yaml:"maintenancePolicy"`
// persistence_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.7.0/docs/resources/redis_instance#persistence_config RedisInstance#persistence_config}
PersistenceConfig *RedisInstancePersistenceConfig `field:"optional" json:"persistenceConfig" yaml:"persistenceConfig"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.7.0/docs/resources/redis_instance#project RedisInstance#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/5.7.0/docs/resources/redis_instance#read_replicas_mode RedisInstance#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/5.7.0/docs/resources/redis_instance#redis_configs RedisInstance#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/5.7.0/docs/resources/redis_instance#redis_version RedisInstance#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/5.7.0/docs/resources/redis_instance#region RedisInstance#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/5.7.0/docs/resources/redis_instance#replica_count RedisInstance#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/5.7.0/docs/resources/redis_instance#reserved_ip_range RedisInstance#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/5.7.0/docs/resources/redis_instance#secondary_ip_range RedisInstance#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/5.7.0/docs/resources/redis_instance#tier RedisInstance#tier}
Tier *string `field:"optional" json:"tier" yaml:"tier"`
// timeouts block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.7.0/docs/resources/redis_instance#timeouts RedisInstance#timeouts}
Timeouts *RedisInstanceTimeouts `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/5.7.0/docs/resources/redis_instance#transit_encryption_mode RedisInstance#transit_encryption_mode}
TransitEncryptionMode *string `field:"optional" json:"transitEncryptionMode" yaml:"transitEncryptionMode"`
}
type RedisInstanceMaintenancePolicy ¶
type RedisInstanceMaintenancePolicy 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/5.7.0/docs/resources/redis_instance#description RedisInstance#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/5.7.0/docs/resources/redis_instance#weekly_maintenance_window RedisInstance#weekly_maintenance_window}
WeeklyMaintenanceWindow interface{} `field:"optional" json:"weeklyMaintenanceWindow" yaml:"weeklyMaintenanceWindow"`
}
type RedisInstanceMaintenancePolicyOutputReference ¶
type RedisInstanceMaintenancePolicyOutputReference 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() *RedisInstanceMaintenancePolicy
SetInternalValue(val *RedisInstanceMaintenancePolicy)
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
UpdateTime() *string
WeeklyMaintenanceWindow() RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList
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 NewRedisInstanceMaintenancePolicyOutputReference ¶
func NewRedisInstanceMaintenancePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) RedisInstanceMaintenancePolicyOutputReference
type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow ¶
type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow 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/5.7.0/docs/resources/redis_instance#day RedisInstance#day}
Day *string `field:"required" json:"day" yaml:"day"`
// start_time block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.7.0/docs/resources/redis_instance#start_time RedisInstance#start_time}
StartTime *RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime `field:"required" json:"startTime" yaml:"startTime"`
}
type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList ¶
type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList 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)
// Experimental.
ComputeFqn() *string
Get(index *float64) RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference
// 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 NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList ¶
func NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList
type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference ¶
type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference 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() RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference
StartTimeInput() *RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime
// 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 *RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime)
// 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 NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference ¶
func NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference
type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime ¶
type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime 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/5.7.0/docs/resources/redis_instance#hours RedisInstance#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/5.7.0/docs/resources/redis_instance#minutes RedisInstance#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/5.7.0/docs/resources/redis_instance#nanos RedisInstance#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/5.7.0/docs/resources/redis_instance#seconds RedisInstance#seconds}
Seconds *float64 `field:"optional" json:"seconds" yaml:"seconds"`
}
type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference ¶
type RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference 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() *RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime
SetInternalValue(val *RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime)
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 NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference ¶
func NewRedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference
type RedisInstanceMaintenanceSchedule ¶
type RedisInstanceMaintenanceSchedule struct {
}
type RedisInstanceMaintenanceScheduleList ¶
type RedisInstanceMaintenanceScheduleList 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)
// Experimental.
ComputeFqn() *string
Get(index *float64) RedisInstanceMaintenanceScheduleOutputReference
// 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 NewRedisInstanceMaintenanceScheduleList ¶
func NewRedisInstanceMaintenanceScheduleList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) RedisInstanceMaintenanceScheduleList
type RedisInstanceMaintenanceScheduleOutputReference ¶
type RedisInstanceMaintenanceScheduleOutputReference 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() *RedisInstanceMaintenanceSchedule
SetInternalValue(val *RedisInstanceMaintenanceSchedule)
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 NewRedisInstanceMaintenanceScheduleOutputReference ¶
func NewRedisInstanceMaintenanceScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) RedisInstanceMaintenanceScheduleOutputReference
type RedisInstanceNodes ¶
type RedisInstanceNodes struct {
}
type RedisInstanceNodesList ¶
type RedisInstanceNodesList 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)
// Experimental.
ComputeFqn() *string
Get(index *float64) RedisInstanceNodesOutputReference
// 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 NewRedisInstanceNodesList ¶
func NewRedisInstanceNodesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) RedisInstanceNodesList
type RedisInstanceNodesOutputReference ¶
type RedisInstanceNodesOutputReference 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() *RedisInstanceNodes
SetInternalValue(val *RedisInstanceNodes)
// 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 NewRedisInstanceNodesOutputReference ¶
func NewRedisInstanceNodesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) RedisInstanceNodesOutputReference
type RedisInstancePersistenceConfig ¶
type RedisInstancePersistenceConfig 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/5.7.0/docs/resources/redis_instance#persistence_mode RedisInstance#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/5.7.0/docs/resources/redis_instance#rdb_snapshot_period RedisInstance#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/5.7.0/docs/resources/redis_instance#rdb_snapshot_start_time RedisInstance#rdb_snapshot_start_time}
RdbSnapshotStartTime *string `field:"optional" json:"rdbSnapshotStartTime" yaml:"rdbSnapshotStartTime"`
}
type RedisInstancePersistenceConfigOutputReference ¶
type RedisInstancePersistenceConfigOutputReference 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() *RedisInstancePersistenceConfig
SetInternalValue(val *RedisInstancePersistenceConfig)
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 NewRedisInstancePersistenceConfigOutputReference ¶
func NewRedisInstancePersistenceConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) RedisInstancePersistenceConfigOutputReference
type RedisInstanceServerCaCerts ¶
type RedisInstanceServerCaCerts struct {
}
type RedisInstanceServerCaCertsList ¶
type RedisInstanceServerCaCertsList 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)
// Experimental.
ComputeFqn() *string
Get(index *float64) RedisInstanceServerCaCertsOutputReference
// 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 NewRedisInstanceServerCaCertsList ¶
func NewRedisInstanceServerCaCertsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) RedisInstanceServerCaCertsList
type RedisInstanceServerCaCertsOutputReference ¶
type RedisInstanceServerCaCertsOutputReference 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() *RedisInstanceServerCaCerts
SetInternalValue(val *RedisInstanceServerCaCerts)
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 NewRedisInstanceServerCaCertsOutputReference ¶
func NewRedisInstanceServerCaCertsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) RedisInstanceServerCaCertsOutputReference
type RedisInstanceTimeouts ¶
type RedisInstanceTimeouts struct {
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.7.0/docs/resources/redis_instance#create RedisInstance#create}.
Create *string `field:"optional" json:"create" yaml:"create"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.7.0/docs/resources/redis_instance#delete RedisInstance#delete}.
Delete *string `field:"optional" json:"delete" yaml:"delete"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.7.0/docs/resources/redis_instance#update RedisInstance#update}.
Update *string `field:"optional" json:"update" yaml:"update"`
}
type RedisInstanceTimeoutsOutputReference ¶
type RedisInstanceTimeoutsOutputReference 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 NewRedisInstanceTimeoutsOutputReference ¶
func NewRedisInstanceTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) RedisInstanceTimeoutsOutputReference
Source Files
¶
- RedisInstance.go
- RedisInstanceConfig.go
- RedisInstanceMaintenancePolicy.go
- RedisInstanceMaintenancePolicyOutputReference.go
- RedisInstanceMaintenancePolicyOutputReference__checks.go
- RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow.go
- RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList.go
- RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList__checks.go
- RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference.go
- RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference__checks.go
- RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime.go
- RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference.go
- RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference__checks.go
- RedisInstanceMaintenanceSchedule.go
- RedisInstanceMaintenanceScheduleList.go
- RedisInstanceMaintenanceScheduleList__checks.go
- RedisInstanceMaintenanceScheduleOutputReference.go
- RedisInstanceMaintenanceScheduleOutputReference__checks.go
- RedisInstanceNodes.go
- RedisInstanceNodesList.go
- RedisInstanceNodesList__checks.go
- RedisInstanceNodesOutputReference.go
- RedisInstanceNodesOutputReference__checks.go
- RedisInstancePersistenceConfig.go
- RedisInstancePersistenceConfigOutputReference.go
- RedisInstancePersistenceConfigOutputReference__checks.go
- RedisInstanceServerCaCerts.go
- RedisInstanceServerCaCertsList.go
- RedisInstanceServerCaCertsList__checks.go
- RedisInstanceServerCaCertsOutputReference.go
- RedisInstanceServerCaCertsOutputReference__checks.go
- RedisInstanceTimeouts.go
- RedisInstanceTimeoutsOutputReference.go
- RedisInstanceTimeoutsOutputReference__checks.go
- RedisInstance__checks.go
- main.go