pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.0__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-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +136 -0
- pulumi_aiven/_inputs.py +32960 -13922
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +34 -43
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +37 -12
- pulumi_aiven/account_team_member.py +48 -35
- pulumi_aiven/account_team_project.py +42 -25
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -39
- pulumi_aiven/aws_vpc_peering_connection.py +72 -57
- pulumi_aiven/azure_privatelink.py +54 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -73
- pulumi_aiven/billing_group.py +33 -30
- pulumi_aiven/cassandra.py +145 -122
- pulumi_aiven/cassandra_user.py +59 -54
- pulumi_aiven/clickhouse.py +133 -110
- pulumi_aiven/clickhouse_database.py +58 -58
- pulumi_aiven/clickhouse_grant.py +135 -130
- pulumi_aiven/clickhouse_role.py +36 -45
- pulumi_aiven/clickhouse_user.py +50 -45
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -62
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -100
- pulumi_aiven/flink_application.py +58 -51
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -44
- pulumi_aiven/get_account.py +20 -5
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -20
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
- pulumi_aiven/get_azure_privatelink.py +37 -22
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -19
- pulumi_aiven/get_cassandra.py +55 -19
- pulumi_aiven/get_cassandra_user.py +42 -26
- pulumi_aiven/get_clickhouse.py +55 -19
- pulumi_aiven/get_clickhouse_database.py +35 -22
- pulumi_aiven/get_clickhouse_user.py +40 -25
- pulumi_aiven/get_connection_pool.py +43 -26
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -19
- pulumi_aiven/get_flink_application.py +44 -27
- pulumi_aiven/get_flink_application_version.py +55 -33
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
- pulumi_aiven/get_grafana.py +55 -19
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -21
- pulumi_aiven/get_kafka_acl.py +50 -33
- pulumi_aiven/get_kafka_connect.py +54 -32
- pulumi_aiven/get_kafka_connector.py +44 -24
- pulumi_aiven/get_kafka_mirror_maker.py +50 -28
- pulumi_aiven/get_kafka_schema.py +35 -19
- pulumi_aiven/get_kafka_schema_configuration.py +32 -17
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -25
- pulumi_aiven/get_kafka_user.py +42 -26
- pulumi_aiven/get_m3_aggregator.py +51 -15
- pulumi_aiven/get_m3_db.py +55 -19
- pulumi_aiven/get_m3db_user.py +38 -24
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
- pulumi_aiven/get_my_sql.py +50 -14
- pulumi_aiven/get_mysql_database.py +31 -18
- pulumi_aiven/get_mysql_user.py +36 -19
- pulumi_aiven/get_open_search.py +50 -14
- pulumi_aiven/get_open_search_acl_config.py +27 -15
- pulumi_aiven/get_open_search_acl_rule.py +37 -21
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
- pulumi_aiven/get_opensearch_user.py +32 -18
- pulumi_aiven/get_organization.py +25 -13
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -19
- pulumi_aiven/get_pg_database.py +39 -24
- pulumi_aiven/get_pg_user.py +44 -27
- pulumi_aiven/get_project.py +43 -22
- pulumi_aiven/get_project_user.py +27 -15
- pulumi_aiven/get_project_vpc.py +31 -19
- pulumi_aiven/get_redis.py +50 -14
- pulumi_aiven/get_redis_user.py +40 -22
- pulumi_aiven/get_service_component.py +40 -18
- pulumi_aiven/get_service_integration.py +163 -49
- pulumi_aiven/get_service_integration_endpoint.py +128 -33
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -318
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -140
- pulumi_aiven/kafka_acl.py +64 -53
- pulumi_aiven/kafka_connect.py +201 -328
- pulumi_aiven/kafka_connector.py +67 -56
- pulumi_aiven/kafka_mirror_maker.py +139 -318
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_quota.py +604 -0
- pulumi_aiven/kafka_schema.py +65 -56
- pulumi_aiven/kafka_schema_configuration.py +25 -20
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -54
- pulumi_aiven/m3_aggregator.py +176 -308
- pulumi_aiven/m3_db.py +190 -322
- pulumi_aiven/m3db_user.py +51 -46
- pulumi_aiven/mirror_maker_replication_flow.py +217 -53
- pulumi_aiven/my_sql.py +190 -322
- pulumi_aiven/mysql_database.py +32 -47
- pulumi_aiven/mysql_user.py +37 -32
- pulumi_aiven/open_search.py +128 -105
- pulumi_aiven/open_search_acl_config.py +33 -32
- pulumi_aiven/open_search_acl_rule.py +55 -50
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -25
- pulumi_aiven/organization.py +18 -13
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -32
- pulumi_aiven/outputs.py +38714 -21632
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -67
- pulumi_aiven/pg_user.py +80 -61
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -31
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +163 -295
- pulumi_aiven/redis_user.py +58 -53
- pulumi_aiven/service_integration.py +511 -161
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,606 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = ['ValkeyUserArgs', 'ValkeyUser']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class ValkeyUserArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
project: pulumi.Input[str],
|
|
23
|
+
service_name: pulumi.Input[str],
|
|
24
|
+
username: pulumi.Input[str],
|
|
25
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
26
|
+
valkey_acl_categories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
27
|
+
valkey_acl_channels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
28
|
+
valkey_acl_commands: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
29
|
+
valkey_acl_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
30
|
+
"""
|
|
31
|
+
The set of arguments for constructing a ValkeyUser resource.
|
|
32
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
33
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
34
|
+
:param pulumi.Input[str] username: Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
35
|
+
:param pulumi.Input[str] password: The Valkey service user's password.
|
|
36
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_categories: Allow or disallow command categories. To allow a category use the prefix `+@` and to disallow use `-@`. See the [Valkey documentation](https://valkey.io/topics/acl/) for details on the ACL feature. The field is required with`valkey_acl_commands` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
37
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_channels: Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
|
|
38
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_commands: Defines rules for individual commands. To allow a command use the prefix `+` and to disallow use `-`. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
39
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_keys: Key access rules. Entries are defined as standard glob patterns. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
40
|
+
"""
|
|
41
|
+
pulumi.set(__self__, "project", project)
|
|
42
|
+
pulumi.set(__self__, "service_name", service_name)
|
|
43
|
+
pulumi.set(__self__, "username", username)
|
|
44
|
+
if password is not None:
|
|
45
|
+
pulumi.set(__self__, "password", password)
|
|
46
|
+
if valkey_acl_categories is not None:
|
|
47
|
+
pulumi.set(__self__, "valkey_acl_categories", valkey_acl_categories)
|
|
48
|
+
if valkey_acl_channels is not None:
|
|
49
|
+
pulumi.set(__self__, "valkey_acl_channels", valkey_acl_channels)
|
|
50
|
+
if valkey_acl_commands is not None:
|
|
51
|
+
pulumi.set(__self__, "valkey_acl_commands", valkey_acl_commands)
|
|
52
|
+
if valkey_acl_keys is not None:
|
|
53
|
+
pulumi.set(__self__, "valkey_acl_keys", valkey_acl_keys)
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
@pulumi.getter
|
|
57
|
+
def project(self) -> pulumi.Input[str]:
|
|
58
|
+
"""
|
|
59
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "project")
|
|
62
|
+
|
|
63
|
+
@project.setter
|
|
64
|
+
def project(self, value: pulumi.Input[str]):
|
|
65
|
+
pulumi.set(self, "project", value)
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
@pulumi.getter(name="serviceName")
|
|
69
|
+
def service_name(self) -> pulumi.Input[str]:
|
|
70
|
+
"""
|
|
71
|
+
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "service_name")
|
|
74
|
+
|
|
75
|
+
@service_name.setter
|
|
76
|
+
def service_name(self, value: pulumi.Input[str]):
|
|
77
|
+
pulumi.set(self, "service_name", value)
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
@pulumi.getter
|
|
81
|
+
def username(self) -> pulumi.Input[str]:
|
|
82
|
+
"""
|
|
83
|
+
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "username")
|
|
86
|
+
|
|
87
|
+
@username.setter
|
|
88
|
+
def username(self, value: pulumi.Input[str]):
|
|
89
|
+
pulumi.set(self, "username", value)
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
@pulumi.getter
|
|
93
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
|
94
|
+
"""
|
|
95
|
+
The Valkey service user's password.
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "password")
|
|
98
|
+
|
|
99
|
+
@password.setter
|
|
100
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
|
101
|
+
pulumi.set(self, "password", value)
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
@pulumi.getter(name="valkeyAclCategories")
|
|
105
|
+
def valkey_acl_categories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
106
|
+
"""
|
|
107
|
+
Allow or disallow command categories. To allow a category use the prefix `+@` and to disallow use `-@`. See the [Valkey documentation](https://valkey.io/topics/acl/) for details on the ACL feature. The field is required with`valkey_acl_commands` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "valkey_acl_categories")
|
|
110
|
+
|
|
111
|
+
@valkey_acl_categories.setter
|
|
112
|
+
def valkey_acl_categories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
113
|
+
pulumi.set(self, "valkey_acl_categories", value)
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
@pulumi.getter(name="valkeyAclChannels")
|
|
117
|
+
def valkey_acl_channels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
118
|
+
"""
|
|
119
|
+
Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
|
|
120
|
+
"""
|
|
121
|
+
return pulumi.get(self, "valkey_acl_channels")
|
|
122
|
+
|
|
123
|
+
@valkey_acl_channels.setter
|
|
124
|
+
def valkey_acl_channels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
125
|
+
pulumi.set(self, "valkey_acl_channels", value)
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
@pulumi.getter(name="valkeyAclCommands")
|
|
129
|
+
def valkey_acl_commands(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
130
|
+
"""
|
|
131
|
+
Defines rules for individual commands. To allow a command use the prefix `+` and to disallow use `-`. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
132
|
+
"""
|
|
133
|
+
return pulumi.get(self, "valkey_acl_commands")
|
|
134
|
+
|
|
135
|
+
@valkey_acl_commands.setter
|
|
136
|
+
def valkey_acl_commands(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
137
|
+
pulumi.set(self, "valkey_acl_commands", value)
|
|
138
|
+
|
|
139
|
+
@property
|
|
140
|
+
@pulumi.getter(name="valkeyAclKeys")
|
|
141
|
+
def valkey_acl_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
142
|
+
"""
|
|
143
|
+
Key access rules. Entries are defined as standard glob patterns. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
144
|
+
"""
|
|
145
|
+
return pulumi.get(self, "valkey_acl_keys")
|
|
146
|
+
|
|
147
|
+
@valkey_acl_keys.setter
|
|
148
|
+
def valkey_acl_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
149
|
+
pulumi.set(self, "valkey_acl_keys", value)
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
@pulumi.input_type
|
|
153
|
+
class _ValkeyUserState:
|
|
154
|
+
def __init__(__self__, *,
|
|
155
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
156
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
157
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
158
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
159
|
+
username: Optional[pulumi.Input[str]] = None,
|
|
160
|
+
valkey_acl_categories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
161
|
+
valkey_acl_channels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
162
|
+
valkey_acl_commands: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
163
|
+
valkey_acl_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
164
|
+
"""
|
|
165
|
+
Input properties used for looking up and filtering ValkeyUser resources.
|
|
166
|
+
:param pulumi.Input[str] password: The Valkey service user's password.
|
|
167
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
168
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
169
|
+
:param pulumi.Input[str] type: User account type, such as primary or regular account.
|
|
170
|
+
:param pulumi.Input[str] username: Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
171
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_categories: Allow or disallow command categories. To allow a category use the prefix `+@` and to disallow use `-@`. See the [Valkey documentation](https://valkey.io/topics/acl/) for details on the ACL feature. The field is required with`valkey_acl_commands` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
172
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_channels: Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
|
|
173
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_commands: Defines rules for individual commands. To allow a command use the prefix `+` and to disallow use `-`. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
174
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_keys: Key access rules. Entries are defined as standard glob patterns. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
175
|
+
"""
|
|
176
|
+
if password is not None:
|
|
177
|
+
pulumi.set(__self__, "password", password)
|
|
178
|
+
if project is not None:
|
|
179
|
+
pulumi.set(__self__, "project", project)
|
|
180
|
+
if service_name is not None:
|
|
181
|
+
pulumi.set(__self__, "service_name", service_name)
|
|
182
|
+
if type is not None:
|
|
183
|
+
pulumi.set(__self__, "type", type)
|
|
184
|
+
if username is not None:
|
|
185
|
+
pulumi.set(__self__, "username", username)
|
|
186
|
+
if valkey_acl_categories is not None:
|
|
187
|
+
pulumi.set(__self__, "valkey_acl_categories", valkey_acl_categories)
|
|
188
|
+
if valkey_acl_channels is not None:
|
|
189
|
+
pulumi.set(__self__, "valkey_acl_channels", valkey_acl_channels)
|
|
190
|
+
if valkey_acl_commands is not None:
|
|
191
|
+
pulumi.set(__self__, "valkey_acl_commands", valkey_acl_commands)
|
|
192
|
+
if valkey_acl_keys is not None:
|
|
193
|
+
pulumi.set(__self__, "valkey_acl_keys", valkey_acl_keys)
|
|
194
|
+
|
|
195
|
+
@property
|
|
196
|
+
@pulumi.getter
|
|
197
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
|
198
|
+
"""
|
|
199
|
+
The Valkey service user's password.
|
|
200
|
+
"""
|
|
201
|
+
return pulumi.get(self, "password")
|
|
202
|
+
|
|
203
|
+
@password.setter
|
|
204
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
|
205
|
+
pulumi.set(self, "password", value)
|
|
206
|
+
|
|
207
|
+
@property
|
|
208
|
+
@pulumi.getter
|
|
209
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
|
210
|
+
"""
|
|
211
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
212
|
+
"""
|
|
213
|
+
return pulumi.get(self, "project")
|
|
214
|
+
|
|
215
|
+
@project.setter
|
|
216
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
|
217
|
+
pulumi.set(self, "project", value)
|
|
218
|
+
|
|
219
|
+
@property
|
|
220
|
+
@pulumi.getter(name="serviceName")
|
|
221
|
+
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
222
|
+
"""
|
|
223
|
+
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
224
|
+
"""
|
|
225
|
+
return pulumi.get(self, "service_name")
|
|
226
|
+
|
|
227
|
+
@service_name.setter
|
|
228
|
+
def service_name(self, value: Optional[pulumi.Input[str]]):
|
|
229
|
+
pulumi.set(self, "service_name", value)
|
|
230
|
+
|
|
231
|
+
@property
|
|
232
|
+
@pulumi.getter
|
|
233
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
|
234
|
+
"""
|
|
235
|
+
User account type, such as primary or regular account.
|
|
236
|
+
"""
|
|
237
|
+
return pulumi.get(self, "type")
|
|
238
|
+
|
|
239
|
+
@type.setter
|
|
240
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
|
241
|
+
pulumi.set(self, "type", value)
|
|
242
|
+
|
|
243
|
+
@property
|
|
244
|
+
@pulumi.getter
|
|
245
|
+
def username(self) -> Optional[pulumi.Input[str]]:
|
|
246
|
+
"""
|
|
247
|
+
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
248
|
+
"""
|
|
249
|
+
return pulumi.get(self, "username")
|
|
250
|
+
|
|
251
|
+
@username.setter
|
|
252
|
+
def username(self, value: Optional[pulumi.Input[str]]):
|
|
253
|
+
pulumi.set(self, "username", value)
|
|
254
|
+
|
|
255
|
+
@property
|
|
256
|
+
@pulumi.getter(name="valkeyAclCategories")
|
|
257
|
+
def valkey_acl_categories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
258
|
+
"""
|
|
259
|
+
Allow or disallow command categories. To allow a category use the prefix `+@` and to disallow use `-@`. See the [Valkey documentation](https://valkey.io/topics/acl/) for details on the ACL feature. The field is required with`valkey_acl_commands` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
260
|
+
"""
|
|
261
|
+
return pulumi.get(self, "valkey_acl_categories")
|
|
262
|
+
|
|
263
|
+
@valkey_acl_categories.setter
|
|
264
|
+
def valkey_acl_categories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
265
|
+
pulumi.set(self, "valkey_acl_categories", value)
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
@pulumi.getter(name="valkeyAclChannels")
|
|
269
|
+
def valkey_acl_channels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
270
|
+
"""
|
|
271
|
+
Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
|
|
272
|
+
"""
|
|
273
|
+
return pulumi.get(self, "valkey_acl_channels")
|
|
274
|
+
|
|
275
|
+
@valkey_acl_channels.setter
|
|
276
|
+
def valkey_acl_channels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
277
|
+
pulumi.set(self, "valkey_acl_channels", value)
|
|
278
|
+
|
|
279
|
+
@property
|
|
280
|
+
@pulumi.getter(name="valkeyAclCommands")
|
|
281
|
+
def valkey_acl_commands(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
282
|
+
"""
|
|
283
|
+
Defines rules for individual commands. To allow a command use the prefix `+` and to disallow use `-`. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
284
|
+
"""
|
|
285
|
+
return pulumi.get(self, "valkey_acl_commands")
|
|
286
|
+
|
|
287
|
+
@valkey_acl_commands.setter
|
|
288
|
+
def valkey_acl_commands(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
289
|
+
pulumi.set(self, "valkey_acl_commands", value)
|
|
290
|
+
|
|
291
|
+
@property
|
|
292
|
+
@pulumi.getter(name="valkeyAclKeys")
|
|
293
|
+
def valkey_acl_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
294
|
+
"""
|
|
295
|
+
Key access rules. Entries are defined as standard glob patterns. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
296
|
+
"""
|
|
297
|
+
return pulumi.get(self, "valkey_acl_keys")
|
|
298
|
+
|
|
299
|
+
@valkey_acl_keys.setter
|
|
300
|
+
def valkey_acl_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
301
|
+
pulumi.set(self, "valkey_acl_keys", value)
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
class ValkeyUser(pulumi.CustomResource):
|
|
305
|
+
@overload
|
|
306
|
+
def __init__(__self__,
|
|
307
|
+
resource_name: str,
|
|
308
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
309
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
310
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
311
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
312
|
+
username: Optional[pulumi.Input[str]] = None,
|
|
313
|
+
valkey_acl_categories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
314
|
+
valkey_acl_channels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
315
|
+
valkey_acl_commands: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
316
|
+
valkey_acl_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
317
|
+
__props__=None):
|
|
318
|
+
"""
|
|
319
|
+
Creates and manages an [Aiven for Valkey™](https://aiven.io/docs/products/valkey) service user.
|
|
320
|
+
|
|
321
|
+
## Example Usage
|
|
322
|
+
|
|
323
|
+
```python
|
|
324
|
+
import pulumi
|
|
325
|
+
import pulumi_aiven as aiven
|
|
326
|
+
|
|
327
|
+
# Example user with read-only access for analytics
|
|
328
|
+
read_analytics = aiven.ValkeyUser("read_analytics",
|
|
329
|
+
project=example_project["project"],
|
|
330
|
+
service_name=example_valkey["serviceName"],
|
|
331
|
+
username="example-analytics-reader",
|
|
332
|
+
password=valkey_user_pw,
|
|
333
|
+
valkey_acl_categories=["+@read"],
|
|
334
|
+
valkey_acl_commands=[
|
|
335
|
+
"+get",
|
|
336
|
+
"+set",
|
|
337
|
+
"+mget",
|
|
338
|
+
"+hget",
|
|
339
|
+
"+zrange",
|
|
340
|
+
],
|
|
341
|
+
valkey_acl_keys=["analytics:*"])
|
|
342
|
+
# Example user with restricted write access for session management
|
|
343
|
+
manage_sessions = aiven.ValkeyUser("manage_sessions",
|
|
344
|
+
project=example_project["project"],
|
|
345
|
+
service_name=example_valkey["serviceName"],
|
|
346
|
+
username="example-session-manager",
|
|
347
|
+
password=valkey_user_pw,
|
|
348
|
+
valkey_acl_categories=[
|
|
349
|
+
"+@write",
|
|
350
|
+
"+@keyspace",
|
|
351
|
+
],
|
|
352
|
+
valkey_acl_commands=[
|
|
353
|
+
"+set",
|
|
354
|
+
"+del",
|
|
355
|
+
"+expire",
|
|
356
|
+
"-flushall",
|
|
357
|
+
"-flushdb",
|
|
358
|
+
],
|
|
359
|
+
valkey_acl_keys=["session:*"])
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
## Import
|
|
363
|
+
|
|
364
|
+
```sh
|
|
365
|
+
$ pulumi import aiven:index/valkeyUser:ValkeyUser example_valkey PROJECT/SERVICE_NAME/USERNAME
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
:param str resource_name: The name of the resource.
|
|
369
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
370
|
+
:param pulumi.Input[str] password: The Valkey service user's password.
|
|
371
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
372
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
373
|
+
:param pulumi.Input[str] username: Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
374
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_categories: Allow or disallow command categories. To allow a category use the prefix `+@` and to disallow use `-@`. See the [Valkey documentation](https://valkey.io/topics/acl/) for details on the ACL feature. The field is required with`valkey_acl_commands` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
375
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_channels: Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
|
|
376
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_commands: Defines rules for individual commands. To allow a command use the prefix `+` and to disallow use `-`. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
377
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_keys: Key access rules. Entries are defined as standard glob patterns. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
378
|
+
"""
|
|
379
|
+
...
|
|
380
|
+
@overload
|
|
381
|
+
def __init__(__self__,
|
|
382
|
+
resource_name: str,
|
|
383
|
+
args: ValkeyUserArgs,
|
|
384
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
385
|
+
"""
|
|
386
|
+
Creates and manages an [Aiven for Valkey™](https://aiven.io/docs/products/valkey) service user.
|
|
387
|
+
|
|
388
|
+
## Example Usage
|
|
389
|
+
|
|
390
|
+
```python
|
|
391
|
+
import pulumi
|
|
392
|
+
import pulumi_aiven as aiven
|
|
393
|
+
|
|
394
|
+
# Example user with read-only access for analytics
|
|
395
|
+
read_analytics = aiven.ValkeyUser("read_analytics",
|
|
396
|
+
project=example_project["project"],
|
|
397
|
+
service_name=example_valkey["serviceName"],
|
|
398
|
+
username="example-analytics-reader",
|
|
399
|
+
password=valkey_user_pw,
|
|
400
|
+
valkey_acl_categories=["+@read"],
|
|
401
|
+
valkey_acl_commands=[
|
|
402
|
+
"+get",
|
|
403
|
+
"+set",
|
|
404
|
+
"+mget",
|
|
405
|
+
"+hget",
|
|
406
|
+
"+zrange",
|
|
407
|
+
],
|
|
408
|
+
valkey_acl_keys=["analytics:*"])
|
|
409
|
+
# Example user with restricted write access for session management
|
|
410
|
+
manage_sessions = aiven.ValkeyUser("manage_sessions",
|
|
411
|
+
project=example_project["project"],
|
|
412
|
+
service_name=example_valkey["serviceName"],
|
|
413
|
+
username="example-session-manager",
|
|
414
|
+
password=valkey_user_pw,
|
|
415
|
+
valkey_acl_categories=[
|
|
416
|
+
"+@write",
|
|
417
|
+
"+@keyspace",
|
|
418
|
+
],
|
|
419
|
+
valkey_acl_commands=[
|
|
420
|
+
"+set",
|
|
421
|
+
"+del",
|
|
422
|
+
"+expire",
|
|
423
|
+
"-flushall",
|
|
424
|
+
"-flushdb",
|
|
425
|
+
],
|
|
426
|
+
valkey_acl_keys=["session:*"])
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
## Import
|
|
430
|
+
|
|
431
|
+
```sh
|
|
432
|
+
$ pulumi import aiven:index/valkeyUser:ValkeyUser example_valkey PROJECT/SERVICE_NAME/USERNAME
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
:param str resource_name: The name of the resource.
|
|
436
|
+
:param ValkeyUserArgs args: The arguments to use to populate this resource's properties.
|
|
437
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
438
|
+
"""
|
|
439
|
+
...
|
|
440
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
441
|
+
resource_args, opts = _utilities.get_resource_args_opts(ValkeyUserArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
442
|
+
if resource_args is not None:
|
|
443
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
444
|
+
else:
|
|
445
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
446
|
+
|
|
447
|
+
def _internal_init(__self__,
|
|
448
|
+
resource_name: str,
|
|
449
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
450
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
451
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
452
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
453
|
+
username: Optional[pulumi.Input[str]] = None,
|
|
454
|
+
valkey_acl_categories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
455
|
+
valkey_acl_channels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
456
|
+
valkey_acl_commands: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
457
|
+
valkey_acl_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
458
|
+
__props__=None):
|
|
459
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
460
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
461
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
462
|
+
if opts.id is None:
|
|
463
|
+
if __props__ is not None:
|
|
464
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
465
|
+
__props__ = ValkeyUserArgs.__new__(ValkeyUserArgs)
|
|
466
|
+
|
|
467
|
+
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
468
|
+
if project is None and not opts.urn:
|
|
469
|
+
raise TypeError("Missing required property 'project'")
|
|
470
|
+
__props__.__dict__["project"] = project
|
|
471
|
+
if service_name is None and not opts.urn:
|
|
472
|
+
raise TypeError("Missing required property 'service_name'")
|
|
473
|
+
__props__.__dict__["service_name"] = service_name
|
|
474
|
+
if username is None and not opts.urn:
|
|
475
|
+
raise TypeError("Missing required property 'username'")
|
|
476
|
+
__props__.__dict__["username"] = username
|
|
477
|
+
__props__.__dict__["valkey_acl_categories"] = valkey_acl_categories
|
|
478
|
+
__props__.__dict__["valkey_acl_channels"] = valkey_acl_channels
|
|
479
|
+
__props__.__dict__["valkey_acl_commands"] = valkey_acl_commands
|
|
480
|
+
__props__.__dict__["valkey_acl_keys"] = valkey_acl_keys
|
|
481
|
+
__props__.__dict__["type"] = None
|
|
482
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
|
483
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
484
|
+
super(ValkeyUser, __self__).__init__(
|
|
485
|
+
'aiven:index/valkeyUser:ValkeyUser',
|
|
486
|
+
resource_name,
|
|
487
|
+
__props__,
|
|
488
|
+
opts)
|
|
489
|
+
|
|
490
|
+
@staticmethod
|
|
491
|
+
def get(resource_name: str,
|
|
492
|
+
id: pulumi.Input[str],
|
|
493
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
494
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
495
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
496
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
497
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
498
|
+
username: Optional[pulumi.Input[str]] = None,
|
|
499
|
+
valkey_acl_categories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
500
|
+
valkey_acl_channels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
501
|
+
valkey_acl_commands: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
502
|
+
valkey_acl_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ValkeyUser':
|
|
503
|
+
"""
|
|
504
|
+
Get an existing ValkeyUser resource's state with the given name, id, and optional extra
|
|
505
|
+
properties used to qualify the lookup.
|
|
506
|
+
|
|
507
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
508
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
509
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
510
|
+
:param pulumi.Input[str] password: The Valkey service user's password.
|
|
511
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
512
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
513
|
+
:param pulumi.Input[str] type: User account type, such as primary or regular account.
|
|
514
|
+
:param pulumi.Input[str] username: Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
515
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_categories: Allow or disallow command categories. To allow a category use the prefix `+@` and to disallow use `-@`. See the [Valkey documentation](https://valkey.io/topics/acl/) for details on the ACL feature. The field is required with`valkey_acl_commands` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
516
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_channels: Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
|
|
517
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_commands: Defines rules for individual commands. To allow a command use the prefix `+` and to disallow use `-`. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
518
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] valkey_acl_keys: Key access rules. Entries are defined as standard glob patterns. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
519
|
+
"""
|
|
520
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
521
|
+
|
|
522
|
+
__props__ = _ValkeyUserState.__new__(_ValkeyUserState)
|
|
523
|
+
|
|
524
|
+
__props__.__dict__["password"] = password
|
|
525
|
+
__props__.__dict__["project"] = project
|
|
526
|
+
__props__.__dict__["service_name"] = service_name
|
|
527
|
+
__props__.__dict__["type"] = type
|
|
528
|
+
__props__.__dict__["username"] = username
|
|
529
|
+
__props__.__dict__["valkey_acl_categories"] = valkey_acl_categories
|
|
530
|
+
__props__.__dict__["valkey_acl_channels"] = valkey_acl_channels
|
|
531
|
+
__props__.__dict__["valkey_acl_commands"] = valkey_acl_commands
|
|
532
|
+
__props__.__dict__["valkey_acl_keys"] = valkey_acl_keys
|
|
533
|
+
return ValkeyUser(resource_name, opts=opts, __props__=__props__)
|
|
534
|
+
|
|
535
|
+
@property
|
|
536
|
+
@pulumi.getter
|
|
537
|
+
def password(self) -> pulumi.Output[str]:
|
|
538
|
+
"""
|
|
539
|
+
The Valkey service user's password.
|
|
540
|
+
"""
|
|
541
|
+
return pulumi.get(self, "password")
|
|
542
|
+
|
|
543
|
+
@property
|
|
544
|
+
@pulumi.getter
|
|
545
|
+
def project(self) -> pulumi.Output[str]:
|
|
546
|
+
"""
|
|
547
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
548
|
+
"""
|
|
549
|
+
return pulumi.get(self, "project")
|
|
550
|
+
|
|
551
|
+
@property
|
|
552
|
+
@pulumi.getter(name="serviceName")
|
|
553
|
+
def service_name(self) -> pulumi.Output[str]:
|
|
554
|
+
"""
|
|
555
|
+
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
556
|
+
"""
|
|
557
|
+
return pulumi.get(self, "service_name")
|
|
558
|
+
|
|
559
|
+
@property
|
|
560
|
+
@pulumi.getter
|
|
561
|
+
def type(self) -> pulumi.Output[str]:
|
|
562
|
+
"""
|
|
563
|
+
User account type, such as primary or regular account.
|
|
564
|
+
"""
|
|
565
|
+
return pulumi.get(self, "type")
|
|
566
|
+
|
|
567
|
+
@property
|
|
568
|
+
@pulumi.getter
|
|
569
|
+
def username(self) -> pulumi.Output[str]:
|
|
570
|
+
"""
|
|
571
|
+
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
572
|
+
"""
|
|
573
|
+
return pulumi.get(self, "username")
|
|
574
|
+
|
|
575
|
+
@property
|
|
576
|
+
@pulumi.getter(name="valkeyAclCategories")
|
|
577
|
+
def valkey_acl_categories(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
578
|
+
"""
|
|
579
|
+
Allow or disallow command categories. To allow a category use the prefix `+@` and to disallow use `-@`. See the [Valkey documentation](https://valkey.io/topics/acl/) for details on the ACL feature. The field is required with`valkey_acl_commands` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
580
|
+
"""
|
|
581
|
+
return pulumi.get(self, "valkey_acl_categories")
|
|
582
|
+
|
|
583
|
+
@property
|
|
584
|
+
@pulumi.getter(name="valkeyAclChannels")
|
|
585
|
+
def valkey_acl_channels(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
586
|
+
"""
|
|
587
|
+
Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
|
|
588
|
+
"""
|
|
589
|
+
return pulumi.get(self, "valkey_acl_channels")
|
|
590
|
+
|
|
591
|
+
@property
|
|
592
|
+
@pulumi.getter(name="valkeyAclCommands")
|
|
593
|
+
def valkey_acl_commands(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
594
|
+
"""
|
|
595
|
+
Defines rules for individual commands. To allow a command use the prefix `+` and to disallow use `-`. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
596
|
+
"""
|
|
597
|
+
return pulumi.get(self, "valkey_acl_commands")
|
|
598
|
+
|
|
599
|
+
@property
|
|
600
|
+
@pulumi.getter(name="valkeyAclKeys")
|
|
601
|
+
def valkey_acl_keys(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
602
|
+
"""
|
|
603
|
+
Key access rules. Entries are defined as standard glob patterns. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
604
|
+
"""
|
|
605
|
+
return pulumi.get(self, "valkey_acl_keys")
|
|
606
|
+
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: pulumi_aiven
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.31.0
|
|
4
4
|
Summary: A Pulumi package for creating and managing Aiven cloud resources.
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://pulumi.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pulumi/pulumi-aiven
|
|
8
8
|
Keywords: pulumi,aiven
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.9
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
|
-
Requires-Dist: parver
|
|
12
|
-
Requires-Dist: pulumi
|
|
13
|
-
Requires-Dist: semver
|
|
11
|
+
Requires-Dist: parver>=0.2.1
|
|
12
|
+
Requires-Dist: pulumi<4.0.0,>=3.142.0
|
|
13
|
+
Requires-Dist: semver>=2.8.1
|
|
14
|
+
Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
|
|
14
15
|
|
|
15
16
|
[](https://github.com/pulumi/pulumi-aiven/actions)
|
|
16
17
|
[](https://slack.pulumi.com)
|