@property
@pulumi.getter(name='onPolicySwitch')
def on_policy_switch(self) -> Optional[pulumi.Input['ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch']]:
    return pulumi.get(self, 'on_policy_switch')
@property
@pulumi.getter(name='onPolicySwitch')
def on_policy_switch(self) -> Optional[pulumi.Input['ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch']]:
    return pulumi.get(self, 'on_policy_switch')