@pulumi/aws 7.52.0-alpha.1792577301 → 7.52.0
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/bedrock/enforcedGuardrailConfiguration.d.ts +246 -0
- package/bedrock/enforcedGuardrailConfiguration.d.ts.map +1 -0
- package/bedrock/enforcedGuardrailConfiguration.js +209 -0
- package/bedrock/enforcedGuardrailConfiguration.js.map +1 -0
- package/bedrock/index.d.ts +3 -0
- package/bedrock/index.d.ts.map +1 -1
- package/bedrock/index.js +6 -1
- package/bedrock/index.js.map +1 -1
- package/cloudwatchomni/accessGrant.d.ts +271 -0
- package/cloudwatchomni/accessGrant.d.ts.map +1 -0
- package/cloudwatchomni/accessGrant.js +194 -0
- package/cloudwatchomni/accessGrant.js.map +1 -0
- package/cloudwatchomni/accessProfile.d.ts +182 -0
- package/cloudwatchomni/accessProfile.d.ts.map +1 -0
- package/cloudwatchomni/accessProfile.js +145 -0
- package/cloudwatchomni/accessProfile.js.map +1 -0
- package/cloudwatchomni/index.d.ts +9 -0
- package/cloudwatchomni/index.d.ts.map +1 -1
- package/cloudwatchomni/index.js +16 -1
- package/cloudwatchomni/index.js.map +1 -1
- package/cloudwatchomni/view.d.ts +195 -0
- package/cloudwatchomni/view.d.ts.map +1 -0
- package/cloudwatchomni/view.js +147 -0
- package/cloudwatchomni/view.js.map +1 -0
- package/directconnect/macsecKeyAssociation.d.ts +102 -18
- package/directconnect/macsecKeyAssociation.d.ts.map +1 -1
- package/directconnect/macsecKeyAssociation.js +40 -6
- package/directconnect/macsecKeyAssociation.js.map +1 -1
- package/directoryservice/directorySetting.d.ts +151 -0
- package/directoryservice/directorySetting.d.ts.map +1 -0
- package/directoryservice/directorySetting.js +135 -0
- package/directoryservice/directorySetting.js.map +1 -0
- package/directoryservice/index.d.ts +3 -0
- package/directoryservice/index.d.ts.map +1 -1
- package/directoryservice/index.js +6 -1
- package/directoryservice/index.js.map +1 -1
- package/directoryservicedata/group.d.ts +166 -0
- package/directoryservicedata/group.d.ts.map +1 -0
- package/directoryservicedata/group.js +131 -0
- package/directoryservicedata/group.js.map +1 -0
- package/directoryservicedata/index.d.ts +3 -0
- package/directoryservicedata/index.d.ts.map +1 -1
- package/directoryservicedata/index.js +6 -1
- package/directoryservicedata/index.js.map +1 -1
- package/elasticache/globalReplicationGroup.d.ts +3 -3
- package/guardduty/detectorFeature.d.ts +4 -4
- package/guardduty/detectorFeature.d.ts.map +1 -1
- package/guardduty/memberDetectorFeature.d.ts +3 -3
- package/guardduty/organizationConfigurationFeature.d.ts +4 -4
- package/guardduty/organizationConfigurationFeature.d.ts.map +1 -1
- package/neptune/cluster.d.ts +12 -0
- package/neptune/cluster.d.ts.map +1 -1
- package/neptune/cluster.js +2 -0
- package/neptune/cluster.js.map +1 -1
- package/package.json +2 -2
- package/rds/instance.d.ts +3 -3
- package/route53domains/delegationSignerRecord.d.ts +4 -4
- package/route53domains/delegationSignerRecord.d.ts.map +1 -1
- package/route53domains/delegationSignerRecord.js +5 -2
- package/route53domains/delegationSignerRecord.js.map +1 -1
- package/sagemaker/index.d.ts +3 -0
- package/sagemaker/index.d.ts.map +1 -1
- package/sagemaker/index.js +6 -1
- package/sagemaker/index.js.map +1 -1
- package/sagemaker/inferenceComponent.d.ts +335 -0
- package/sagemaker/inferenceComponent.d.ts.map +1 -0
- package/sagemaker/inferenceComponent.js +226 -0
- package/sagemaker/inferenceComponent.js.map +1 -0
- package/secretsmanager/secretVersion.d.ts +4 -0
- package/secretsmanager/secretVersion.d.ts.map +1 -1
- package/secretsmanager/secretVersion.js +4 -0
- package/secretsmanager/secretVersion.js.map +1 -1
- package/types/input.d.ts +416 -10
- package/types/input.d.ts.map +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +416 -10
- package/types/output.d.ts.map +1 -1
- package/types/output.js.map +1 -1
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages a CloudWatch Omni Access Grant. An access grant gives a principal a permission within a CloudWatch Omni space.
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** CloudWatch Omni does not support updating an access grant, so changing any argument other than `tags` replaces it. Tags are updated in place.
|
|
8
|
+
*
|
|
9
|
+
* > **NOTE:** Except for `CUSTOM` grants, a principal can hold only one grant of each permission in a space. Creating a duplicate returns `ConflictException`.
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** CloudWatch Omni creates service-managed access grants alongside each space. They cannot be deleted and are not managed by this resource.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### Basic Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as aws from "@pulumi/aws";
|
|
20
|
+
*
|
|
21
|
+
* const example = new aws.cloudwatchomni.AccessGrant("example", {
|
|
22
|
+
* principal: {
|
|
23
|
+
* principalType: "IAM_ROLE",
|
|
24
|
+
* principalId: exampleAwsIamRole.arn,
|
|
25
|
+
* },
|
|
26
|
+
* name: "example",
|
|
27
|
+
* domainId: exampleAwsCloudwatchomniDomain.domainId,
|
|
28
|
+
* spaceId: exampleAwsCloudwatchomniSpace.spaceId,
|
|
29
|
+
* permission: "READ",
|
|
30
|
+
* tags: {
|
|
31
|
+
* Environment: "production",
|
|
32
|
+
* },
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ### Custom Permission
|
|
37
|
+
*
|
|
38
|
+
* A `CUSTOM` permission requires at least one `scopedAction` block.
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as aws from "@pulumi/aws";
|
|
43
|
+
*
|
|
44
|
+
* const example = new aws.cloudwatchomni.AccessGrant("example", {
|
|
45
|
+
* principal: {
|
|
46
|
+
* principalType: "IAM_ROLE",
|
|
47
|
+
* principalId: exampleAwsIamRole.arn,
|
|
48
|
+
* },
|
|
49
|
+
* scopedActions: [{
|
|
50
|
+
* resources: [{
|
|
51
|
+
* rowScopeGroups: [{
|
|
52
|
+
* rowScopes: [{
|
|
53
|
+
* field: "serviceName",
|
|
54
|
+
* operator: "IN",
|
|
55
|
+
* values: [
|
|
56
|
+
* "checkout",
|
|
57
|
+
* "payments",
|
|
58
|
+
* ],
|
|
59
|
+
* }],
|
|
60
|
+
* }],
|
|
61
|
+
* resourceType: "DataSet",
|
|
62
|
+
* signalTypes: ["LOGS"],
|
|
63
|
+
* }],
|
|
64
|
+
* actions: ["cloudwatch:GetRecords"],
|
|
65
|
+
* }],
|
|
66
|
+
* name: "example",
|
|
67
|
+
* domainId: exampleAwsCloudwatchomniDomain.domainId,
|
|
68
|
+
* spaceId: exampleAwsCloudwatchomniSpace.spaceId,
|
|
69
|
+
* permission: "CUSTOM",
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* ## Import
|
|
74
|
+
*
|
|
75
|
+
* ### Identity Schema
|
|
76
|
+
*
|
|
77
|
+
* #### Required
|
|
78
|
+
*
|
|
79
|
+
* * `grantId` (String) Access grant ID.
|
|
80
|
+
*
|
|
81
|
+
* #### Optional
|
|
82
|
+
*
|
|
83
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
84
|
+
* * `region` (String) Region where this resource is managed.
|
|
85
|
+
*
|
|
86
|
+
* Using `pulumi import`, import a CloudWatch Omni Access Grant using the `grantId`. For example:
|
|
87
|
+
*
|
|
88
|
+
* ```sh
|
|
89
|
+
* $ pulumi import aws:cloudwatchomni/accessGrant:AccessGrant example 12345678-1234-1234-1234-123456789012
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
export declare class AccessGrant extends pulumi.CustomResource {
|
|
93
|
+
/**
|
|
94
|
+
* Get an existing AccessGrant resource's state with the given name, ID, and optional extra
|
|
95
|
+
* properties used to qualify the lookup.
|
|
96
|
+
*
|
|
97
|
+
* @param name The _unique_ name of the resulting resource.
|
|
98
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
99
|
+
* @param state Any extra arguments used during the lookup.
|
|
100
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
101
|
+
*/
|
|
102
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccessGrantState, opts?: pulumi.CustomResourceOptions): AccessGrant;
|
|
103
|
+
/**
|
|
104
|
+
* Returns true if the given object is an instance of AccessGrant. This is designed to work even
|
|
105
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
106
|
+
*/
|
|
107
|
+
static isInstance(obj: any): obj is AccessGrant;
|
|
108
|
+
/**
|
|
109
|
+
* ARN of the access grant.
|
|
110
|
+
*/
|
|
111
|
+
readonly arn: pulumi.Output<string>;
|
|
112
|
+
/**
|
|
113
|
+
* ID of the CloudWatch Omni domain that contains the space. Changing this forces a new resource.
|
|
114
|
+
*/
|
|
115
|
+
readonly domainId: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Unique ID of the access grant.
|
|
118
|
+
*/
|
|
119
|
+
readonly grantId: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Who manages the access grant.
|
|
122
|
+
*/
|
|
123
|
+
readonly grantType: pulumi.Output<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Name of the access grant. Must be 1-64 characters and contain only letters, numbers, underscores (`_`) and hyphens (`-`). Changing this forces a new resource.
|
|
126
|
+
*/
|
|
127
|
+
readonly name: pulumi.Output<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Permission to grant. Valid values are `SPACE_ADMIN`, `READ`, `READ_WRITE_DELETE` and `CUSTOM`. Changing this forces a new resource.
|
|
130
|
+
*/
|
|
131
|
+
readonly permission: pulumi.Output<string>;
|
|
132
|
+
/**
|
|
133
|
+
* Principal receiving the grant. See below. Changing this forces a new resource.
|
|
134
|
+
*/
|
|
135
|
+
readonly principal: pulumi.Output<outputs.cloudwatchomni.AccessGrantPrincipal>;
|
|
136
|
+
/**
|
|
137
|
+
* Region where this resource is managed. Defaults to the Region set in the provider configuration.
|
|
138
|
+
*/
|
|
139
|
+
readonly region: pulumi.Output<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Group of actions to allow, with the resource scopes and conditions that limit them. Up to 20 blocks. Required for the `CUSTOM` permission, and can also be used with the other permissions. See below. Changing this forces a new resource.
|
|
142
|
+
*/
|
|
143
|
+
readonly scopedActions: pulumi.Output<outputs.cloudwatchomni.AccessGrantScopedAction[] | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* ID of the CloudWatch Omni space to scope the grant to. Changing this forces a new resource.
|
|
146
|
+
*
|
|
147
|
+
* The following arguments are optional:
|
|
148
|
+
*/
|
|
149
|
+
readonly spaceId: pulumi.Output<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
152
|
+
*/
|
|
153
|
+
readonly tags: pulumi.Output<{
|
|
154
|
+
[key: string]: string;
|
|
155
|
+
} | undefined>;
|
|
156
|
+
/**
|
|
157
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
158
|
+
*/
|
|
159
|
+
readonly tagsAll: pulumi.Output<{
|
|
160
|
+
[key: string]: string;
|
|
161
|
+
}>;
|
|
162
|
+
/**
|
|
163
|
+
* Create a AccessGrant resource with the given unique name, arguments, and options.
|
|
164
|
+
*
|
|
165
|
+
* @param name The _unique_ name of the resource.
|
|
166
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
167
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
168
|
+
*/
|
|
169
|
+
constructor(name: string, args: AccessGrantArgs, opts?: pulumi.CustomResourceOptions);
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Input properties used for looking up and filtering AccessGrant resources.
|
|
173
|
+
*/
|
|
174
|
+
export interface AccessGrantState {
|
|
175
|
+
/**
|
|
176
|
+
* ARN of the access grant.
|
|
177
|
+
*/
|
|
178
|
+
arn?: pulumi.Input<string | undefined>;
|
|
179
|
+
/**
|
|
180
|
+
* ID of the CloudWatch Omni domain that contains the space. Changing this forces a new resource.
|
|
181
|
+
*/
|
|
182
|
+
domainId?: pulumi.Input<string | undefined>;
|
|
183
|
+
/**
|
|
184
|
+
* Unique ID of the access grant.
|
|
185
|
+
*/
|
|
186
|
+
grantId?: pulumi.Input<string | undefined>;
|
|
187
|
+
/**
|
|
188
|
+
* Who manages the access grant.
|
|
189
|
+
*/
|
|
190
|
+
grantType?: pulumi.Input<string | undefined>;
|
|
191
|
+
/**
|
|
192
|
+
* Name of the access grant. Must be 1-64 characters and contain only letters, numbers, underscores (`_`) and hyphens (`-`). Changing this forces a new resource.
|
|
193
|
+
*/
|
|
194
|
+
name?: pulumi.Input<string | undefined>;
|
|
195
|
+
/**
|
|
196
|
+
* Permission to grant. Valid values are `SPACE_ADMIN`, `READ`, `READ_WRITE_DELETE` and `CUSTOM`. Changing this forces a new resource.
|
|
197
|
+
*/
|
|
198
|
+
permission?: pulumi.Input<string | undefined>;
|
|
199
|
+
/**
|
|
200
|
+
* Principal receiving the grant. See below. Changing this forces a new resource.
|
|
201
|
+
*/
|
|
202
|
+
principal?: pulumi.Input<inputs.cloudwatchomni.AccessGrantPrincipal | undefined>;
|
|
203
|
+
/**
|
|
204
|
+
* Region where this resource is managed. Defaults to the Region set in the provider configuration.
|
|
205
|
+
*/
|
|
206
|
+
region?: pulumi.Input<string | undefined>;
|
|
207
|
+
/**
|
|
208
|
+
* Group of actions to allow, with the resource scopes and conditions that limit them. Up to 20 blocks. Required for the `CUSTOM` permission, and can also be used with the other permissions. See below. Changing this forces a new resource.
|
|
209
|
+
*/
|
|
210
|
+
scopedActions?: pulumi.Input<pulumi.Input<inputs.cloudwatchomni.AccessGrantScopedAction>[] | undefined>;
|
|
211
|
+
/**
|
|
212
|
+
* ID of the CloudWatch Omni space to scope the grant to. Changing this forces a new resource.
|
|
213
|
+
*
|
|
214
|
+
* The following arguments are optional:
|
|
215
|
+
*/
|
|
216
|
+
spaceId?: pulumi.Input<string | undefined>;
|
|
217
|
+
/**
|
|
218
|
+
* Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
219
|
+
*/
|
|
220
|
+
tags?: pulumi.Input<{
|
|
221
|
+
[key: string]: pulumi.Input<string>;
|
|
222
|
+
} | undefined>;
|
|
223
|
+
/**
|
|
224
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
225
|
+
*/
|
|
226
|
+
tagsAll?: pulumi.Input<{
|
|
227
|
+
[key: string]: pulumi.Input<string>;
|
|
228
|
+
} | undefined>;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* The set of arguments for constructing a AccessGrant resource.
|
|
232
|
+
*/
|
|
233
|
+
export interface AccessGrantArgs {
|
|
234
|
+
/**
|
|
235
|
+
* ID of the CloudWatch Omni domain that contains the space. Changing this forces a new resource.
|
|
236
|
+
*/
|
|
237
|
+
domainId: pulumi.Input<string>;
|
|
238
|
+
/**
|
|
239
|
+
* Name of the access grant. Must be 1-64 characters and contain only letters, numbers, underscores (`_`) and hyphens (`-`). Changing this forces a new resource.
|
|
240
|
+
*/
|
|
241
|
+
name?: pulumi.Input<string | undefined>;
|
|
242
|
+
/**
|
|
243
|
+
* Permission to grant. Valid values are `SPACE_ADMIN`, `READ`, `READ_WRITE_DELETE` and `CUSTOM`. Changing this forces a new resource.
|
|
244
|
+
*/
|
|
245
|
+
permission: pulumi.Input<string>;
|
|
246
|
+
/**
|
|
247
|
+
* Principal receiving the grant. See below. Changing this forces a new resource.
|
|
248
|
+
*/
|
|
249
|
+
principal: pulumi.Input<inputs.cloudwatchomni.AccessGrantPrincipal>;
|
|
250
|
+
/**
|
|
251
|
+
* Region where this resource is managed. Defaults to the Region set in the provider configuration.
|
|
252
|
+
*/
|
|
253
|
+
region?: pulumi.Input<string | undefined>;
|
|
254
|
+
/**
|
|
255
|
+
* Group of actions to allow, with the resource scopes and conditions that limit them. Up to 20 blocks. Required for the `CUSTOM` permission, and can also be used with the other permissions. See below. Changing this forces a new resource.
|
|
256
|
+
*/
|
|
257
|
+
scopedActions?: pulumi.Input<pulumi.Input<inputs.cloudwatchomni.AccessGrantScopedAction>[] | undefined>;
|
|
258
|
+
/**
|
|
259
|
+
* ID of the CloudWatch Omni space to scope the grant to. Changing this forces a new resource.
|
|
260
|
+
*
|
|
261
|
+
* The following arguments are optional:
|
|
262
|
+
*/
|
|
263
|
+
spaceId: pulumi.Input<string>;
|
|
264
|
+
/**
|
|
265
|
+
* Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
266
|
+
*/
|
|
267
|
+
tags?: pulumi.Input<{
|
|
268
|
+
[key: string]: pulumi.Input<string>;
|
|
269
|
+
} | undefined>;
|
|
270
|
+
}
|
|
271
|
+
//# sourceMappingURL=accessGrant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accessGrant.d.ts","sourceRoot":"","sources":["../../cloudwatchomni/accessGrant.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuFG;AACH,qBAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,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AC1E"}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.AccessGrant = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages a CloudWatch Omni Access Grant. An access grant gives a principal a permission within a CloudWatch Omni space.
|
|
33
|
+
*
|
|
34
|
+
* > **NOTE:** CloudWatch Omni does not support updating an access grant, so changing any argument other than `tags` replaces it. Tags are updated in place.
|
|
35
|
+
*
|
|
36
|
+
* > **NOTE:** Except for `CUSTOM` grants, a principal can hold only one grant of each permission in a space. Creating a duplicate returns `ConflictException`.
|
|
37
|
+
*
|
|
38
|
+
* > **NOTE:** CloudWatch Omni creates service-managed access grants alongside each space. They cannot be deleted and are not managed by this resource.
|
|
39
|
+
*
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ### Basic Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as aws from "@pulumi/aws";
|
|
47
|
+
*
|
|
48
|
+
* const example = new aws.cloudwatchomni.AccessGrant("example", {
|
|
49
|
+
* principal: {
|
|
50
|
+
* principalType: "IAM_ROLE",
|
|
51
|
+
* principalId: exampleAwsIamRole.arn,
|
|
52
|
+
* },
|
|
53
|
+
* name: "example",
|
|
54
|
+
* domainId: exampleAwsCloudwatchomniDomain.domainId,
|
|
55
|
+
* spaceId: exampleAwsCloudwatchomniSpace.spaceId,
|
|
56
|
+
* permission: "READ",
|
|
57
|
+
* tags: {
|
|
58
|
+
* Environment: "production",
|
|
59
|
+
* },
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* ### Custom Permission
|
|
64
|
+
*
|
|
65
|
+
* A `CUSTOM` permission requires at least one `scopedAction` block.
|
|
66
|
+
*
|
|
67
|
+
* ```typescript
|
|
68
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
69
|
+
* import * as aws from "@pulumi/aws";
|
|
70
|
+
*
|
|
71
|
+
* const example = new aws.cloudwatchomni.AccessGrant("example", {
|
|
72
|
+
* principal: {
|
|
73
|
+
* principalType: "IAM_ROLE",
|
|
74
|
+
* principalId: exampleAwsIamRole.arn,
|
|
75
|
+
* },
|
|
76
|
+
* scopedActions: [{
|
|
77
|
+
* resources: [{
|
|
78
|
+
* rowScopeGroups: [{
|
|
79
|
+
* rowScopes: [{
|
|
80
|
+
* field: "serviceName",
|
|
81
|
+
* operator: "IN",
|
|
82
|
+
* values: [
|
|
83
|
+
* "checkout",
|
|
84
|
+
* "payments",
|
|
85
|
+
* ],
|
|
86
|
+
* }],
|
|
87
|
+
* }],
|
|
88
|
+
* resourceType: "DataSet",
|
|
89
|
+
* signalTypes: ["LOGS"],
|
|
90
|
+
* }],
|
|
91
|
+
* actions: ["cloudwatch:GetRecords"],
|
|
92
|
+
* }],
|
|
93
|
+
* name: "example",
|
|
94
|
+
* domainId: exampleAwsCloudwatchomniDomain.domainId,
|
|
95
|
+
* spaceId: exampleAwsCloudwatchomniSpace.spaceId,
|
|
96
|
+
* permission: "CUSTOM",
|
|
97
|
+
* });
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
100
|
+
* ## Import
|
|
101
|
+
*
|
|
102
|
+
* ### Identity Schema
|
|
103
|
+
*
|
|
104
|
+
* #### Required
|
|
105
|
+
*
|
|
106
|
+
* * `grantId` (String) Access grant ID.
|
|
107
|
+
*
|
|
108
|
+
* #### Optional
|
|
109
|
+
*
|
|
110
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
111
|
+
* * `region` (String) Region where this resource is managed.
|
|
112
|
+
*
|
|
113
|
+
* Using `pulumi import`, import a CloudWatch Omni Access Grant using the `grantId`. For example:
|
|
114
|
+
*
|
|
115
|
+
* ```sh
|
|
116
|
+
* $ pulumi import aws:cloudwatchomni/accessGrant:AccessGrant example 12345678-1234-1234-1234-123456789012
|
|
117
|
+
* ```
|
|
118
|
+
*/
|
|
119
|
+
class AccessGrant extends pulumi.CustomResource {
|
|
120
|
+
/**
|
|
121
|
+
* Get an existing AccessGrant resource's state with the given name, ID, and optional extra
|
|
122
|
+
* properties used to qualify the lookup.
|
|
123
|
+
*
|
|
124
|
+
* @param name The _unique_ name of the resulting resource.
|
|
125
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
126
|
+
* @param state Any extra arguments used during the lookup.
|
|
127
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
128
|
+
*/
|
|
129
|
+
static get(name, id, state, opts) {
|
|
130
|
+
return new AccessGrant(name, state, { ...opts, id: id });
|
|
131
|
+
}
|
|
132
|
+
/** @internal */
|
|
133
|
+
static __pulumiType = 'aws:cloudwatchomni/accessGrant:AccessGrant';
|
|
134
|
+
/**
|
|
135
|
+
* Returns true if the given object is an instance of AccessGrant. This is designed to work even
|
|
136
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
137
|
+
*/
|
|
138
|
+
static isInstance(obj) {
|
|
139
|
+
if (obj === undefined || obj === null) {
|
|
140
|
+
return false;
|
|
141
|
+
}
|
|
142
|
+
return obj['__pulumiType'] === AccessGrant.__pulumiType;
|
|
143
|
+
}
|
|
144
|
+
constructor(name, argsOrState, opts) {
|
|
145
|
+
let resourceInputs = {};
|
|
146
|
+
opts = opts || {};
|
|
147
|
+
if (opts.id) {
|
|
148
|
+
const state = argsOrState;
|
|
149
|
+
resourceInputs["arn"] = state?.arn;
|
|
150
|
+
resourceInputs["domainId"] = state?.domainId;
|
|
151
|
+
resourceInputs["grantId"] = state?.grantId;
|
|
152
|
+
resourceInputs["grantType"] = state?.grantType;
|
|
153
|
+
resourceInputs["name"] = state?.name;
|
|
154
|
+
resourceInputs["permission"] = state?.permission;
|
|
155
|
+
resourceInputs["principal"] = state?.principal;
|
|
156
|
+
resourceInputs["region"] = state?.region;
|
|
157
|
+
resourceInputs["scopedActions"] = state?.scopedActions;
|
|
158
|
+
resourceInputs["spaceId"] = state?.spaceId;
|
|
159
|
+
resourceInputs["tags"] = state?.tags;
|
|
160
|
+
resourceInputs["tagsAll"] = state?.tagsAll;
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
const args = argsOrState;
|
|
164
|
+
if (args?.domainId === undefined && !opts.urn) {
|
|
165
|
+
throw new Error("Missing required property 'domainId'");
|
|
166
|
+
}
|
|
167
|
+
if (args?.permission === undefined && !opts.urn) {
|
|
168
|
+
throw new Error("Missing required property 'permission'");
|
|
169
|
+
}
|
|
170
|
+
if (args?.principal === undefined && !opts.urn) {
|
|
171
|
+
throw new Error("Missing required property 'principal'");
|
|
172
|
+
}
|
|
173
|
+
if (args?.spaceId === undefined && !opts.urn) {
|
|
174
|
+
throw new Error("Missing required property 'spaceId'");
|
|
175
|
+
}
|
|
176
|
+
resourceInputs["domainId"] = args?.domainId;
|
|
177
|
+
resourceInputs["name"] = args?.name;
|
|
178
|
+
resourceInputs["permission"] = args?.permission;
|
|
179
|
+
resourceInputs["principal"] = args?.principal;
|
|
180
|
+
resourceInputs["region"] = args?.region;
|
|
181
|
+
resourceInputs["scopedActions"] = args?.scopedActions;
|
|
182
|
+
resourceInputs["spaceId"] = args?.spaceId;
|
|
183
|
+
resourceInputs["tags"] = args?.tags;
|
|
184
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
185
|
+
resourceInputs["grantId"] = undefined /*out*/;
|
|
186
|
+
resourceInputs["grantType"] = undefined /*out*/;
|
|
187
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
188
|
+
}
|
|
189
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
190
|
+
super(AccessGrant.__pulumiType, name, resourceInputs, opts);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
exports.AccessGrant = AccessGrant;
|
|
194
|
+
//# sourceMappingURL=accessGrant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accessGrant.js","sourceRoot":"","sources":["../../cloudwatchomni/accessGrant.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuFG;AACH,MAAa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AAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,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,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AArIL,kCAsIC"}
|
|
@@ -0,0 +1,182 @@
|
|
|
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 Amazon CloudWatch Omni access profile.
|
|
6
|
+
*
|
|
7
|
+
* An access profile belongs to a space and is referenced by access grants to authorize principals in that space.
|
|
8
|
+
*
|
|
9
|
+
* > **NOTE:** An access profile cannot be deleted while access grants reference it.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.cloudwatchomni.AccessProfile("example", {
|
|
20
|
+
* name: "example",
|
|
21
|
+
* spaceId: exampleAwsCloudwatchomniSpace.spaceId,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ### With Description
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as aws from "@pulumi/aws";
|
|
30
|
+
*
|
|
31
|
+
* const example = new aws.cloudwatchomni.AccessProfile("example", {
|
|
32
|
+
* name: "example",
|
|
33
|
+
* description: "Example access profile",
|
|
34
|
+
* spaceId: exampleAwsCloudwatchomniSpace.spaceId,
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ## Import
|
|
39
|
+
*
|
|
40
|
+
* ### Identity Schema
|
|
41
|
+
*
|
|
42
|
+
* #### Required
|
|
43
|
+
*
|
|
44
|
+
* * `profileId` (String) Access profile ID.
|
|
45
|
+
* * `spaceId` (String) Space ID.
|
|
46
|
+
*
|
|
47
|
+
* #### Optional
|
|
48
|
+
*
|
|
49
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
50
|
+
* * `region` (String) Region where this resource is managed.
|
|
51
|
+
*
|
|
52
|
+
* Using `pulumi import`, import CloudWatch Omni access profiles using `spaceId` and `profileId` separated by a comma (`,`). For example:
|
|
53
|
+
*
|
|
54
|
+
* ```sh
|
|
55
|
+
* $ pulumi import aws:cloudwatchomni/accessProfile:AccessProfile example a1b2c3d4-5678-90ab-cdef-EXAMPLE11111,a1b2c3d4-5678-90ab-cdef-EXAMPLE22222
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
export declare class AccessProfile extends pulumi.CustomResource {
|
|
59
|
+
/**
|
|
60
|
+
* Get an existing AccessProfile resource's state with the given name, ID, and optional extra
|
|
61
|
+
* properties used to qualify the lookup.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resulting resource.
|
|
64
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
65
|
+
* @param state Any extra arguments used during the lookup.
|
|
66
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
67
|
+
*/
|
|
68
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccessProfileState, opts?: pulumi.CustomResourceOptions): AccessProfile;
|
|
69
|
+
/**
|
|
70
|
+
* Returns true if the given object is an instance of AccessProfile. This is designed to work even
|
|
71
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
72
|
+
*/
|
|
73
|
+
static isInstance(obj: any): obj is AccessProfile;
|
|
74
|
+
/**
|
|
75
|
+
* ARN of the access profile.
|
|
76
|
+
*/
|
|
77
|
+
readonly arn: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Whether the calling principal can assume the access profile. Valid values: `ALLOWED`, `DENIED`.
|
|
80
|
+
*/
|
|
81
|
+
readonly assumeStatus: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Description of the access profile.
|
|
84
|
+
*/
|
|
85
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* Name of the access profile.
|
|
88
|
+
*/
|
|
89
|
+
readonly name: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Unique identifier of the access profile.
|
|
92
|
+
*/
|
|
93
|
+
readonly profileId: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Who manages the access profile. Valid values: `CUSTOMER_MANAGED`, `SERVICE_MANAGED`.
|
|
96
|
+
*/
|
|
97
|
+
readonly profileType: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
100
|
+
*/
|
|
101
|
+
readonly region: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* ID of the space that contains the access profile.
|
|
104
|
+
*
|
|
105
|
+
* The following arguments are optional:
|
|
106
|
+
*/
|
|
107
|
+
readonly spaceId: pulumi.Output<string>;
|
|
108
|
+
readonly timeouts: pulumi.Output<outputs.cloudwatchomni.AccessProfileTimeouts | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* Create a AccessProfile resource with the given unique name, arguments, and options.
|
|
111
|
+
*
|
|
112
|
+
* @param name The _unique_ name of the resource.
|
|
113
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
114
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
115
|
+
*/
|
|
116
|
+
constructor(name: string, args: AccessProfileArgs, opts?: pulumi.CustomResourceOptions);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Input properties used for looking up and filtering AccessProfile resources.
|
|
120
|
+
*/
|
|
121
|
+
export interface AccessProfileState {
|
|
122
|
+
/**
|
|
123
|
+
* ARN of the access profile.
|
|
124
|
+
*/
|
|
125
|
+
arn?: pulumi.Input<string | undefined>;
|
|
126
|
+
/**
|
|
127
|
+
* Whether the calling principal can assume the access profile. Valid values: `ALLOWED`, `DENIED`.
|
|
128
|
+
*/
|
|
129
|
+
assumeStatus?: pulumi.Input<string | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* Description of the access profile.
|
|
132
|
+
*/
|
|
133
|
+
description?: pulumi.Input<string | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* Name of the access profile.
|
|
136
|
+
*/
|
|
137
|
+
name?: pulumi.Input<string | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* Unique identifier of the access profile.
|
|
140
|
+
*/
|
|
141
|
+
profileId?: pulumi.Input<string | undefined>;
|
|
142
|
+
/**
|
|
143
|
+
* Who manages the access profile. Valid values: `CUSTOMER_MANAGED`, `SERVICE_MANAGED`.
|
|
144
|
+
*/
|
|
145
|
+
profileType?: pulumi.Input<string | undefined>;
|
|
146
|
+
/**
|
|
147
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
148
|
+
*/
|
|
149
|
+
region?: pulumi.Input<string | undefined>;
|
|
150
|
+
/**
|
|
151
|
+
* ID of the space that contains the access profile.
|
|
152
|
+
*
|
|
153
|
+
* The following arguments are optional:
|
|
154
|
+
*/
|
|
155
|
+
spaceId?: pulumi.Input<string | undefined>;
|
|
156
|
+
timeouts?: pulumi.Input<inputs.cloudwatchomni.AccessProfileTimeouts | undefined>;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* The set of arguments for constructing a AccessProfile resource.
|
|
160
|
+
*/
|
|
161
|
+
export interface AccessProfileArgs {
|
|
162
|
+
/**
|
|
163
|
+
* Description of the access profile.
|
|
164
|
+
*/
|
|
165
|
+
description?: pulumi.Input<string | undefined>;
|
|
166
|
+
/**
|
|
167
|
+
* Name of the access profile.
|
|
168
|
+
*/
|
|
169
|
+
name?: pulumi.Input<string | undefined>;
|
|
170
|
+
/**
|
|
171
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
172
|
+
*/
|
|
173
|
+
region?: pulumi.Input<string | undefined>;
|
|
174
|
+
/**
|
|
175
|
+
* ID of the space that contains the access profile.
|
|
176
|
+
*
|
|
177
|
+
* The following arguments are optional:
|
|
178
|
+
*/
|
|
179
|
+
spaceId: pulumi.Input<string>;
|
|
180
|
+
timeouts?: pulumi.Input<inputs.cloudwatchomni.AccessProfileTimeouts | undefined>;
|
|
181
|
+
}
|
|
182
|
+
//# sourceMappingURL=accessProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accessProfile.d.ts","sourceRoot":"","sources":["../../cloudwatchomni/accessProfile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,qBAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,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