You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(iam): undeprecate openIdConnectProviderArn and openIdConnectProviderIssuer in IOidcProvider (#36859)
### Issue # (if applicable)
### Reason for this change
#36589 mistakenly added these props as deprecated, which will cause warnings when trying to use the OidcProviderNative with EKS constructs.
### Description of changes
- undeprecate openIdConnectProviderArn and openIdConnectProviderIssuer in IOidcProvider
### Describe any new or updated permissions being added
None
### Description of how you validated changes
Nothing to test.
### Checklist
- [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
* The Amazon Resource Name (ARN) of the IAM OpenID Connect provider.
29
+
* Alias for `oidcProviderArn` to maintain backwards compatibility for
30
+
* constructs which accept `iam.IOpenIdConnectProvider`.
30
31
*
31
-
* @deprecatedUse `oidcProviderArn` instead. This property exists for backward compatibility with existing constructs as migrating between the 2 constructs (OpenIdConnectProvider and OidcProviderNative) is not reasonably feasible as it requires a manual step (cdk import) since the resource type is changing between OpenIdConnectProvider and OidcProviderNative.
32
+
* Use `oidcProviderArn` instead. This property exists for backward compatibility with existing constructs as migrating between the 2 constructs (OpenIdConnectProvider and OidcProviderNative) is not reasonably feasible as it requires a manual step (cdk import) since the resource type is changing between OpenIdConnectProvider and OidcProviderNative.
32
33
*/
33
34
readonlyopenIdConnectProviderArn: string;
34
35
35
36
/**
36
-
* The issuer for OIDC Provider
37
+
* Alias for `oidcProviderIssuer` to maintain backwards compatibility for
38
+
* constructs which accept `iam.IOpenIdConnectProvider.
37
39
*
38
-
* @deprecatedUse `oidcProviderIssuer` instead. This property exists for backward compatibility with existing constructs as migrating between the 2 constructs (OpenIdConnectProvider and OidcProviderNative) is not reasonably feasible as it requires a manual step (cdk import) since the resource type is changing between OpenIdConnectProvider and OidcProviderNative.
40
+
* Use `oidcProviderIssuer` instead. This property exists for backward compatibility with existing constructs as migrating between the 2 constructs (OpenIdConnectProvider and OidcProviderNative) is not reasonably feasible as it requires a manual step (cdk import) since the resource type is changing between OpenIdConnectProvider and OidcProviderNative.
* The Amazon Resource Name (ARN) of the IAM OpenID Connect provider.
163
-
* This is an alias for oidcProviderArn to maintain compatibility with IOpenIdConnectProvider.
164
-
*
165
-
* @deprecated Use `oidcProviderArn` instead. This property exists for backward compatibility with existing constructs as migrating between the 2 constructs (OpenIdConnectProvider and OidcProviderNative) is not reasonably feasible as it requires a manual step (cdk import) since the resource type is changing between OpenIdConnectProvider and OidcProviderNative.
166
-
*/
167
163
publicgetopenIdConnectProviderArn(): string{
168
164
returnthis.oidcProviderArn;
169
165
}
170
166
171
-
/**
172
-
* The issuer for OIDC Provider.
173
-
* This is an alias for oidcProviderIssuer to maintain compatibility with IOpenIdConnectProvider.
174
-
*
175
-
* @deprecated Use `oidcProviderIssuer` instead. This property exists for backward compatibility with existing constructs as migrating between the 2 constructs (OpenIdConnectProvider and OidcProviderNative) is not reasonably feasible as it requires a manual step (cdk import) since the resource type is changing between OpenIdConnectProvider and OidcProviderNative.
* The Amazon Resource Name (ARN) of the IAM OpenID Connect provider.
195
-
*
196
-
* @deprecated Use `oidcProviderArn` instead. This property exists for backward compatibility with existing constructs as migrating between the 2 constructs (OpenIdConnectProvider and OidcProviderNative) is not reasonably feasible as it requires a manual step (cdk import) since the resource type is changing between OpenIdConnectProvider and OidcProviderNative.
197
-
*/
198
183
publicgetopenIdConnectProviderArn(): string{
199
184
returnthis.oidcProviderArn;
200
185
}
201
186
202
-
/**
203
-
* The issuer for OIDC Provider.
204
-
*
205
-
* @deprecated use `oidcProviderIssuer` instead. This property exists for backward compatibility with existing constructs as migrating between the 2 constructs (OpenIdConnectProvider and OidcProviderNative) is not reasonably feasible as it requires a manual step (cdk import) since the resource type is changing between OpenIdConnectProvider and OidcProviderNative.
0 commit comments