pulumi-confluentcloud 2.13.0a1735836869__py3-none-any.whl → 2.50.0a1762926155__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-confluentcloud might be problematic. Click here for more details.

Files changed (129) hide show
  1. pulumi_confluentcloud/__init__.py +81 -1
  2. pulumi_confluentcloud/_inputs.py +4170 -2453
  3. pulumi_confluentcloud/_utilities.py +9 -5
  4. pulumi_confluentcloud/access_point.py +144 -36
  5. pulumi_confluentcloud/api_key.py +138 -272
  6. pulumi_confluentcloud/business_metadata.py +76 -73
  7. pulumi_confluentcloud/business_metadata_binding.py +101 -98
  8. pulumi_confluentcloud/byok_key.py +12 -11
  9. pulumi_confluentcloud/catalog_entity_attributes.py +133 -92
  10. pulumi_confluentcloud/catalog_integration.py +544 -0
  11. pulumi_confluentcloud/certificate_authority.py +156 -155
  12. pulumi_confluentcloud/certificate_pool.py +74 -73
  13. pulumi_confluentcloud/cluster_link.py +168 -91
  14. pulumi_confluentcloud/config/__init__.py +2 -1
  15. pulumi_confluentcloud/config/__init__.pyi +23 -2
  16. pulumi_confluentcloud/config/outputs.py +110 -0
  17. pulumi_confluentcloud/config/vars.py +50 -21
  18. pulumi_confluentcloud/connect_artifact.py +478 -0
  19. pulumi_confluentcloud/connector.py +303 -81
  20. pulumi_confluentcloud/custom_connector_plugin.py +142 -141
  21. pulumi_confluentcloud/custom_connector_plugin_version.py +614 -0
  22. pulumi_confluentcloud/dns_forwarder.py +88 -45
  23. pulumi_confluentcloud/dns_record.py +46 -45
  24. pulumi_confluentcloud/environment.py +74 -73
  25. pulumi_confluentcloud/flink_artifact.py +250 -194
  26. pulumi_confluentcloud/flink_compute_pool.py +101 -100
  27. pulumi_confluentcloud/flink_connection.py +935 -0
  28. pulumi_confluentcloud/flink_statement.py +218 -124
  29. pulumi_confluentcloud/gateway.py +44 -31
  30. pulumi_confluentcloud/get_access_point.py +36 -16
  31. pulumi_confluentcloud/get_business_metadata.py +25 -23
  32. pulumi_confluentcloud/get_business_metadata_binding.py +34 -32
  33. pulumi_confluentcloud/get_byok_key.py +11 -11
  34. pulumi_confluentcloud/get_catalog_integration.py +188 -0
  35. pulumi_confluentcloud/get_certificate_authority.py +38 -38
  36. pulumi_confluentcloud/get_certificate_pool.py +17 -17
  37. pulumi_confluentcloud/get_cluster_link.py +274 -0
  38. pulumi_confluentcloud/get_connect_artifact.py +191 -0
  39. pulumi_confluentcloud/get_dns_record.py +15 -15
  40. pulumi_confluentcloud/get_environment.py +17 -17
  41. pulumi_confluentcloud/get_environments.py +6 -6
  42. pulumi_confluentcloud/get_flink_artifact.py +59 -41
  43. pulumi_confluentcloud/get_flink_compute_pool.py +27 -27
  44. pulumi_confluentcloud/get_flink_connection.py +267 -0
  45. pulumi_confluentcloud/get_flink_region.py +24 -24
  46. pulumi_confluentcloud/get_gateway.py +45 -17
  47. pulumi_confluentcloud/get_group_mapping.py +18 -18
  48. pulumi_confluentcloud/get_identity_pool.py +21 -21
  49. pulumi_confluentcloud/get_identity_provider.py +35 -21
  50. pulumi_confluentcloud/get_invitation.py +20 -20
  51. pulumi_confluentcloud/get_ip_addresses.py +6 -6
  52. pulumi_confluentcloud/get_ip_filter.py +175 -0
  53. pulumi_confluentcloud/get_ip_group.py +133 -0
  54. pulumi_confluentcloud/get_kafka_client_quota.py +17 -17
  55. pulumi_confluentcloud/get_kafka_cluster.py +55 -41
  56. pulumi_confluentcloud/get_kafka_topic.py +22 -22
  57. pulumi_confluentcloud/get_ksql_cluster.py +33 -33
  58. pulumi_confluentcloud/get_network.py +54 -40
  59. pulumi_confluentcloud/get_network_link_endpoint.py +17 -17
  60. pulumi_confluentcloud/get_network_link_service.py +23 -17
  61. pulumi_confluentcloud/get_organization.py +6 -6
  62. pulumi_confluentcloud/get_peering.py +19 -19
  63. pulumi_confluentcloud/get_private_link_access.py +19 -19
  64. pulumi_confluentcloud/get_private_link_attachment.py +29 -27
  65. pulumi_confluentcloud/get_private_link_attachment_connection.py +24 -21
  66. pulumi_confluentcloud/get_provider_integration.py +28 -18
  67. pulumi_confluentcloud/get_role_binding.py +14 -14
  68. pulumi_confluentcloud/get_schema.py +40 -40
  69. pulumi_confluentcloud/get_schema_registry_cluster.py +51 -36
  70. pulumi_confluentcloud/get_schema_registry_cluster_config.py +16 -16
  71. pulumi_confluentcloud/get_schema_registry_cluster_mode.py +14 -14
  72. pulumi_confluentcloud/get_schema_registry_clusters.py +6 -6
  73. pulumi_confluentcloud/get_schema_registry_dek.py +42 -42
  74. pulumi_confluentcloud/get_schema_registry_kek.py +30 -30
  75. pulumi_confluentcloud/get_schemas.py +14 -14
  76. pulumi_confluentcloud/get_service_account.py +20 -20
  77. pulumi_confluentcloud/get_subject_config.py +22 -22
  78. pulumi_confluentcloud/get_subject_mode.py +20 -20
  79. pulumi_confluentcloud/get_tableflow_topic.py +360 -0
  80. pulumi_confluentcloud/get_tag.py +26 -24
  81. pulumi_confluentcloud/get_tag_binding.py +32 -30
  82. pulumi_confluentcloud/get_transit_gateway_attachment.py +17 -17
  83. pulumi_confluentcloud/get_user.py +24 -24
  84. pulumi_confluentcloud/get_users.py +6 -6
  85. pulumi_confluentcloud/group_mapping.py +54 -53
  86. pulumi_confluentcloud/identity_pool.py +74 -73
  87. pulumi_confluentcloud/identity_provider.py +138 -76
  88. pulumi_confluentcloud/invitation.py +81 -80
  89. pulumi_confluentcloud/ip_filter.py +420 -0
  90. pulumi_confluentcloud/ip_group.py +264 -0
  91. pulumi_confluentcloud/kafka_acl.py +173 -172
  92. pulumi_confluentcloud/kafka_client_quota.py +63 -62
  93. pulumi_confluentcloud/kafka_cluster.py +227 -207
  94. pulumi_confluentcloud/kafka_cluster_config.py +43 -42
  95. pulumi_confluentcloud/kafka_mirror_topic.py +46 -45
  96. pulumi_confluentcloud/kafka_topic.py +132 -131
  97. pulumi_confluentcloud/ksql_cluster.py +117 -120
  98. pulumi_confluentcloud/network.py +235 -198
  99. pulumi_confluentcloud/network_link_endpoint.py +62 -68
  100. pulumi_confluentcloud/network_link_service.py +62 -68
  101. pulumi_confluentcloud/outputs.py +3400 -2088
  102. pulumi_confluentcloud/peering.py +128 -48
  103. pulumi_confluentcloud/plugin.py +428 -0
  104. pulumi_confluentcloud/private_link_access.py +54 -60
  105. pulumi_confluentcloud/private_link_attachment.py +93 -88
  106. pulumi_confluentcloud/private_link_attachment_connection.py +70 -47
  107. pulumi_confluentcloud/provider.py +318 -192
  108. pulumi_confluentcloud/provider_integration.py +45 -34
  109. pulumi_confluentcloud/pulumi-plugin.json +1 -1
  110. pulumi_confluentcloud/role_binding.py +153 -56
  111. pulumi_confluentcloud/schema.py +188 -212
  112. pulumi_confluentcloud/schema_exporter.py +217 -164
  113. pulumi_confluentcloud/schema_registry_cluster_config.py +60 -59
  114. pulumi_confluentcloud/schema_registry_cluster_mode.py +90 -42
  115. pulumi_confluentcloud/schema_registry_dek.py +140 -146
  116. pulumi_confluentcloud/schema_registry_kek.py +148 -154
  117. pulumi_confluentcloud/service_account.py +97 -96
  118. pulumi_confluentcloud/subject_config.py +105 -76
  119. pulumi_confluentcloud/subject_mode.py +107 -59
  120. pulumi_confluentcloud/tableflow_topic.py +854 -0
  121. pulumi_confluentcloud/tag.py +82 -79
  122. pulumi_confluentcloud/tag_binding.py +121 -84
  123. pulumi_confluentcloud/tf_importer.py +39 -36
  124. pulumi_confluentcloud/transit_gateway_attachment.py +38 -44
  125. {pulumi_confluentcloud-2.13.0a1735836869.dist-info → pulumi_confluentcloud-2.50.0a1762926155.dist-info}/METADATA +4 -4
  126. pulumi_confluentcloud-2.50.0a1762926155.dist-info/RECORD +129 -0
  127. {pulumi_confluentcloud-2.13.0a1735836869.dist-info → pulumi_confluentcloud-2.50.0a1762926155.dist-info}/WHEEL +1 -1
  128. pulumi_confluentcloud-2.13.0a1735836869.dist-info/RECORD +0 -113
  129. {pulumi_confluentcloud-2.13.0a1735836869.dist-info → pulumi_confluentcloud-2.50.0a1762926155.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -21,24 +21,28 @@ __all__ = ['FlinkStatementArgs', 'FlinkStatement']
21
21
  @pulumi.input_type
22
22
  class FlinkStatementArgs:
23
23
  def __init__(__self__, *,
24
- statement: pulumi.Input[str],
24
+ statement: pulumi.Input[_builtins.str],
25
25
  compute_pool: Optional[pulumi.Input['FlinkStatementComputePoolArgs']] = None,
26
26
  credentials: Optional[pulumi.Input['FlinkStatementCredentialsArgs']] = None,
27
27
  environment: Optional[pulumi.Input['FlinkStatementEnvironmentArgs']] = None,
28
28
  organization: Optional[pulumi.Input['FlinkStatementOrganizationArgs']] = None,
29
29
  principal: Optional[pulumi.Input['FlinkStatementPrincipalArgs']] = None,
30
- properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
31
- rest_endpoint: Optional[pulumi.Input[str]] = None,
32
- statement_name: Optional[pulumi.Input[str]] = None,
33
- stopped: Optional[pulumi.Input[bool]] = None):
30
+ properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
31
+ properties_sensitive: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
32
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
33
+ statement_name: Optional[pulumi.Input[_builtins.str]] = None,
34
+ stopped: Optional[pulumi.Input[_builtins.bool]] = None):
34
35
  """
35
36
  The set of arguments for constructing a FlinkStatement resource.
36
- :param pulumi.Input[str] statement: The raw SQL text statement, for example, `SELECT CURRENT_TIMESTAMP;`.
37
+ :param pulumi.Input[_builtins.str] statement: The raw SQL text statement, for example, `SELECT CURRENT_TIMESTAMP;`.
37
38
  :param pulumi.Input['FlinkStatementCredentialsArgs'] credentials: The Cluster API Credentials.
38
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] properties: The custom topic settings to set:
39
- :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Flink region, for example, `https://flink.us-east-1.aws.confluent.cloud`).
40
- :param pulumi.Input[str] statement_name: The ID of the Flink Statement, for example, `cfeab4fe-b62c-49bd-9e99-51cc98c77a67`.
41
- :param pulumi.Input[bool] stopped: Indicates whether the statement should be stopped.
39
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: The custom topic settings to set:
40
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties_sensitive: Block for sensitive statement properties:
41
+ :param pulumi.Input[_builtins.str] rest_endpoint: The REST endpoint of the Flink region. For example, for public networking: `https://flink.us-east-1.aws.confluent.cloud`. In the case of private networking, the endpoint might look like `https://flink.pr1jy6.us-east-2.aws.confluent.cloud`. You can construct it using either:
42
+ - `data.confluent_flink_region.main.private_rest_endpoint`, or
43
+ - `https://flink${data.confluent_network.main.endpoint_suffix}`
44
+ :param pulumi.Input[_builtins.str] statement_name: The ID of the Flink Statement, for example, `cfeab4fe-b62c-49bd-9e99-51cc98c77a67`.
45
+ :param pulumi.Input[_builtins.bool] stopped: Indicates whether the statement should be stopped.
42
46
  """
43
47
  pulumi.set(__self__, "statement", statement)
44
48
  if compute_pool is not None:
@@ -53,6 +57,8 @@ class FlinkStatementArgs:
53
57
  pulumi.set(__self__, "principal", principal)
54
58
  if properties is not None:
55
59
  pulumi.set(__self__, "properties", properties)
60
+ if properties_sensitive is not None:
61
+ pulumi.set(__self__, "properties_sensitive", properties_sensitive)
56
62
  if rest_endpoint is not None:
57
63
  pulumi.set(__self__, "rest_endpoint", rest_endpoint)
58
64
  if statement_name is not None:
@@ -60,19 +66,19 @@ class FlinkStatementArgs:
60
66
  if stopped is not None:
61
67
  pulumi.set(__self__, "stopped", stopped)
62
68
 
63
- @property
69
+ @_builtins.property
64
70
  @pulumi.getter
65
- def statement(self) -> pulumi.Input[str]:
71
+ def statement(self) -> pulumi.Input[_builtins.str]:
66
72
  """
67
73
  The raw SQL text statement, for example, `SELECT CURRENT_TIMESTAMP;`.
68
74
  """
69
75
  return pulumi.get(self, "statement")
70
76
 
71
77
  @statement.setter
72
- def statement(self, value: pulumi.Input[str]):
78
+ def statement(self, value: pulumi.Input[_builtins.str]):
73
79
  pulumi.set(self, "statement", value)
74
80
 
75
- @property
81
+ @_builtins.property
76
82
  @pulumi.getter(name="computePool")
77
83
  def compute_pool(self) -> Optional[pulumi.Input['FlinkStatementComputePoolArgs']]:
78
84
  return pulumi.get(self, "compute_pool")
@@ -81,7 +87,7 @@ class FlinkStatementArgs:
81
87
  def compute_pool(self, value: Optional[pulumi.Input['FlinkStatementComputePoolArgs']]):
82
88
  pulumi.set(self, "compute_pool", value)
83
89
 
84
- @property
90
+ @_builtins.property
85
91
  @pulumi.getter
86
92
  def credentials(self) -> Optional[pulumi.Input['FlinkStatementCredentialsArgs']]:
87
93
  """
@@ -93,7 +99,7 @@ class FlinkStatementArgs:
93
99
  def credentials(self, value: Optional[pulumi.Input['FlinkStatementCredentialsArgs']]):
94
100
  pulumi.set(self, "credentials", value)
95
101
 
96
- @property
102
+ @_builtins.property
97
103
  @pulumi.getter
98
104
  def environment(self) -> Optional[pulumi.Input['FlinkStatementEnvironmentArgs']]:
99
105
  return pulumi.get(self, "environment")
@@ -102,7 +108,7 @@ class FlinkStatementArgs:
102
108
  def environment(self, value: Optional[pulumi.Input['FlinkStatementEnvironmentArgs']]):
103
109
  pulumi.set(self, "environment", value)
104
110
 
105
- @property
111
+ @_builtins.property
106
112
  @pulumi.getter
107
113
  def organization(self) -> Optional[pulumi.Input['FlinkStatementOrganizationArgs']]:
108
114
  return pulumi.get(self, "organization")
@@ -111,7 +117,7 @@ class FlinkStatementArgs:
111
117
  def organization(self, value: Optional[pulumi.Input['FlinkStatementOrganizationArgs']]):
112
118
  pulumi.set(self, "organization", value)
113
119
 
114
- @property
120
+ @_builtins.property
115
121
  @pulumi.getter
116
122
  def principal(self) -> Optional[pulumi.Input['FlinkStatementPrincipalArgs']]:
117
123
  return pulumi.get(self, "principal")
@@ -120,52 +126,66 @@ class FlinkStatementArgs:
120
126
  def principal(self, value: Optional[pulumi.Input['FlinkStatementPrincipalArgs']]):
121
127
  pulumi.set(self, "principal", value)
122
128
 
123
- @property
129
+ @_builtins.property
124
130
  @pulumi.getter
125
- def properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
131
+ def properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
126
132
  """
127
133
  The custom topic settings to set:
128
134
  """
129
135
  return pulumi.get(self, "properties")
130
136
 
131
137
  @properties.setter
132
- def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
138
+ def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
133
139
  pulumi.set(self, "properties", value)
134
140
 
135
- @property
141
+ @_builtins.property
142
+ @pulumi.getter(name="propertiesSensitive")
143
+ def properties_sensitive(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
144
+ """
145
+ Block for sensitive statement properties:
146
+ """
147
+ return pulumi.get(self, "properties_sensitive")
148
+
149
+ @properties_sensitive.setter
150
+ def properties_sensitive(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
151
+ pulumi.set(self, "properties_sensitive", value)
152
+
153
+ @_builtins.property
136
154
  @pulumi.getter(name="restEndpoint")
137
- def rest_endpoint(self) -> Optional[pulumi.Input[str]]:
155
+ def rest_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
138
156
  """
139
- The REST endpoint of the Flink region, for example, `https://flink.us-east-1.aws.confluent.cloud`).
157
+ The REST endpoint of the Flink region. For example, for public networking: `https://flink.us-east-1.aws.confluent.cloud`. In the case of private networking, the endpoint might look like `https://flink.pr1jy6.us-east-2.aws.confluent.cloud`. You can construct it using either:
158
+ - `data.confluent_flink_region.main.private_rest_endpoint`, or
159
+ - `https://flink${data.confluent_network.main.endpoint_suffix}`
140
160
  """
141
161
  return pulumi.get(self, "rest_endpoint")
142
162
 
143
163
  @rest_endpoint.setter
144
- def rest_endpoint(self, value: Optional[pulumi.Input[str]]):
164
+ def rest_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
145
165
  pulumi.set(self, "rest_endpoint", value)
146
166
 
147
- @property
167
+ @_builtins.property
148
168
  @pulumi.getter(name="statementName")
149
- def statement_name(self) -> Optional[pulumi.Input[str]]:
169
+ def statement_name(self) -> Optional[pulumi.Input[_builtins.str]]:
150
170
  """
151
171
  The ID of the Flink Statement, for example, `cfeab4fe-b62c-49bd-9e99-51cc98c77a67`.
152
172
  """
153
173
  return pulumi.get(self, "statement_name")
154
174
 
155
175
  @statement_name.setter
156
- def statement_name(self, value: Optional[pulumi.Input[str]]):
176
+ def statement_name(self, value: Optional[pulumi.Input[_builtins.str]]):
157
177
  pulumi.set(self, "statement_name", value)
158
178
 
159
- @property
179
+ @_builtins.property
160
180
  @pulumi.getter
161
- def stopped(self) -> Optional[pulumi.Input[bool]]:
181
+ def stopped(self) -> Optional[pulumi.Input[_builtins.bool]]:
162
182
  """
