@awboost/cfn-resource-types 0.1.408 → 0.1.409

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.
@@ -0,0 +1,272 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * Resource type definition for `AWS::DataZone::PolicyGrant`.
5
+ * Policy Grant in AWS DataZone is an explicit authorization assignment that allows a specific principal (user, group, or project) to perform particular actions (such as creating glossary terms, managing projects, or accessing resources) on governed resources within a certain scope (like a Domain Unit or Project). Policy Grants are essentially the mechanism by which DataZone enforces fine-grained, role-based access control beyond what is possible through AWS IAM alone.
6
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html}
7
+ */
8
+ export type DataZonePolicyGrantProperties = {
9
+ Detail?: PolicyGrantDetail;
10
+ /**
11
+ * @pattern `^dzd[-_][a-zA-Z0-9_-]{1,36}$`
12
+ */
13
+ DomainIdentifier: string;
14
+ EntityIdentifier: string;
15
+ EntityType: TargetEntityType;
16
+ PolicyType: string;
17
+ Principal?: PolicyGrantPrincipal;
18
+ };
19
+ /**
20
+ * Attribute type definition for `AWS::DataZone::PolicyGrant`.
21
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html#aws-resource-datazone-policygrant-return-values}
22
+ */
23
+ export type DataZonePolicyGrantAttributes = {
24
+ /**
25
+ * Specifies the timestamp at which policy grant member was created.
26
+ */
27
+ CreatedAt: string;
28
+ /**
29
+ * Specifies the user who created the policy grant member.
30
+ */
31
+ CreatedBy: string;
32
+ /**
33
+ * The unique identifier of the policy grant returned by the AddPolicyGrant API
34
+ * @pattern `^[A-Za-z0-9+/]{10}$`
35
+ */
36
+ GrantId: string;
37
+ };
38
+ /**
39
+ * Type definition for `AWS::DataZone::PolicyGrant.AddToProjectMemberPoolPolicyGrantDetail`.
40
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-addtoprojectmemberpoolpolicygrantdetail.html}
41
+ */
42
+ export type AddToProjectMemberPoolPolicyGrantDetail = {
43
+ IncludeChildDomainUnits?: boolean;
44
+ };
45
+ /**
46
+ * Type definition for `AWS::DataZone::PolicyGrant.AllDomainUnitsGrantFilter`.
47
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-alldomainunitsgrantfilter.html}
48
+ */
49
+ export type AllDomainUnitsGrantFilter = Record<string, any>;
50
+ /**
51
+ * Type definition for `AWS::DataZone::PolicyGrant.AllUsersGrantFilter`.
52
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-allusersgrantfilter.html}
53
+ */
54
+ export type AllUsersGrantFilter = Record<string, any>;
55
+ /**
56
+ * Type definition for `AWS::DataZone::PolicyGrant.CreateAssetTypePolicyGrantDetail`.
57
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createassettypepolicygrantdetail.html}
58
+ */
59
+ export type CreateAssetTypePolicyGrantDetail = {
60
+ IncludeChildDomainUnits?: boolean;
61
+ };
62
+ /**
63
+ * Type definition for `AWS::DataZone::PolicyGrant.CreateDomainUnitPolicyGrantDetail`.
64
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createdomainunitpolicygrantdetail.html}
65
+ */
66
+ export type CreateDomainUnitPolicyGrantDetail = {
67
+ IncludeChildDomainUnits?: boolean;
68
+ };
69
+ /**
70
+ * Type definition for `AWS::DataZone::PolicyGrant.CreateEnvironmentProfilePolicyGrantDetail`.
71
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createenvironmentprofilepolicygrantdetail.html}
72
+ */
73
+ export type CreateEnvironmentProfilePolicyGrantDetail = {
74
+ /**
75
+ * @minLength `1`
76
+ * @maxLength `256`
77
+ * @pattern `^[a-z0-9_\-]+$`
78
+ */
79
+ DomainUnitId?: string;
80
+ };
81
+ /**
82
+ * Type definition for `AWS::DataZone::PolicyGrant.CreateFormTypePolicyGrantDetail`.
83
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createformtypepolicygrantdetail.html}
84
+ */
85
+ export type CreateFormTypePolicyGrantDetail = {
86
+ IncludeChildDomainUnits?: boolean;
87
+ };
88
+ /**
89
+ * Type definition for `AWS::DataZone::PolicyGrant.CreateGlossaryPolicyGrantDetail`.
90
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createglossarypolicygrantdetail.html}
91
+ */
92
+ export type CreateGlossaryPolicyGrantDetail = {
93
+ IncludeChildDomainUnits?: boolean;
94
+ };
95
+ /**
96
+ * Type definition for `AWS::DataZone::PolicyGrant.CreateProjectFromProjectProfilePolicyGrantDetail`.
97
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createprojectfromprojectprofilepolicygrantdetail.html}
98
+ */
99
+ export type CreateProjectFromProjectProfilePolicyGrantDetail = {
100
+ IncludeChildDomainUnits?: boolean;
101
+ ProjectProfiles?: string[];
102
+ };
103
+ /**
104
+ * Type definition for `AWS::DataZone::PolicyGrant.CreateProjectPolicyGrantDetail`.
105
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createprojectpolicygrantdetail.html}
106
+ */
107
+ export type CreateProjectPolicyGrantDetail = {
108
+ IncludeChildDomainUnits?: boolean;
109
+ };
110
+ /**
111
+ * Type definition for `AWS::DataZone::PolicyGrant.DomainUnitDesignation`.
112
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitdesignation.html}
113
+ */
114
+ export type DomainUnitDesignation = "OWNER";
115
+ /**
116
+ * Type definition for `AWS::DataZone::PolicyGrant.DomainUnitFilterForProject`.
117
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitfilterforproject.html}
118
+ */
119
+ export type DomainUnitFilterForProject = {
120
+ /**
121
+ * @minLength `1`
122
+ * @maxLength `256`
123
+ * @pattern `^[a-z0-9_\-]+$`
124
+ */
125
+ DomainUnit: string;
126
+ IncludeChildDomainUnits?: boolean;
127
+ };
128
+ /**
129
+ * Type definition for `AWS::DataZone::PolicyGrant.DomainUnitGrantFilter`.
130
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitgrantfilter.html}
131
+ */
132
+ export type DomainUnitGrantFilter = {
133
+ AllDomainUnitsGrantFilter: AllDomainUnitsGrantFilter;
134
+ };
135
+ /**
136
+ * Type definition for `AWS::DataZone::PolicyGrant.DomainUnitPolicyGrantPrincipal`.
137
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitpolicygrantprincipal.html}
138
+ */
139
+ export type DomainUnitPolicyGrantPrincipal = {
140
+ DomainUnitDesignation?: DomainUnitDesignation;
141
+ DomainUnitGrantFilter?: DomainUnitGrantFilter;
142
+ /**
143
+ * @minLength `1`
144
+ * @maxLength `256`
145
+ * @pattern `^[a-z0-9_\-]+$`
146
+ */
147
+ DomainUnitIdentifier?: string;
148
+ };
149
+ /**
150
+ * Type definition for `AWS::DataZone::PolicyGrant.GroupPolicyGrantPrincipal`.
151
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-grouppolicygrantprincipal.html}
152
+ */
153
+ export type GroupPolicyGrantPrincipal = {
154
+ /**
155
+ * @pattern `(^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$|[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+)`
156
+ */
157
+ GroupIdentifier: string;
158
+ };
159
+ /**
160
+ * Type definition for `AWS::DataZone::PolicyGrant.OverrideDomainUnitOwnersPolicyGrantDetail`.
161
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-overridedomainunitownerspolicygrantdetail.html}
162
+ */
163
+ export type OverrideDomainUnitOwnersPolicyGrantDetail = {
164
+ IncludeChildDomainUnits?: boolean;
165
+ };
166
+ /**
167
+ * Type definition for `AWS::DataZone::PolicyGrant.OverrideProjectOwnersPolicyGrantDetail`.
168
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-overrideprojectownerspolicygrantdetail.html}
169
+ */
170
+ export type OverrideProjectOwnersPolicyGrantDetail = {
171
+ IncludeChildDomainUnits?: boolean;
172
+ };
173
+ /**
174
+ * Type definition for `AWS::DataZone::PolicyGrant.PolicyGrantDetail`.
175
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html}
176
+ */
177
+ export type PolicyGrantDetail = {
178
+ CreateDomainUnit: CreateDomainUnitPolicyGrantDetail;
179
+ } | {
180
+ OverrideDomainUnitOwners: OverrideDomainUnitOwnersPolicyGrantDetail;
181
+ } | {
182
+ AddToProjectMemberPool: AddToProjectMemberPoolPolicyGrantDetail;
183
+ } | {
184
+ OverrideProjectOwners: OverrideProjectOwnersPolicyGrantDetail;
185
+ } | {
186
+ CreateGlossary: CreateGlossaryPolicyGrantDetail;
187
+ } | {
188
+ CreateFormType: CreateFormTypePolicyGrantDetail;
189
+ } | {
190
+ CreateAssetType: CreateAssetTypePolicyGrantDetail;
191
+ } | {
192
+ CreateProject: CreateProjectPolicyGrantDetail;
193
+ } | {
194
+ CreateEnvironmentProfile: CreateEnvironmentProfilePolicyGrantDetail;
195
+ } | {
196
+ DelegateCreateEnvironmentProfile: Unit;
197
+ } | {
198
+ CreateEnvironment: Unit;
199
+ } | {
200
+ CreateEnvironmentFromBlueprint: Unit;
201
+ } | {
202
+ CreateProjectFromProjectProfile: CreateProjectFromProjectProfilePolicyGrantDetail;
203
+ };
204
+ /**
205
+ * Type definition for `AWS::DataZone::PolicyGrant.PolicyGrantPrincipal`.
206
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantprincipal.html}
207
+ */
208
+ export type PolicyGrantPrincipal = {
209
+ User: UserPolicyGrantPrincipal;
210
+ } | {
211
+ Group: GroupPolicyGrantPrincipal;
212
+ } | {
213
+ Project: ProjectPolicyGrantPrincipal;
214
+ } | {
215
+ DomainUnit: DomainUnitPolicyGrantPrincipal;
216
+ };
217
+ /**
218
+ * Type definition for `AWS::DataZone::PolicyGrant.ProjectDesignation`.
219
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-projectdesignation.html}
220
+ */
221
+ export type ProjectDesignation = "OWNER" | "CONTRIBUTOR" | "PROJECT_CATALOG_STEWARD";
222
+ /**
223
+ * Type definition for `AWS::DataZone::PolicyGrant.ProjectGrantFilter`.
224
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-projectgrantfilter.html}
225
+ */
226
+ export type ProjectGrantFilter = {
227
+ DomainUnitFilter: DomainUnitFilterForProject;
228
+ };
229
+ /**
230
+ * Type definition for `AWS::DataZone::PolicyGrant.ProjectPolicyGrantPrincipal`.
231
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-projectpolicygrantprincipal.html}
232
+ */
233
+ export type ProjectPolicyGrantPrincipal = {
234
+ ProjectDesignation?: ProjectDesignation;
235
+ ProjectGrantFilter?: ProjectGrantFilter;
236
+ /**
237
+ * @pattern `^[a-zA-Z0-9_-]{1,36}$`
238
+ */
239
+ ProjectIdentifier?: string;
240
+ };
241
+ /**
242
+ * Type definition for `AWS::DataZone::PolicyGrant.TargetEntityType`.
243
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-targetentitytype.html}
244
+ */
245
+ export type TargetEntityType = "DomainUnit" | "EnvironmentBlueprintConfiguration" | "EnvironmentProfile" | "DOMAIN_UNIT" | "ENVIRONMENT_BLUEPRINT_CONFIGURATION" | "ENVIRONMENT_PROFILE" | "ASSET_TYPE";
246
+ /**
247
+ * Type definition for `AWS::DataZone::PolicyGrant.Unit`.
248
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-unit.html}
249
+ */
250
+ export type Unit = Record<string, any>;
251
+ /**
252
+ * Type definition for `AWS::DataZone::PolicyGrant.UserPolicyGrantPrincipal`.
253
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-userpolicygrantprincipal.html}
254
+ */
255
+ export type UserPolicyGrantPrincipal = {
256
+ /**
257
+ * @pattern `(^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$|^[a-zA-Z_0-9+=,.@-]+$|^arn:aws[^:]*:iam::\d{12}:.+$)`
258
+ */
259
+ UserIdentifier: string;
260
+ } | {
261
+ AllUsersGrantFilter: AllUsersGrantFilter;
262
+ };
263
+ /**
264
+ * Resource type definition for `AWS::DataZone::PolicyGrant`.
265
+ * Policy Grant in AWS DataZone is an explicit authorization assignment that allows a specific principal (user, group, or project) to perform particular actions (such as creating glossary terms, managing projects, or accessing resources) on governed resources within a certain scope (like a Domain Unit or Project). Policy Grants are essentially the mechanism by which DataZone enforces fine-grained, role-based access control beyond what is possible through AWS IAM alone.
266
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html}
267
+ */
268
+ export declare class DataZonePolicyGrant extends $Resource<"AWS::DataZone::PolicyGrant", DataZonePolicyGrantProperties, DataZonePolicyGrantAttributes> {
269
+ static readonly Type = "AWS::DataZone::PolicyGrant";
270
+ constructor(logicalId: string, properties: DataZonePolicyGrantProperties, options?: $ResourceOptions);
271
+ }
272
+ //# sourceMappingURL=AWS-DataZone-PolicyGrant.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource type definition for `AWS::DataZone::PolicyGrant`.
4
+ * Policy Grant in AWS DataZone is an explicit authorization assignment that allows a specific principal (user, group, or project) to perform particular actions (such as creating glossary terms, managing projects, or accessing resources) on governed resources within a certain scope (like a Domain Unit or Project). Policy Grants are essentially the mechanism by which DataZone enforces fine-grained, role-based access control beyond what is possible through AWS IAM alone.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html}
6
+ */
7
+ export class DataZonePolicyGrant extends $Resource {
8
+ static Type = "AWS::DataZone::PolicyGrant";
9
+ constructor(logicalId, properties, options) {
10
+ super(logicalId, DataZonePolicyGrant.Type, properties, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=AWS-DataZone-PolicyGrant.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.408",
3
+ "version": "0.1.409",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },