InstanceArgs constructor

const InstanceArgs({
  1. Input<String?>? aclPolicy,
  2. Input<String?>? authorizationMode,
  3. Input<InstanceAutomatedBackupConfig?>? automatedBackupConfig,
  4. Input<InstanceCrossInstanceReplicationConfig?>? crossInstanceReplicationConfig,
  5. Input<String?>? deletionPolicy,
  6. Input<bool?>? deletionProtectionEnabled,
  7. Input<List<InstanceDesiredAutoCreatedEndpoint>?>? desiredAutoCreatedEndpoints,
  8. Input<List<InstanceDesiredPscAutoConnection>?>? desiredPscAutoConnections,
  9. Input<Map<String, String>?>? engineConfigs,
  10. Input<String?>? engineVersion,
  11. Input<InstanceGcsSource?>? gcsSource,
  12. required Input<String> instanceId,
  13. Input<String?>? kmsKey,
  14. Input<Map<String, String>?>? labels,
  15. required Input<String> location,
  16. Input<InstanceMaintenancePolicy?>? maintenancePolicy,
  17. Input<String?>? maintenanceVersion,
  18. Input<InstanceManagedBackupSource?>? managedBackupSource,
  19. Input<String?>? mode,
  20. Input<String?>? nodeType,
  21. Input<InstancePersistenceConfig?>? persistenceConfig,
  22. Input<String?>? project,
  23. Input<int?>? replicaCount,
  24. Input<String?>? serverCaMode,
  25. Input<String?>? serverCaPool,
  26. required Input<int> shardCount,
  27. Input<String?>? transitEncryptionMode,
  28. Input<InstanceZoneDistributionConfig?>? zoneDistributionConfig,
})

Creates a new InstanceArgs. aclPolicy The name of the ACL policy to attach to the instance. authorizationMode Optional. Immutable. Authorization mode of the instance. Possible values: automatedBackupConfig The automated backup config for a instance. crossInstanceReplicationConfig Cross instance replication config deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. deletionProtectionEnabled Optional. If set to true deletion of the instance will fail. desiredAutoCreatedEndpoints Immutable. User inputs for the auto-created endpoints connections. desiredPscAutoConnections desiredPscAutoConnections is deprecated Use desiredAutoCreatedEndpoints instead pulumi import will only work with desiredAutoCreatedEndpoints. [engineConfigs] Optional. User-provided engine configurations for the instance. [engineVersion] Optional. Engine version of the instance. [gcsSource] GCS source for the instance. [instanceId] Required. The ID to use for the instance, which will become the final component of [kmsKey] The KMS key used to encrypt the at-rest data of the cluster [labels] Optional. Labels to represent user-provided metadata. [location] Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type memorystore.googleapis.com/CertificateAuthority`. maintenancePolicy Maintenance policy for a cluster maintenanceVersion This field can be used to trigger self service update to indicate the desired maintenance version. The input to this field can be determined by the availableMaintenanceVersions field. managedBackupSource Managed backup source for the instance. mode Optional. cluster or cluster-disabled. nodeType Optional. Machine type for individual nodes of the instance. persistenceConfig Represents persistence configuration for a instance. project The ID of the project in which the resource belongs. replicaCount Optional. Number of replica nodes per shard. If omitted the default is 0 replicas. serverCaMode The serverCaMode for the TLS enabled Memorystore instance. serverCaPool The resource name of the server CA pool for an instance with CUSTOMER_MANAGED_CAS_CA shardCount Required. Number of shards for the instance. transitEncryptionMode Optional. Immutable. In-transit encryption mode of the instance. zoneDistributionConfig Zone distribution configuration for allocation of instance resources.

Implementation

const InstanceArgs({
  this.aclPolicy,
  this.authorizationMode,
  this.automatedBackupConfig,
  this.crossInstanceReplicationConfig,
  this.deletionPolicy,
  this.deletionProtectionEnabled,
  this.desiredAutoCreatedEndpoints,
  this.desiredPscAutoConnections,
  this.engineConfigs,
  this.engineVersion,
  this.gcsSource,
  required this.instanceId,
  this.kmsKey,
  this.labels,
  required this.location,
  this.maintenancePolicy,
  this.maintenanceVersion,
  this.managedBackupSource,
  this.mode,
  this.nodeType,
  this.persistenceConfig,
  this.project,
  this.replicaCount,
  this.serverCaMode,
  this.serverCaPool,
  required this.shardCount,
  this.transitEncryptionMode,
  this.zoneDistributionConfig,
});