163
183
  Indicates whether the statement should be stopped.
164
184
  """
165
185
  return pulumi.get(self, "stopped")
166
186
 
167
187
  @stopped.setter
168
- def stopped(self, value: Optional[pulumi.Input[bool]]):
188
+ def stopped(self, value: Optional[pulumi.Input[_builtins.bool]]):
169
189
  pulumi.set(self, "stopped", value)
170
190
 
171
191
 
@@ -175,31 +195,35 @@ class _FlinkStatementState:
175
195
  compute_pool: Optional[pulumi.Input['FlinkStatementComputePoolArgs']] = None,
176
196
  credentials: Optional[pulumi.Input['FlinkStatementCredentialsArgs']] = None,
177
197
  environment: Optional[pulumi.Input['FlinkStatementEnvironmentArgs']] = None,
178
- latest_offsets: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
179
- latest_offsets_timestamp: Optional[pulumi.Input[str]] = None,
198
+ latest_offsets: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
199
+ latest_offsets_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
180
200
  organization: Optional[pulumi.Input['FlinkStatementOrganizationArgs']] = None,
181
201
  principal: Optional[pulumi.Input['FlinkStatementPrincipalArgs']] = None,
182
- properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
183
- rest_endpoint: Optional[pulumi.Input[str]] = None,
184
- statement: Optional[pulumi.Input[str]] = None,
185
- statement_name: Optional[pulumi.Input[str]] = None,
186
- stopped: Optional[pulumi.Input[bool]] = None):
202
+ properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
203
+ properties_sensitive: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
204
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
205
+ statement: Optional[pulumi.Input[_builtins.str]] = None,
206
+ statement_name: Optional[pulumi.Input[_builtins.str]] = None,
207
+ stopped: Optional[pulumi.Input[_builtins.bool]] = None):
187
208
  """
188
209
  Input properties used for looking up and filtering FlinkStatement resources.
189
210
  :param pulumi.Input['FlinkStatementCredentialsArgs'] credentials: The Cluster API Credentials.
190
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] latest_offsets: (Optional String) The last Kafka offsets that a statement has processed. Represented by a mapping from Kafka topic to a string representation of partitions mapped to offsets. For example,
211
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] latest_offsets: (Optional String) The last Kafka offsets that a statement has processed. Represented by a mapping from Kafka topic to a string representation of partitions mapped to offsets. For example,
191
212
  ```bash
192
213
  "latest_offsets": {
193
214
  "topic-1": "partition:0,offset:100;partition:1,offset:200",
194
215
  "topic-2": "partition:0,offset:50"
195
216
  }
196
217
  ```
197
- :param pulumi.Input[str] latest_offsets_timestamp: (Optional String) The date and time at which the Kafka topic offsets were added to the statement status. It is represented in RFC3339 format and is in UTC. For example, `2023-03-31T00:00:00-00:00`.
198
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] properties: The custom topic settings to set:
199
- :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Flink region, for example, `https://flink.us-east-1.aws.confluent.cloud`).
200
- :param pulumi.Input[str] statement: The raw SQL text statement, for example, `SELECT CURRENT_TIMESTAMP;`.
201
- :param pulumi.Input[str] statement_name: The ID of the Flink Statement, for example, `cfeab4fe-b62c-49bd-9e99-51cc98c77a67`.
202
- :param pulumi.Input[bool] stopped: Indicates whether the statement should be stopped.
218
+ :param pulumi.Input[_builtins.str] latest_offsets_timestamp: (Optional String) The date and time at which the Kafka topic offsets were added to the statement status. It is represented in RFC3339 format and is in UTC. For example, `2023-03-31T00:00:00-00:00`.
219
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: The custom topic settings to set:
220
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties_sensitive: Block for sensitive statement properties:
221
+ :param pulumi.Input[_builtins.str] rest_endpoint: The REST endpoint of the Flink region. For example, for public networking: `https://flink.us-east-1.aws.confluent.cloud`. In the case of private networking, the endpoint might look like `https://flink.pr1jy6.us-east-2.aws.confluent.cloud`. You can construct it using either:
222
+ - `data.confluent_flink_region.main.private_rest_endpoint`, or
223
+ - `https://flink${data.confluent_network.main.endpoint_suffix}`
224
+ :param pulumi.Input[_builtins.str] statement: The raw SQL text statement, for example, `SELECT CURRENT_TIMESTAMP;`.
225
+ :param pulumi.Input[_builtins.str] statement_name: The ID of the Flink Statement, for example, `cfeab4fe-b62c-49bd-9e99-51cc98c77a67`.
226
+ :param pulumi.Input[_builtins.bool] stopped: Indicates whether the statement should be stopped.
203
227
  """
204
228
  if compute_pool is not None:
205
229
  pulumi.set(__self__, "compute_pool", compute_pool)
@@ -217,6 +241,8 @@ class _FlinkStatementState:
217
241
  pulumi.set(__self__, "principal", principal)
218
242
  if properties is not None:
219
243
  pulumi.set(__self__, "properties", properties)
244
+ if properties_sensitive is not None:
245
+ pulumi.set(__self__, "properties_sensitive", properties_sensitive)
220
246
  if rest_endpoint is not None:
221
247
  pulumi.set(__self__, "rest_endpoint", rest_endpoint)
222
248
  if statement is not None:
@@ -226,7 +252,7 @@ class _FlinkStatementState:
226
252
  if stopped is not None:
227
253
  pulumi.set(__self__, "stopped", stopped)
228
254
 
229
- @property
255
+ @_builtins.property
230
256
  @pulumi.getter(name="computePool")
231
257
  def compute_pool(self) -> Optional[pulumi.Input['FlinkStatementComputePoolArgs']]:
232
258
  return pulumi.get(self, "compute_pool")
@@ -235,7 +261,7 @@ class _FlinkStatementState:
235
261
  def compute_pool(self, value: Optional[pulumi.Input['FlinkStatementComputePoolArgs']]):
236
262
  pulumi.set(self, "compute_pool", value)
237
263
 
238
- @property
264
+ @_builtins.property
239
265
  @pulumi.getter
240
266
  def credentials(self) -> Optional[pulumi.Input['FlinkStatementCredentialsArgs']]:
241
267
  """
@@ -247,7 +273,7 @@ class _FlinkStatementState:
247
273
  def credentials(self, value: Optional[pulumi.Input['FlinkStatementCredentialsArgs']]):
248
274
  pulumi.set(self, "credentials", value)
249
275
 
