Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The property 'ObjectSpecificConfigsInput' and 'ReplicationSpecsV2' cannot be found on this object. Verify that the property exists and can be set #140

Open
Thomas-000 opened this issue Sep 3, 2024 · 1 comment

Comments

@Thomas-000
Copy link

Creating new SLA with daily and replication schedule using CMDLETs below in a script.

New-RscSlaSnapshotSchedule
New-RscSlaReplicationSpecs
New-RscSla

PS1 script:
$DailySchedule = New-RscSlaSnapshotSchedule -Type Daily -Frequency 1 -Retention 2 -RetentionUnit DAYS
$ReplicationSpecs = New-RscSlaReplicationSpecs -AwsRegion 'US_EAST_2' -ReplicationLocalRetentionDuration (New-RscSlaDuration -Duration 2 -Unit DAYS)
New-RscSla -Name "EC2_SDK_TEST5" -DailySchedule $DailySchedule -ReplicationSpecs $ReplicationSpecs -ObjectType AWS_EC2_EBS_OBJECT_TYPE

Errors:
SDK_ERROR

The 'ObjectSpecificConfigsInput' and 'ReplicationSpecsV2' parameters are do not appear to be requirements but are returning errors as if they are required.

@jakerobinson
Copy link
Collaborator

Fixed in #143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants