pulumi-minio 0.16.4__py3-none-any.whl → 0.16.5__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.
- pulumi_minio/__init__.py +2 -2
- pulumi_minio/_inputs.py +115 -116
- pulumi_minio/_utilities.py +1 -1
- pulumi_minio/config/__init__.py +2 -2
- pulumi_minio/config/__init__.pyi +2 -3
- pulumi_minio/config/vars.py +15 -16
- pulumi_minio/get_iam_policy_document.py +23 -24
- pulumi_minio/iam_group.py +53 -56
- pulumi_minio/iam_group_membership.py +54 -57
- pulumi_minio/iam_group_policy.py +55 -58
- pulumi_minio/iam_group_policy_attachment.py +29 -32
- pulumi_minio/iam_group_user_attachment.py +29 -32
- pulumi_minio/iam_policy.py +42 -45
- pulumi_minio/iam_service_account.py +88 -91
- pulumi_minio/iam_user.py +96 -99
- pulumi_minio/iam_user_policy_attachment.py +29 -32
- pulumi_minio/ilm_policy.py +19 -22
- pulumi_minio/kms_key.py +16 -19
- pulumi_minio/outputs.py +71 -72
- pulumi_minio/provider.py +156 -140
- pulumi_minio/pulumi-plugin.json +1 -1
- pulumi_minio/s3_bucket.py +95 -98
- pulumi_minio/s3_bucket_notification.py +19 -22
- pulumi_minio/s3_bucket_policy.py +29 -32
- pulumi_minio/s3_bucket_server_side_encryption.py +42 -45
- pulumi_minio/s3_bucket_versioning.py +19 -22
- pulumi_minio/s3_object.py +107 -110
- {pulumi_minio-0.16.4.dist-info → pulumi_minio-0.16.5.dist-info}/METADATA +3 -3
- pulumi_minio-0.16.5.dist-info/RECORD +32 -0
- {pulumi_minio-0.16.4.dist-info → pulumi_minio-0.16.5.dist-info}/WHEEL +1 -1
- pulumi_minio-0.16.4.dist-info/RECORD +0 -32
- {pulumi_minio-0.16.4.dist-info → pulumi_minio-0.16.5.dist-info}/top_level.txt +0 -0
@@ -1,9 +1,8 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
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 builtins
|
6
|
-
import copy
|
5
|
+
import builtins as _builtins
|
7
6
|
import warnings
|
8
7
|
import sys
|
9
8
|
import pulumi
|
@@ -20,9 +19,9 @@ __all__ = ['S3BucketServerSideEncryptionArgs', 'S3BucketServerSideEncryption']
|
|
20
19
|
@pulumi.input_type
|
21
20
|
class S3BucketServerSideEncryptionArgs:
|
22
21
|
def __init__(__self__, *,
|
23
|
-
bucket: pulumi.Input[
|
24
|
-
encryption_type: pulumi.Input[
|
25
|
-
kms_key_id: pulumi.Input[
|
22
|
+
bucket: pulumi.Input[_builtins.str],
|
23
|
+
encryption_type: pulumi.Input[_builtins.str],
|
24
|
+
kms_key_id: pulumi.Input[_builtins.str]):
|
26
25
|
"""
|
27
26
|
The set of arguments for constructing a S3BucketServerSideEncryption resource.
|
28
27
|
"""
|
@@ -30,40 +29,40 @@ class S3BucketServerSideEncryptionArgs:
|
|
30
29
|
pulumi.set(__self__, "encryption_type", encryption_type)
|
31
30
|
pulumi.set(__self__, "kms_key_id", kms_key_id)
|
32
31
|
|
33
|
-
@property
|
32
|
+
@_builtins.property
|
34
33
|
@pulumi.getter
|
35
|
-
def bucket(self) -> pulumi.Input[
|
34
|
+
def bucket(self) -> pulumi.Input[_builtins.str]:
|
36
35
|
return pulumi.get(self, "bucket")
|
37
36
|
|
38
37
|
@bucket.setter
|
39
|
-
def bucket(self, value: pulumi.Input[
|
38
|
+
def bucket(self, value: pulumi.Input[_builtins.str]):
|
40
39
|
pulumi.set(self, "bucket", value)
|
41
40
|
|
42
|
-
@property
|
41
|
+
@_builtins.property
|
43
42
|
@pulumi.getter(name="encryptionType")
|
44
|
-
def encryption_type(self) -> pulumi.Input[
|
43
|
+
def encryption_type(self) -> pulumi.Input[_builtins.str]:
|
45
44
|
return pulumi.get(self, "encryption_type")
|
46
45
|
|
47
46
|
@encryption_type.setter
|
48
|
-
def encryption_type(self, value: pulumi.Input[
|
47
|
+
def encryption_type(self, value: pulumi.Input[_builtins.str]):
|
49
48
|
pulumi.set(self, "encryption_type", value)
|
50
49
|
|
51
|
-
@property
|
50
|
+
@_builtins.property
|
52
51
|
@pulumi.getter(name="kmsKeyId")
|
53
|
-
def kms_key_id(self) -> pulumi.Input[
|
52
|
+
def kms_key_id(self) -> pulumi.Input[_builtins.str]:
|
54
53
|
return pulumi.get(self, "kms_key_id")
|
55
54
|
|
56
55
|
@kms_key_id.setter
|
57
|
-
def kms_key_id(self, value: pulumi.Input[
|
56
|
+
def kms_key_id(self, value: pulumi.Input[_builtins.str]):
|
58
57
|
pulumi.set(self, "kms_key_id", value)
|
59
58
|
|
60
59
|
|
61
60
|
@pulumi.input_type
|
62
61
|
class _S3BucketServerSideEncryptionState:
|
63
62
|
def __init__(__self__, *,
|
64
|
-
bucket: Optional[pulumi.Input[
|
65
|
-
encryption_type: Optional[pulumi.Input[
|
66
|
-
kms_key_id: Optional[pulumi.Input[
|
63
|
+
bucket: Optional[pulumi.Input[_builtins.str]] = None,
|
64
|
+
encryption_type: Optional[pulumi.Input[_builtins.str]] = None,
|
65
|
+
kms_key_id: Optional[pulumi.Input[_builtins.str]] = None):
|
67
66
|
"""
|
68
67
|
Input properties used for looking up and filtering S3BucketServerSideEncryption resources.
|
69
68
|
"""
|
@@ -74,45 +73,43 @@ class _S3BucketServerSideEncryptionState:
|
|
74
73
|
if kms_key_id is not None:
|
75
74
|
pulumi.set(__self__, "kms_key_id", kms_key_id)
|
76
75
|
|
77
|
-
@property
|
76
|
+
@_builtins.property
|
78
77
|
@pulumi.getter
|
79
|
-
def bucket(self) -> Optional[pulumi.Input[
|
78
|
+
def bucket(self) -> Optional[pulumi.Input[_builtins.str]]:
|
80
79
|
return pulumi.get(self, "bucket")
|
81
80
|
|
82
81
|
@bucket.setter
|
83
|
-
def bucket(self, value: Optional[pulumi.Input[
|
82
|
+
def bucket(self, value: Optional[pulumi.Input[_builtins.str]]):
|
84
83
|
pulumi.set(self, "bucket", value)
|
85
84
|
|
86
|
-
@property
|
85
|
+
@_builtins.property
|
87
86
|
@pulumi.getter(name="encryptionType")
|
88
|
-
def encryption_type(self) -> Optional[pulumi.Input[
|
87
|
+
def encryption_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
89
88
|
return pulumi.get(self, "encryption_type")
|
90
89
|
|
91
90
|
@encryption_type.setter
|
92
|
-
def encryption_type(self, value: Optional[pulumi.Input[
|
91
|
+
def encryption_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
93
92
|
pulumi.set(self, "encryption_type", value)
|
94
93
|
|
95
|
-
@property
|
94
|
+
@_builtins.property
|
96
95
|
@pulumi.getter(name="kmsKeyId")
|
97
|
-
def kms_key_id(self) -> Optional[pulumi.Input[
|
96
|
+
def kms_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
98
97
|
return pulumi.get(self, "kms_key_id")
|
99
98
|
|
100
99
|
@kms_key_id.setter
|
101
|
-
def kms_key_id(self, value: Optional[pulumi.Input[
|
100
|
+
def kms_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
102
101
|
pulumi.set(self, "kms_key_id", value)
|
103
102
|
|
104
103
|
|
104
|
+
@pulumi.type_token("minio:index/s3BucketServerSideEncryption:S3BucketServerSideEncryption")
|
105
105
|
class S3BucketServerSideEncryption(pulumi.CustomResource):
|
106
|
-
|
107
|
-
pulumi_type = "minio:index/s3BucketServerSideEncryption:S3BucketServerSideEncryption"
|
108
|
-
|
109
106
|
@overload
|
110
107
|
def __init__(__self__,
|
111
108
|
resource_name: str,
|
112
109
|
opts: Optional[pulumi.ResourceOptions] = None,
|
113
|
-
bucket: Optional[pulumi.Input[
|
114
|
-
encryption_type: Optional[pulumi.Input[
|
115
|
-
kms_key_id: Optional[pulumi.Input[
|
110
|
+
bucket: Optional[pulumi.Input[_builtins.str]] = None,
|
111
|
+
encryption_type: Optional[pulumi.Input[_builtins.str]] = None,
|
112
|
+
kms_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
116
113
|
__props__=None):
|
117
114
|
"""
|
118
115
|
Create a S3BucketServerSideEncryption resource with the given unique name, props, and options.
|
@@ -142,9 +139,9 @@ class S3BucketServerSideEncryption(pulumi.CustomResource):
|
|
142
139
|
def _internal_init(__self__,
|
143
140
|
resource_name: str,
|
144
141
|
opts: Optional[pulumi.ResourceOptions] = None,
|
145
|
-
bucket: Optional[pulumi.Input[
|
146
|
-
encryption_type: Optional[pulumi.Input[
|
147
|
-
kms_key_id: Optional[pulumi.Input[
|
142
|
+
bucket: Optional[pulumi.Input[_builtins.str]] = None,
|
143
|
+
encryption_type: Optional[pulumi.Input[_builtins.str]] = None,
|
144
|
+
kms_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
148
145
|
__props__=None):
|
149
146
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
150
147
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -173,9 +170,9 @@ class S3BucketServerSideEncryption(pulumi.CustomResource):
|
|
173
170
|
def get(resource_name: str,
|
174
171
|
id: pulumi.Input[str],
|
175
172
|
opts: Optional[pulumi.ResourceOptions] = None,
|
176
|
-
bucket: Optional[pulumi.Input[
|
177
|
-
encryption_type: Optional[pulumi.Input[
|
178
|
-
kms_key_id: Optional[pulumi.Input[
|
173
|
+
bucket: Optional[pulumi.Input[_builtins.str]] = None,
|
174
|
+
encryption_type: Optional[pulumi.Input[_builtins.str]] = None,
|
175
|
+
kms_key_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'S3BucketServerSideEncryption':
|
179
176
|
"""
|
180
177
|
Get an existing S3BucketServerSideEncryption resource's state with the given name, id, and optional extra
|
181
178
|
properties used to qualify the lookup.
|
@@ -193,18 +190,18 @@ class S3BucketServerSideEncryption(pulumi.CustomResource):
|
|
193
190
|
__props__.__dict__["kms_key_id"] = kms_key_id
|
194
191
|
return S3BucketServerSideEncryption(resource_name, opts=opts, __props__=__props__)
|
195
192
|
|
196
|
-
@property
|
193
|
+
@_builtins.property
|
197
194
|
@pulumi.getter
|
198
|
-
def bucket(self) -> pulumi.Output[
|
195
|
+
def bucket(self) -> pulumi.Output[_builtins.str]:
|
199
196
|
return pulumi.get(self, "bucket")
|
200
197
|
|
201
|
-
@property
|
198
|
+
@_builtins.property
|
202
199
|
@pulumi.getter(name="encryptionType")
|
203
|
-
def encryption_type(self) -> pulumi.Output[
|
200
|
+
def encryption_type(self) -> pulumi.Output[_builtins.str]:
|
204
201
|
return pulumi.get(self, "encryption_type")
|
205
202
|
|
206
|
-
@property
|
203
|
+
@_builtins.property
|
207
204
|
@pulumi.getter(name="kmsKeyId")
|
208
|
-
def kms_key_id(self) -> pulumi.Output[
|
205
|
+
def kms_key_id(self) -> pulumi.Output[_builtins.str]:
|
209
206
|
return pulumi.get(self, "kms_key_id")
|
210
207
|
|
@@ -1,9 +1,8 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
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 builtins
|
6
|
-
import copy
|
5
|
+
import builtins as _builtins
|
7
6
|
import warnings
|
8
7
|
import sys
|
9
8
|
import pulumi
|
@@ -22,7 +21,7 @@ __all__ = ['S3BucketVersioningArgs', 'S3BucketVersioning']
|
|
22
21
|
@pulumi.input_type
|
23
22
|
class S3BucketVersioningArgs:
|
24
23
|
def __init__(__self__, *,
|
25
|
-
bucket: pulumi.Input[
|
24
|
+
bucket: pulumi.Input[_builtins.str],
|
26
25
|
versioning_configuration: pulumi.Input['S3BucketVersioningVersioningConfigurationArgs']):
|
27
26
|
"""
|
28
27
|
The set of arguments for constructing a S3BucketVersioning resource.
|
@@ -30,16 +29,16 @@ class S3BucketVersioningArgs:
|
|
30
29
|
pulumi.set(__self__, "bucket", bucket)
|
31
30
|
pulumi.set(__self__, "versioning_configuration", versioning_configuration)
|
32
31
|
|
33
|
-
@property
|
32
|
+
@_builtins.property
|
34
33
|
@pulumi.getter
|
35
|
-
def bucket(self) -> pulumi.Input[
|
34
|
+
def bucket(self) -> pulumi.Input[_builtins.str]:
|
36
35
|
return pulumi.get(self, "bucket")
|
37
36
|
|
38
37
|
@bucket.setter
|
39
|
-
def bucket(self, value: pulumi.Input[
|
38
|
+
def bucket(self, value: pulumi.Input[_builtins.str]):
|
40
39
|
pulumi.set(self, "bucket", value)
|
41
40
|
|
42
|
-
@property
|
41
|
+
@_builtins.property
|
43
42
|
@pulumi.getter(name="versioningConfiguration")
|
44
43
|
def versioning_configuration(self) -> pulumi.Input['S3BucketVersioningVersioningConfigurationArgs']:
|
45
44
|
return pulumi.get(self, "versioning_configuration")
|
@@ -52,7 +51,7 @@ class S3BucketVersioningArgs:
|
|
52
51
|
@pulumi.input_type
|
53
52
|
class _S3BucketVersioningState:
|
54
53
|
def __init__(__self__, *,
|
55
|
-
bucket: Optional[pulumi.Input[
|
54
|
+
bucket: Optional[pulumi.Input[_builtins.str]] = None,
|
56
55
|
versioning_configuration: Optional[pulumi.Input['S3BucketVersioningVersioningConfigurationArgs']] = None):
|
57
56
|
"""
|
58
57
|
Input properties used for looking up and filtering S3BucketVersioning resources.
|
@@ -62,16 +61,16 @@ class _S3BucketVersioningState:
|
|
62
61
|
if versioning_configuration is not None:
|
63
62
|
pulumi.set(__self__, "versioning_configuration", versioning_configuration)
|
64
63
|
|
65
|
-
@property
|
64
|
+
@_builtins.property
|
66
65
|
@pulumi.getter
|
67
|
-
def bucket(self) -> Optional[pulumi.Input[
|
66
|
+
def bucket(self) -> Optional[pulumi.Input[_builtins.str]]:
|
68
67
|
return pulumi.get(self, "bucket")
|
69
68
|
|
70
69
|
@bucket.setter
|
71
|
-
def bucket(self, value: Optional[pulumi.Input[
|
70
|
+
def bucket(self, value: Optional[pulumi.Input[_builtins.str]]):
|
72
71
|
pulumi.set(self, "bucket", value)
|
73
72
|
|
74
|
-
@property
|
73
|
+
@_builtins.property
|
75
74
|
@pulumi.getter(name="versioningConfiguration")
|
76
75
|
def versioning_configuration(self) -> Optional[pulumi.Input['S3BucketVersioningVersioningConfigurationArgs']]:
|
77
76
|
return pulumi.get(self, "versioning_configuration")
|
@@ -81,15 +80,13 @@ class _S3BucketVersioningState:
|
|
81
80
|
pulumi.set(self, "versioning_configuration", value)
|
82
81
|
|
83
82
|
|
83
|
+
@pulumi.type_token("minio:index/s3BucketVersioning:S3BucketVersioning")
|
84
84
|
class S3BucketVersioning(pulumi.CustomResource):
|
85
|
-
|
86
|
-
pulumi_type = "minio:index/s3BucketVersioning:S3BucketVersioning"
|
87
|
-
|
88
85
|
@overload
|
89
86
|
def __init__(__self__,
|
90
87
|
resource_name: str,
|
91
88
|
opts: Optional[pulumi.ResourceOptions] = None,
|
92
|
-
bucket: Optional[pulumi.Input[
|
89
|
+
bucket: Optional[pulumi.Input[_builtins.str]] = None,
|
93
90
|
versioning_configuration: Optional[pulumi.Input[Union['S3BucketVersioningVersioningConfigurationArgs', 'S3BucketVersioningVersioningConfigurationArgsDict']]] = None,
|
94
91
|
__props__=None):
|
95
92
|
"""
|
@@ -120,7 +117,7 @@ class S3BucketVersioning(pulumi.CustomResource):
|
|
120
117
|
def _internal_init(__self__,
|
121
118
|
resource_name: str,
|
122
119
|
opts: Optional[pulumi.ResourceOptions] = None,
|
123
|
-
bucket: Optional[pulumi.Input[
|
120
|
+
bucket: Optional[pulumi.Input[_builtins.str]] = None,
|
124
121
|
versioning_configuration: Optional[pulumi.Input[Union['S3BucketVersioningVersioningConfigurationArgs', 'S3BucketVersioningVersioningConfigurationArgsDict']]] = None,
|
125
122
|
__props__=None):
|
126
123
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -147,7 +144,7 @@ class S3BucketVersioning(pulumi.CustomResource):
|
|
147
144
|
def get(resource_name: str,
|
148
145
|
id: pulumi.Input[str],
|
149
146
|
opts: Optional[pulumi.ResourceOptions] = None,
|
150
|
-
bucket: Optional[pulumi.Input[
|
147
|
+
bucket: Optional[pulumi.Input[_builtins.str]] = None,
|
151
148
|
versioning_configuration: Optional[pulumi.Input[Union['S3BucketVersioningVersioningConfigurationArgs', 'S3BucketVersioningVersioningConfigurationArgsDict']]] = None) -> 'S3BucketVersioning':
|
152
149
|
"""
|
153
150
|
Get an existing S3BucketVersioning resource's state with the given name, id, and optional extra
|
@@ -165,12 +162,12 @@ class S3BucketVersioning(pulumi.CustomResource):
|
|
165
162
|
__props__.__dict__["versioning_configuration"] = versioning_configuration
|
166
163
|
return S3BucketVersioning(resource_name, opts=opts, __props__=__props__)
|
167
164
|
|
168
|
-
@property
|
165
|
+
@_builtins.property
|
169
166
|
@pulumi.getter
|
170
|
-
def bucket(self) -> pulumi.Output[
|
167
|
+
def bucket(self) -> pulumi.Output[_builtins.str]:
|
171
168
|
return pulumi.get(self, "bucket")
|
172
169
|
|
173
|
-
@property
|
170
|
+
@_builtins.property
|
174
171
|
@pulumi.getter(name="versioningConfiguration")
|
175
172
|
def versioning_configuration(self) -> pulumi.Output['outputs.S3BucketVersioningVersioningConfiguration']:
|
176
173
|
return pulumi.get(self, "versioning_configuration")
|