250
- @property
276
+ @_builtins.property
251
277
  @pulumi.getter
252
278
  def environment(self) -> Optional[pulumi.Input['FlinkStatementEnvironmentArgs']]:
253
279
  return pulumi.get(self, "environment")
@@ -256,9 +282,9 @@ class _FlinkStatementState:
256
282
  def environment(self, value: Optional[pulumi.Input['FlinkStatementEnvironmentArgs']]):
257
283
  pulumi.set(self, "environment", value)
258
284
 
259
- @property
285
+ @_builtins.property
260
286
  @pulumi.getter(name="latestOffsets")
261
- def latest_offsets(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
287
+ def latest_offsets(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
262
288
  """
263
289
  (Optional String) The last Kafka offsets that a statement has processed. Represented by a mapping from Kafka topic to a string representation of partitions mapped to offsets. For example,
264
290
  ```bash
@@ -271,22 +297,22 @@ class _FlinkStatementState:
271
297
  return pulumi.get(self, "latest_offsets")
272
298
 
273
299
  @latest_offsets.setter
274
- def latest_offsets(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
300
+ def latest_offsets(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
275
301
  pulumi.set(self, "latest_offsets", value)
276
302
 
277
- @property
303
+ @_builtins.property
278
304
  @pulumi.getter(name="latestOffsetsTimestamp")
279
- def latest_offsets_timestamp(self) -> Optional[pulumi.Input[str]]:
305
+ def latest_offsets_timestamp(self) -> Optional[pulumi.Input[_builtins.str]]:
280
306
  """
281
307
  (Optional String) The date and time at which the Kafka topic offsets were added to the statement status. It is represented in RFC3339 format and is in UTC. For example, `2023-03-31T00:00:00-00:00`.
282
308
  """
283
309
  return pulumi.get(self, "latest_offsets_timestamp")
284
310
 
285
311
  @latest_offsets_timestamp.setter
286
- def latest_offsets_timestamp(self, value: Optional[pulumi.Input[str]]):
312
+ def latest_offsets_timestamp(self, value: Optional[pulumi.Input[_builtins.str]]):
287
313
  pulumi.set(self, "latest_offsets_timestamp", value)
288
314
 
289
- @property
315
+ @_builtins.property
290
316
  @pulumi.getter
291
317
  def organization(self) -> Optional[pulumi.Input['FlinkStatementOrganizationArgs']]:
292
318
  return pulumi.get(self, "organization")
@@ -295,7 +321,7 @@ class _FlinkStatementState:
295
321
  def organization(self, value: Optional[pulumi.Input['FlinkStatementOrganizationArgs']]):
296
322
  pulumi.set(self, "organization", value)
297
323
 
298
- @property
324
+ @_builtins.property
299
325
  @pulumi.getter
300
326
  def principal(self) -> Optional[pulumi.Input['FlinkStatementPrincipalArgs']]:
301
327
  return pulumi.get(self, "principal")
@@ -304,67 +330,82 @@ class _FlinkStatementState:
304
330
  def principal(self, value: Optional[pulumi.Input['FlinkStatementPrincipalArgs']]):
305
331
  pulumi.set(self, "principal", value)
306
332
 
307
- @property
333
+ @_builtins.property
308
334
  @pulumi.getter
309
- def properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
335
+ def properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
310
336
  """
311
337
  The custom topic settings to set:
312
338
  """
313
339
  return pulumi.get(self, "properties")
314
340
 
315
341
  @properties.setter
316
- def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
342
+ def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
317
343
  pulumi.set(self, "properties", value)
318
344
 
319
- @property
345
+ @_builtins.property
346
+ @pulumi.getter(name="propertiesSensitive")
347
+ def properties_sensitive(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
348
+ """
349
+ Block for sensitive statement properties:
350
+ """
351
+ return pulumi.get(self, "properties_sensitive")
352
+
353
+ @properties_sensitive.setter
354
+ def properties_sensitive(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
355
+ pulumi.set(self, "properties_sensitive", value)
356
+
357
+ @_builtins.property
320
358
  @pulumi.getter(name="restEndpoint")
321
- def rest_endpoint(self) -> Optional[pulumi.Input[str]]:
359
+ def rest_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
322
360
  """
323
- The REST endpoint of the Flink region, for example, `https://flink.us-east-1.aws.confluent.cloud`).
361
+ The REST endpoint of the Flink region. For example, for public networking: `https://flink.us-east-1.aws.confluent.cloud`. In the case of private networking, the endpoint might look like `https://flink.pr1jy6.us-east-2.aws.confluent.cloud`. You can construct it using either:
362
+ - `data.confluent_flink_region.main.private_rest_endpoint`, or
363
+ - `https://flink${data.confluent_network.main.endpoint_suffix}`
324
364
  """
325
365
  return pulumi.get(self, "rest_endpoint")
326
366
 
327
367
  @rest_endpoint.setter
328
- def rest_endpoint(self, value: Optional[pulumi.Input[str]]):
368
+ def rest_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
329
369
  pulumi.set(self, "rest_endpoint", value)
330
370
 
331
- @property
371
+ @_builtins.property
332
372
  @pulumi.getter
333
- def statement(self) -> Optional[pulumi.Input[str]]:
373
+ def statement(self) -> Optional[pulumi.Input[_builtins.str]]:
334
374
  """
335
375
  The raw SQL text statement, for example, `SELECT CURRENT_TIMESTAMP;`.
336
376
  """
337
377
  return pulumi.get(self, "statement")
338
378
 
339
379
  @statement.setter
340
- def statement(self, value: Optional[pulumi.Input[str]]):
380
+ def statement(self, value: Optional[pulumi.Input[_builtins.str]]):
341
381
  pulumi.set(self, "statement", value)
342
382
 
343
- @property
383
+ @_builtins.property
344
384
  @pulumi.getter(name="statementName")
345
- def statement_name(self) -> Optional[pulumi.Input[str]]:
385
+ def statement_name(self) -> Optional[pulumi.Input[_builtins.str]]:
346
386
  """
347
387
  The ID of the Flink Statement, for example, `cfeab4fe-b62c-49bd-9e99-51cc98c77a67`.
348
388
  """
349
389
  return pulumi.get(self, "statement_name")
350
390
 
351
391
  @statement_name.setter
352
- def statement_name(self, value: Optional[pulumi.Input[str]]):
392
+ def statement_name(self, value: Optional[pulumi.Input[_builtins.str]]):
353
393
  pulumi.set(self, "statement_name", value)
354
394
 
355
- @property
395
+ @_builtins.property
356
396
  @pulumi.getter
357
- def stopped(self) -> Optional[pulumi.Input[bool]]:
397
+ def stopped(self) -> Optional[pulumi.Input[_builtins.bool]]:
358
398
  """
359
399
  Indicates whether the statement should be stopped.
360
400
  """
361
401
  return pulumi.get(self, "stopped")
362
402
 
363
403
  @stopped.setter
364
- def stopped(self, value: Optional[pulumi.Input[bool]]):
404
+ def stopped(self, value: Optional[pulumi.Input[_builtins.bool]]):
365
405
  pulumi.set(self, "stopped", value)
366
406
 
367
407
 
408
+ @pulumi.type_token("confluentcloud:index/flinkStatement:FlinkStatement")
368
409
  class FlinkStatement(pulumi.CustomResource):
369
410
  @overload
370
411
  def __init__(__self__,
@@ -375,11 +416,12 @@ class FlinkStatement(pulumi.CustomResource):
375
416
  environment: Optional[pulumi.Input[Union['FlinkStatementEnvironmentArgs', 'FlinkStatementEnvironmentArgsDict']]] = None,
376
417
  organization: Optional[pulumi.Input[Union['FlinkStatementOrganizationArgs', 'FlinkStatementOrganizationArgsDict']]] = None,
377
418
  principal: Optional[pulumi.Input[Union['FlinkStatementPrincipalArgs', 'FlinkStatementPrincipalArgsDict']]] = None,
378
- properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
379
- rest_endpoint: Optional[pulumi.Input[str]] = None,
380
- statement: Optional[pulumi.Input[str]] = None,
381
- statement_name: Optional[pulumi.Input[str]] = None,
382
- stopped: Optional[pulumi.Input[bool]] = None,
419
+ properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
420
+ properties_sensitive: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
421
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
422
+ statement: Optional[pulumi.Input[_builtins.str]] = None,
423
+ statement_name: Optional[pulumi.Input[_builtins.str]] = None,
424
+ stopped: Optional[pulumi.Input[_builtins.bool]] = None,
383
425
  __props__=None):
384
426
  """
385
427
  ## Example Usage
@@ -429,6 +471,22 @@ class FlinkStatement(pulumi.CustomResource):
429
471
  })
