Skip to content

Commit

Permalink
clarify that the deprecation is by AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
iwahbe committed Nov 21, 2023
1 parent 78ebb22 commit 88305d3
Show file tree
Hide file tree
Showing 6 changed files with 103 additions and 103 deletions.
2 changes: 1 addition & 1 deletion provider/cmd/pulumi-resource-aws/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -64080,7 +64080,7 @@
{
"name": "CloudWatchFullAccess",
"value": "arn:aws:iam::aws:policy/CloudWatchFullAccess",
"deprecationMessage": "This policy is deprecated and will no longer be supported after December 7, 2023. Use CloudWatchFullAccessV2 instead."
"deprecationMessage": "This policy is deprecated and will no longer be supported by AWS after December 7, 2023. Use CloudWatchFullAccessV2 instead."
},
{
"name": "CloudWatchFullAccessV2",
Expand Down
6 changes: 3 additions & 3 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -5645,9 +5645,9 @@ $ pulumi import aws:networkfirewall/resourcePolicy:ResourcePolicy example arn:aw
{Name: "CloudWatchEventsReadOnlyAccess", Value: "arn:aws:iam::aws:policy/CloudWatchEventsReadOnlyAccess"},
{Name: "CloudWatchEventsServiceRolePolicy", Value: "arn:aws:iam::aws:policy/aws-service-role/CloudWatchEventsServiceRolePolicy"},
{
Name: "CloudWatchFullAccess",
Value: "arn:aws:iam::aws:policy/CloudWatchFullAccess",
DeprecationMessage: "This policy is deprecated and will no longer be supported after December 7, 2023. Use CloudWatchFullAccessV2 instead.",
Name: "CloudWatchFullAccess",
Value: "arn:aws:iam::aws:policy/CloudWatchFullAccess",
DeprecationMessage: "This policy is deprecated and will no longer be supported by AWS after December 7, 2023. Use CloudWatchFullAccessV2 instead.",
},
{Name: "CloudWatchFullAccessV2", Value: "arn:aws:iam::aws:policy/CloudWatchFullAccessV2"},
{Name: "CloudWatchInternetMonitorServiceRolePolicy", Value: "arn:aws:iam::aws:policy/aws-service-role/CloudWatchInternetMonitorServiceRolePolicy"},
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Iam/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ private ManagedPolicy(string value)
public static ManagedPolicy CloudWatchEventsInvocationAccess { get; } = new ManagedPolicy("arn:aws:iam::aws:policy/service-role/CloudWatchEventsInvocationAccess");
public static ManagedPolicy CloudWatchEventsReadOnlyAccess { get; } = new ManagedPolicy("arn:aws:iam::aws:policy/CloudWatchEventsReadOnlyAccess");
public static ManagedPolicy CloudWatchEventsServiceRolePolicy { get; } = new ManagedPolicy("arn:aws:iam::aws:policy/aws-service-role/CloudWatchEventsServiceRolePolicy");
[Obsolete(@"This policy is deprecated and will no longer be supported after December 7, 2023. Use CloudWatchFullAccessV2 instead.")]
[Obsolete(@"This policy is deprecated and will no longer be supported by AWS after December 7, 2023. Use CloudWatchFullAccessV2 instead.")]
public static ManagedPolicy CloudWatchFullAccess { get; } = new ManagedPolicy("arn:aws:iam::aws:policy/CloudWatchFullAccess");
public static ManagedPolicy CloudWatchFullAccessV2 { get; } = new ManagedPolicy("arn:aws:iam::aws:policy/CloudWatchFullAccessV2");
public static ManagedPolicy CloudWatchInternetMonitorServiceRolePolicy { get; } = new ManagedPolicy("arn:aws:iam::aws:policy/aws-service-role/CloudWatchInternetMonitorServiceRolePolicy");
Expand Down
Loading

0 comments on commit 88305d3

Please sign in to comment.