Ryan Williams

Results 8 comments of Ryan Williams

You may wish to consder `var cts = new CancellationTokenSource(TimeSpan.FromSeconds(2));` and then passing `cts.Token` into your async methods to get a more precise timeout.

Here is my implementation of this. 1 second buffer to shutdown gracefully. Defaults to 15 minutes when LambdaContext?.RemainingTime is null **WARNING - Might have a bug with GC, see message...

@nigel-heaney, you might be able to modify your template to use the following for the ParentImage property to reference the latest stable dynamically. The literal 'x.x.x' means latest. arn:${AWS::Partition}:imagebuilder:${AWS::Region}:aws:image/amazon-linux-2-ecs-optimized-x86/x.x.x If...

I just ran into a similar problem when submitting a large whereClause in a Query operation. `PortalGatewayBase.Query()` calls `PortalGatewayBase.Get()` calls `PortalGatewayBase.AsRequestQueryString()` to build the URL https://github.com/davetimmins/Anywhere.ArcGIS/blob/master/src/Anywhere.ArcGIS/PortalGatewayBase.cs#L709 calls `StringExtensions.UrlCode()` which doesn't...

I wrote a work-around for this today by finding all stack resources of type `Custom::S3BucketNotifications` and using the `.AddPropertyDeletionOverride()` escape hatch to remove the offending line of CloudFormation. ``` public...

> @ryanwilliams83 not to ask too stupid of a question, but how do you apply your workaround? Thank you! My workaround is code in the CDK stack that you add...

I ended up with a slight variation on this to avoid the error `validation failed for resource TargetGroup3D7CD9B8 with message: Targets: array items are not unique` ``` const ipAddressProvider =...

@jugarpeupv, I suspect that the AWS API is returning the results in a different order when making multiple API calls. e.g. First API Request **CustomResource0** Index 0 = AZ-A =...