430
472
  ```
431
473
 
474
+ Example of `FlinkStatement` that creates a model:
475
+ ```python
476
+ import pulumi
477
+ import pulumi_confluentcloud as confluentcloud
478
+
479
+ example = confluentcloud.FlinkStatement("example",
480
+ statement="CREATE MODEL `vector_encoding` INPUT (input STRING) OUTPUT (vector ARRAY<FLOAT>) WITH( 'TASK' = 'classification','PROVIDER' = 'OPENAI','OPENAI.ENDPOINT' = 'https://api.openai.com/v1/embeddings','OPENAI.API_KEY' = '{{sessionconfig/sql.secrets.openaikey}}');",
481
+ properties={
482
+ "sql.current-catalog": confluent_environment_display_name,
483
+ "sql.current-database": confluent_kafka_cluster_display_name,
484
+ },
485
+ properties_sensitive={
486
+ "sql.secrets.openaikey": "***REDACTED***",
487
+ })
488
+ ```
489
+
432
490
  ## Getting Started
433
491
 
434
492
  The following end-to-end example might help to get started with [Flink Statements](https://docs.confluent.io/cloud/current/flink/get-started/overview.html):
@@ -470,11 +528,14 @@ class FlinkStatement(pulumi.CustomResource):
470
528
  :param str resource_name: The name of the resource.
471
529
  :param pulumi.ResourceOptions opts: Options for the resource.
472
530
  :param pulumi.Input[Union['FlinkStatementCredentialsArgs', 'FlinkStatementCredentialsArgsDict']] credentials: The Cluster API Credentials.
473
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] properties: The custom topic settings to set:
474
- :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Flink region, for example, `https://flink.us-east-1.aws.confluent.cloud`).
475
- :param pulumi.Input[str] statement: The raw SQL text statement, for example, `SELECT CURRENT_TIMESTAMP;`.
476
- :param pulumi.Input[str] statement_name: The ID of the Flink Statement, for example, `cfeab4fe-b62c-49bd-9e99-51cc98c77a67`.
477
- :param pulumi.Input[bool] stopped: Indicates whether the statement should be stopped.
531
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: The custom topic settings to set:
532
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties_sensitive: Block for sensitive statement properties:
533
+ :param pulumi.Input[_builtins.str] rest_endpoint: The REST endpoint of the Flink region. For example, for public networking: `https://flink.us-east-1.aws.confluent.cloud`. In the case of private networking, the endpoint might look like `https://flink.pr1jy6.us-east-2.aws.confluent.cloud`. You can construct it using either:
534
+ - `data.confluent_flink_region.main.private_rest_endpoint`, or
535
+ - `https://flink${data.confluent_network.main.endpoint_suffix}`
536
+ :param pulumi.Input[_builtins.str] statement: The raw SQL text statement, for example, `SELECT CURRENT_TIMESTAMP;`.
537
+ :param pulumi.Input[_builtins.str] statement_name: The ID of the Flink Statement, for example, `cfeab4fe-b62c-49bd-9e99-51cc98c77a67`.
538
+ :param pulumi.Input[_builtins.bool] stopped: Indicates whether the statement should be stopped.
478
539
  """
479
540
  ...
480
541
  @overload
@@ -530,6 +591,22 @@ class FlinkStatement(pulumi.CustomResource):
530
591
  })
531
592
  ```
532
593
 
594
+ Example of `FlinkStatement` that creates a model:
595
+ ```python
596
+ import pulumi
597
+ import pulumi_confluentcloud as confluentcloud
598
+
599
+ example = confluentcloud.FlinkStatement("example",
600
+ statement="CREATE MODEL `vector_encoding` INPUT (input STRING) OUTPUT (vector ARRAY<FLOAT>) WITH( 'TASK' = 'classification','PROVIDER' = 'OPENAI','OPENAI.ENDPOINT' = 'https://api.openai.com/v1/embeddings','OPENAI.API_KEY' = '{{sessionconfig/sql.secrets.openaikey}}');",
601
+ properties={
602
+ "sql.current-catalog": confluent_environment_display_name,
603
+ "sql.current-database": confluent_kafka_cluster_display_name,
604
+ },
605
+ properties_sensitive={
606
+ "sql.secrets.openaikey": "***REDACTED***",
607
+ })
608
+ ```
609
+
533
610
  ## Getting Started
534
611
 
535
612
  The following end-to-end example might help to get started with [Flink Statements](https://docs.confluent.io/cloud/current/flink/get-started/overview.html):
@@ -588,11 +665,12 @@ class FlinkStatement(pulumi.CustomResource):
588
665
  environment: Optional[pulumi.Input[Union['FlinkStatementEnvironmentArgs', 'FlinkStatementEnvironmentArgsDict']]] = None,
589
666
  organization: Optional[pulumi.Input[Union['FlinkStatementOrganizationArgs', 'FlinkStatementOrganizationArgsDict']]] = None,
590
667
  principal: Optional[pulumi.Input[Union['FlinkStatementPrincipalArgs', 'FlinkStatementPrincipalArgsDict']]] = None,
591
- properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
592
- rest_endpoint: Optional[pulumi.Input[str]] = None,
593
- statement: Optional[pulumi.Input[str]] = None,
594
- statement_name: Optional[pulumi.Input[str]] = None,
595
- stopped: Optional[pulumi.Input[bool]] = None,
668
+ properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
669
+ properties_sensitive: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
670
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
671
+ statement: Optional[pulumi.Input[_builtins.str]] = None,
672
+ statement_name: Optional[pulumi.Input[_builtins.str]] = None,
673
+ stopped: Optional[pulumi.Input[_builtins.bool]] = None,
596
674
  __props__=None):
597
675
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
598
676
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -608,6 +686,7 @@ class FlinkStatement(pulumi.CustomResource):
608
686
  __props__.__dict__["organization"] = organization
609
687
  __props__.__dict__["principal"] = principal
610
688
  __props__.__dict__["properties"] = properties
689
+ __props__.__dict__["properties_sensitive"] = None if properties_sensitive is None else pulumi.Output.secret(properties_sensitive)
611
690
  __props__.__dict__["rest_endpoint"] = rest_endpoint
612
691
  if statement is None and not opts.urn:
613
692
  raise TypeError("Missing required property 'statement'")
@@ -616,7 +695,7 @@ class FlinkStatement(pulumi.CustomResource):
616
695
  __props__.__dict__["stopped"] = stopped
617
696
  __props__.__dict__["latest_offsets"] = None
618
697
  __props__.__dict__["latest_offsets_timestamp"] = None
619
- secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials"])
698
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials", "propertiesSensitive"])
620
699
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
621
700
  super(FlinkStatement, __self__).__init__(
622
701
  'confluentcloud:index/flinkStatement:FlinkStatement',
@@ -631,15 +710,16 @@ class FlinkStatement(pulumi.CustomResource):
631
710
  compute_pool: Optional[pulumi.Input[Union['FlinkStatementComputePoolArgs', 'FlinkStatementComputePoolArgsDict']]] = None,
632
711
  credentials: Optional[pulumi.Input[Union['FlinkStatementCredentialsArgs', 'FlinkStatementCredentialsArgsDict']]] = None,
633
712
  environment: Optional[pulumi.Input[Union['FlinkStatementEnvironmentArgs', 'FlinkStatementEnvironmentArgsDict']]] = None,
634
- latest_offsets: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
635
- latest_offsets_timestamp: Optional[pulumi.Input[str]] = None,
713
+ latest_offsets: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
714
+ latest_offsets_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
636
715
  organization: Optional[pulumi.Input[Union['FlinkStatementOrganizationArgs', 'FlinkStatementOrganizationArgsDict']]] = None,
637
716
  principal: Optional[pulumi.Input[Union['FlinkStatementPrincipalArgs', 'FlinkStatementPrincipalArgsDict']]] = None,
638
- properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
639
- rest_endpoint: Optional[pulumi.Input[str]] = None,
640
- statement: Optional[pulumi.Input[str]] = None,
641
- statement_name: Optional[pulumi.Input[str]] = None,
642
- stopped: Optional[pulumi.Input[bool]] = None) -> 'FlinkStatement':
717
+ properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
718
+ properties_sensitive: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
719
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
720
+ statement: Optional[pulumi.Input[_builtins.str]] = None,
721
+ statement_name: Optional[pulumi.Input[_builtins.str]] = None,
722
+ stopped: Optional[pulumi.Input[_builtins.bool]] = None) -> 'FlinkStatement':
643
723
  """
