toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'externalSecretRotationMetadatas': ?pulumi.Input.mapOptionalInputValue<List<SecretRotationExternalSecretRotationMetadata>, List<Map<String, dynamic>>>(externalSecretRotationMetadatas, (value) => pulumi.Input.encodeList<SecretRotationExternalSecretRotationMetadata, Map<String, dynamic>>(value, (value) => value.toMap())),
    'externalSecretRotationRoleArn': ?externalSecretRotationRoleArn,
    'region': ?region,
    'rotateImmediately': ?rotateImmediately,
    'rotationEnabled': ?rotationEnabled,
    'rotationLambdaArn': ?rotationLambdaArn,
    'rotationRules': ?pulumi.Input.mapOptionalInputValue<SecretRotationRotationRules, Map<String, dynamic>>(rotationRules, (value) => value.toMap()),
    'secretId': ?secretId,
  };
}