GetSecretRotationRotationRule.fromMap constructor

GetSecretRotationRotationRule.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetSecretRotationRotationRule.fromMap(Map<String, dynamic> map) {
  return GetSecretRotationRotationRule(
    automaticallyAfterDays: pulumi.Input.fromValue((map['automaticallyAfterDays'] as num).toInt()),
    duration: pulumi.Input.fromValue(map['duration'] as String),
    scheduleExpression: pulumi.Input.fromValue(map['scheduleExpression'] as String),
  );
}