644
724
  Get an existing FlinkStatement resource's state with the given name, id, and optional extra
645
725
  properties used to qualify the lookup.
@@ -648,19 +728,22 @@ class FlinkStatement(pulumi.CustomResource):
648
728
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
649
729
  :param pulumi.ResourceOptions opts: Options for the resource.
650
730
  :param pulumi.Input[Union['FlinkStatementCredentialsArgs', 'FlinkStatementCredentialsArgsDict']] credentials: The Cluster API Credentials.
651
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] latest_offsets: (Optional String) The last Kafka offsets that a statement has processed. Represented by a mapping from Kafka topic to a string representation of partitions mapped to offsets. For example,
731
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] latest_offsets: (Optional String) The last Kafka offsets that a statement has processed. Represented by a mapping from Kafka topic to a string representation of partitions mapped to offsets. For example,
652
732
  ```bash
653
733
  "latest_offsets": {
654
734
  "topic-1": "partition:0,offset:100;partition:1,offset:200",
655
735
  "topic-2": "partition:0,offset:50"
656
736
  }
657
737
  ```
658
- :param pulumi.Input[str] latest_offsets_timestamp: (Optional String) The date and time at which the Kafka topic offsets were added to the statement status. It is represented in RFC3339 format and is in UTC. For example, `2023-03-31T00:00:00-00:00`.
659
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] properties: The custom topic settings to set:
660
- :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Flink region, for example, `https://flink.us-east-1.aws.confluent.cloud`).
661
- :param pulumi.Input[str] statement: The raw SQL text statement, for example, `SELECT CURRENT_TIMESTAMP;`.
662
- :param pulumi.Input[str] statement_name: The ID of the Flink Statement, for example, `cfeab4fe-b62c-49bd-9e99-51cc98c77a67`.
663
- :param pulumi.Input[bool] stopped: Indicates whether the statement should be stopped.
738
+ :param pulumi.Input[_builtins.str] latest_offsets_timestamp: (Optional String) The date and time at which the Kafka topic offsets were added to the statement status. It is represented in RFC3339 format and is in UTC. For example, `2023-03-31T00:00:00-00:00`.
739
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: The custom topic settings to set:
740
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties_sensitive: Block for sensitive statement properties:
741
+ :param pulumi.Input[_builtins.str] rest_endpoint: The REST endpoint of the Flink region. For example, for public networking: `https://flink.us-east-1.aws.confluent.cloud`. In the case of private networking, the endpoint might look like `https://flink.pr1jy6.us-east-2.aws.confluent.cloud`. You can construct it using either:
742
+ - `data.confluent_flink_region.main.private_rest_endpoint`, or
743
+ - `https://flink${data.confluent_network.main.endpoint_suffix}`
744
+ :param pulumi.Input[_builtins.str] statement: The raw SQL text statement, for example, `SELECT CURRENT_TIMESTAMP;`.
745
+ :param pulumi.Input[_builtins.str] statement_name: The ID of the Flink Statement, for example, `cfeab4fe-b62c-49bd-9e99-51cc98c77a67`.
746
+ :param pulumi.Input[_builtins.bool] stopped: Indicates whether the statement should be stopped.
664
747
  """
665
748
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
666
749
 
@@ -674,18 +757,19 @@ class FlinkStatement(pulumi.CustomResource):
674
757
  __props__.__dict__["organization"] = organization
675
758
  __props__.__dict__["principal"] = principal
676
759
  __props__.__dict__["properties"] = properties
760
+ __props__.__dict__["properties_sensitive"] = properties_sensitive
677
761
  __props__.__dict__["rest_endpoint"] = rest_endpoint
678
762
  __props__.__dict__["statement"] = statement
679
763
  __props__.__dict__["statement_name"] = statement_name
680
764
  __props__.__dict__["stopped"] = stopped
681
765
  return FlinkStatement(resource_name, opts=opts, __props__=__props__)
682
766
 
683
- @property
767
+ @_builtins.property
684
768
  @pulumi.getter(name="computePool")
685
769
  def compute_pool(self) -> pulumi.Output['outputs.FlinkStatementComputePool']:
686
770
  return pulumi.get(self, "compute_pool")
687
771
 
688
- @property
772
+ @_builtins.property
689
773
  @pulumi.getter
690
774
  def credentials(self) -> pulumi.Output[Optional['outputs.FlinkStatementCredentials']]:
691
775
  """
