I am not sure if I am missing something obvious but I am trying to use New-EDRSReplicationConfigurationTemplate text
from the AWS.Tools.Drs package text.
I cannot see how to define -PitPolicy <PITPolicyRule[]>. It looks like it takes a bool, a few integers and a constant text.
I have tried numerous ways of passing the information for example;
[PSCustomObject[]] $pitPol = @("interval=4", "retentionDuration=168", "units=HOUR")
but always end up with messages of the nature cannot convert what I am passing to the type: Amazon.Drs.Model.PITPolicyRule
given values for interval=4, retentionDuration=168, units="HOUR" how am I supposed to construct <PITPolicyRule[]?