@pulumi/aws 6.13.1 → 6.13.2
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.
- package/docdb/elasticCluster.d.ts +217 -0
- package/docdb/elasticCluster.js +107 -0
- package/docdb/elasticCluster.js.map +1 -0
- package/docdb/index.d.ts +3 -0
- package/docdb/index.js +6 -1
- package/docdb/index.js.map +1 -1
- package/eks/index.d.ts +3 -0
- package/eks/index.js +6 -1
- package/eks/index.js.map +1 -1
- package/eks/podIdentityAssociation.d.ts +192 -0
- package/eks/podIdentityAssociation.js +129 -0
- package/eks/podIdentityAssociation.js.map +1 -0
- package/package.json +1 -1
- package/s3control/accessGrant.d.ts +198 -0
- package/s3control/accessGrant.js +116 -0
- package/s3control/accessGrant.js.map +1 -0
- package/s3control/accessGrantsInstance.d.ts +139 -0
- package/s3control/accessGrantsInstance.js +93 -0
- package/s3control/accessGrantsInstance.js.map +1 -0
- package/s3control/accessGrantsInstanceResourcePolicy.d.ts +28 -0
- package/s3control/accessGrantsInstanceResourcePolicy.js +28 -0
- package/s3control/accessGrantsInstanceResourcePolicy.js.map +1 -1
- package/s3control/accessGrantsLocation.d.ts +146 -0
- package/s3control/accessGrantsLocation.js +99 -0
- package/s3control/accessGrantsLocation.js.map +1 -0
- package/s3control/index.d.ts +9 -0
- package/s3control/index.js +16 -1
- package/s3control/index.js.map +1 -1
- package/types/input.d.ts +21 -0
- package/types/output.d.ts +21 -0
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages an AWS DocDB (DocumentDB) Elastic Cluster.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* Using `pulumi import`, import DocDB (DocumentDB) Elastic Cluster using the `arn` argument. For example,
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import aws:docdb/elasticCluster:ElasticCluster example arn:aws:docdb-elastic:us-east-1:000011112222:cluster/12345678-7abc-def0-1234-56789abcdef
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare class ElasticCluster extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing ElasticCluster resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ElasticClusterState, opts?: pulumi.CustomResourceOptions): ElasticCluster;
|
|
28
|
+
/**
|
|
29
|
+
* Returns true if the given object is an instance of ElasticCluster. This is designed to work even
|
|
30
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
+
*/
|
|
32
|
+
static isInstance(obj: any): obj is ElasticCluster;
|
|
33
|
+
/**
|
|
34
|
+
* Name of the Elastic DocumentDB cluster administrator
|
|
35
|
+
*/
|
|
36
|
+
readonly adminUserName: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Password for the Elastic DocumentDB cluster administrator. Can contain any printable ASCII characters. Must be at least 8 characters
|
|
39
|
+
*/
|
|
40
|
+
readonly adminUserPassword: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* ARN of the DocumentDB Elastic Cluster
|
|
43
|
+
*/
|
|
44
|
+
readonly arn: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Authentication type for the Elastic DocumentDB cluster. Valid values are `PLAIN_TEXT` and `SECRET_ARN`
|
|
47
|
+
*/
|
|
48
|
+
readonly authType: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The DNS address of the DocDB instance
|
|
51
|
+
*/
|
|
52
|
+
readonly endpoint: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* ARN of a KMS key that is used to encrypt the Elastic DocumentDB cluster. If not specified, the default encryption key that KMS creates for your account is used.
|
|
55
|
+
*/
|
|
56
|
+
readonly kmsKeyId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Name of the Elastic DocumentDB cluster
|
|
59
|
+
*/
|
|
60
|
+
readonly name: pulumi.Output<string>;
|
|
61
|
+
readonly preferredMaintenanceWindow: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64
|
|
64
|
+
*/
|
|
65
|
+
readonly shardCapacity: pulumi.Output<number>;
|
|
66
|
+
/**
|
|
67
|
+
* Number of shards assigned to the elastic cluster. Maximum is 32
|
|
68
|
+
*
|
|
69
|
+
* The following arguments are optional:
|
|
70
|
+
*/
|
|
71
|
+
readonly shardCount: pulumi.Output<number>;
|
|
72
|
+
/**
|
|
73
|
+
* IDs of subnets in which the Elastic DocumentDB Cluster operates.
|
|
74
|
+
*/
|
|
75
|
+
readonly subnetIds: pulumi.Output<string[]>;
|
|
76
|
+
/**
|
|
77
|
+
* A map of tags to assign to the collection. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
78
|
+
*/
|
|
79
|
+
readonly tags: pulumi.Output<{
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
} | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* @deprecated Please use `tags` instead.
|
|
84
|
+
*/
|
|
85
|
+
readonly tagsAll: pulumi.Output<{
|
|
86
|
+
[key: string]: string;
|
|
87
|
+
}>;
|
|
88
|
+
readonly timeouts: pulumi.Output<outputs.docdb.ElasticClusterTimeouts | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* List of VPC security groups to associate with the Elastic DocumentDB Cluster
|
|
91
|
+
*/
|
|
92
|
+
readonly vpcSecurityGroupIds: pulumi.Output<string[]>;
|
|
93
|
+
/**
|
|
94
|
+
* Create a ElasticCluster resource with the given unique name, arguments, and options.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resource.
|
|
97
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
98
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
99
|
+
*/
|
|
100
|
+
constructor(name: string, args: ElasticClusterArgs, opts?: pulumi.CustomResourceOptions);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Input properties used for looking up and filtering ElasticCluster resources.
|
|
104
|
+
*/
|
|
105
|
+
export interface ElasticClusterState {
|
|
106
|
+
/**
|
|
107
|
+
* Name of the Elastic DocumentDB cluster administrator
|
|
108
|
+
*/
|
|
109
|
+
adminUserName?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Password for the Elastic DocumentDB cluster administrator. Can contain any printable ASCII characters. Must be at least 8 characters
|
|
112
|
+
*/
|
|
113
|
+
adminUserPassword?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* ARN of the DocumentDB Elastic Cluster
|
|
116
|
+
*/
|
|
117
|
+
arn?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Authentication type for the Elastic DocumentDB cluster. Valid values are `PLAIN_TEXT` and `SECRET_ARN`
|
|
120
|
+
*/
|
|
121
|
+
authType?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The DNS address of the DocDB instance
|
|
124
|
+
*/
|
|
125
|
+
endpoint?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* ARN of a KMS key that is used to encrypt the Elastic DocumentDB cluster. If not specified, the default encryption key that KMS creates for your account is used.
|
|
128
|
+
*/
|
|
129
|
+
kmsKeyId?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Name of the Elastic DocumentDB cluster
|
|
132
|
+
*/
|
|
133
|
+
name?: pulumi.Input<string>;
|
|
134
|
+
preferredMaintenanceWindow?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64
|
|
137
|
+
*/
|
|
138
|
+
shardCapacity?: pulumi.Input<number>;
|
|
139
|
+
/**
|
|
140
|
+
* Number of shards assigned to the elastic cluster. Maximum is 32
|
|
141
|
+
*
|
|
142
|
+
* The following arguments are optional:
|
|
143
|
+
*/
|
|
144
|
+
shardCount?: pulumi.Input<number>;
|
|
145
|
+
/**
|
|
146
|
+
* IDs of subnets in which the Elastic DocumentDB Cluster operates.
|
|
147
|
+
*/
|
|
148
|
+
subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
149
|
+
/**
|
|
150
|
+
* A map of tags to assign to the collection. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
151
|
+
*/
|
|
152
|
+
tags?: pulumi.Input<{
|
|
153
|
+
[key: string]: pulumi.Input<string>;
|
|
154
|
+
}>;
|
|
155
|
+
/**
|
|
156
|
+
* @deprecated Please use `tags` instead.
|
|
157
|
+
*/
|
|
158
|
+
tagsAll?: pulumi.Input<{
|
|
159
|
+
[key: string]: pulumi.Input<string>;
|
|
160
|
+
}>;
|
|
161
|
+
timeouts?: pulumi.Input<inputs.docdb.ElasticClusterTimeouts>;
|
|
162
|
+
/**
|
|
163
|
+
* List of VPC security groups to associate with the Elastic DocumentDB Cluster
|
|
164
|
+
*/
|
|
165
|
+
vpcSecurityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* The set of arguments for constructing a ElasticCluster resource.
|
|
169
|
+
*/
|
|
170
|
+
export interface ElasticClusterArgs {
|
|
171
|
+
/**
|
|
172
|
+
* Name of the Elastic DocumentDB cluster administrator
|
|
173
|
+
*/
|
|
174
|
+
adminUserName: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Password for the Elastic DocumentDB cluster administrator. Can contain any printable ASCII characters. Must be at least 8 characters
|
|
177
|
+
*/
|
|
178
|
+
adminUserPassword: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Authentication type for the Elastic DocumentDB cluster. Valid values are `PLAIN_TEXT` and `SECRET_ARN`
|
|
181
|
+
*/
|
|
182
|
+
authType: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* ARN of a KMS key that is used to encrypt the Elastic DocumentDB cluster. If not specified, the default encryption key that KMS creates for your account is used.
|
|
185
|
+
*/
|
|
186
|
+
kmsKeyId?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* Name of the Elastic DocumentDB cluster
|
|
189
|
+
*/
|
|
190
|
+
name?: pulumi.Input<string>;
|
|
191
|
+
preferredMaintenanceWindow?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64
|
|
194
|
+
*/
|
|
195
|
+
shardCapacity: pulumi.Input<number>;
|
|
196
|
+
/**
|
|
197
|
+
* Number of shards assigned to the elastic cluster. Maximum is 32
|
|
198
|
+
*
|
|
199
|
+
* The following arguments are optional:
|
|
200
|
+
*/
|
|
201
|
+
shardCount: pulumi.Input<number>;
|
|
202
|
+
/**
|
|
203
|
+
* IDs of subnets in which the Elastic DocumentDB Cluster operates.
|
|
204
|
+
*/
|
|
205
|
+
subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
206
|
+
/**
|
|
207
|
+
* A map of tags to assign to the collection. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
208
|
+
*/
|
|
209
|
+
tags?: pulumi.Input<{
|
|
210
|
+
[key: string]: pulumi.Input<string>;
|
|
211
|
+
}>;
|
|
212
|
+
timeouts?: pulumi.Input<inputs.docdb.ElasticClusterTimeouts>;
|
|
213
|
+
/**
|
|
214
|
+
* List of VPC security groups to associate with the Elastic DocumentDB Cluster
|
|
215
|
+
*/
|
|
216
|
+
vpcSecurityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
217
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ElasticCluster = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an AWS DocDB (DocumentDB) Elastic Cluster.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* Using `pulumi import`, import DocDB (DocumentDB) Elastic Cluster using the `arn` argument. For example,
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import aws:docdb/elasticCluster:ElasticCluster example arn:aws:docdb-elastic:us-east-1:000011112222:cluster/12345678-7abc-def0-1234-56789abcdef
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
class ElasticCluster extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing ElasticCluster resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param state Any extra arguments used during the lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name, id, state, opts) {
|
|
32
|
+
return new ElasticCluster(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of ElasticCluster. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj) {
|
|
39
|
+
if (obj === undefined || obj === null) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return obj['__pulumiType'] === ElasticCluster.__pulumiType;
|
|
43
|
+
}
|
|
44
|
+
constructor(name, argsOrState, opts) {
|
|
45
|
+
let resourceInputs = {};
|
|
46
|
+
opts = opts || {};
|
|
47
|
+
if (opts.id) {
|
|
48
|
+
const state = argsOrState;
|
|
49
|
+
resourceInputs["adminUserName"] = state ? state.adminUserName : undefined;
|
|
50
|
+
resourceInputs["adminUserPassword"] = state ? state.adminUserPassword : undefined;
|
|
51
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
52
|
+
resourceInputs["authType"] = state ? state.authType : undefined;
|
|
53
|
+
resourceInputs["endpoint"] = state ? state.endpoint : undefined;
|
|
54
|
+
resourceInputs["kmsKeyId"] = state ? state.kmsKeyId : undefined;
|
|
55
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
56
|
+
resourceInputs["preferredMaintenanceWindow"] = state ? state.preferredMaintenanceWindow : undefined;
|
|
57
|
+
resourceInputs["shardCapacity"] = state ? state.shardCapacity : undefined;
|
|
58
|
+
resourceInputs["shardCount"] = state ? state.shardCount : undefined;
|
|
59
|
+
resourceInputs["subnetIds"] = state ? state.subnetIds : undefined;
|
|
60
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
61
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
62
|
+
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
63
|
+
resourceInputs["vpcSecurityGroupIds"] = state ? state.vpcSecurityGroupIds : undefined;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if ((!args || args.adminUserName === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'adminUserName'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.adminUserPassword === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'adminUserPassword'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.authType === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'authType'");
|
|
75
|
+
}
|
|
76
|
+
if ((!args || args.shardCapacity === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'shardCapacity'");
|
|
78
|
+
}
|
|
79
|
+
if ((!args || args.shardCount === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'shardCount'");
|
|
81
|
+
}
|
|
82
|
+
resourceInputs["adminUserName"] = args ? args.adminUserName : undefined;
|
|
83
|
+
resourceInputs["adminUserPassword"] = (args === null || args === void 0 ? void 0 : args.adminUserPassword) ? pulumi.secret(args.adminUserPassword) : undefined;
|
|
84
|
+
resourceInputs["authType"] = args ? args.authType : undefined;
|
|
85
|
+
resourceInputs["kmsKeyId"] = args ? args.kmsKeyId : undefined;
|
|
86
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
87
|
+
resourceInputs["preferredMaintenanceWindow"] = args ? args.preferredMaintenanceWindow : undefined;
|
|
88
|
+
resourceInputs["shardCapacity"] = args ? args.shardCapacity : undefined;
|
|
89
|
+
resourceInputs["shardCount"] = args ? args.shardCount : undefined;
|
|
90
|
+
resourceInputs["subnetIds"] = args ? args.subnetIds : undefined;
|
|
91
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
92
|
+
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
93
|
+
resourceInputs["vpcSecurityGroupIds"] = args ? args.vpcSecurityGroupIds : undefined;
|
|
94
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["endpoint"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
97
|
+
}
|
|
98
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
+
const secretOpts = { additionalSecretOutputs: ["adminUserPassword", "tagsAll"] };
|
|
100
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
101
|
+
super(ElasticCluster.__pulumiType, name, resourceInputs, opts);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.ElasticCluster = ElasticCluster;
|
|
105
|
+
/** @internal */
|
|
106
|
+
ElasticCluster.__pulumiType = 'aws:docdb/elasticCluster:ElasticCluster';
|
|
107
|
+
//# sourceMappingURL=elasticCluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elasticCluster.js","sourceRoot":"","sources":["../../docdb/elasticCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAmED,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAA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,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,mBAAmB,EAAE,SAAS,CAAC,EAAE,CAAC;QACjF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAtJL,wCAuJC;AAzIG,gBAAgB;AACO,2BAAY,GAAG,yCAAyC,CAAC"}
|
package/docdb/index.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ export declare const ClusterParameterGroup: typeof import("./clusterParameterGro
|
|
|
10
10
|
export { ClusterSnapshotArgs, ClusterSnapshotState } from "./clusterSnapshot";
|
|
11
11
|
export type ClusterSnapshot = import("./clusterSnapshot").ClusterSnapshot;
|
|
12
12
|
export declare const ClusterSnapshot: typeof import("./clusterSnapshot").ClusterSnapshot;
|
|
13
|
+
export { ElasticClusterArgs, ElasticClusterState } from "./elasticCluster";
|
|
14
|
+
export type ElasticCluster = import("./elasticCluster").ElasticCluster;
|
|
15
|
+
export declare const ElasticCluster: typeof import("./elasticCluster").ElasticCluster;
|
|
13
16
|
export { EventSubscriptionArgs, EventSubscriptionState } from "./eventSubscription";
|
|
14
17
|
export type EventSubscription = import("./eventSubscription").EventSubscription;
|
|
15
18
|
export declare const EventSubscription: typeof import("./eventSubscription").EventSubscription;
|
package/docdb/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.SubnetGroup = exports.GlobalCluster = exports.getOrderableDbInstanceOutput = exports.getOrderableDbInstance = exports.getEngineVersionOutput = exports.getEngineVersion = exports.EventSubscription = exports.ClusterSnapshot = exports.ClusterParameterGroup = exports.ClusterInstance = exports.Cluster = void 0;
|
|
5
|
+
exports.SubnetGroup = exports.GlobalCluster = exports.getOrderableDbInstanceOutput = exports.getOrderableDbInstance = exports.getEngineVersionOutput = exports.getEngineVersion = exports.EventSubscription = exports.ElasticCluster = exports.ClusterSnapshot = exports.ClusterParameterGroup = exports.ClusterInstance = exports.Cluster = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Cluster = null;
|
|
@@ -13,6 +13,8 @@ exports.ClusterParameterGroup = null;
|
|
|
13
13
|
utilities.lazyLoad(exports, ["ClusterParameterGroup"], () => require("./clusterParameterGroup"));
|
|
14
14
|
exports.ClusterSnapshot = null;
|
|
15
15
|
utilities.lazyLoad(exports, ["ClusterSnapshot"], () => require("./clusterSnapshot"));
|
|
16
|
+
exports.ElasticCluster = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["ElasticCluster"], () => require("./elasticCluster"));
|
|
16
18
|
exports.EventSubscription = null;
|
|
17
19
|
utilities.lazyLoad(exports, ["EventSubscription"], () => require("./eventSubscription"));
|
|
18
20
|
exports.getEngineVersion = null;
|
|
@@ -37,6 +39,8 @@ const _module = {
|
|
|
37
39
|
return new exports.ClusterParameterGroup(name, undefined, { urn });
|
|
38
40
|
case "aws:docdb/clusterSnapshot:ClusterSnapshot":
|
|
39
41
|
return new exports.ClusterSnapshot(name, undefined, { urn });
|
|
42
|
+
case "aws:docdb/elasticCluster:ElasticCluster":
|
|
43
|
+
return new exports.ElasticCluster(name, undefined, { urn });
|
|
40
44
|
case "aws:docdb/eventSubscription:EventSubscription":
|
|
41
45
|
return new exports.EventSubscription(name, undefined, { urn });
|
|
42
46
|
case "aws:docdb/globalCluster:GlobalCluster":
|
|
@@ -52,6 +56,7 @@ pulumi.runtime.registerResourceModule("aws", "docdb/cluster", _module);
|
|
|
52
56
|
pulumi.runtime.registerResourceModule("aws", "docdb/clusterInstance", _module);
|
|
53
57
|
pulumi.runtime.registerResourceModule("aws", "docdb/clusterParameterGroup", _module);
|
|
54
58
|
pulumi.runtime.registerResourceModule("aws", "docdb/clusterSnapshot", _module);
|
|
59
|
+
pulumi.runtime.registerResourceModule("aws", "docdb/elasticCluster", _module);
|
|
55
60
|
pulumi.runtime.registerResourceModule("aws", "docdb/eventSubscription", _module);
|
|
56
61
|
pulumi.runtime.registerResourceModule("aws", "docdb/globalCluster", _module);
|
|
57
62
|
pulumi.runtime.registerResourceModule("aws", "docdb/subnetGroup", _module);
|
package/docdb/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../docdb/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAA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C,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACtE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA"}
|
package/eks/index.d.ts
CHANGED
|
@@ -34,3 +34,6 @@ export declare const IdentityProviderConfig: typeof import("./identityProviderCo
|
|
|
34
34
|
export { NodeGroupArgs, NodeGroupState } from "./nodeGroup";
|
|
35
35
|
export type NodeGroup = import("./nodeGroup").NodeGroup;
|
|
36
36
|
export declare const NodeGroup: typeof import("./nodeGroup").NodeGroup;
|
|
37
|
+
export { PodIdentityAssociationArgs, PodIdentityAssociationState } from "./podIdentityAssociation";
|
|
38
|
+
export type PodIdentityAssociation = import("./podIdentityAssociation").PodIdentityAssociation;
|
|
39
|
+
export declare const PodIdentityAssociation: typeof import("./podIdentityAssociation").PodIdentityAssociation;
|
package/eks/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.NodeGroup = exports.IdentityProviderConfig = exports.getNodeGroupsOutput = exports.getNodeGroups = exports.getNodeGroupOutput = exports.getNodeGroup = exports.getClustersOutput = exports.getClusters = exports.getClusterAuthOutput = exports.getClusterAuth = exports.getClusterOutput = exports.getCluster = exports.getAddonVersionOutput = exports.getAddonVersion = exports.getAddonOutput = exports.getAddon = exports.FargateProfile = exports.Cluster = exports.Addon = void 0;
|
|
5
|
+
exports.PodIdentityAssociation = exports.NodeGroup = exports.IdentityProviderConfig = exports.getNodeGroupsOutput = exports.getNodeGroups = exports.getNodeGroupOutput = exports.getNodeGroup = exports.getClustersOutput = exports.getClusters = exports.getClusterAuthOutput = exports.getClusterAuth = exports.getClusterOutput = exports.getCluster = exports.getAddonVersionOutput = exports.getAddonVersion = exports.getAddonOutput = exports.getAddon = exports.FargateProfile = exports.Cluster = exports.Addon = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Addon = null;
|
|
@@ -36,6 +36,8 @@ exports.IdentityProviderConfig = null;
|
|
|
36
36
|
utilities.lazyLoad(exports, ["IdentityProviderConfig"], () => require("./identityProviderConfig"));
|
|
37
37
|
exports.NodeGroup = null;
|
|
38
38
|
utilities.lazyLoad(exports, ["NodeGroup"], () => require("./nodeGroup"));
|
|
39
|
+
exports.PodIdentityAssociation = null;
|
|
40
|
+
utilities.lazyLoad(exports, ["PodIdentityAssociation"], () => require("./podIdentityAssociation"));
|
|
39
41
|
const _module = {
|
|
40
42
|
version: utilities.getVersion(),
|
|
41
43
|
construct: (name, type, urn) => {
|
|
@@ -50,6 +52,8 @@ const _module = {
|
|
|
50
52
|
return new exports.IdentityProviderConfig(name, undefined, { urn });
|
|
51
53
|
case "aws:eks/nodeGroup:NodeGroup":
|
|
52
54
|
return new exports.NodeGroup(name, undefined, { urn });
|
|
55
|
+
case "aws:eks/podIdentityAssociation:PodIdentityAssociation":
|
|
56
|
+
return new exports.PodIdentityAssociation(name, undefined, { urn });
|
|
53
57
|
default:
|
|
54
58
|
throw new Error(`unknown resource type ${type}`);
|
|
55
59
|
}
|
|
@@ -60,4 +64,5 @@ pulumi.runtime.registerResourceModule("aws", "eks/cluster", _module);
|
|
|
60
64
|
pulumi.runtime.registerResourceModule("aws", "eks/fargateProfile", _module);
|
|
61
65
|
pulumi.runtime.registerResourceModule("aws", "eks/identityProviderConfig", _module);
|
|
62
66
|
pulumi.runtime.registerResourceModule("aws", "eks/nodeGroup", _module);
|
|
67
|
+
pulumi.runtime.registerResourceModule("aws", "eks/podIdentityAssociation", _module);
|
|
63
68
|
//# sourceMappingURL=index.js.map
|
package/eks/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../eks/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAGtE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,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E,EAAE,GAAG,EAAE,CAAC,CAAA;YACpE,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,uDAAuD;gBACxD,OAAO,IAAI,8BAAsB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;AAClE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACpE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACtE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for managing an AWS EKS (Elastic Kubernetes) Pod Identity Association.
|
|
4
|
+
*
|
|
5
|
+
* Creates an EKS Pod Identity association between a service account in an Amazon EKS cluster and an IAM role with EKS Pod Identity. Use EKS Pod Identity to give temporary IAM credentials to pods and the credentials are rotated automatically.
|
|
6
|
+
*
|
|
7
|
+
* Amazon EKS Pod Identity associations provide the ability to manage credentials for your applications, similar to the way that EC2 instance profiles provide credentials to Amazon EC2 instances.
|
|
8
|
+
*
|
|
9
|
+
* If a pod uses a service account that has an association, Amazon EKS sets environment variables in the containers of the pod. The environment variables configure the Amazon Web Services SDKs, including the Command Line Interface, to use the EKS Pod Identity credentials.
|
|
10
|
+
*
|
|
11
|
+
* Pod Identity is a simpler method than IAM roles for service accounts, as this method doesn’t use OIDC identity providers. Additionally, you can configure a role for Pod Identity once, and reuse it across clusters.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
* ### Basic Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as aws from "@pulumi/aws";
|
|
19
|
+
*
|
|
20
|
+
* const assumeRole = aws.iam.getPolicyDocument({
|
|
21
|
+
* statements: [{
|
|
22
|
+
* effect: "Allow",
|
|
23
|
+
* principals: [{
|
|
24
|
+
* type: "Service",
|
|
25
|
+
* identifiers: ["pods.eks.amazonaws.com"],
|
|
26
|
+
* }],
|
|
27
|
+
* actions: [
|
|
28
|
+
* "sts:AssumeRole",
|
|
29
|
+
* "sts:TagSession",
|
|
30
|
+
* ],
|
|
31
|
+
* }],
|
|
32
|
+
* });
|
|
33
|
+
* const exampleRole = new aws.iam.Role("exampleRole", {assumeRolePolicy: assumeRole.then(assumeRole => assumeRole.json)});
|
|
34
|
+
* const exampleS3 = new aws.iam.RolePolicyAttachment("exampleS3", {
|
|
35
|
+
* policyArn: "arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess",
|
|
36
|
+
* role: exampleRole.name,
|
|
37
|
+
* });
|
|
38
|
+
* const examplePodIdentityAssociation = new aws.eks.PodIdentityAssociation("examplePodIdentityAssociation", {
|
|
39
|
+
* clusterName: aws_eks_cluster.example.name,
|
|
40
|
+
* namespace: "example",
|
|
41
|
+
* serviceAccount: "example-sa",
|
|
42
|
+
* roleArn: exampleRole.arn,
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* Using `pulumi import`, import EKS (Elastic Kubernetes) Pod Identity Association using the `cluster_name` and `association_id` separated by a comma (`,`). For example:
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import aws:eks/podIdentityAssociation:PodIdentityAssociation example example,a-12345678
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
export declare class PodIdentityAssociation extends pulumi.CustomResource {
|
|
55
|
+
/**
|
|
56
|
+
* Get an existing PodIdentityAssociation resource's state with the given name, ID, and optional extra
|
|
57
|
+
* properties used to qualify the lookup.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resulting resource.
|
|
60
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
61
|
+
* @param state Any extra arguments used during the lookup.
|
|
62
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
63
|
+
*/
|
|
64
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PodIdentityAssociationState, opts?: pulumi.CustomResourceOptions): PodIdentityAssociation;
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given object is an instance of PodIdentityAssociation. This is designed to work even
|
|
67
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
|
+
*/
|
|
69
|
+
static isInstance(obj: any): obj is PodIdentityAssociation;
|
|
70
|
+
/**
|
|
71
|
+
* The Amazon Resource Name (ARN) of the association.
|
|
72
|
+
*/
|
|
73
|
+
readonly associationArn: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The ID of the association.
|
|
76
|
+
*/
|
|
77
|
+
readonly associationId: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The name of the cluster to create the association in.
|
|
80
|
+
*/
|
|
81
|
+
readonly clusterName: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
|
|
84
|
+
*/
|
|
85
|
+
readonly namespace: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
|
|
88
|
+
*/
|
|
89
|
+
readonly roleArn: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
|
92
|
+
*
|
|
93
|
+
* The following arguments are optional:
|
|
94
|
+
*/
|
|
95
|
+
readonly serviceAccount: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
98
|
+
*/
|
|
99
|
+
readonly tags: pulumi.Output<{
|
|
100
|
+
[key: string]: string;
|
|
101
|
+
} | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
104
|
+
*
|
|
105
|
+
* @deprecated Please use `tags` instead.
|
|
106
|
+
*/
|
|
107
|
+
readonly tagsAll: pulumi.Output<{
|
|
108
|
+
[key: string]: string;
|
|
109
|
+
}>;
|
|
110
|
+
/**
|
|
111
|
+
* Create a PodIdentityAssociation resource with the given unique name, arguments, and options.
|
|
112
|
+
*
|
|
113
|
+
* @param name The _unique_ name of the resource.
|
|
114
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
115
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
116
|
+
*/
|
|
117
|
+
constructor(name: string, args: PodIdentityAssociationArgs, opts?: pulumi.CustomResourceOptions);
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Input properties used for looking up and filtering PodIdentityAssociation resources.
|
|
121
|
+
*/
|
|
122
|
+
export interface PodIdentityAssociationState {
|
|
123
|
+
/**
|
|
124
|
+
* The Amazon Resource Name (ARN) of the association.
|
|
125
|
+
*/
|
|
126
|
+
associationArn?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The ID of the association.
|
|
129
|
+
*/
|
|
130
|
+
associationId?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The name of the cluster to create the association in.
|
|
133
|
+
*/
|
|
134
|
+
clusterName?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
|
|
137
|
+
*/
|
|
138
|
+
namespace?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
|
|
141
|
+
*/
|
|
142
|
+
roleArn?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
|
145
|
+
*
|
|
146
|
+
* The following arguments are optional:
|
|
147
|
+
*/
|
|
148
|
+
serviceAccount?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
151
|
+
*/
|
|
152
|
+
tags?: pulumi.Input<{
|
|
153
|
+
[key: string]: pulumi.Input<string>;
|
|
154
|
+
}>;
|
|
155
|
+
/**
|
|
156
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
157
|
+
*
|
|
158
|
+
* @deprecated Please use `tags` instead.
|
|
159
|
+
*/
|
|
160
|
+
tagsAll?: pulumi.Input<{
|
|
161
|
+
[key: string]: pulumi.Input<string>;
|
|
162
|
+
}>;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* The set of arguments for constructing a PodIdentityAssociation resource.
|
|
166
|
+
*/
|
|
167
|
+
export interface PodIdentityAssociationArgs {
|
|
168
|
+
/**
|
|
169
|
+
* The name of the cluster to create the association in.
|
|
170
|
+
*/
|
|
171
|
+
clusterName: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
|
|
174
|
+
*/
|
|
175
|
+
namespace: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
|
|
178
|
+
*/
|
|
179
|
+
roleArn: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
|
182
|
+
*
|
|
183
|
+
* The following arguments are optional:
|
|
184
|
+
*/
|
|
185
|
+
serviceAccount: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
188
|
+
*/
|
|
189
|
+
tags?: pulumi.Input<{
|
|
190
|
+
[key: string]: pulumi.Input<string>;
|
|
191
|
+
}>;
|
|
192
|
+
}
|