@@ -693,14 +777,14 @@ class FlinkStatement(pulumi.CustomResource):
693
777
  """
694
778
  return pulumi.get(self, "credentials")
695
779
 
696
- @property
780
+ @_builtins.property
697
781
  @pulumi.getter
698
782
  def environment(self) -> pulumi.Output['outputs.FlinkStatementEnvironment']:
699
783
  return pulumi.get(self, "environment")
700
784
 
701
- @property
785
+ @_builtins.property
702
786
  @pulumi.getter(name="latestOffsets")
703
- def latest_offsets(self) -> pulumi.Output[Mapping[str, str]]:
787
+ def latest_offsets(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
704
788
  """
705
789
  (Optional String) The last Kafka offsets that a statement has processed. Represented by a mapping from Kafka topic to a string representation of partitions mapped to offsets. For example,
706
790
  ```bash
@@ -712,59 +796,69 @@ class FlinkStatement(pulumi.CustomResource):
712
796
  """
713
797
  return pulumi.get(self, "latest_offsets")
714
798
 
715
- @property
799
+ @_builtins.property
716
800
  @pulumi.getter(name="latestOffsetsTimestamp")
717
- def latest_offsets_timestamp(self) -> pulumi.Output[str]:
801
+ def latest_offsets_timestamp(self) -> pulumi.Output[_builtins.str]:
718
802
  """
719
803
  (Optional String) The date and time at which the Kafka topic offsets were added to the statement status. It is represented in RFC3339 format and is in UTC. For example, `2023-03-31T00:00:00-00:00`.
720
804
  """
721
805
  return pulumi.get(self, "latest_offsets_timestamp")
722
806
 
723
- @property
807
+ @_builtins.property
724
808
  @pulumi.getter
725
809
  def organization(self) -> pulumi.Output['outputs.FlinkStatementOrganization']:
726
810
  return pulumi.get(self, "organization")
727
811
 
728
- @property
812
+ @_builtins.property
729
813
  @pulumi.getter
730
814
  def principal(self) -> pulumi.Output['outputs.FlinkStatementPrincipal']:
731
815
  return pulumi.get(self, "principal")
732
816
 
733
- @property
817
+ @_builtins.property
734
818
  @pulumi.getter
735
- def properties(self) -> pulumi.Output[Mapping[str, str]]:
819
+ def properties(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
736
820
  """
737
821
  The custom topic settings to set:
738
822
  """
739
823
  return pulumi.get(self, "properties")
740
824
 
741
- @property
825
+ @_builtins.property
826
+ @pulumi.getter(name="propertiesSensitive")
827
+ def properties_sensitive(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
828
+ """
829
+ Block for sensitive statement properties:
830
+ """
831
+ return pulumi.get(self, "properties_sensitive")
832
+
833
+ @_builtins.property
742
834
  @pulumi.getter(name="restEndpoint")
743
- def rest_endpoint(self) -> pulumi.Output[Optional[str]]:
835
+ def rest_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
744
836
  """
745
- The REST endpoint of the Flink region, for example, `https://flink.us-east-1.aws.confluent.cloud`).
837
+ The REST endpoint of the Flink region. For example, for public networking: `https://flink.us-east-1.aws.confluent.cloud`. In the case of private networking, the endpoint might look like `https://flink.pr1jy6.us-east-2.aws.confluent.cloud`. You can construct it using either:
838
+ - `data.confluent_flink_region.main.private_rest_endpoint`, or
839
+ - `https://flink${data.confluent_network.main.endpoint_suffix}`
746
840
  """
747
841
  return pulumi.get(self, "rest_endpoint")
748
842
 
749
- @property
843
+ @_builtins.property
750
844
  @pulumi.getter
751
- def statement(self) -> pulumi.Output[str]:
845
+ def statement(self) -> pulumi.Output[_builtins.str]:
752
846
  """
753
847
  The raw SQL text statement, for example, `SELECT CURRENT_TIMESTAMP;`.
754
848
  """
755
849
  return pulumi.get(self, "statement")
756
850
 
757
- @property
851
+ @_builtins.property
758
852
  @pulumi.getter(name="statementName")
759
- def statement_name(self) -> pulumi.Output[str]:
853
+ def statement_name(self) -> pulumi.Output[_builtins.str]:
760
854
  """
761
855
  The ID of the Flink Statement, for example, `cfeab4fe-b62c-49bd-9e99-51cc98c77a67`.
762
856
  """
763
857
  return pulumi.get(self, "statement_name")
764
858
 
765
- @property
859
+ @_builtins.property
766
860
  @pulumi.getter
767
- def stopped(self) -> pulumi.Output[bool]:
861
+ def stopped(self) -> pulumi.Output[_builtins.bool]:
768
862
  """
769
863
  Indicates whether the statement should be stopped.
770
864
  """